1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-13 01:49:01 +00:00

Correct reference to snmpcommunity script-arg. Fixes #861

This commit is contained in:
dmiller
2017-04-21 13:28:55 +00:00
parent 87991d57a2
commit c8d5cf86b2
3 changed files with 5 additions and 5 deletions

View File

@@ -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>

View File

@@ -22,7 +22,7 @@ http://grutztopia.jingojango.net/2012/10/hph3c-and-huawei-snmp-weak-access-to.ht
---
-- @usage
-- nmap -sU -p 161 --script snmp-hh3c-logins --script-args snmpcommunity=<community> <target>
-- nmap -sU -p 161 --script snmp-hh3c-logins --script-args creds.snmp=<community> <target>
--
-- @output
-- | snmp-hh3c-logins:

View File

@@ -12,7 +12,7 @@ Attempts to downloads Cisco router IOS configuration files using SNMP RW (v1) an
---
-- @usage
-- nmap -sU -p 161 --script snmp-ios-config --script-args snmpcommunity=<community> <target>
-- nmap -sU -p 161 --script snmp-ios-config --script-args creds.snmp=<community> <target>
--
-- @output
-- | snmp-ios-config: