[TAG] Schema for nmap XML Output
joregan at gmail.com
Fri Mar 2 15:44:44 MSK 2007
On 20/02/07, Amit Kumar Saha <amitsaha.in at gmail.com> wrote:
> hi list
> Attached is the XML output for a Nmap scan
I know I've seen worse uses of XML, but I can't remember when - the
useful part is just a CSV blob. This is more compact than a 'proper'
use of XML, but it makes it harder to work with using XML tools: the
part that looks most interesting here is (in XPath)
(When I want to test simple XPath expressions, I load the XML into
Firefox and use this bookmarklet):
'');alert(document.evaluate(r, document, null,
It only works when the result is simple text, but that's normally all
I want to find.
> The goal is to move Nmap XML files into a database, with a
> well-thought out DB schema. Ideally, this should work with PostgreSQL,
> MySQL, and other popular databases.
FWIW, MySQL 5.1 has the ability to import XML directly:
> Please suggest a possible database schema for the same
How about the schema used in the XML? Or that used by nmap2sqlite (see below)
> Please point out any similar works
which comes with Nmap::Parser
More information about the TAG