mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Let XML output include "good" (G=N) fingerprints.
This commit is contained in:
parent
af76658dff
commit
0012bd6192
1 changed files with 2 additions and 2 deletions
|
|
@ -1643,10 +1643,10 @@ void printosscanoutput(Target *currenths) {
|
|||
} else { assert(0); }
|
||||
|
||||
if (o.debugging || o.verbose) {
|
||||
char *xml_osfp = xml_convert(mergeFPs(FPR->FPs, FPR->numFPs, false,
|
||||
char *xml_osfp = xml_convert(mergeFPs(FPR->FPs, FPR->numFPs, !reason,
|
||||
currenths->v4hostip(), distance, currenths->MACAddress(),
|
||||
FPR->osscan_opentcpport, FPR->osscan_closedtcpport, FPR->osscan_closedudpport,
|
||||
false));
|
||||
!reason));
|
||||
log_write(LOG_XML,"<osfingerprint fingerprint=\"%s\" />\n", xml_osfp);
|
||||
free(xml_osfp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue