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

19 lines
442 B
C++

// DemoDLL_RemoteProcess.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
using namespace std;
extern "C" __declspec( dllexport ) void VoidFunc();
extern "C" __declspec( dllexport ) void VoidFunc()
{
ofstream myfile;
_mkdir("c:\\ReflectiveLoaderTest");
myfile.open ("c:\\ReflectiveLoaderTest\\DllVoidFunction.txt");
myfile << "Dll Void function successfully called.\n";
myfile.close();
return;
}