Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] Shared Script Environments for Threads & Universal Awareness
From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Mon, 30 Jun 2008 20:16:58 -0600

On Mon, Jun 30, 2008 at 6:18 PM, jah <jah () zadkiel plus com> wrote:
Since we're using this nomenclature for script-specific information,
how about
making a global _R the registry interface?  It gets pretty ugly sometimes
trying to deal with some arguments, e.g.:

I'm for _R too!
whois.nse has:


which has to be writeable from all threads so cannot be copied into a
local variable with a shorter name.


would be much nicer...

This can and should be solved by local variables.

local registry = nmap.registry;
local args = registry.args;

-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
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]