1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-17 13:09:02 +00:00

o XML output now excludes output for down hosts when doing host

discovery only, except in verbose mode. This is how it already
  worked for normal scans, but the ping-only case was overlooked.
  [David]
This commit is contained in:
david
2010-11-11 23:24:59 +00:00
parent fb0aa3f1e3
commit 5b010f927a
2 changed files with 16 additions and 9 deletions

View File

@@ -1,5 +1,10 @@
# Nmap Changelog ($Id$); -*-text-*-
o XML output now excludes output for down hosts when doing host
discovery only, except in verbose mode. This is how it already
worked for normal scans, but the ping-only case was overlooked.
[David]
o [NSE] Added a new Web Service Dynamic Discovery library (wsdd) and the two
scripts broadcast-wsdd-discover and wsdd-discover. [Patrik]

View File

@@ -1682,6 +1682,7 @@ int nmap_main(int argc, char *argv[]) {
#endif
) || o.listscan) {
/* We're done with the hosts */
if (currenths->flags & HOST_UP || o.verbose) {
xml_start_tag("host");
write_host_header(currenths);
printmacinfo(currenths);
@@ -1691,6 +1692,7 @@ int nmap_main(int argc, char *argv[]) {
xml_end_tag();
xml_newline();
log_flush_all();
}
delete currenths;
o.numhosts_scanned++;
continue;