dirtyInject is a command-line tool designed for injecting DLLs into Windows processes or SO libraries into Linux processes. It supports Windows, Linux and macOS environments and provides a straightforward interface for injecting malicious code (for testing and research purposes only).
To use dirtyInject, follow these steps:
- Clone the repository:
git clone https://github.com/mendax0110/dirtyInject.git
- Navigate to the project directory:
cd dirtyInject
- Create a build directory:
mkdir build
- Navigate to the build directory:
cd build
- Generate the build files:
cmake ..
- Build the project:
cmake --build .
- Run the executable:
dirtyInject.exe <dll_path/so_path/dyLib_path> <process_name>
dirtyInject is supported on the following platforms:
- Windows
- Linux
- macOS