From c97e05008d8bc67ed56f930f44ac6e77e324261f Mon Sep 17 00:00:00 2001 From: pyro57000 Date: Fri, 17 Oct 2025 10:51:07 -0500 Subject: [PATCH] added ascii art --- src/main.rs | 81 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 76 insertions(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index b20252e..08911b7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ struct Args{ #[arg(short, long, help = "path to save output file Defaults to not saving output.")] outfile: Option, - #[arg(short, long, help = "number of threads to use, default to 10. \nNote thre thread count will be doubled, one set for share finder tasks, and one set for file and infor finding tasks.")] + #[arg(short, long, help = "number of threads to use, default to 10. \\nNote thre thread count will be doubled, one set for share finder tasks, and one set for file and infor finding tasks.")] threads: Option, #[arg(short, long, help = "specific targets. should be comma separated.")] @@ -197,6 +197,77 @@ async fn task_handler(id: usize, current_task: FinderTask, tx: Sender){ #[tokio::main] async fn main(){ +print!{ +" + ██▒▒ + ▒▒████ ▓▓████████▓▓ + ▒▒██████████ ██████████████ + ██████████████ ▒▒██████████████ + ████████████████ ████████████████ + ████████████████▓▓ ▓▓████████████████ + ██████████████████▓▓██████████████████████ + ██████████████████████████████████████████ ▓▓██ + ██████████████████████████████████████████ ▒▒████████ + ▒▒████ ██████████████████████████████████████████████ ██████████████ + ████████▓▓ ▒▒██████████████████████████████████████████████████████████████████ + ████████████████▓▓████████████████████████████████████████████████████████████████████████ + ██████████████████████████████████████████████████████████████████████████████████████████▓▓ + ████████████████████████████████████████▓▓ ▓▓██████████████████████████████████ + ██████████████████████████████████▓▓ ████████████████████████████▒▒ + ██████████████████████████████ ████████████████████████ + ████████████████████████▓▓ ▓▓██████████████████ + ▒▒████████████████████▒▒ ████████████████ + ▒▒████████████████▒▒ /----------------------------------\\ ██████████████ + ██████████████▓▓ / \\ ████████████▓▓ + ██████████████ / \\ ▓▓████████████████████▓▓▓▓ + ▓▓████████████░░ / \\ ████████████████████████ + ░░██████████████ / |-| |-| \\ ▓▓██████████████████████▓▓ + ████████████████████████░░ / | | | | \\ ████████████████████████ + ▓▓██████████████████████████ / | | | | \\ ████████████████████████ + ██████████████████████████▒▒ / | | | | \\ ▒▒██████████████████████ + ██████████████████████████ / | | | | \\ ██████████████████████ +░░██████████████████████████ / | | | | \\ ████████████████████▓▓ +▒▒██████████████████████████ / | | | | \\ ████████████████▓▓ +▓▓██████████████████████████ \\ | | | | / ██████████████ + ▓▓██████████████████████ \\ | | | | / ████████████ + ▓▓████████████████ \\ | | | | / ████████████ + ▓▓████████████ \\ | | | | / ████████████ + ████████████ \\ | | | | / ████████████ + ████████████▒▒ \\ | | | | / ██████████████▒▒ + ██████████████ \\ |-| |-| / ▓▓████████████████▓▓ + ██████████████ \\ / ██████████████████████ + ▒▒██████████████████ \\ / ▒▒████████████████████████ + ██████████████████████ \\ / ████████████████████████ + ██████████████████████████ \\----------------------------------/ ▓▓████████████████████████ + ██████████████████████████████ ░░████████████████████████▓▓ + ██████████████████████████████▒▒ ██████████████████████████ + ░░██████████████████████████████░░ ██████████████░░ ▒▒██████ + ████████████████████████████████ ████████████████ + ▒▒████████████████████████████████░░ ▒▒████████████████ + ██████▓▓▒▒ ██████████████████ ████████████████████ + ████████████████████▒▒ ▒▒████████████████████████ + ██████████████████████████▓▓▓▓▓▓████████████████████████████████▒▒ + ██████████████████████████████████████████████████████████████████ + ██████████████████████████████████████████████████████████████████ + ▓▓████████████████████████████████████████████████████████████████████ + ██████████████████████████████████████████████ ░░██████████████████ + ░░████████████████▒▒ ▒▒██████████████████ ████████████▒▒ + ▒▒██████████████ ████████████████ ██████ + ▓▓████████ ▓▓██████████████ ▒▒ + ▒▒████▒▒ ██████████████ + ██████████████ + ██████████████ + + + + __ __ + / _\\_ __ __ _ / _| ___ _ __ _ __ ___ _ _ ___ + \\ \\| '_ \\ / _` | |_ / _ \\ '__| '__/ _ \\| | | / __| + _\\ \\ | | | (_| | _| __/ | | | | (_) | |_| \\__ \\ + \\__/_| |_|\\__,_|_| \\___|_| |_| \\___/ \\__,_|___/ +" + +} let args = Args::parse(); let mut outfile = PathBuf::new(); let mut threads = 10; @@ -228,7 +299,7 @@ async fn main(){ let command_string = String::from("net group \"domain computers\" /domain"); let mut temp_file = fs::File::create("./temp.bat").unwrap(); write!(temp_file, "{}", command_string).unwrap(); - let computer_res = Command::new(".\\temp.bat").output(); + let computer_res = Command::new(".\\\\temp.bat").output(); let mut error_string = String::new(); let mut success_string = String::new(); fs::remove_file("./temp.bat").unwrap(); @@ -331,7 +402,7 @@ async fn main(){ } else{ let mut save_file = open_res.unwrap(); - let write_res = write!(save_file,"share found! {}\n", finding.path); + let write_res = write!(save_file,"share found! {}\\n", finding.path); if write_res.is_err(){ if !continue_wihtout_save{ eprintln!("{}", "error writing to save file!".red()); @@ -383,7 +454,7 @@ async fn main(){ } else{ let mut save_file = open_res.unwrap(); - let write_res = write!(save_file,"keyword match at {}\n", finding.path); + let write_res = write!(save_file,"keyword match at {}\\n", finding.path); if write_res.is_err(){ if !continue_wihtout_save{ eprintln!("{}", "error writing to save file!".red()); @@ -428,7 +499,7 @@ async fn main(){ } else{ let mut save_file = open_res.unwrap(); - let write_res = write!(save_file,"file found! {}\n", finding.path); + let write_res = write!(save_file,"file found! {}\\n", finding.path); if write_res.is_err(){ if !continue_wihtout_save{ eprintln!("{}", "error writing to save file!".red());