Skip to content

talilama/dnsscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnsscope

Takes a list of IPs and TLDs in scope and automates DNS enumeration. This includes reverse DNS, subdomain enumeration, TLS certificate CN and SAN enumeration, and finally forward DNS to sort results into the following categories:

  • In Scope - Domain resolves to an IP provided as In Scope
  • Tentatively In Scope - Domain resolves to an IP not in provided infile but the TLD was determined to be in scope
  • Out of Scope - domain resolves but neither the IP or TLD were determined to be in scope
  • Dead Domains - Identified domain does not resolve

Usage

Specify an input file with the target scope using the -i/--infile flag (supports IP addresses and CIDR ranges). Additionally, pass a list or single top-level domain using -D/-d to run subdomain enumeration. Don't forget to add a VirusTotal API key to the top of sublister.py for more rubust subdomain enumeration via Sublist3r.

Basic Usage Examples:

Common usage with single domain:

python3 dnsscope.py -i scope_ips -d targetdomain.com

Multiple domains in a file

python3 dnsscope.py -i scope_ips -D domainsfile.txt

Run TLSenum on additional ports

python3 dnsscope.py -i scope_ips -d targetdomain.com -p 8443 8080 9443

Run the web server:

python3 dnsscope.py --server

Credits

All credit for sublist3r goes to Ahmed Aboul-Ela (@aboul3la).

https://github.com/aboul3la/Sublist3r

Minor modifications were made to sublist3r to work for this application -

About

Automates DNS recon process

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages