mirror of https://github.com/daffainfo/nuclei.git
Merge branch 'manuelbua-fix-default-matchers-condition'
commit
3e075768ad
|
@ -35,7 +35,7 @@ func Parse(file string) (*Template, error) {
|
|||
// Get the condition between the matchers
|
||||
condition, ok := matchers.ConditionTypes[request.MatchersCondition]
|
||||
if !ok {
|
||||
request.SetMatchersCondition(matchers.ANDCondition)
|
||||
request.SetMatchersCondition(matchers.ORCondition)
|
||||
} else {
|
||||
request.SetMatchersCondition(condition)
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ func Parse(file string) (*Template, error) {
|
|||
// Get the condition between the matchers
|
||||
condition, ok := matchers.ConditionTypes[request.MatchersCondition]
|
||||
if !ok {
|
||||
request.SetMatchersCondition(matchers.ANDCondition)
|
||||
request.SetMatchersCondition(matchers.ORCondition)
|
||||
} else {
|
||||
request.SetMatchersCondition(condition)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue