mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
note snmpcommunity script argument name
This commit is contained in:
@@ -291,7 +291,7 @@ end
|
|||||||
-- @param PDU SNMP Protocol Data Unit to be encapsulated in the packet.
|
-- @param PDU SNMP Protocol Data Unit to be encapsulated in the packet.
|
||||||
-- @param version SNMP version, default <code>0</code> (SNMP V1).
|
-- @param version SNMP version, default <code>0</code> (SNMP V1).
|
||||||
-- @param commStr community string, if not already supplied in registry or as
|
-- @param commStr community string, if not already supplied in registry or as
|
||||||
-- script argument.
|
-- the snmpcommunity script argument.
|
||||||
function buildPacket(PDU, version, commStr)
|
function buildPacket(PDU, version, commStr)
|
||||||
local comm = nmap.registry.args.snmpcommunity
|
local comm = nmap.registry.args.snmpcommunity
|
||||||
if (not comm) then comm = nmap.registry.snmpcommunity end
|
if (not comm) then comm = nmap.registry.snmpcommunity end
|
||||||
|
|||||||
Reference in New Issue
Block a user