Skip to main content

powershell_obfuscate

Function powershell_obfuscate 

Source
pub fn powershell_obfuscate(cmd: &str) -> String
Expand description

Generates PowerShell command obfuscation for Windows penetration testing.

Useful for red team operations on Windows targets and blue team detection testing.

ยงExamples

use redstr::powershell_obfuscate;
let cmd = "Get-Process";
let result = powershell_obfuscate(cmd);
assert!(result.len() > 0);