Re: Creating a module and accessing an event in another script

Justin Azoff <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <CAPfnCug=VCcQQ6NFk4m1rp3hDOc98zowy9kH4_ZzGxkeTviuLw@mail.gmail.com>
On Fri, Jun 7, 2019 at 4:29 AM Merril Mathew <[email protected]>
wrote:

> Hi Justin,
>
> You are a life saver. :) That did the trick.
>

awesome :-)


> I also have one more question. I been searching online to understand how a
> function can return a user defined record and have not come across one
> yet.
>
> function set_session(c:  connection, var: string):  record
> {
> local info: SSH::Info;
> return info;
> }
> This doesn’t work. Am I on the right path here?
>

Close..

function set_session(c:  connection, var: string): SSH::Info

should work.


-- 
Justin

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.