Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters
>>> import donut
>>> shellcode = donut.create('/home/rootabeta/Projects/PoCDLL/evil.exe',entropy=1,format=1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
Python 3.10.2 on 5.16.15-arch1-1
evil.exe source:
compiled with x86_64-w64-mingw32-g++ exe.cc -o evil.exe