From b6c72453aea7ec3fb9115681bc3283461d116d39 Mon Sep 17 00:00:00 2001 From: kill-ux Date: Sat, 31 Jan 2026 16:26:18 +0100 Subject: [PATCH 1/2] j --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index b050b4c..df95db5 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -92,7 +92,7 @@ pub struct Cli { #[arg(short = 'x', long)] pub extensions: Option, - #[arg(short = 'u', long)] + #[arg(short = 'u', long, conflicts_with_all = ["target", "subnet", "header_url", "dir_url"])] pub gui: bool, #[arg(short, long)] From a848ff59156b6e02f34944775796da73869a5f8f Mon Sep 17 00:00:00 2001 From: kill-ux Date: Sat, 31 Jan 2026 16:55:28 +0100 Subject: [PATCH 2/2] fix ui with output file --- src/gui/mod.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gui/mod.rs b/src/gui/mod.rs index 98b573e..6fac778 100644 --- a/src/gui/mod.rs +++ b/src/gui/mod.rs @@ -138,7 +138,11 @@ impl App for PentestApp { ui.horizontal(|ui| { ui.label("Threads:"); ui.add(egui::Slider::new(&mut cli.threads, 1..=500)); - ui.checkbox(&mut cli.log, "Enable Logging"); + ui.label("output file:"); + let mut output = cli.output.clone().unwrap_or_default(); + if ui.text_edit_singleline(&mut output).changed() { + cli.output = Some(output); + } }); ui.add_space(5.0); @@ -184,7 +188,7 @@ impl App for PentestApp { tinyscanner::run( &target_url, &ports, - threads, + threads, &output_path, &scan_mode, verify,