Closed bb33bb closed 3 years ago
I'm gonna need more than that. Source for asm and compiler command line? Are you injecting into a x86-64 ELF64 file?
its a asm , some days before i tested like this global _start section .text _start: ; print "xxxx" call _xxxx db "xxxx",0,0 _xxxx: pop ecx mov edx,6 mov eax, 4 mov ebx, 1 int 0x80 ; exit mov eax, 1 mov ebx, 0 int 0x80
eventlly try another repo that insert code before execute . and tested oK
build 2 asm file to elf when inject shellcode , eventlually coredumped
wish there is some imporement .