|
1 | | -# DLL Injector [](https://en.wikipedia.org/wiki/C%2B%2B) [](https://en.wikipedia.org/wiki/Microsoft_Windows) [](https://en.wikipedia.org/wiki/X86) [](https://en.wikipedia.org/wiki/X64) |
2 | | -### Présentation |
3 | | -Ceci est un injecteur de DLL écrit en C++ . Celui-ci est sous sa forme la plus basique, en utilisant la fonction "LoadLibraryA" pour charger le DLL. |
| 1 | + |
4 | 2 |
|
5 | | -Les commentaires dans les sources n'expliquent pas en détail le fonctionnement l'injection de DLL. |
| 3 | +# DLL Injector |
6 | 4 |
|
7 | | -### Utilisation |
8 | | -Cet injecteur s'utilise en ligne de commande de façon très simple. |
| 5 | + [](https://en.wikipedia.org/wiki/C%2B%2B) [](https://en.wikipedia.org/wiki/Microsoft_Windows) [](https://en.wikipedia.org/wiki/X86) [](https://en.wikipedia.org/wiki/X64) |
| 6 | + |
| 7 | +## :open_book: Project Overview : |
| 8 | + |
| 9 | +This is a DLL injector written in C++, it uses the most basic method to inject DLL (LoadLibrary). |
| 10 | + |
| 11 | +The "Release" section contains the DLL injector (x86 / x64) and tiny test programs (x86 / x64). |
| 12 | + |
| 13 | +## 🚀 Getting Started : |
| 14 | + |
| 15 | +### Visual Studio : |
| 16 | + |
| 17 | +1. Open the solution file (.sln). |
| 18 | +2. Build the project in Realese (x86) or Release (x64). |
| 19 | + |
| 20 | +Every configuration in x86 / x64 (Debug and Realese) are already configured. |
| 21 | + |
| 22 | +**It is necessary to build it in x86 or x64, it depends of the target process's architecture.** |
| 23 | + |
| 24 | +### Other IDE using CMAKE : |
| 25 | + |
| 26 | +This **CMakeLists.txt** should compile the project. |
| 27 | + |
| 28 | +```cmake |
| 29 | +cmake_minimum_required(VERSION 3.0) |
| 30 | +project(Basic_DLL_Injector) |
| 31 | +
|
| 32 | +set(CMAKE_CXX_STANDARD 17) |
| 33 | +
|
| 34 | +add_executable(inject DLL_Injector.cpp) |
| 35 | +``` |
| 36 | + |
| 37 | +Tested on CLion with MSVC compiler, you can get Visual Studio Build Tools [**here**](https://visualstudio.microsoft.com/fr/downloads/?q=build+tools). |
| 38 | + |
| 39 | +## 🧪 Usage : |
| 40 | + |
| 41 | +### How to use the program : |
| 42 | + |
| 43 | +Use it in the command line : |
9 | 44 |
|
10 | 45 | inject.exe <dll> <process> |
11 | | -Vous pouvez tester l'injecteur avec les fichiers fournis dans la section "Release", les deux architectures (x86 et x64) sont présentes. |
| 46 | +**You can get the DLL injector (x86 / x64) and the test files (x86 / x64) in the "Release" section.** |
12 | 47 |
|
13 | | - inject.exe test.dll test.exe |
14 | | -La commande ci-dessus vous permet de tester l'injecteur avec les fichiers fournis. |
15 | | -### Démonstration |
16 | | - |
| 48 | +### Demonstration : |
0 commit comments