hasherezade / pe_to_shellcode

Converts PE into a shellcode
https://www.youtube.com/watch?v=WQCiM0X11TA
BSD 2-Clause "Simplified" License
2.27k stars 423 forks source link

Crash in golang #31

Open Nyx2022 opened 1 year ago

Nyx2022 commented 1 year ago

excuse me,my english is poor! i use pe2sh to generate a golang-compiled exe to shellcode,then i inject the shellcode and it can run normally on c-compiled shell loader,but when i inject the shellcode with golang-compiled shell loader,i can spawn a process,but the new process will exit immediately, so iwanna know how to solve it.both c and golang use a same method to inject process

Nyx2022 commented 1 year ago

in golang.i use go-donut to generate shellcode from pe,that can run normaly,too

hasherezade commented 1 year ago

hi @Nyx2022 ! can you please attach the testcases (code & binary)? it will help me check it faster. if you don't want to attach them here you can send to my e-mail: hasherezade-at-pm.me