mirror of
https://github.com/trickster0/OffensiveRust
synced 2026-06-08 17:54:47 +00:00
Removed powershell spawning
This commit is contained in:
@@ -45,8 +45,6 @@ fn main() {
|
||||
VirtualProtect(amsi_scan_addr.cast(), 6, old_permissions, &mut old_permissions);
|
||||
|
||||
// Spawn the new powershell.
|
||||
println!("[+] AmsiScanBuffer patched!\n[*] Spawning powershell...");
|
||||
let mut powershell = Command::new("cmd");
|
||||
powershell.spawn();
|
||||
println!("[+] AmsiScanBuffer patched!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user