vc中代码如下:
char shellcode[] =
{
0x8b,0xf4,0x68,0x48,0x57,0x41,0x00,0xff,0x15,0xa0,0x81,0x41,0x00,0x3b,0xf4,0xe8,0xe1,0xdb,0xff,0xff,0x8b,0xf4
,0x68,0x3c,0x57,0x41,0x00,0xff,0x15,0xb8,0x82,0x41,0x00,0x83,0xc4,0x04,0x3b,0xf4,0xe8,0xca,0xdb,0xff,0xff
};
_asm{
lea eax,shellcode;
call eax;
}
return 0;