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

Change DllMain's first argument #33

Closed grzryc closed 4 years ago

grzryc commented 4 years ago

DllMain should be called with the dll's base address as a first parameter. (As in docs)

grzryc commented 4 years ago

However I see you changed this [here] (https://github.com/TheWover/donut/commit/1a876d730cc4fa04f285ae2de53e9b33ce3a20c9#diff-dcc2075df0bbcc93ba045a0d69ade2e2R228), so maybe that's intentional?