From d1a34cb5592eceb2a1c4d7ab913ce4b3aea5520e Mon Sep 17 00:00:00 2001 From: Thomas Queiroz Date: Tue, 9 Mar 2021 15:09:34 -0300 Subject: [PATCH] Partially fix #362: Fix examples Include -a to specify addresses --- src/input.rs | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input.rs b/src/input.rs index 276823e19..d0ea366e9 100644 --- a/src/input.rs +++ b/src/input.rs @@ -130,7 +130,7 @@ pub struct Opts { /// The Script arguments to run. /// To use the argument -A, end RustScan's args with '-- -A'. - /// Example: 'rustscan -T 1500 127.0.0.1 -- -A -sC'. + /// Example: 'rustscan -T 1500 -a 127.0.0.1 -- -A -sC'. /// This command adds -Pn -vvv -p $PORTS automatically to nmap. /// For things like --script '(safe and vuln)' enclose it in quotations marks \"'(safe and vuln)'\"") #[structopt(last = true)] diff --git a/src/main.rs b/src/main.rs index aa028befa..ac9d73b1e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -134,7 +134,7 @@ fn main() { \n Alternatively, increase the timeout if your ping is high. Rustscan -t 2000 for 2000 milliseconds (2s) timeout.\n", ip, opts.batch_size, - "'rustscan -b '"); + "'rustscan -b -a '"); warning!(x, opts.greppable, opts.accessible); }