Update output_dns.go

dev
Charles Holtzkampf 2020-07-08 19:55:38 +01:00 committed by GitHub
parent 2ab7b0b8f8
commit 9476b72b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ func (e *DNSExecutor) writeOutputDNS(domain string, matcher *matchers.Matcher, e
Matched: domain,
Severity: e.template.Info.Severity,
Author: e.template.Info.Author,
Description: e.template.Info.Description,
}
if matcher != nil && len(matcher.Name) > 0 {
output.MatcherName = matcher.Name