Skip to content

Commit

Permalink
add host.io url to dns-enum
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Oct 13, 2024
1 parent 206e389 commit 6b15a4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dns/domain_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def run(self):
'google_url': f'https://www.google.com/search?q=site%3A{TARGET}',
'cert_search_url': f'https://crt.sh/?q={TARGET}',
'dnsdumpster_url': f'https://dnsdumpster.com/?q={TARGET}',
'hostio_url': f'https://host.io/{TARGET}',
}
self._process_basic_records()
self._process_certificate_search()
Expand All @@ -75,7 +76,7 @@ def _save_results(self):
with open(out / 'enum.json', 'w', encoding='utf-8') as f:
f.write(json_dumps(self.results, indent=4))

with open(out /'whois.json', 'w', encoding='utf-8') as f:
with open(out / 'whois.json', 'w', encoding='utf-8') as f:
try:
f.write(json_dumps(whois(TARGET), indent=4, default=str))

Expand Down

0 comments on commit 6b15a4e

Please sign in to comment.