mirror of https://github.com/daffainfo/nuclei.git
If debug is enabled, show matchers that are not named also #1084
* start the indexing of the matcher names from 1 instead of 0dev
parent
fc66195b28
commit
61a8ba80b4
|
@ -178,7 +178,7 @@ func getMatcherName(matcher *matchers.Matcher, matcherIndex int) string {
|
|||
if matcher.Name != "" {
|
||||
return matcher.Name
|
||||
} else {
|
||||
return matcher.Type + "-" + strconv.Itoa(matcherIndex)
|
||||
return matcher.Type + "-" + strconv.Itoa(matcherIndex+1) // making the index start from 1 to be more readable
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue