Removed powershell spawning

This commit is contained in:
Idov31
2022-02-02 20:14:09 +02:00
parent 0ed3f81d3f
commit 4f6f33714b
+1 -3
View File
@@ -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!");
}
}