diff --git a/CHANGELOG b/CHANGELOG index f18fd2124..8700a2953 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,8 @@ o [NSE] Added hostmap-robtex.nse by Arturo Busleiman, which finds other domain names sharing the IP address of the target. +o [NSE] Renamed hostmap.nse to hostmap-bfk.nse. + o [NSE] Added the script http-vlcstreamer-ls which queries the VLC Streamer helper service for a list of files in a given directory. [Patrik Karlsson] diff --git a/scripts/hostmap.nse b/scripts/hostmap-bfk.nse similarity index 90% rename from scripts/hostmap.nse rename to scripts/hostmap-bfk.nse index c4efca7c7..9e7a44b7c 100644 --- a/scripts/hostmap.nse +++ b/scripts/hostmap-bfk.nse @@ -2,10 +2,12 @@ description = [[ Tries to find hostnames that resolve to the target's IP address by querying the online database at http://www.bfk.de/bfk_dnslogger.html. The script is in the "external" category because it sends target IPs to a third party in order to query their database. + +This script was formerly (until April 2012) known as hostmap.nse. ]] --- --- @args hostmap.prefix If set, saves the output for each host in a file +-- @args hostmap-bfk.prefix If set, saves the output for each host in a file -- called "". The file contains one entry per line. -- @args newtargets If set, add the new hostnames to the scanning queue. -- This the names presumably resolve to the same IP address as the @@ -13,11 +15,11 @@ The script is in the "external" category because it sends target IPs to a third -- can change their behavior based on hostname. -- -- @usage --- nmap --script hostmap --script-args hostmap.prefix=hostmap- +-- nmap --script hostmap-bfk --script-args hostmap-bfk.prefix=hostmap- -- -- @output -- Host script results: --- | hostmap: Saved to hostmap-nmap.org +-- | hostmap-bfk: Saved to hostmap-nmap.org -- | insecure.org -- | 74.207.254.18 -- | web.insecure.org @@ -85,7 +87,7 @@ action = function(host) local hostnames_str = stdnse.strjoin("\n", hostnames) local output_str - local filename_prefix = stdnse.get_script_args("hostmap.prefix") + local filename_prefix = stdnse.get_script_args("hostmap-bfk.prefix") if filename_prefix then local filename = filename_prefix .. filename_escape(host.targetname or host.ip) local status, err = write_file(filename, hostnames_str .. "\n") diff --git a/scripts/script.db b/scripts/script.db index 0d8e0e384..26eba9695 100644 --- a/scripts/script.db +++ b/scripts/script.db @@ -102,8 +102,8 @@ Entry { filename = "hadoop-tasktracker-info.nse", categories = { "default", "dis Entry { filename = "hbase-master-info.nse", categories = { "default", "discovery", "safe", } } Entry { filename = "hbase-region-info.nse", categories = { "default", "discovery", "safe", } } Entry { filename = "hddtemp-info.nse", categories = { "default", "discovery", "safe", } } +Entry { filename = "hostmap-bfk.nse", categories = { "discovery", "external", "intrusive", } } Entry { filename = "hostmap-robtex.nse", categories = { "discovery", "external", "safe", } } -Entry { filename = "hostmap.nse", categories = { "discovery", "external", "intrusive", } } Entry { filename = "http-affiliate-id.nse", categories = { "discovery", "safe", } } Entry { filename = "http-apache-negotiation.nse", categories = { "discovery", "safe", } } Entry { filename = "http-auth-finder.nse", categories = { "discovery", "safe", } }