Nmap Development mailing list archives

[PATCH] No direct XML in nmap.cc


From: Michal Hrusecky <michal () hrusecky net>
Date: Thu, 31 Jul 2014 16:16:46 +0200

Hi,

I've been looking at customizing nmaps output and thus looking primarily
at how XML output works. While there are many changes that I can do to
get what I need, I found a particular change that I believe can be
accepted in general. In nmap.cc, there is a line that puts hardcoded
string to the XML output directly, bypassing usage of XML library.  I
think it would be much nicer to put it in the XML library and keep
nmap.cc from writing XML directly. See patch attached.

Regards,
Michal Hrusecky

Attachment: nmap-xml-diff.patch
Description:

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

Current thread: