mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
The greppable output was missing a new line character at the end of per host info lines when --host-timeout was used and the host timed-out (after something was received from that host). This issue was reported by Matthew Morgan.
This commit is contained in:
parent
ee8bdabb2b
commit
99a37f8aa1
1 changed files with 1 additions and 1 deletions
2
nmap.cc
2
nmap.cc
|
|
@ -1988,7 +1988,7 @@ int nmap_main(int argc, char *argv[]) {
|
|||
xml_newline();
|
||||
log_write(LOG_PLAIN,"Skipping host %s due to host timeout\n",
|
||||
currenths->NameIP(hostname, sizeof(hostname)));
|
||||
log_write(LOG_MACHINE,"Host: %s (%s)\tStatus: Timeout",
|
||||
log_write(LOG_MACHINE,"Host: %s (%s)\tStatus: Timeout\n",
|
||||
currenths->targetipstr(), currenths->HostName());
|
||||
} else {
|
||||
/* --open means don't show any hosts without open ports. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue