Nmap Development mailing list archives

parsing XML with NSE


From: "DePriest, Jason R." <jrdepriest () gmail com>
Date: Tue, 24 Aug 2010 16:55:06 -0500

Is there an XML parser available for NSE that could take XML and turn
it in to Lua tables?

I've read http://lua-users.org/wiki/LuaXml which says that you can get
Lua to do it, but it isn't built-in.  Is something like LuaXML already
present?

On another note, it would be nice if whatever parser existed could
also handle XSLT filtes.

I was starting to work on an NSE script that can parse the NAI ePolicy
Orchestrator agent information available from port 8081 on hosts
running ePO Agent, but I don't want to duplicate work if there is a
library I can already plug in.

Thanks.

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


Current thread: