Exercise: Perform a WHOIS lookup for a domain and IP address using the Nmap tool

  1. Open a terminal in Kali Linux and type “nmap –script whois-ip <target IP address>” to
    perform a WHOIS lookup for an IP address.
  2. To perform a WHOIS lookup for a domain name, type “nmap –script whois <target domain
    name>”
  3. To find out the owner of the IP address, type “nmap –script whois-ip –script-args whois-
    ip.detail=1 <target IP address>”
  4. To find out the email addresses associated with a domain name, type “nmap –script whois —
    script-args whois.email=1 <target domain name>”
  5. To find out the registrar, type “nmap –script whois –script-args whois.registrar=1 <target
    domain name>”
  6. To find out the creation and expiry date of a domain name, type “nmap –script whois —
    script-args whois.creationdate=1,whois.expirationdate=1 <target domain name>”

Reference:
Nmap: https://nmap.org/book/man.html

Open chat
Hello 👋.
Tell me, how can I help you?