Files
Matt Graeber dfec277813 Added Invoke-ReflectivePEInjection
Another awesome addition from Joe Bialek. Invoke-ReflectivePEInjection
is a vast improvement over Invoke-ReflectiveDllInjection. It adds the
following features:

* Now supports loading exe files in memory
* Supports reflective dll injection into a remote process
* Additional sample Visual Studio solutions
2013-05-31 19:35:26 -04:00

27 lines
411 B
C++

// DemoExe.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
printf("Exe loaded! Printing argc and argv\n\n");
printf("Argc: %d\n", argc);
printf("ArgvAddress: %d\n", argv);
for (int i = 0; i < argc; i++)
{
wprintf(L"Argv: %s\n", argv[i]);
}
printf("Exiting exe\n");
return 0;
}