[Bro] Share vector

william de ping bill.de.ping at gmail.com
Thu Oct 19 09:03:35 PDT 2017


Hi

I guess you can put that vector in one script, and call it from the second
script using the first script module name :

script 1 :

module S1;

export {
global vec: vector of string;
};


-------
script 2 :

module S2;

event bro_init()
{
S1::vec[0]="hello";
}



On Wed, Oct 18, 2017 at 1:23 PM, Rober Fernández <roberixion at gmail.com>
wrote:

> Hi,
>
> I would like to access to the same vector and modificate it in two
> different scripts, How can I do this?
>
> Regards
>
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20171019/43f5ee28/attachment.html 


More information about the Bro mailing list