Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: [PATCH] Add OS Fingerprint to rendered result of XML output

[PATCH] Add OS Fingerprint to rendered result of XML output

From: <tom_at_fadedcode.net>
Date: Fri, 29 Dec 2006 18:58:43 -0600

Patch against: nmap.xsl - the XML transform document

Nmap will include unknown operating system fingerprints in XML output
if fingerprinting is turned on and verbose output is requested.

These fingerprints are not displayed in the rendered result. This patch
creates a table in the relevant section that displays the fingerprint.
XML output that does not include fingerprints is unaffected.

The wording or colors may need to be edited to be more in line with
the overall theme of nmap.

Tom Sellers

Index: nmap/docs/nmap.xsl
===================================================================
--- nmap/docs/nmap.xsl (revision 4301)
+++ nmap/docs/nmap.xsl (working copy)
@@ -606,6 +606,22 @@
 </xsl:template>
 <!-- ............................................................ -->
 
+<!-- osfingerprint -->
+<!-- ............................................................ -->
+<xsl:template match="osfingerprint">
+ <br /><br />
+ <li>Cannot determine exact operating system. Fingerprint provided below.</li>
+ <table cellspacing="1">
+ <tr class="head">
+ <td>Operating System fingerprint</td>
+ </tr>
+ <tr>
+ <td><xsl:value-of select="@fingerprint" /></td>
+ </tr>
+ </table>
+</xsl:template>
+<!-- ............................................................ -->
+
 <!-- Host Script Scan -->
 <!-- ............................................................ -->
 <xsl:template match="hostscript">

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

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]