Nmap Development mailing list archives

Re: variable 'ssl' is not declared


From: Djalal Harouni <tixxdz () opendz org>
Date: Wed, 20 Jul 2011 11:15:06 +0100

On Wed, Jul 20, 2011 at 04:17:34PM +1000, m k wrote:
Dear All,

I'm coming across the error message below when attempting to execute
nmap scripts.

My question is how do I go about solving this?
You can run Nmap with debug level -d2 or more and send us the full output.
Just to get the list of the loaded scripts.

Also I only got this message after using the -sC option . using the
--script option did not produce the error mesg. Should they not both
do the same?
No, -sC is just an alias to --script=default

PS. I'm not writing a new script but using existing ones.

SE: failed to initialize the script engine:
/usr/local/share/nmap/nse_main.lua:384:
/usr/local/share/nmap/nselib/strict.lua:65: variable 'ssl' is not
declared
stack traceback:
      [C]: in function 'assert'
      /usr/local/share/nmap/nse_main.lua:384: in function 'new'
      /usr/local/share/nmap/nse_main.lua:546: in function 'Entry'
      /usr/local/share/nmap/scripts/script.db:166: in function 'db_closure'
      /usr/local/share/nmap/nse_main.lua:566: in function 'get_chosen_scripts'
      /usr/local/share/nmap/nse_main.lua:1006: in main chunk
      [C]: ?

QUITTING!
Please send the full output as it seems that you are running an old version
of Nmap.

Thanks for the bug report.

-- 
tixxdz
http://opendz.org
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: