Dynamic AES cypter, for .bin files --> Generates '.cpp ' file. /* { was created for use with HAVOC C2 } */
To run the script; --> make sure to have the scripts(a3s_krypta.py & loda.cpp) in the /tmp directory
$ python3 a3s_krypta.py " ~/path-to/.bin "
========================================================================================= If you are hit with an error, like this
Exception has occurred: ModuleNotFoundError No module named 'Crypto' File "C:\Users\x86h4ck3r\Desktop\sandbox\scripts\a3s_krypta.py", line 2, in from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'
$ pip install pycryptodome
$ pip install cryptography
$ python3 a3s_krypta.py " ~/path-to/.bin "
$ x86_64-w64-mingw32-g++ new.loda.cpp --shared --static -o ProService.dll
$ x86_64-w64-mingw32-g++ new.loda.cpp --shared --static -o custom_file_name.dll -fpermissive