README - dnsenum2.pl VERSION: 1.2.6
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.10.0:
- Getopt::Long
- IO::File * Thread::Queue
-
Other Necessary modules:
- Must have:
- Net::IP
- Net::DNS
- Net::Netmask
- Optional:
- Net::Whois::IP
- HTML::Parser
- WWW::Mechanize * XML::Writer
-
To install a module, simply run (as root):
- debian:
apt-get install cpanminus
- centos:
yum install cpan
- other:
curl -L http://cpanmin.us | perl - App::cpanminus
- debian:
-
Run make file
make install DESTDIR=/path/to/install
- 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)
- This will create a direct callable
OPTIONS:perldoc dnsenum.pl
Changelog from version 1.2.6
- Dynamic DNS.txt reading
- Additional DNS.txt entries
- Fixed deprecated
allinurl
- Changed
out
tooutput
as mentioned in the docs
Special thanks to all Original Perl developers.