[Bro] BinPAC and hexadecimal representation

Emmanuel TORQUATO Emmanuel.TORQUATO at monext.net
Thu Feb 5 03:06:58 PST 2015


Hello everyone,

I 'm working on a protocol decoder and would like to return an hexadecimal representation of a raw stream bytes. 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.


Thanks,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150205/13748e55/attachment.html 


More information about the Bro mailing list