Nmap Development mailing list archives

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


From: David Fifield <david () bamsoftware com>
Date: Sat, 18 Jul 2009 22:07:51 -0600

On Sat, Jul 18, 2009 at 09:25:57PM +0400, Solar Designer wrote:
On Sat, Jul 18, 2009 at 07:35:48PM +0400, Solar Designer wrote:
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.

I've just tested, and -sV alone appears to work like it used to without
NSE.  I have to add -sC (or use -A) in order to get additional info via
the scripts.  This is just right, but then I am puzzled why -sV alone
requires open_nse() to work when Nmap is built with NSE support, but it
works just fine (producing the same output for me) when Nmap is built
without NSE support.  Is this another thing for us to patch such that
-sV alone would not require open_nse()?

-sV enables NSE scripts in the "version" category, and there are only a
few of those. http://nmap.org/nsedoc/categories/version.html. If none of
them produce output, which is the common case, the output will be the
same as if NSE version detection had not been done.

David Fifield

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


Current thread: