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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user