mirror of https://github.com/daffainfo/nuclei.git
Fixed a bug with all field on matching
parent
042f77c9a0
commit
9d905e1f8e
|
@ -31,8 +31,8 @@ func (m *Matcher) Match(resp *http.Response, body, headers string) bool {
|
|||
} else if m.part == HeaderPart {
|
||||
return m.matchRegex(headers)
|
||||
} else {
|
||||
if !m.matchRegex(headers) {
|
||||
return false
|
||||
if m.matchRegex(headers) {
|
||||
return true
|
||||
}
|
||||
return m.matchRegex(body)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue