NAME
nmap2csv - converts nmap results into csv format to be imported into a spreadsheet program
SYNOPSIS
nmap2csv -o example_com.csv -t TCP -z www.example.com
nmap2csv -o example_com_udp.csv -t UDP -z www.example.com
DESCRIPTION
This software runs a TCP or UDP nmap scan against the target host and generates a nice .csv file which could easily be imported into Excel or OpenOffice. It was written in a hurry but it should work. Feel free to submit bugs or suggestions :-)
OPTIONS
These options are passes as command line parameters.
-h : What do you think is this?
-o outputfile : Write to outputfile (file will be in .csv-format)
-t UDP/TCP : Run either a TCP or UDP against the target
-z target : Specify the host you want to scan
OUTPUT EXAMPLE
The output will proably look like this:
127.0.0.1,22,open,tcp,ssh,OpenSSH,3.7.1p2,protocol 1.99,Linux Kernel 2.4.0 - 2.5.20
,111,open,tcp,rpcbind,,2,rpc #100000,Linux Kernel 2.4.0 - 2.5.20
,139,open,tcp,netbios-ssn,Samba smbd,,workgroup: WORKGROUP,Linux Kernel 2.4.0 - 2.5.20
,817,open,tcp,mountd,,1-3,rpc #100005,Linux Kernel 2.4.0 - 2.5.20
,3306,open,tcp,mysql,MySQL,4.0.16,,Linux Kernel 2.4.0 - 2.5.20
,6000,open,tcp,X11,,,access denied,Linux Kernel 2.4.0 - 2.5.20
,32779,open,tcp,status,,1,rpc #100024,Linux Kernel 2.4.0 - 2.5.20
Nice, eh? Remember to import this data as pure text into Excel or OpenOffice :-)
BUG REPORTS
Please submit any bugs to: http://sourceforge.net/tracker/?group_id=97509&atid=618345
Please make sure that you submit the xml-output file of the scan which you are having trouble. This can be done by running your scan with the -oX filename.xml nmap switch. Please remove any important IP addresses for security reasons.
SEE ALSO
The Nmap::Parser page can be found at: http://www.nmapparser.com or http://npx.sourceforge.net. It contains the latest developments on the module. The nmap security scanner homepage can be found at: http://www.insecure.org/nmap/.
AUTHOR
Sebastian Wolfgarten, <sebastian@wolfgarten.com>