From 564f654747f750e04178eba7f585e3e479315d06 Mon Sep 17 00:00:00 2001 From: dmiller Date: Sat, 7 Mar 2015 04:24:31 +0000 Subject: [PATCH] Fix leftovers from the whois => whois-ip name change --- scripts/whois-ip.nse | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/whois-ip.nse b/scripts/whois-ip.nse index 4db031b13..a2c15b625 100644 --- a/scripts/whois-ip.nse +++ b/scripts/whois-ip.nse @@ -48,35 +48,35 @@ the RIRs. -- * whodb=[service-ids] Redefine the default services to query. Implies nofile. -- @usage -- # Basic usage: --- nmap target --script whois +-- nmap target --script whois-ip -- -- # To prevent the use of IANA assignments data supply the nofile value -- # to the whodb argument: --- nmap target --script whois --script-args whodb=nofile --- nmap target --script whois --script-args whois.whodb=nofile +-- nmap target --script whois-ip --script-args whodb=nofile +-- nmap target --script whois-ip --script-args whois.whodb=nofile -- -- # Supplying a sequence of whois services will also prevent the use of -- # IANA assignments data and override the default sequence: --- nmap target --script whois --script-args whodb=arin+ripe+afrinic --- nmap target --script whois --script-args whois.whodb=apnic*lacnic +-- nmap target --script whois-ip --script-args whodb=arin+ripe+afrinic +-- nmap target --script whois-ip --script-args whois.whodb=apnic*lacnic -- # The order in which the services are supplied is the order in which -- # they will be queried. (N.B. commas or semi-colons should not be -- # used to delimit argument values.) -- -- # To return the first record obtained even if it contains a referral -- # to another service, supply the nofollow value to whodb: --- nmap target --script whois --script-args whodb=nofollow --- nmap target --script whois --script-args whois.whodb=nofollow+ripe +-- nmap target --script whois-ip --script-args whodb=nofollow +-- nmap target --script whois-ip --script-args whois.whodb=nofollow+ripe -- # Note that only one service (the first one supplied) will be used in -- # conjunction with nofollow. -- -- # To ensure discovery of smaller assignments even if larger ones -- # exist in the cache, supply the nocache value to whodb: --- nmap target --script whois --script-args whodb=nocache --- nmap target --script whois --script-args whois.whodb=nocache +-- nmap target --script whois-ip --script-args whodb=nocache +-- nmap target --script whois-ip --script-args whois.whodb=nocache -- @output -- Host script results: --- | whois: Record found at whois.arin.net +-- | whois-ip: Record found at whois.arin.net -- | netrange: 64.13.134.0 - 64.13.134.63 -- | netname: NET-64-13-143-0-26 -- | orgname: Titan Networks