1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 18:39:03 +00:00

Make osclass XML elements children of the osmatch element they belong to.

Add the --deprecated-xml-osclass to restore the old output.
This commit is contained in:
david
2012-05-05 18:02:33 +00:00
parent 20b56cb6a2
commit 1599aa6fe8
6 changed files with 40 additions and 7 deletions

View File

@@ -320,7 +320,13 @@ class NmapOps {
bool mass_dns;
int resolve_all;
char *dns_servers;
// Logging options
bool log_errors;
// If true, write <os><osclass/><osmatch/></os> as in xmloutputversion 1.03
// rather than <os><osmatch><osclass/></osmatch></os> as in 1.04 and later.
bool deprecated_xml_osclass;
bool traceroute;
bool reason;
bool adler32;