dll-syringe 0.1.0

A windows dll injection library written in rust.
docs.rs failed to build dll-syringe-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: dll-syringe-0.18.2

dll-syringe

Build crates.io Documentation dependency status MIT

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 dll_syringe::{Syringe, Process};

// find target process by name
let target_process = Process::find_first_by_name("target_process").unwrap();

// create new syringe (reuse for better performance)
let syringe = Syringe::new();

// inject the payload into the target process
let injected_payload = syringe.inject(&target_process, "injection_payload.dll").unwrap();

// do something else

// eject the payload from the target (this is optional)
injected_payload.eject().unwrap();

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)