____ __ __ ____ _ __
/ __ \/ / / / / _/___ (_)__ _____/ /_____ _____
/ / / / / / / / // __ \ / / _ \/ ___/ __/ __ \/ ___/
/ /_/ / /___/ /___ _/ // / / / / / __/ /__/ /_/ /_/ / /
/_____/_____/_____/ /___/_/ /_/_/ /\___/\___/\__/\____/_/
/___/
DLL Injector (LoadLibrary) in C++ (x86 / x64)
LoadLibrary DLL Injector
This is a DLL injector written in C++, it uses the most basic method to inject DLL (LoadLibrary).
The "Release" section contains the DLL injector (x86 / x64) and tiny test programs (x86 / x64).
- Open the solution file (.sln).
- Build the project in Realese (x86) or Release (x64).
Every configuration in x86 / x64 (Debug and Realese) are already configured.
Warning
It is necessary to build it in x86 or x64, it depends of the target process's architecture.
This CMakeLists.txt should compile the project.
cmake_minimum_required(VERSION 3.0)
project(Basic_DLL_Injector)
set(CMAKE_CXX_STANDARD 17)
add_executable(inject DLL_Injector.cpp)
Tested on CLion with MSVC compiler, you can get Visual Studio Build Tools here.
Use it in the command line :
inject.exe <dll> <process>
You can get the DLL injector (x86 / x64) and the test files (x86 / x64) in the "Release" section.