Segfault when running hello world shellcode in C program

Published: 5/10/2017
Segfault when running hello world shellcode in C program
Source: SECURITY.STACKEXCHANGE.COM

sorry if this question sounds dumb but I am very new to shellcoding and I was trying to get a hello world example to work on a 32 bit linux machine. As this is shellcoding, I used a few tricks to remove null bytes and shorten the code. Here it is: section .data section .text global _start _start: ;Instead of xor eax,eax ;mov al,0x4 push byte 0x4 pop eax ;xor ebx,ebx push byte 0x1 pop ebx ;xor ecx,

Read more
Related news
Comment