From dfec277813bfbc956dcac45345a9158093d68343 Mon Sep 17 00:00:00 2001 From: Matt Graeber Date: Fri, 31 May 2013 19:35:26 -0400 Subject: 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 --- CodeExecution/DemoReflectiveDLL/DemoDLL/dllmain.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 CodeExecution/DemoReflectiveDLL/DemoDLL/dllmain.cpp (limited to 'CodeExecution/DemoReflectiveDLL/DemoDLL/dllmain.cpp') diff --git a/CodeExecution/DemoReflectiveDLL/DemoDLL/dllmain.cpp b/CodeExecution/DemoReflectiveDLL/DemoDLL/dllmain.cpp deleted file mode 100644 index 69b5891..0000000 --- a/CodeExecution/DemoReflectiveDLL/DemoDLL/dllmain.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// dllmain.cpp : Defines the entry point for the DLL application. -#include "stdafx.h" - -BOOL APIENTRY DllMain( HMODULE hModule, - DWORD ul_reason_for_call, - LPVOID lpReserved - ) -{ - switch (ul_reason_for_call) - { - case DLL_PROCESS_ATTACH: - case DLL_THREAD_ATTACH: - case DLL_THREAD_DETACH: - case DLL_PROCESS_DETACH: - break; - } - return TRUE; -} - -- cgit v1.2.3