1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-10 07:26:34 +00:00

o [NSE] Fixed a bug with an undeclared variable in snmp-ios-config.nse [Patrik]

This commit is contained in:
patrik
2011-12-25 19:38:08 +00:00
parent 8f6f52d68b
commit 67338201c1
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
# Nmap Changelog ($Id$); -*-text-*-
o [NSE] Fixed a bug with an undeclared variable in snmp-ios-config.nse [Patrik]
o On Windows, the directory <HOME>\AppData\Roaming\nmap is now
searched for data files. This is the equivalent of $HOME/.nmap on
POSIX. [David]

View File

@@ -89,7 +89,7 @@ action = function(host, port)
-- build a SNMP v1 packet
-- set value: .1.3.6.1.4.1.9.9.96.1.1.1.1.2.9999 (ConfigCopyProtocol is set to TFTP [1] )
request = sendrequest(socket, ".1.3.6.1.4.1.9.9.96.1.1.1.1.2.9999",1)
local request = sendrequest(socket, ".1.3.6.1.4.1.9.9.96.1.1.1.1.2.9999",1)
-- Fail silently if the first request doesn't get a proper response
if ( not(request) ) then return end