On Mon, Jun 30, 2008 at 6:18 PM, jah <jah_at_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.:
>>
>> nmap.registry.args.anonFTP.pass
> I'm for _R too!
> whois.nse has:
>
> nmap.registry.whois.cache[host.ip].data
>
> which has to be writeable from all threads so cannot be copied into a
> local variable with a shorter name.
>
> _R.cache[host.ip].data
>
> 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
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Jun 30 2008