Nmap Development mailing list archives

script-updatedb not working after LUA upgrade


From: Paulino Calderon <paulino () calderonpale com>
Date: Sun, 27 May 2012 14:25:11 -0600

I noticed this morning that --script-updatedb is not working after the LUA upgrade:

NSE: Updating rule database.
Fetchfile found /usr/local/bin/../share/nmap/scripts/
NSE: failed to initialize the script engine:
/usr/local/bin/../share/nmap/nse_main.lua:1106: bad argument #1 to 'for iterator' (directory expected, got userdata)
stack traceback:
    [C]: in function 'for iterator'
    /usr/local/bin/../share/nmap/nse_main.lua:1106: in main chunk
    [C]: in ?

QUITTING!

readdir() does not return a directory anymore. Can anyone else reproduce?
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: