odzhan / injection

Windows process injection methods
http://modexp.wordpress.com/
133 stars 20 forks source link

How to compile the payload file used on win 7 32-bit system? #4

Closed Addtree closed 5 years ago

Addtree commented 5 years ago

I tried to compile a payload file under win 7 32-bit system, but I failed, the screenshot is as follows image system version screenshot image After I selected your bat file in vstools and executed your bat file, the generated payload.exe64.bin can be perfectly injected and played on the x64 system, so I am sure that my compilation method should be correct. After many attempts, I Found that it should be your file problem, after viewing in CFF found that xbin.exe and payload.exe are files under x64 platform, so the bin file under my compiled x32 platform always crashes or does not respond when injected. Can you upload the compiled 32-bit platform payload.exe and xbin.exe to github? Thank you very much, this problem has been bothering me for a long time. xbin.exe and payload.exe screenshot image image

odzhan commented 5 years ago

Check the x86 folder in payload. chost.c doesn't work, but i might try fix it later.

Qfoxsay commented 4 years ago

How to compile the payload file used on win 7 64-bit system?