README - dnsenum2.pl VERSION: 1.3.2
multithreaded perl script to enumerate DNS information of a domain and to discover non-contiguous ip blocks.
Get the host's addresse (A record).
Get the nameservers (threaded).
Get the MX record (threaded).
Perform axfr queries on nameservers and get BIND VERSION (threaded).
Get extra names and subdomains via google scraping (google query = "-www site:domain").
Brute force subdomains from file, can also perform recursion on subdomain that have NS records (all threaded).
Calculate C class domain network ranges and perform whois queries on them (threaded).
Perform reverse lookups on netranges ( C class or/and whois netranges) (threaded).
Write to domain_ips.txt file ip-blocks.
Modules that are included in perl 5.28.0:
Other Necessary modules:
To install a module, simply run (as root):
apt-get install cpanminus
yum install cpan
curl -L http://cpanmin.us | perl - App::cpanminus
Run make file
make
: Create Manpages
make install
: Install files in the correct folder
This will create a direct callable dnsenum
file from commandline.
dns.txt
file will be loaded from /usr/share/dnsenum/dns.txt
. (Note the -f switch will take precedence over this file)
OPTIONS:perldoc dnsenum.pl
Changelog from version 1.3.0
allinurl
out
to output
as mentioned in the docsSpecial thanks to all Original Perl developers.