DLL injector library and tool written in Rust.
At most time, you can use injrs
as a simple tool.
USAGE:
injrs PROCESS_PATH/PID [Libraies...]
EXAMPLES:
1. Inject test.dll to process Calc.exe
$ injrs Calc.exe test.dll
2. Inject test.dll and demo.dll to process with PID: 1888
$ injrs 1888 test.dll demo.dll
You can build with command:
cargo build --release --example eat-hook
cargo build --release --example source
cargo build
Build target will locate in:
target/i686-pc-windows-msvc/release/examples/eat_hook.dll
target/i686-pc-windows-msvc/release/examples/source.exe
target/i686-pc-windows-msvc/debug/injrs.exe
Run the demo process independently:
./target/i686-pc-windows-msvc/release/examples/source.exe
Try to inject the demo dll to your target process:
./target/i686-pc-windows-msvc/debug/injrs.exe target/i686-pc-windows-msvc/release/examples/source.exe target/i686-pc-windows-msvc/release/examples/eat_hook.dll