This is a simple shellcode injector that injects shellcode into a running process. The shellcode is executed in the context of the target process. The injector is written in C++ and uses the Windows API to interact with the target process.
To use shellCodeInjector, follow these steps:
- Clone the repository.
git clone https://github.com/mendax0110/shellCodeInjector.git- Change the working directory to the cloned repository.
cd shellCodeInjector- Create the build directory.
mkdir build- Change the working directory to the build directory.
cd build- Generate the build files using CMake.
cmake ..- Build the project.
cmake --build .To use the shellCodeInjector, follow these steps:
- Use genShellCode to generate the binary file which conatins the shellcode.
genShellCode <output>.bin- Run the shellCodeInjector with the following arguments:
shellCodeInjector <shellcode_file>.bin- Windows