Nmap Development mailing list archives

Re: [PATCH] prevent NSE initialization when no scripts are to be used


From: Solar Designer <solar () openwall com>
Date: Sat, 18 Jul 2009 19:35:48 +0400

On Sat, Jul 18, 2009 at 08:48:50AM -0600, Patrick Donnelly wrote:
This patch looks ok except o.scriptversion should also be checked, not
just o.script.

You're correct, without this change I got:

nmap: nse_main.cc:529: void script_scan(std::vector<Target*, std::allocator<Target*> >&): Assertion `L_NSE != __null' 
failed.

when I tried "nmap -sV" with the preliminary patch.

This makes me wonder: when Nmap is built with NSE support, is there no
way to request the non-NSE-enabled -sV behavior from the command-line?
If so, this sounds like a shortcoming.

In fact, I did not expect -sV alone would enable NSE-enabled version
probing; I'd expect that to happen only with -A or the like.

I will have this applied.

I see that you have already committed this (revision 14423).  We'll use
your "upstream" patch for the Owl package, then.

Thank you!

Alexander

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


Current thread: