mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 13:49:03 +00:00
Correct reference to snmpcommunity script-arg. Fixes #861
This commit is contained in:
@@ -1062,12 +1062,12 @@ local server_name = stdnse.get_script_args("xmpp-info.server_name")
|
||||
table named after the script. Arguments used by libraries, which can
|
||||
affect many scripts, usually have names beginning with the name of the
|
||||
library, like <literal>smbuser</literal> and
|
||||
<literal>snmpcommunity</literal>.
|
||||
<literal>creds.snmp</literal>.
|
||||
</para>
|
||||
<para>
|
||||
The online NSE Documentation Portal at <ulink
|
||||
url="https://nmap.org/nsedoc/"/> lists the arguments that each script
|
||||
accepts.
|
||||
accepts, including any library arguments that may influence the script.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
@@ -1109,7 +1109,7 @@ local server_name = stdnse.get_script_args("xmpp-info.server_name")
|
||||
<varlistentry>
|
||||
<term>
|
||||
<indexterm><primary><option>--script-args</option></primary><secondary>example of</secondary></indexterm>
|
||||
<command>nmap --script snmp-sysdescr --script-args snmpcommunity=admin example.com</command></term>
|
||||
<command>nmap --script snmp-sysdescr --script-args creds.snmp=admin example.com</command></term>
|
||||
<listitem>
|
||||
<para>Run an individual script that takes a script
|
||||
argument.</para>
|
||||
|
||||
Reference in New Issue
Block a user