exploit-db-mirror/platforms/lin_x86/shellcode/36908.c
Offensive Security 0df2ff7351 DB: 2015-05-05
15 new exploits
2015-05-05 05:03:01 +00:00

14 lines
No EOL
257 B
C
Executable file

/*
* linux/x86 exit(0) - 6 bytes
* Febriyanto Nugroho
*/
#include <stdio.h>
char shellcode[] = "\xf7\xf0"
"\xcd\x80"
"\xeb\xfa";
int main(int argc, char **argv) {
asm("jmp %0;" : "=m" (shellcode));
}