Nmap Development mailing list archives

Re: [NSE] Dropbox LanSync host collection


From: Patrick Donnelly <batrick () batbytes com>
Date: Wed, 15 Dec 2010 05:31:05 -0500

On Wed, Dec 15, 2010 at 12:15 AM, Fyodor <fyodor () insecure org> wrote:
On Tue, Dec 14, 2010 at 11:54:37AM -0600, Kris Katterjohn wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/14/2010 11:37 AM, David Fifield wrote:

Recall we all ready have the separate arg "newtargets" for scripts adding
targets to Nmap's scanning queue.  Maybe for consistency we could add a
"broadcast" arg to allow scripts like this to run?  I don't remember this
being brought up before, but I could have missed it.
Otherwise, only running them when called by name sounds like a good enough
alternative.


Good points.  I like the idea of modifying the scripts so they only
run if they are called by name (e.g. the same rule as we use for the
verbosity bump) or if a special NSE argument is set (whether that be
"broadcast" or something else).

We have a pretty flexible script "choosing" mechanism now that we have
the boolean operators for categories. Shouldn't we be adding more
categories? I mean, similar to how the "all" category is a
pseudo-category, we could add others such as "quick" which would
translate to: "safe and not broadcast and not newtarget" or something
like that. Or maybe make a legitimate "quick" category?

Seems there are mechanisms in place to make this easy but we are
forgetting about them...

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

Current thread: