[Bro] BinPAC and hexadecimal representation

Siwek, Jon jsiwek at illinois.edu
Thu Feb 5 07:16:21 PST 2015

> On Feb 5, 2015, at 5:06 AM, Emmanuel TORQUATO <Emmanuel.TORQUATO at monext.net> wrote:
> By reading some BinPac code I found the function “bytestring_to_val” to decode a stream as ASCII and I wonder if such a function exists for hexadecimal representation like will do ascii.hexlify() as example in python.

Not sure exactly what you need, but the get_escaped_string() function in Bro’s src/util.cc may help or give you ideas about how to write what you need.

- Jon

More information about the Bro mailing list