Nmap Development mailing list archives

Re: Help on parsing XML


From: David Fifield <david () bamsoftware com>
Date: Mon, 12 Jan 2009 09:20:09 -0700

On Mon, Jan 12, 2009 at 11:02:59AM +0100, Speziale Daniele wrote:
I need parse the output XML to insert in MS SQL DB.
Could someone help me about it.

I have a lot of XML with a lot of field.

See http://nmap.org/book/output-formats-xml-with-perl.html for help with
parsing Nmap XML with Perl. Another parser I'm aware of is Nmap::Parser
for Ruby, at http://rubynmap.sourceforge.net/. If you have access to
Nmap Subversion (http://nmap.org/book/install.html#inst-svn), the ndiff
program has a limited parser in Python.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: