zznop / drow

Injects code into ELF executables post-build
MIT License
222 stars 37 forks source link

Segmentation fault (core dumped) #6

Closed bb33bb closed 3 years ago

bb33bb commented 4 years ago

build 2 asm file to elf when inject shellcode , eventlually coredumped
wish there is some imporement .

zznop commented 4 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?

bb33bb commented 3 years ago

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

bb33bb commented 3 years ago

eventlly try another repo that insert code before execute . and tested oK