mirror of
https://github.com/nmap/nmap.git
synced 2026-01-18 20:29:02 +00:00
Add some indexterms to docs/scripting.xml and docs/refguide.xml.
This commit is contained in:
@@ -1975,6 +1975,7 @@ way.</para>
|
||||
|
||||
<listitem>
|
||||
<para>Runs a script scan (like <option>-sC</option>) with the scripts you have chosen rather than the defaults. Arguments can be script categories, single scripts or directories with scripts which are to be run against the target hosts instead of the default set. Nmap will try to interpret the arguments at first as categories and afterwards as files or directories. Absolute paths are used as is, relative paths are searched in the following places until found:
|
||||
<indexterm><primary>NMAPDIR environment variable</primary></indexterm>
|
||||
<filename>--datadir/</filename>;
|
||||
<filename>$(NMAPDIR)/</filename>;
|
||||
<filename>~user/nmap/</filename> (not searched on Windows);
|
||||
@@ -3454,7 +3455,8 @@ overwhelming requests. Specify <option>--open</option> to only see
|
||||
searches these files in the directory specified with the
|
||||
<option>--datadir</option> option (if any). Any files not
|
||||
found there, are searched for in the directory specified by
|
||||
the NMAPDIR environmental variable. Next comes <filename>~/.nmap</filename> for
|
||||
the NMAPDIR environmental variable<indexterm><primary>NMAPDIR environment variable</primary></indexterm>.
|
||||
Next comes <filename>~/.nmap</filename> for
|
||||
real and effective UIDs (POSIX systems only) or location of
|
||||
the Nmap executable (Win32 only), and then a compiled-in
|
||||
location such as <filename>/usr/local/share/nmap</filename> or <filename>/usr/share/nmap</filename>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<title>Introduction</title>
|
||||
|
||||
<indexterm><primary>Nmap Scripting Engine</primary></indexterm>
|
||||
<indexterm><primary>scripting</primary><see>Nmap Scripting Engine</see></indexterm>
|
||||
<para>The Nmap Scripting Engine (NSE) is one of Nmap's most
|
||||
powerful and flexible features. It allows users to write (and
|
||||
share) simple scripts to automate a wide variety of networking
|
||||
@@ -354,6 +355,9 @@ are to be run against the target hosts instead of the default set. Nmap
|
||||
will try to interpret the arguments at first as categories and afterwards
|
||||
as files or directories. Absolute paths are used as is, relative paths are
|
||||
searched in the following places until found:
|
||||
<indexterm><primary>data files</primary><secondary>directory search order</secondary></indexterm>
|
||||
<indexterm><primary>scripts</primary><secondary>directory locations</secondary></indexterm>
|
||||
<indexterm><primary>scripts</primary><secondary>directory locations</secondary></indexterm>
|
||||
<filename>--datadir/</filename>;
|
||||
<filename>$(NMAPDIR)/</filename>;
|
||||
<filename>~user/nmap/</filename> (not searched on Windows);
|
||||
|
||||
Reference in New Issue
Block a user