mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 21:59:02 +00:00
NSE committed
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
|
||||
.\" Instead of manually editing it, you probably should edit the DocBook XML
|
||||
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
|
||||
.TH "NMAP" "1" "12/04/2006" "" "Nmap Reference Guide"
|
||||
.TH "NMAP" "1" "12/08/2006" "" "Nmap Reference Guide"
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
@@ -91,7 +91,7 @@ This options summary is printed when Nmap is run with no arguments, and the late
|
||||
\fI\%http://insecure.org/nmap/data/nmap.usage.txt\fR. It helps people remember the most common options, but is no substitute for the in\-depth documentation in the rest of this manual. Some obscure options aren't even included here.
|
||||
.PP
|
||||
.nf
|
||||
Nmap 4.20RC1 ( http://insecure.org )
|
||||
Nmap 4.20 ( http://insecure.org )
|
||||
Usage: nmap [Scan Type(s)] [Options] {target specification}
|
||||
TARGET SPECIFICATION:
|
||||
Can pass hostnames, IP addresses, networks, etc.
|
||||
|
||||
@@ -42,9 +42,10 @@
|
||||
-->
|
||||
|
||||
<!-- parameter entities to specify common "types" used elsewhere in the DTD -->
|
||||
<!ENTITY % attr_alpha "CDATA" >
|
||||
<!ENTITY % attr_numeric "CDATA" >
|
||||
<!ENTITY % attr_ipaddr "CDATA" >
|
||||
<!ENTITY % attr_numeric "CDATA" >
|
||||
<!ENTITY % attr_percent "CDATA" >
|
||||
<!ENTITY % attr_percent "CDATA" >
|
||||
<!ENTITY % attr_type "(ipv4 | ipv6 | mac)" >
|
||||
|
||||
@@ -130,8 +131,7 @@
|
||||
-->
|
||||
<!ELEMENT host ( status, address , (address | hostnames |
|
||||
smurf | ports | os | distance | uptime |
|
||||
tcpsequence | ipidsequence | tcptssequence )* ) >
|
||||
|
||||
tcpsequence | ipidsequence | tcptssequence | hostscript)* ) >
|
||||
|
||||
<!-- these elements are written by output.c:write_xml_initial_hostinfo() -->
|
||||
<!ELEMENT status EMPTY >
|
||||
@@ -166,7 +166,7 @@
|
||||
count %attr_numeric; #REQUIRED
|
||||
>
|
||||
|
||||
<!ELEMENT port (state , owner? , service? ) >
|
||||
<!ELEMENT port (state , owner? , service?, script*) >
|
||||
<!ATTLIST port
|
||||
protocol %port_protocols; #REQUIRED
|
||||
portid %attr_numeric; #REQUIRED
|
||||
@@ -197,6 +197,12 @@
|
||||
servicefp CDATA #IMPLIED
|
||||
>
|
||||
|
||||
<!ELEMENT script EMPTY >
|
||||
<!ATTLIST script
|
||||
id CDATA #REQUIRED
|
||||
output CDATA #REQUIRED
|
||||
>
|
||||
|
||||
<!ELEMENT os ( portused* , osclass*, osmatch*, osfingerprint* ) >
|
||||
|
||||
<!ELEMENT portused EMPTY >
|
||||
@@ -272,3 +278,5 @@
|
||||
down %attr_numeric; "0"
|
||||
total %attr_numeric; #REQUIRED
|
||||
>
|
||||
|
||||
<!ELEMENT hostscript ( script+ )>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Nmap 4.20RC3 ( http://insecure.org )
|
||||
Nmap 4.20 ( http://insecure.org )
|
||||
Usage: nmap [Scan Type(s)] [Options] {target specification}
|
||||
TARGET SPECIFICATION:
|
||||
Can pass hostnames, IP addresses, networks, etc.
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- =========================================================================
|
||||
nmap.xsl stylesheet version 0.9b
|
||||
last change: 2006-03-04
|
||||
@@ -530,6 +529,19 @@
|
||||
<td><xsl:value-of select="service/@version" /><xsl:text> </xsl:text></td>
|
||||
<td><xsl:value-of select="service/@extrainfo" /><xsl:text> </xsl:text></td>
|
||||
</tr>
|
||||
<xsl:for-each select="script">
|
||||
<tr class="open">
|
||||
<td></td>
|
||||
<td>
|
||||
<xsl:value-of select="@id"/> <xsl:text> </xsl:text>
|
||||
</td>
|
||||
<td colspan="5">
|
||||
<xsl:value-of select="@output"/> <xsl:text> </xsl:text>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</xsl:for-each>
|
||||
|
||||
</xsl:when>
|
||||
<xsl:when test="state/@state = 'filtered'">
|
||||
<tr class="filtered">
|
||||
@@ -594,6 +606,25 @@
|
||||
</xsl:template>
|
||||
<!-- ............................................................ -->
|
||||
|
||||
<!-- Host Script Scan -->
|
||||
<!-- ............................................................ -->
|
||||
<xsl:template match="hostscript">
|
||||
<table>
|
||||
<xsl:for-each select="script">
|
||||
<tr class="open">
|
||||
<td>
|
||||
<xsl:value-of select="@id"/> <xsl:text> </xsl:text>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="@output"/> <xsl:text> </xsl:text>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:template>
|
||||
<!-- ............................................................ -->
|
||||
|
||||
<!-- uptime -->
|
||||
<!-- ............................................................ -->
|
||||
<xsl:template match="uptime">
|
||||
|
||||
Reference in New Issue
Block a user