From 16a9225b42464c5ce59f6ef6f6bf7b007a17f8fe Mon Sep 17 00:00:00 2001 From: sandeep <8293321+bauthard@users.noreply.github.com> Date: Sun, 28 Feb 2021 13:06:18 +0530 Subject: [PATCH] misc updates --- v2/cmd/nuclei/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v2/cmd/nuclei/main.go b/v2/cmd/nuclei/main.go index e16af2ca..2b0c0bbf 100644 --- a/v2/cmd/nuclei/main.go +++ b/v2/cmd/nuclei/main.go @@ -41,7 +41,7 @@ based on templates offering massive extensibility and ease of use.`) set.IntVar(&options.MetricsPort, "metrics-port", 9092, "Port to expose nuclei metrics on") set.StringVarP(&options.Target, "target", "u", "", "URL to scan with nuclei") set.StringSliceVarP(&options.Templates, "templates", "t", []string{}, "Templates to run, supports single and multiple templates using directory.") - set.StringSliceVar(&options.ExcludedTemplates, "exclude", []string{}, "Templates to exclude, supports single and multiple templates using directory.") + set.StringSliceVarP(&options.ExcludedTemplates, "exclude", "et", []string{}, "Templates to exclude, supports single and multiple templates using directory.") set.StringSliceVarP(&options.Severity, "severity", "impact", []string{}, "Templates to run based on severity, supports single and multiple severity.") set.StringVarP(&options.Targets, "list", "l", "", "List of URLs to run templates on") set.StringVarP(&options.Output, "output", "o", "", "File to write output to (optional)") @@ -81,8 +81,8 @@ based on templates offering massive extensibility and ease of use.`) set.StringVarP(&options.ResolversFile, "resolvers", "r", "", "File containing resolver list for nuclei") set.BoolVar(&options.Headless, "headless", false, "Enable headless browser based templates support") set.BoolVar(&options.ShowBrowser, "show-browser", false, "Show the browser on the screen") - set.BoolVarP(&options.Workflows, "w", "workflows", false, "Only run workflow templates with nuclei") - set.IntVar(&options.StatsInterval, "stats-interval", 5, "Number of seconds between each stats line") + set.BoolVarP(&options.Workflows, "workflows", "w", false, "Only run workflow templates with nuclei") + set.IntVarP(&options.StatsInterval, "stats-interval", "si", 5, "Number of seconds between each stats line") set.BoolVar(&options.SystemResolvers, "system-resolvers", false, "Use system dns resolving as error fallback") _ = set.Parse()