Script whois-domain
Script types:
hostrule
Categories:
discovery, external, safe
Download: https://svn.nmap.org/nmap/scripts/whois-domain.nse
Script Summary
Attempts to retrieve information about the domain name of the target
See also:
Example Usage
nmap --script whois-domain.nse <target> This script starts by querying the whois.iana.org (which is the root of the whois servers). Using some patterns the script can determine if the response represents a referral to a record hosted elsewhere. If that's the case it will query that referral. The script keeps repeating this until the response don't match with any of the patterns, meaning that there are no other referrals and prints the output.
Script Output
PORT STATE SERVICE REASON 80/tcp open http syn-ack | whois-domain: | whois3: Record found at whois.arin.net | netrange: 199.19.112.0 - 199.19.119.255 | netname: WEBRULON-NETWORK | orgname: webRulon, LLC | orgid: WL-1 | country: US stateprov: NY | | orgtechname: webRulon Support | orgtechemail: support@webrulon.com | | Domain name record found at whois.enom.com | | Registration Service Provided By: Namecheap.com | Contact: support@namecheap.com | Visit: http://namecheap.com | Registered through: eNom, Inc. | | Domain name: random-foo-example.com | | Registrant Contact: | Example | John Foo () | | Fax: | Dimosthenous 215 | Athens, Attiki 17673 | GR | | Administrative Contact: | Example | John Foo (john@gmail.com) | +30.69425555555 | Fax: +1.5555555555 | Dimosthenous 215 | Athens, Attiki 17673 | GR | | Technical Contact: | Example | John Foo (john@gmail.com) | +30.69425555555 | Fax: +1.5555555555 | Dimosthenous 215 | Athens, Attiki 17673 | GR | | Status: Active | | Name Servers: | dns1.registrar-servers.com | dns2.registrar-servers.com | dns3.registrar-servers.com | dns4.registrar-servers.com | dns5.registrar-servers.com | | Creation date: 14 Oct 2011 13:41:00 | Expiration date: 14 Oct 2013 05:41:00
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html