Skip to content

Simple DLL injector written in Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

tanchevk/dll_injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DLL Injector

A DLL injector written in Rust

Compiling and Using

To get started, clone this repo and compile:

# Clone the repo
git clone https://github.com/tanchevk/dll_injector.git

# Compile
# Do NOT compile with --release
# Compiling this in release mode breaks it, for some reason
cargo build --profile dev_optimised

After compiling it, the binary should be in target/debug. It is completely portable, so feel free to move it wherever you like. If you want, you can also add it to your path, so you can access it from anywhere.

To use it, run:

dll_injector [TARGET] [DLL PATH]

where [TARGET] is the process to inject the DLL into, and [DLL PATH] is the path to the DLL to inject.

Prebuilt Binaries

Compiled binaries are available for download in the Releases tab.

Platform Compatability

Due to its reliance on the Win32 API, only Windows is supported. Cross-compiling it from a non-Windows environment may or may not work.

Licensing

Dual-licensed under both the Apache License, Version 2.0 and the MIT license.

Contributing

Unless explicitly stated otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, will be dual-licensed as above, without any additional terms or conditions.