[Bro] Hex and bit expressions in Bro scripts ?

John Donnelly jdonnelly at dyn.com
Tue Dec 30 13:09:13 PST 2014


Hi,

 Can bro scripts not handle binary and bit expressions ?

 local  temp  = 32;

  If ( temp  & 0x20)  {

  }

  I didn't see a list of expressions in the online guide.

  Also , I tried to add binary variables  in the Ascii (tab separated
files) it reads and it complained too:


 #field   count
1      0x20


Pointers welcomed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20141230/a7b870b4/attachment.html 


More information about the Bro mailing list