Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.12 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.12 KB

injrs

DLL injector library and tool written in Rust.

Apache-2.0

Usage

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

DLL Demo

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