Converting default from 0 to 9999999

Signed-off-by: Casper Guldbech Nielsen <whopsec@protonmail.com>
dev
Casper Guldbech Nielsen 2020-09-12 17:28:25 +02:00
parent a7c4fb8ac1
commit 7ceca4daeb
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ func ParseOptions() *Options {
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.TemplateList, "tl", false, "List available templates")
flag.IntVar(&options.RateLimit, "rl", 0, "Rate-Limit of requests per specified target") // 0 as default to turn the flag "off"
flag.IntVar(&options.RateLimit, "rl", 9999999, "Rate-Limit of requests per specified target") // 9999999 to avoid limiting
flag.Parse()