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 environmentHi 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. Cheers, -- -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
Current thread:
- [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Kris Katterjohn (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) David Fifield (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Kris Katterjohn (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 03)
- RE: [NSE] Large recode for nse_main (test please) Thomas Buchanan (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 03)
- Re: [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 07)
- Re: [NSE] Large recode for nse_main (test please) jah (Jun 08)
- Re: [NSE] Large recode for nse_main (test please) Patrick Donnelly (Jun 08)