Update outdated comment

dev
Manuel Bua 2020-07-25 23:22:09 +02:00
parent a9560336f4
commit b33a2b6d16
1 changed files with 2 additions and 1 deletions

View File

@ -244,7 +244,7 @@ func (r *Runner) RunEnumeration() {
p := r.progress
templateCount := len(allTemplates)
// precompute total request count if we are executing more than one template
// precompute total request count
var totalRequests int64 = 0
barIndex := 0
parsedTemplates := []string{}
@ -256,6 +256,7 @@ func (r *Runner) RunEnumeration() {
barIndex++
template := t.(*templates.Template)
totalRequests += template.GetHTTPRequestsCount()
// track per-template progress
p.SetupTemplateProgressbar(template.ID, r.inputCount*template.GetHTTPRequestsCount(), barIndex)
parsedTemplates = append(parsedTemplates, match)
default: