pe_to_shellcode icon indicating copy to clipboard operation
pe_to_shellcode copied to clipboard

Crash in golang

Open Nyx2022 opened this issue 3 years ago • 2 comments

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 avatar Nov 25 '22 06:11 Nyx2022

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

Nyx2022 avatar Nov 25 '22 07:11 Nyx2022

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

hasherezade avatar Nov 25 '22 13:11 hasherezade