Nmap Development mailing list archives

Re: small XML output inconsistency and a fix


From: "Michael Pattrick" <mpattrick () rhinovirus org>
Date: Mon, 4 Aug 2008 19:21:40 -0400

On Mon, Aug 4, 2008 at 1:51 PM, David Fifield <david () bamsoftware com> wrote:
I think it's a good idea to include the scanflags in the XML output.
Kris is right that scanflags only applies to TCP scans so the scanflags
should be included only when protocol="tcp".

What about instead of scanflags="NONE" and scanflags="ALL", using
scanflags="" and scanflags="FINSYNRSTPSHACKURGECECWR"? Would that make
it easier on writers of parsers? I know Nmap takes "NONE" and "ALL" as a
convenience but I don't think there's a reason to abbreviate the XML
output.

Hey David and Kris,

Both suggestions implemented, here is the updated patch.

Thanks,
Michael

Attachment: c14n.patch
Description:


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

Current thread: