Nmap Announce mailing list archives

n-map addon development


From: "HD Moore" <hdmoore () usa net>
Date: Thu, 17 Dec 1998 02:10:25 -0600

Just curious to know if anyone on this mailing list is working on any
addons for nmap?  I have been working on a set of perl scripts for
logfile maagement/html reports , I know someone else is working
on an X-UI.  Anyways, post a reply if you want betas or are working
 on one of your own.


The scripts I wrote are are all in PERL, they take a logfile created with -m
option and turn it into a perl-style database for the analyzing scripts.
The current format I have for the perl db is:

<ip addr>|<ports>|<status>|<seq index>|<Os Matches>

the ports are in a comma delimited list in the folowing format:
a port entry looks like this:  139.open.tcp.netbios-ssn
                                             <port number>.<state>.<service
via getservbynum>

so an example db entry looks like:

127.0.0.1|21.open.tcp.ftp,80.open.tcp.www,139.open.tcp.netbios-ssn|0|7|Windo
ws NT4 / Win95 / Win98

so it makes it REALLY simple to use this db style as input for all the
graphical output / html output scripts im writing.


Just split() the line with '|'
split() the ports with  ','
split() the fileds with '.'

combine all the items in the array past [3] to reassemble the OS type.

if anyone has any questions, suggestions, or wants to write some custom
script shtat use this db style just email me at hdmoore () usa net





Current thread: