Shared library injector for Linux written in Rust
Read the file LICENSE
Requires root access
[ Rust Injector ] by rdbo
====================
usage: ./rust-injector [-n NAME][-f FILENAME][-p PID] SHARED_LIB
The output binary will be located at: target/release/rust-injector
cargo build --release
- x86_64: Working
- x86_32: Not fully working
This is my first Rust project, so don't expect best quality code
Everything was written from scratch in pure Rust
Requires the nix
and regex
packages
Terminal Logs:
$ cargo build && sudo ./target/debug/rust-injector -f test ~/Documents/Repos/libtest/libtest.so
[ Rust Injector ] by rdbo
====================
...
Library handle: 0x55db721be6f0
====================
Injected successfully!
Target Process:
$ ./test
Waiting...
Waiting...
Waiting...
Injected!
Waiting...
Waiting...