Submitted by c4rt on Mon, 07/23/2012 - 23:07

Hi all,

Here is a little patch for nmap2mt.xsl.

It adds nodes with nmap's scripts id and results (descendants of port nodes) :

--- nmap2mt.old 2012-07-23 21:30:00.784892176 +0200
+++ nmap2mt.xsl 2012-07-23 22:43:27.930746032 +0200
@@ -105,6 +105,13 @@
</xsl:otherwise>
</xsl:choose>
</xsl:if>
+ <xsl:for-each select="script">
+ <script status="new"><xsl:value-of select="@id" />
+ <xsl:if test="@output">
+ <output status="new"><xsl:value-of select="@output" /></output>
+ </xsl:if>
+ </script>
+ </xsl:for-each>
</port>
</xsl:for-each>
</ipproto>

--
C4rt

Contacts

+32 (0) 2 215 53 58

Gremwell BVBA
Sint-Katherinastraat 24
1742 Ternat
Belgium
VAT: BE 0821.897.133.