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

Shellcode terminates main thread #146

Open alexgar0 opened 6 months ago

alexgar0 commented 6 months ago

When the shellcode is finished executing, it simply terminates the main process. I'm using CreateRemoteThreadEx to create a thread for shellcode. Shellcode generated with --thread. The program from which the shellcode is generated is a simple C++ Hello World MessageBox compiled using MSVC.

YanStar commented 2 months ago

I meet the same question. Do you have solve it? thank you