Nmap Development mailing list archives

[PATCH] nmap.xsl bugfix + update


From: Tom Sellers <nmap () fadedcode net>
Date: Tue, 27 Jan 2009 18:13:24 -0600

The attached patch makes the following changes to the OS Fingerprint section
of nmap.xsl:

1.  Corrects a logic bug in the if statement that made it always true
    due to pointing to a non-existent element instead of the proper element
    elsewhere in the structure. (os/fingerprint/osmatch vs os/osmatch)

2.  Implements a conditional statement that displays the proper explanation
    as to why an OS fingerprint was being displayed.  Previously it would
    always say "Cannot determine exact operating system..." if the fingerprint
    was present, even if the real reason was that the scan was run with
    verbosity = 1 or higher.

3.  Adds a reference to http://nmap.org/submit/ when the fingerprint is present
    due to the OS being unidentified.

4.  Uses HTML 'pre' tags to maintain the formating of the XML version of the
    fingerprint.  This allows it to be directly cut and paste into the URL
    above for submission.




Tom Sellers

Attachment: sent.nmap_xsl_fp.txt
Description:


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: