Linux/x86 - exit(0) Shellcode (6 bytes)

Author: Febriyanto Nugroho
type: 
platform: linux_x86
length: 6
date_added: 2015-05-04
date_updated: 2015-05-04
verified: 0
codes: 
tags: 
aliases: 
screenshot_url: 
application_url: 

/*
 * 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));
}
↑