Nmap Development mailing list archives
Re: [NSE][PATCH] OpenSSL bindings for NSE
From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Wed, 3 Sep 2008 16:03:43 -0600
On Wed, Sep 3, 2008 at 3:03 PM, David Fifield <david () bamsoftware com> wrote:
I checked out your nse_openssl branch and built it with --without-openssl. Then I ran nmap --script=SSH-hostkey -p ssh goomba.bamsoftware.com --script-args=ssh_hostkey=all I got the error SCRIPT ENGINE: Initiating script scanning. SCRIPT ENGINE: Script scanning mail.bamsoftware.com (64.81.99.73). SCRIPT ENGINE: error while initializing script rules: ./scripts/SSH-hostkey.nse:34: module 'openssl' not found: no field package.preload['openssl'] no file './nselib/openssl.lua' no file './openssl.lua' no file '/usr/local/share/lua/5.1/openssl.lua' no file '/usr/local/share/lua/5.1/openssl/init.lua' no file '/usr/local/lib/lua/5.1/openssl.lua' no file '/usr/local/lib/lua/5.1/openssl/init.lua' no file './nselib-bin/openssl.so' no file './openssl.so' no file '/usr/local/lib/lua/5.1/openssl.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' ./scripts/SSH-hostkey.nse:34: in main chunk [C]: ? [C]: ? SCRIPT ENGINE: Script scanning completed. SCRIPT ENGINE: Aborting script scan. I agree that the OpenSSL library could be useful. Is there a way to handle this situation gracefully? As it is it halts all script scanning when the openssl module can't be loaded.
Errors like this should not halt the script engine. I will correct this. Cheers, -- -Patrick Donnelly "One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say." -Will Durant _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Re: [NSE][PATCH] OpenSSL bindings for NSE, (continued)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Fyodor (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Patrick Donnelly (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Patrick Donnelly (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Fyodor (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Patrick Donnelly (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Ron (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 22)