From ac606dbe055df13b848c2b58c1b1ca1c343c20a5 Mon Sep 17 00:00:00 2001 From: sandeep Date: Thu, 31 Mar 2022 16:38:00 +0530 Subject: [PATCH] readme updates --- README.md | 16 ++++++++++------ v2/pkg/runner/options.go | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 93ba3c60..5d4db252 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ RATE-LIMIT: OUTPUT: -o, -output string file to write output to (optional) -json write output in JSON lines format + -csv write output in csv format CONFIGURATION: -scan-all-ips, -sa scan all the IP's associated with DNS record @@ -83,6 +84,8 @@ CONFIGURATION: -nmap-cli string nmap command to run on found results (example: -nmap-cli 'nmap -sV') -r string list of custom resolver dns resolution (comma separated or from file) -proxy string socks5 proxy + -resume resume scan using resume.cfg + -stream stream mode (disables resume, nmap, verify, retries, shuffling, etc) OPTIMIZATION: -retries int number of retries for the port scan (default 3) @@ -92,12 +95,13 @@ OPTIMIZATION: -verify validate the ports again with TCP verification DEBUG: - -debug display debugging information - -verbose, -v display verbose output - -no-color, -nc disable colors in CLI output - -silent display only results in output - -version display version of naabu - -stats display stats of the running scan + -debug display debugging information + -verbose, -v display verbose output + -no-color, -nc disable colors in CLI output + -silent display only results in output + -version display version of naabu + -stats display stats of the running scan + -si, -stats-interval int number of seconds to wait between showing a statistics update (default 5) ``` # Installation Instructions diff --git a/v2/pkg/runner/options.go b/v2/pkg/runner/options.go index 877ef1f5..3e07307b 100644 --- a/v2/pkg/runner/options.go +++ b/v2/pkg/runner/options.go @@ -104,8 +104,8 @@ func ParseOptions() *Options { flagSet.StringVar(&options.NmapCLI, "nmap-cli", "", "nmap command to run on found results (example: -nmap-cli 'nmap -sV')"), flagSet.StringVar(&options.Resolvers, "r", "", "list of custom resolver dns resolution (comma separated or from file)"), flagSet.StringVar(&options.Proxy, "proxy", "", "socks5 proxy"), - flagSet.BoolVar(&options.Resume, "resume", false, "Resume"), - flagSet.BoolVar(&options.Stream, "stream", false, "Stream mode (disables resume, nmap, verify, retries, shuffling, etc)"), + flagSet.BoolVar(&options.Resume, "resume", false, "resume scan using resume.cfg"), + flagSet.BoolVar(&options.Stream, "stream", false, "stream mode (disables resume, nmap, verify, retries, shuffling, etc)"), ) flagSet.CreateGroup("optimization", "Optimization",