Files
shellcode/x86_32/Example_Code/skeleton_oldstyle.c
Daniel Ashton cc0cee84ff init
2016-05-30 09:06:47 +02:00

16 lines
215 B
C

#include <stdio.h>
#include <string.h>
#include <unistd.h>
char shellcode[] = "";
int main(void)
{
int *ret;
printf("%d\n",strlen(shellcode));
ret = (int *)&ret+2;
*ret = (int)shellcode;
return 0;
}