mirror of https://github.com/vxunderground/VX-API
27 lines
769 B
C++
27 lines
769 B
C++
#include "Win32Helper.h"
|
|
|
|
INT main(VOID)
|
|
{
|
|
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// The following variables are used for VX-API development and debugging,
|
|
// they do not serve any purpose and can be removed.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
DWORD dwSize = 0;
|
|
PCHAR ppShellcodeBuffer = GenericShellcodeOpenCalcExitThread(&dwSize);
|
|
WCHAR wBuffer[MAX_PATH * sizeof(WCHAR)] = L"C:\\Windows\\System32\\calc.exe";
|
|
CHAR cBuffer[MAX_PATH] = "C:\\Windows\\System32\\calc.exe";
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Test area
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
Sleep(1);
|
|
return 0;
|
|
} |