DarthTon / Blackbone

Windows memory hacking library
MIT License
4.77k stars 1.33k forks source link

manual mapping into the same process #358

Open swoopae opened 5 years ago

swoopae commented 5 years ago

ok, so what i'm trying to do is, after i inject a stub dll (first dll), manual map yet another dll in the process i injected in already. the injection of the stub dll works fine, but manual mapping the second one crashes, debugger pointing to nothing.

snip of code: this_proc.mmap().MapImage(binary_data.size(), (void*)binary_data.data(), false, blackbone::WipeHeader);

i tried messing around with different load flags, but i got nowhere. please help.

regards.

DarthTon commented 4 years ago

Does it work if you mmap dll from file and not from memory?