mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 02:09:03 +00:00
Add a description of XML output to the Ndiff man page. Still need to
fill in the output examples.
This commit is contained in:
@@ -131,6 +131,34 @@
|
|||||||
<example id="ndiff-man-ex-text-output">
|
<example id="ndiff-man-ex-text-output">
|
||||||
<title>Ndiff text output</title>
|
<title>Ndiff text output</title>
|
||||||
<screen>
|
<screen>
|
||||||
|
</screen>
|
||||||
|
</example>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
XML output, intended to be processed by other programs, is selected
|
||||||
|
with the <option>--xml</option> option. It is based on Nmap's XML
|
||||||
|
output, with a few additional elements to indicate differences. The
|
||||||
|
XML document is enclosed in <varname>nmapdiff</varname> and
|
||||||
|
<varname>scandiff</varname> elements. Host differences are enclosed
|
||||||
|
in <varname>hostdiff</varname> tags and port differences are
|
||||||
|
enclosed in <varname>portdiff</varname> tags. Inside a
|
||||||
|
<varname>hostdiff</varname> or <varname>portdiff</varname>,
|
||||||
|
<varname>a</varname> and <varname>b</varname> tags show the state of
|
||||||
|
the host or port in the first scan (<varname>a</varname>) or the
|
||||||
|
second scan (<varname>b</varname>).
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<xref linkend="ndiff-man-ex-xml-output"/> shows the XML diff of the
|
||||||
|
same scans shown above in
|
||||||
|
<xref linkend="ndiff-man-ex-text-output" xrefstyle="select: label"/>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<example id="ndiff-man-ex-xml-output">
|
||||||
|
<title>Ndiff XML output</title>
|
||||||
|
<screen>
|
||||||
|
<![CDATA[
|
||||||
|
]]>
|
||||||
</screen>
|
</screen>
|
||||||
</example>
|
</example>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|||||||
Reference in New Issue
Block a user