Skip to main content

bash_obfuscate

Function bash_obfuscate 

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

Generates bash command obfuscation for Linux penetration testing.

Useful for red team operations on Linux/Unix targets (Parrot, Kali) and blue team detection.

ยงExamples

use redstr::bash_obfuscate;
let cmd = "cat /etc/passwd";
let result = bash_obfuscate(cmd);
assert!(result.contains("cat"));