Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsandeep committed Mar 31, 2022
1 parent 30caa1d commit ac606db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions v2/pkg/runner/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ac606db

Please sign in to comment.