mkdir Test
cd Test
cp ..\Supernova.exe .\
echo "AAAABBBBCCCC" > Test.bin
.\Supernova.exe -enc chacha20 -i Test.bin -lang go -guide > Out
go mod init Test
go mod tidy
go build .\Program.go
.\Program.exe
.\Supernova.exe -enc b64chacha20 -i Test.bin -lang go -guide > Out
go build .\Program.go
.\Program.exe
.\Supernova.exe -enc b64xor -i Test.bin -lang go -guide > Out
go build .\Program.go
.\Program.exe
.\Supernova.exe -enc b64rc4 -i Test.bin -lang go -guide > Out
go build .\Program.go
.\Program.exe
.\Supernova.exe -enc b64aes -i Test.bin -lang go -guide -k 16 > Out
go build .\Program.go
.\Program.exe
.\Supernova.exe -enc b64aes -i Test.bin -lang go -guide -k 24 > Out
go build .\Program.go
.\Program.exe
.\Supernova.exe -enc b64aes -i Test.bin -lang go -guide -k 32 > Out
go build .\Program.go
.\Program.exe
New parameter test
PS D:\tools-dev\[1]public_tools\Test\Supernova> .\Supernova.exe -enc xor -i Test.bin -lang raw -k 16 -o test
[+] The encrypted payload with XOR:
0xc1, 0x29, 0x30, 0x1d, 0x6b, 0xc5, 0x7e, 0xcd, 0xd4, 0xa3, 0x74, 0x79
[+] Save encrypted shellcode file to D:\tools-dev\[1]public_tools\Test\Supernova\test
PS D:\tools-dev\[1]public_tools\Test\Supernova> Format-Hex -Path test
Label: D:\tools-dev\[1]public_tools\Test\Supernova\test
Offset Bytes Ascii
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
------ ----------------------------------------------- -----
0000000000000000 C1 29 30 1D 6B C5 7E CD D4 A3 74 79 Á)0�kÅ~ÍÔ£ty
PS D:\tools-dev\[1]public_tools\Test\Supernova> .\Supernova.exe -enc xor -i Test.bin -lang go -k 16 -o test.go
[+] The encrypted payload with XOR:
shellcode := []byte{0x77, 0x5f, 0xe6, 0x6d, 0x4e, 0x74, 0x1a, 0x6a, 0x5b, 0x66, 0xfb, 0xed};
[+] Save encrypted shellcode to D:\tools-dev\[1]public_tools\Test\Supernova\test.go
PS D:\tools-dev\[1]public_tools\Test\Supernova> type test.go
shellcode := []byte{0x77, 0x5f, 0xe6, 0x6d, 0x4e, 0x74, 0x1a, 0x6a, 0x5b, 0x66, 0xfb, 0xed};
chacha20、b64xxx - golang test
New parameter test