[Bro] String as Vector of Bytes
M K
mkhan04 at gmail.com
Fri May 23 12:51:54 PDT 2014
Yup, exactly what I'm looking for. I guess the cheat sheet isn't up to
date.
Thanks.
On May 23, 2014 1:41 PM, "Siwek, Jon" <jsiwek at illinois.edu> wrote:
>
> On May 23, 2014, at 12:03 PM, M K <mkhan04 at gmail.com> wrote:
>
> > there any function I'm missing that converts a string to a vector of
> count or something similar?
>
> bytestring_to_count() [1] may help. E.g.:
>
> local s = "testing";
> for ( c in s ) print bytestring_to_count(c);
>
> - Jon
>
> [1]
> http://bro.org/sphinx-git/scripts/base/bif/bro.bif.bro.html?highlight=bytestring_to_count#id-bytestring_to_count
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20140523/902f4b28/attachment.html
More information about the Bro
mailing list