dll-syringe
A windows dll injection library written in Rust.
Supported scenarios
| Injector Process | Target Process | Supported? |
|---|---|---|
| 32-bit | 32-bit | Yes |
| 32-bit | 64-bit | No |
| 64-bit | 32-bit | Yes (requires feature into_x86_from_x64) |
| 64-bit | 64-bit | Yes |
Example
use ;
// find target process by name
let target_process = find_first_by_name.unwrap;
// create new syringe (reuse for better performance)
let syringe = new;
// inject the payload into the target process
let injected_payload = syringe.inject.unwrap;
// do something else
// eject the payload from the target (optional)
syringe.eject.unwrap;
License
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)