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 version SNMP version, default <code>0</code> (SNMP V1).
|
||||
-- @param commStr community string, if not already supplied in registry or as
|
||||
-- script argument.
|
||||
-- the snmpcommunity script argument.
|
||||
function buildPacket(PDU, version, commStr)
|
||||
local comm = nmap.registry.args.snmpcommunity
|
||||
if (not comm) then comm = nmap.registry.snmpcommunity end
|
||||
|
||||
Reference in New Issue
Block a user