Import nmap's scripts results

Error message

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'comment_node_forum_form' not found or invalid function name in drupal_retrieve_form() (line 844 of /var/www/www.gremwell.com/includes/form.inc).

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

Thanks. We will test your patch and merge it into the next release.

Add new comment

CAPTCHA
Please answer the question to prove that you are not a spammer. If it isn't working and you are not a spammer, please email us.
Fill in the blank.