Nmap Development mailing list archives

Re: [NSE] Multiple script errors


From: Patrik Karlsson <patrik () cqure net>
Date: Sat, 28 Jan 2012 23:04:06 +0100

On Sat, Jan 28, 2012 at 10:15 PM, Duarte Silva
<duarte.silva () serializing me>wrote:

Hi,

while testing, I found errors while executing the some scripts.

NSE: broadcast-wpad-discover threw an error!
...environment/nmap/scripts/broadcast-wpad-discover.nse:122: attempt to
index
local 'd' (a nil value)
stack traceback:
       ...environment/nmap/scripts/broadcast-wpad-discover.nse:122: in
function 'enumWPADNames'
       ...environment/nmap/scripts/broadcast-wpad-discover.nse:157: in
function 'dnsDiscover'
       ...environment/nmap/scripts/broadcast-wpad-discover.nse:208: in
function <...environment/nmap/scripts/broadcast-wpad-discover.nse:191>
       (tail call): ?


NSE: membase-http-info against <host>:80 threw an error!
...silva/environment/nmap/scripts/membase-http-info.nse:129: attempt to
index
local 'result' (a boolean value)
stack traceback:
       ...silva/environment/nmap/scripts/membase-http-info.nse:129: in
function <...silva/environment/nmap/scripts/membase-http-info.nse:118>
       (tail call): ?


NSE: ip-geolocation-geoplugin against <host> threw an error!
...nvironment/nmap/scripts/ip-geolocation-geoplugin.nse:44: attempt to
concatenate field 'geoplugin_regionName' (a table value)
stack traceback:
       ...nvironment/nmap/scripts/ip-geolocation-geoplugin.nse:44: in
function 'geoplugin'
       ...nvironment/nmap/scripts/ip-geolocation-geoplugin.nse:50: in
function <...nvironment/nmap/scripts/ip-geolocation-geoplugin.nse:49>
       (tail call): ?


NSE: http-generator against <host>:80 threw an error!
...rtesilva/environment/nmap/scripts/http-generator.nse:53: attempt to
index
field 'status-line' (a nil value)
stack traceback:
       ...rtesilva/environment/nmap/scripts/http-generator.nse:53: in
function 'follow_redirects'
       ...rtesilva/environment/nmap/scripts/http-generator.nse:78: in
function <...rtesilva/environment/nmap/scripts/http-generator.nse:64>
       (tail call): ?

Regards,
Duarte Silva


Thanks for reporting this Duarte. I fixed all of them but http-generator.
Will look into it later, unless someone else does.

//Patrik
-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: