Nmap Development mailing list archives
Re: [NSE] broadcast-igmp-discovery.nse: add group names
From: Vasily Kulikov <segoon () openwall com>
Date: Wed, 28 Nov 2012 22:54:50 +0400
On Wed, Nov 28, 2012 at 21:31 +0400, Vasily Kulikov wrote:
Hi, This patch adds support for group names identification from plain multicast ip addresses. A script which collects the DB is included in the comments to the script.
Or even a better script to extract DB. It adds RFC numbers:
#!/usr/bin/awk -f
BEGIN { FS="<|>"; }
/<record/ { r=1; addr1=""; addr2=""; rfc=""; }
/<addr>.*-.*<\/addr>/ { T=$3; FS="-"; $0=T; addr1=$1; addr2=$2; FS="<|>"; }
/<addr>[^-]*<\/addr>/ { addr1=$3; addr2=$3; }
/<description>/ { desc=$3; }
/<xref type=\"rfc\"/ { T=$2; FS="\""; $0=T; rfc=" (" $4 ")"; FS="<|>"; }
/<\/record/ { r=0; if (addr1) { print addr1 "\t" addr2 "\t" desc rfc; } }
--
Vasily Kulikov
http://www.openwall.com - bringing security into open computing environments
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
Current thread:
- [NSE] broadcast-igmp-discovery.nse: add group names Vasily Kulikov (Nov 28)
- Re: [NSE] broadcast-igmp-discovery.nse: add group names Vasily Kulikov (Nov 28)
- Re: [NSE] broadcast-igmp-discovery.nse: add group names David Fifield (Nov 28)
- Re: [NSE] broadcast-igmp-discovery.nse: add group names Vasily Kulikov (Nov 29)
- Re: [NSE] broadcast-igmp-discovery.nse: add group names David Fifield (Nov 29)
- Re: [NSE] broadcast-igmp-discovery.nse: add group names Vasily Kulikov (Nov 29)
