From 3d025e074ed551f5048fecf406dce15bf715c025 Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 7 Feb 2012 21:46:16 +0000 Subject: [PATCH] update the example command/output for the script to use an example from stanford --- scripts/asn-to-prefix.nse | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/asn-to-prefix.nse b/scripts/asn-to-prefix.nse index bddc5e61e..0ec80abe6 100644 --- a/scripts/asn-to-prefix.nse +++ b/scripts/asn-to-prefix.nse @@ -19,12 +19,14 @@ http://www.shadowserver.org/wiki/pmwiki.php/Services/IP-BGP -- @args newtargets Add discovered targets to Nmap scan queue. -- -- @usage --- nmap --script asn-to-prefix --script-args asn-to-prefix.asn={65000,65001}[asn-to-prefix.whois_server=asn.shadowserver.org,asn-to-prefix.whois_port=43,newtargets] +-- nmap --script asn-to-prefix --script-args asn-to-prefix.asn=12 -- -- @output -- 53/udp open domain udp-response -- | asn-to-prefix: --- |_ 127.0.0.0/8 +-- | 32 +-- | 128.12.0.0/16 +-- |_ 171.64.0.0/14 author = "John Bond" license = "Simplified (2-clause) BSD license--See http://nmap.org/svn/docs/licenses/BSD-simplified"