fix no result found problem with and condition

dev
Florian Pfitzer 2020-08-04 15:09:30 +02:00
parent 270f8fc540
commit 51412f679b
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ func (e *DNSExecuter) ExecuteDNS(p progress.IProgress, URL string) (result Resul
// AND or if we have extractors for the mechanism too.
if len(e.dnsRequest.Extractors) > 0 || matcherCondition == matchers.ANDCondition {
e.writeOutputDNS(domain, nil, extractorResults)
result.GotResults = true
}
return