mirror of https://github.com/daffainfo/nuclei.git
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dev
commit
7e52cc2299
|
@ -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.IntVar(&options.MetricsPort, "metrics-port", 9092, "Port to expose nuclei metrics on")
|
||||||
set.StringVarP(&options.Target, "target", "u", "", "URL to scan with nuclei")
|
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.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.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.Targets, "list", "l", "", "List of URLs to run templates on")
|
||||||
set.StringVarP(&options.Output, "output", "o", "", "File to write output to (optional)")
|
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.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.Headless, "headless", false, "Enable headless browser based templates support")
|
||||||
set.BoolVar(&options.ShowBrowser, "show-browser", false, "Show the browser on the screen")
|
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.BoolVarP(&options.Workflows, "workflows", "w", false, "Only run workflow templates with nuclei")
|
||||||
set.IntVar(&options.StatsInterval, "stats-interval", 5, "Number of seconds between each stats line")
|
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.BoolVar(&options.SystemResolvers, "system-resolvers", false, "Use system dns resolving as error fallback")
|
||||||
_ = set.Parse()
|
_ = set.Parse()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue