From 2a31e712da25f96c4b8b27e321a56c76170009e6 Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 30 Jul 2008 21:39:29 +0000 Subject: [PATCH] Added more documentation and a warning to ASN.nse --- scripts/ASN.nse | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/scripts/ASN.nse b/scripts/ASN.nse index 778232076..f1795b173 100644 --- a/scripts/ASN.nse +++ b/scripts/ASN.nse @@ -1,6 +1,27 @@ ----NOTE! FIX DNS ENTRY +--[[ + +Query Autonomous System Numbers Based on IP +------------------------------------------- +Uses a 3rd party service provided by team-cymru.org to +find the autonomous system numbers of a specific IP. +This scan is performed on all hosts in a portscan but +will only output a result once for every netblock. + +Be aware that because this scan uses a 3rd party +service it may result in a loss of privacy, all hosts +that you scan with this script will be sent to team- +cymru.org. +--]] + id = "ASN" -description = "nmap --script asn --script-args dns=" +description = "This script discovers the autonomous system numbers of the \ +netblock ranges that you scanned. It will return other information as well \ +such as a country code, and BGP prefix. \ +Caution: This script access a 3rd party database provided by team-cymru.com \ +to discover this information. Using this script will expose the hosts that \ +you scan to team-cymru.com in order to get the results. \ +Usage: nmap --script asn --script-args dns=" + author = "Jah, Michael" license = "Same as Nmap--See http://nmap.org/book/man-legal.html" categories = {"discovery"}