mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
fix xml bug
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
# Nmap Changelog ($Id$); -*-text-*-
|
# Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o Fix XML output so that the opening <os> tag is printed again. The
|
||||||
|
line which prints this was somehow removed when NSE was integrated.
|
||||||
|
Thanks to Joshua Abraham for reporthing the problem.
|
||||||
|
|
||||||
o Fix a small bug in traceroute progress output which neglected printing
|
o Fix a small bug in traceroute progress output which neglected printing
|
||||||
when it was completed. This caused weirdness, especially when multiple
|
when it was completed. This caused weirdness, especially when multiple
|
||||||
hosts were scanned. [Kris]
|
hosts were scanned. [Kris]
|
||||||
|
|||||||
@@ -1339,6 +1339,7 @@ void printosscanoutput(Target *currenths) {
|
|||||||
if (currenths->distance != -1)
|
if (currenths->distance != -1)
|
||||||
distance = currenths->distance;
|
distance = currenths->distance;
|
||||||
|
|
||||||
|
log_write(LOG_XML, "<os>");
|
||||||
if (FPR->osscan_closedtcpport > 0) {
|
if (FPR->osscan_closedtcpport > 0) {
|
||||||
log_write(LOG_XML,
|
log_write(LOG_XML,
|
||||||
"<portused state=\"closed\" proto=\"tcp\" portid=\"%hu\" />\n",
|
"<portused state=\"closed\" proto=\"tcp\" portid=\"%hu\" />\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user