3 Commits
Author SHA1 Message Date
Pavel Tsakalidis c0b3e7a61c Update changelog and readme 2024-05-04 19:03:51 +01:00
Pavel Tsakalidis e4920c1f21 Move workflow file 2024-05-04 18:56:42 +01:00
Pavel Tsakalidis b9bd043ce8 Update copyright & links, added workflows to repo. 2024-05-04 18:55:14 +01:00
6 changed files with 82 additions and 14 deletions
+63
View File
@@ -0,0 +1,63 @@
name: Create Release
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release
BUILD_OUTPUT_PATH: Build
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CODECEPTICON_TOKEN }}
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:OutputPath=../${{env.BUILD_OUTPUT_PATH}} ${{env.SOLUTION_FILE_PATH}}
- name: Delete .config file
run: Remove-Item -Path ${{env.BUILD_OUTPUT_PATH}}/Codecepticon.exe.config
- name: Set release filename
run: echo "RELEASE_FILENAME=Codecepticon-${{ github.ref_name }}.zip" >> $env:GITHUB_ENV
- name: Compress release
run: Compress-Archive -Path ${{env.BUILD_OUTPUT_PATH}}/* -Destination ${{ env.RELEASE_FILENAME }}
- name: Get file hash
run: |
$hash = Get-FileHash -Algorithm SHA256 ${{ env.RELEASE_FILENAME }} | select -exp Hash
echo "FILE_HASH=$hash" >> $env:GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ env.RELEASE_FILENAME }}
name: Codecepticon-${{ github.ref_name }}
body: |
Archive SHA256: `${{ env.FILE_HASH }}`
For more details see `CHANGELOG.md`.
token: ${{ secrets.CODECEPTICON_TOKEN }}
+4
View File
@@ -1,5 +1,9 @@
# Codecepticon Changelog
## v1.2.3
* `[Update]` Update copyright & links, added workflows to repo.
## v1.2.2
* `[Update]` Removed `BouncyCastle` dependency, now certificates are generated using native .NET functionality.
+9 -9
View File
@@ -9,38 +9,38 @@
<LangVersion>9.0</LangVersion>
<PackageId>Codecepticon</PackageId>
<Title>Codecepticon</Title>
<Version>1.2.2</Version>
<Version>1.2.3</Version>
<Authors>Pavel Tsakalidis</Authors>
<Company>Accenture Security</Company>
<Company></Company>
<Product>Codecepticon</Product>
<Description>Offensive Security Code Obfuscator</Description>
<PackageProjectUrl>https://github.com/Accenture/Codecepticon</PackageProjectUrl>
<PackageProjectUrl>https://github.com/sadreck/Codecepticon</PackageProjectUrl>
<AssemblyVersion></AssemblyVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DebugType>full</DebugType>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<DebugType>full</DebugType>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>full</DebugType>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DebugType>full</DebugType>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<DebugType>full</DebugType>
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup>
+2 -2
View File
@@ -1,2 +1,2 @@
Codecepticon v%%_VERSION_%% [ Accenture Security ]
- For more information visit https://github.com/Accenture/Codecepticon
Codecepticon v%%_VERSION_%% [ Pavel Tsakalidis ]
- For more information visit https://github.com/sadreck/Codecepticon
+2 -1
View File
@@ -1,6 +1,7 @@
MIT License
Copyright (c) 2022 Accenture Security
Copyright (c) 2022 - 02/2024 Accenture Security
Copyright (c) 03/2024 - Present - Pavel Tsakalidis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+2 -2
View File
@@ -1,4 +1,4 @@
# Codecepticon ![version](https://img.shields.io/github/v/tag/Accenture/Codecepticon?label=version&style=flat-square)
# Codecepticon ![version](https://img.shields.io/github/v/tag/sadreck/Codecepticon?label=version&style=flat-square)
## Table of Contents
@@ -53,7 +53,7 @@ Codecepticon allows you to obfuscate and rewrite code, but also provides feature
### Open and Compile
Open Codecepticon, wait until all NuGet packages are downloaded and then build the solution.
Open Codecepticon, wait until all NuGet packages are downloaded and then build the solution. You can also download a pre-compiled `Release`.
## Using Codecepticon