Skip to content

Commit 55d5845

Browse files
author
Robert Kisteleki
committed
fix dnsstat outpuot case sensitivity
1 parent bab24c1 commit 55d5845

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cmd/goat/output/dnsstat/dnsstat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func process(res any) {
117117
case len(resp.Error) > 0: // collect TIMEOUTs separetely
118118
key = "TIMEOUT"
119119
default: // for the rest: extract "useful data"
120-
key = output.OutputDnsResponseFocus(&resp, typeFocus)
120+
key = strings.ToLower(output.OutputDnsResponseFocus(&resp, typeFocus))
121121
}
122122

123123
// count how many of these we had

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
package goat
88

9-
const version = "v0.8.0"
9+
const version = "v0.8.0+"
1010

1111
var (
1212
uaString = "goat " + version

doc/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* FIX: HTTP results did not parse `af`, `src_addr` and `dst_addr` into base results.
66
Reported by @moonracker
7+
* FIX: `dnsstat` results were case sensitive therefore missed merging of some answers
78

89
## v0.8.0
910

0 commit comments

Comments
 (0)