Skip to content

Commit b9bd043

Browse files
committed
Update copyright & links, added workflows to repo.
1 parent babb024 commit b9bd043

5 files changed

Lines changed: 77 additions & 13 deletions

File tree

.github/tag-release.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Create Release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "v*.*.*"
8+
9+
env:
10+
SOLUTION_FILE_PATH: .
11+
12+
BUILD_CONFIGURATION: Release
13+
BUILD_OUTPUT_PATH: Build
14+
15+
permissions:
16+
contents: write
17+
18+
jobs:
19+
build:
20+
runs-on: windows-latest
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
token: ${{ secrets.CODECEPTICON_TOKEN }}
27+
28+
- name: Add MSBuild to PATH
29+
uses: microsoft/setup-msbuild@v2
30+
31+
- name: Restore NuGet packages
32+
working-directory: ${{env.GITHUB_WORKSPACE}}
33+
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
34+
35+
- name: Build
36+
working-directory: ${{env.GITHUB_WORKSPACE}}
37+
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:OutputPath=../${{env.BUILD_OUTPUT_PATH}} ${{env.SOLUTION_FILE_PATH}}
38+
39+
- name: Delete .config file
40+
run: Remove-Item -Path ${{env.BUILD_OUTPUT_PATH}}/Codecepticon.exe.config
41+
42+
- name: Set release filename
43+
run: echo "RELEASE_FILENAME=Codecepticon-${{ github.ref_name }}.zip" >> $env:GITHUB_ENV
44+
45+
- name: Compress release
46+
run: Compress-Archive -Path ${{env.BUILD_OUTPUT_PATH}}/* -Destination ${{ env.RELEASE_FILENAME }}
47+
48+
- name: Get file hash
49+
run: |
50+
$hash = Get-FileHash -Algorithm SHA256 ${{ env.RELEASE_FILENAME }} | select -exp Hash
51+
echo "FILE_HASH=$hash" >> $env:GITHUB_ENV
52+
53+
- name: Release
54+
uses: softprops/action-gh-release@v2
55+
if: startsWith(github.ref, 'refs/tags/')
56+
with:
57+
files: ${{ env.RELEASE_FILENAME }}
58+
name: Codecepticon-${{ github.ref_name }}
59+
body: |
60+
Archive SHA256: `${{ env.FILE_HASH }}`
61+
62+
For more details see `CHANGELOG.md`.
63+
token: ${{ secrets.CODECEPTICON_TOKEN }}

Codecepticon/Codecepticon.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,38 @@
99
<LangVersion>9.0</LangVersion>
1010
<PackageId>Codecepticon</PackageId>
1111
<Title>Codecepticon</Title>
12-
<Version>1.2.2</Version>
12+
<Version>1.2.3</Version>
1313
<Authors>Pavel Tsakalidis</Authors>
14-
<Company>Accenture Security</Company>
14+
<Company></Company>
1515
<Product>Codecepticon</Product>
1616
<Description>Offensive Security Code Obfuscator</Description>
17-
<PackageProjectUrl>https://github.com/Accenture/Codecepticon</PackageProjectUrl>
17+
<PackageProjectUrl>https://github.com/sadreck/Codecepticon</PackageProjectUrl>
1818
<AssemblyVersion></AssemblyVersion>
1919
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
2020
</PropertyGroup>
2121

2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
23-
<DebugType>full</DebugType>
23+
<DebugType>none</DebugType>
2424
</PropertyGroup>
2525

2626
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
27-
<DebugType>full</DebugType>
27+
<DebugType>none</DebugType>
2828
</PropertyGroup>
2929

3030
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
31-
<DebugType>full</DebugType>
31+
<DebugType>none</DebugType>
3232
</PropertyGroup>
3333

3434
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
35-
<DebugType>full</DebugType>
35+
<DebugType>none</DebugType>
3636
</PropertyGroup>
3737

3838
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
39-
<DebugType>full</DebugType>
39+
<DebugType>none</DebugType>
4040
</PropertyGroup>
4141

4242
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
43-
<DebugType>full</DebugType>
43+
<DebugType>none</DebugType>
4444
</PropertyGroup>
4545

4646
<ItemGroup>

Codecepticon/Help/Header.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Codecepticon v%%_VERSION_%% [ Accenture Security ]
2-
- For more information visit https://github.com/Accenture/Codecepticon
1+
Codecepticon v%%_VERSION_%% [ Pavel Tsakalidis ]
2+
- For more information visit https://github.com/sadreck/Codecepticon

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

3-
Copyright (c) 2022 Accenture Security
3+
Copyright (c) 2022 - 02/2024 Accenture Security
4+
Copyright (c) 03/2024 - Present - Pavel Tsakalidis
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Codecepticon ![version](https://img.shields.io/github/v/tag/Accenture/Codecepticon?label=version&style=flat-square)
1+
# Codecepticon ![version](https://img.shields.io/github/v/tag/sadreck/Codecepticon?label=version&style=flat-square)
22

33
## Table of Contents
44

0 commit comments

Comments
 (0)