|
[PATCH] Add OS Fingerprint to rendered result of XML output: msg#00144security.nmap.devel
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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [PATCH] Clarify OS fingerprint section of rendered XML results: 00144, Tom Sellers |
|---|---|
| Next by Date: | [PATCH] Minor patch to correct spelling mistake in nmap.xsl: 00144, Tom Sellers |
| Previous by Thread: | [PATCH] Clarify OS fingerprint section of rendered XML resultsi: 00144, Tom Sellers |
| Next by Thread: | [PATCH] Minor patch to correct spelling mistake in nmap.xsl: 00144, Tom Sellers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |