Added vv flag to display more extra verbose information

This commit is contained in:
Ice3man543 2021-07-01 18:22:08 +05:30
parent e440ab5cba
commit d58180d588
3 changed files with 4 additions and 2 deletions

View File

@ -96,6 +96,7 @@ based on templates offering massive extensibility and ease of use.`)
set.IntVar(&options.InteractionsEviction, "interactions-eviction", 60, "Number of seconds to wait before evicting requests from cache")
set.IntVar(&options.InteractionsPollDuration, "interactions-poll-duration", 5, "Number of seconds before each interaction poll request")
set.IntVar(&options.InteractionsColldownPeriod, "interactions-cooldown-period", 5, "Extra time for interaction polling before exiting")
set.BoolVar(&options.VerboseVerbose, "vv", false, "Display Extra Verbose Information")
_ = set.Parse()
if cfgFile != "" {

View File

@ -345,7 +345,7 @@ func (r *Runner) RunEnumeration() {
unclusteredRequests += int64(template.TotalRequests) * r.inputCount
}
if r.options.Verbose {
if r.options.VerboseVerbose {
for _, template := range store.Templates() {
r.logAvailableTemplate(template.Path)
}

View File

@ -108,6 +108,7 @@ type Options struct {
Version bool
// Verbose flag indicates whether to show verbose output or not
Verbose bool
VerboseVerbose bool
// No-Color disables the colored output.
NoColor bool
// UpdateTemplates updates the templates installed at startup