From 67338201c1f7553d8f5561e8cdec71647c594db1 Mon Sep 17 00:00:00 2001 From: patrik Date: Sun, 25 Dec 2011 19:38:08 +0000 Subject: [PATCH] o [NSE] Fixed a bug with an undeclared variable in snmp-ios-config.nse [Patrik] --- CHANGELOG | 2 ++ scripts/snmp-ios-config.nse | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 906a6a1a2..ca7fb2675 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 \AppData\Roaming\nmap is now searched for data files. This is the equivalent of $HOME/.nmap on POSIX. [David] diff --git a/scripts/snmp-ios-config.nse b/scripts/snmp-ios-config.nse index 6336e4a1b..202efe891 100644 --- a/scripts/snmp-ios-config.nse +++ b/scripts/snmp-ios-config.nse @@ -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