Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] Large recode for nse_main (test please)
From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Sat, 7 Jun 2008 22:31:57 -0600

On Sat, Jun 7, 2008 at 8:57 PM, jah <jah () zadkiel plus com> wrote:
On 03/06/2008 09:33, Patrick Donnelly wrote:
2) Each thread for a script has it's own action closure and environment
Hi Patrick,

Quick question.  Does 2) above mean that with the changes in your
branch, the only way to share variable values between threads of the
same script is using nmap.registry and not by declaring the variables
outside of action() (as is currently possible)?
This is certainly the behaviour I observe in your branch and I'm just
checking that this is expected.

Yes, please see: http://seclists.org/nmap-dev/2008/q2/0549.html

It is also technically possible to share results through the true
global environment (_G), but it is strongly recommended against.


-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 ]