mirror of https://github.com/daffainfo/nuclei.git
Fixed tag inclusion logic
parent
4db5e92cee
commit
b7d1d5e69e
|
@ -82,7 +82,7 @@ func (t *TagFilter) MatchWithAllowedTags(allowed []string, tag, author, severity
|
|||
matchedAny = true
|
||||
}
|
||||
_, ok := t.block[tag]
|
||||
if ok {
|
||||
if ok && !matchedAny {
|
||||
if _, allowOk := t.matchAllows[tag]; allowOk {
|
||||
return true, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue