Skip to content

Commit 06fe6ad

Browse files
authored
Merge pull request #27 from HuntDownProject/release/v1.0.6
Parsing domains
2 parents 603b59b + 228cc84 commit 06fe6ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/hednsextractor/hednsextractor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func prepareOutput(result utils.Result, bMatchedDomain bool, bMatchedPTR bool) s
104104
}
105105
}
106106

107-
if bMatchedPTR && result.PTR != "" {
107+
if bMatchedPTR && result.PTR != "" && output == "" {
108108
if utils.OptionCmd.Silent {
109109
output = fmt.Sprintf("%s\n", result.PTR)
110110
} else {

utils/banner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var banner = `
1414
╰╯╱╰┻━━━┻━━━┻╯╰┻━━┻━━━┻╯╰┻━┻╯╰╯╰┻━━┻━┻━━┻╯
1515
`
1616

17-
var version = "v1.0.5"
17+
var version = "v1.0.6"
1818

1919
func ShowBanner() {
2020
gologger.Print().Msgf("%s\n", banner)

0 commit comments

Comments
 (0)