Skip to content

Commit

Permalink
Added "Host Script"
Browse files Browse the repository at this point in the history
Added "Host Script" section after "Ports" section in "Online Hosts".
  • Loading branch information
honze-net authored Sep 3, 2018
1 parent 1eef4e5 commit 902ca5e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nmap-bootstrap.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,13 @@ Andreas Hontzia (@honze_net)
</tbody>
</table>
</div>
<xsl:if test="count(hostscript/script) > 0">
<h4>Host Script</h4>
</xsl:if>
<xsl:for-each select="hostscript/script">
<h5><xsl:value-of select="@id"/></h5>
<pre style="white-space:pre-wrap; word-wrap:break-word;"><xsl:value-of select="@output"/></pre>
</xsl:for-each>
</div>
</div>
</xsl:for-each>
Expand Down

0 comments on commit 902ca5e

Please sign in to comment.