pub struct Manager { /* private fields */ }Available on Windows only.
Expand description
Tracks encrypted payload / decoy copies for one or more mapped bases.
Implementations§
Source§impl Manager
impl Manager
Sourcepub fn new() -> Manager
pub fn new() -> Manager
Empty manager. Call Manager::new_module or Manager::new_shellcode next.
Sourcepub fn new_module(
&mut self,
address: usize,
payload: Vec<u8>,
decoy: Vec<u8>,
) -> Result<(), String>
pub fn new_module( &mut self, address: usize, payload: Vec<u8>, decoy: Vec<u8>, ) -> Result<(), String>
Register a mapped PE at address with payload and decoy copies, then hide it.
Sourcepub fn new_shellcode(
&mut self,
address: usize,
payload: Vec<u8>,
decoy: Vec<u8>,
) -> Result<(), String>
pub fn new_shellcode( &mut self, address: usize, payload: Vec<u8>, decoy: Vec<u8>, ) -> Result<(), String>
Register stomped shellcode at address with payload and decoy copies, then hide it.
Sourcepub fn map_module(&mut self, address: usize) -> Result<(), String>
pub fn map_module(&mut self, address: usize) -> Result<(), String>
Decrypt and remap the payload at address.
Sourcepub fn hide_module(&mut self, address: usize) -> Result<(), String>
pub fn hide_module(&mut self, address: usize) -> Result<(), String>
Restore the decoy image at address and XOR-hide the payload copy.
Auto Trait Implementations§
impl Freeze for Manager
impl RefUnwindSafe for Manager
impl Send for Manager
impl Sync for Manager
impl Unpin for Manager
impl UnsafeUnpin for Manager
impl UnwindSafe for Manager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more