Nmap Development mailing list archives

RE: nmap XMLing


From: Fyodor <fyodor () insecure org>
Date: Mon, 14 Aug 2000 01:39:36 -0700 (PDT)


I'm redirecting this XML output suggestion from nmap-hackers to nmap-dev:

---------- Forwarded message ----------
Date: Mon, 14 Aug 2000 01:30:46 -0700
From: John Markham <jmarkham () enflex net>
To: Stou Sandalski <tangui () cell2000 net>, nmap-hackers () insecure org
Subject: RE: nmap XMLing

I have just been parsing the output file (-m) into BASIC xml structure with
perl module (my hack) for my needs.  Output like this:

- <nmap>
- <scan>
- <name>
  <ip_address>172.16.1.1</ip_address>
  <dns_name>blah.braindead.com</dns_name>
  </name>
- <port>
  <service_name>http</service_name>
  <portno>80</portno>
  <state>open</state>
  <proto>tcp</proto>
  <owner>root</owner>
  </port>
- <port>
  <service_name>ssh</service_name>
  <portno>22</portno>
  <state>open</state>
  <proto>tcp</proto>
  <owner>root</owner>
  </port>
- </scan>
- <scan>
- <name>
  <ip_address>172.16.1.2</ip_address>
  <dns_name>einstien.braindead.com</dns_name>
  </name>
- <port>
  <service_name>http</service_name>
  <portno>80</portno>
  <state>open</state>
  <proto>tcp</proto>
  <owner></owner>
  </port>
- <port>
  <service_name>ssh</service_name>
  <portno>22</portno>
  <state>open</state>
  <proto>tcp</proto>
  <owner></owner>
  </port>
- </scan>
- </nmap>

I would definitely be interested in assisting so to remove that file parse.

John

-----Original Message-----
From: Stou Sandalski [mailto:tangui () cell2000 net]
Sent: Monday, August 14, 2000 12:13 AM
To: nmap-hackers () insecure org
Subject: nmap XMLing


Hi, has anyone made any attempts to or is planing to add XML output to nmap?
I remember a while back fyodor added a feature to it that would make that
easier? (remember skript kiddie output?)  If nmap had xml output it would
make it very nice for web-based front ends and communication with other
tools... I would seriously attempt to add xml output to it, but I am afraid
I've been stuck in java-land for quite some time, and so I doubt I can do
it( in a timely fashion). However if someone is planning to add xml output I
would be down to write some nifty javatized front ends with graphical trees
and such...

thoughts?

Stou



--------------------------------------------------
For help using this (nmap-hackers) mailing list, send a blank email to
nmap-hackers-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



Current thread: