TheWover / donut

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
BSD 3-Clause "New" or "Revised" License
3.53k stars 628 forks source link

Wrong donut.h in lib / release #124

Open ark3us opened 1 year ago

ark3us commented 1 year ago

Hi, the header file donut.h in both lib directory and release zip (v1.0) is wrong. Using it with donut library (tested with dll) leads to wrong DONUT_CONFIG value passed to DonutCreate(). The culprit is: char decoy[MAX_PATH * 2]; // path of decoy module which in new version is: char decoy[2056]; // path of decoy module Thanks for your amazing work!