Skip to content

Commit

Permalink
modified output
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4f53 committed Aug 13, 2024
1 parent 2fee4ae commit 9865fca
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
Binary file modified .build/binaries/dnsservices-1.0.0-darwin-amd64
Binary file not shown.
Binary file modified .build/binaries/dnsservices-1.0.0-darwin-arm64
Binary file not shown.
Binary file modified .build/binaries/dnsservices-1.0.0-linux-386
Binary file not shown.
Binary file modified .build/binaries/dnsservices-1.0.0-linux-amd64
Binary file not shown.
Binary file modified .build/binaries/dnsservices-1.0.0-linux-arm64
Binary file not shown.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ A lightning-fast Golang tool to discover services embedded into DNS records
## 🚀 Features
- Takes just 2 seconds to resolve a domain**
- Queries multiple DNS servers concurrently
- More than 100 service signatures supported!
- More than 100 service signatures supported
- Easy to customize regexes and resolvers lists in YAML format
- Verbose JSON output for in-depth debugging

_**- depending on factors like internet speed, DNS server availability etc._
_** - depending on factors like internet speed, DNS server availability etc._

## 🖊️ Usage

Expand Down Expand Up @@ -85,7 +85,7 @@ Found services: Microsoft Office 365, Pinterest, Google Search Console, MongoDB,
Checking if online... [ ✓ ONLINE ]
Looking up '0x4f.in'... [ 7 resolvers found! ]

DNS providers that responded:
DNS providers containing with this host:
1. Quad9 (9.9.9.9)
2. Google (8.8.4.4)
4. Cloudflare (1.1.1.1)
Expand Down
6 changes: 3 additions & 3 deletions sniffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func printServices(output Output) {
fmt.Printf(" %s. %s\n", strconv.Itoa(index+1), record)
continue
}

fmt.Printf("%s", record)

if index != len(services)-1 {
Expand Down Expand Up @@ -101,7 +101,7 @@ func printProviders(output Output) {

providers = RemoveDuplicatesAndEmptyStrings(providers)

fmt.Println("\nDNS providers that responded:")
fmt.Println("\nDNS providers with this host:")

for index, item := range providers {
fmt.Printf(" %s. %s\n", strconv.Itoa(index+1), item)
Expand All @@ -128,7 +128,7 @@ func main() {
}
Resolvers = resolvers

fmt.Print("Checking if online...")
fmt.Println("Checking if online...")

if !CheckInternet() {
ErrorLog.Println("Couldn't connect to the internet. Please check your connection and try again!")
Expand Down

0 comments on commit 9865fca

Please sign in to comment.