Skip to content

Commit

Permalink
Flag updates!
Browse files Browse the repository at this point in the history
Updated "json-requests" with "include-rr" indicating that JSON response will also include request / response in the output.

Updated "pbar" to "stats" that makes use of new lib "clistats" to display basis stats of the the running scan.
  • Loading branch information
ehsandeep committed Nov 19, 2020
1 parent 9e6e6d3 commit 9442cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/internal/runner/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func ParseOptions() *Options {
flag.StringVar(&options.TraceLogFile, "trace-log", "", "File to write sent requests trace log")
flag.StringVar(&options.TemplatesDirectory, "update-directory", "", "Directory to use for storing nuclei-templates")
flag.BoolVar(&options.JSON, "json", false, "Write json output to files")
flag.BoolVar(&options.JSONRequests, "json-requests", false, "Write requests/responses for matches in JSON output")
flag.BoolVar(&options.EnableProgressBar, "pbar", false, "Enable the progress bar")
flag.BoolVar(&options.JSONRequests, "include-rr", false, "Write requests/responses for matches in JSON output")
flag.BoolVar(&options.EnableProgressBar, "stats", false, "Display stats of the running scan")
flag.BoolVar(&options.TemplateList, "tl", false, "List available templates")
flag.IntVar(&options.RateLimit, "rate-limit", 150, "Rate-Limit (maximum requests/second")
flag.BoolVar(&options.StopAtFirstMatch, "stop-at-first-match", false, "Stop processing http requests at first match (this may break template/workflow logic)")
Expand Down

0 comments on commit 9442cfb

Please sign in to comment.