Nmap Development mailing list archives

Re: [NSE][PATCH] OpenSSL bindings for NSE


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Wed, 3 Sep 2008 17:51:00 -0600

On Wed, Sep 3, 2008 at 5:07 PM, Fyodor <fyodor () insecure org> wrote:
I like Patrick's patch which prevents a missing OpenSSL from halting
all of NSE and prints a message instead.  But we may also want to
modify at least some of the relevant scripts to just return "" at the
beginning if OpenSSL is missing.  Particularly for any "default"
category scripts.  People should not receive the same error message
every time they run nmap (with scripting) just because they don't have
the optional OpenSSL library.

Perhaps the message should be printed if verbose is set? I don't see a
cleaner way around this. I believe you meant to return "" in the
action function? The problem is when the script is initially loaded
(executed after compilation). The script could set placeholder
hostrule and action functions which immediately return false and nil
respectively. This seems like an ugly hack to me.

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: