I would like to test a binpac’s generated parser that I wrote. Is there a handy way to get the C++ code running on some payload of my choice? I guess there is but it would be helpful if somebody gives a hint on where to start!
I would like to test a binpac's generated parser that I wrote. Is there
a handy way to get the C++ code running on some payload of my choice? I
guess there is but it would be helpful if somebody gives a hint on where
to start!
The interesting utility is extractSCT. Note that to be able to use binpac
completely without Bro you need to patch binpac.h a little bit; if I
remember it correctly it does include Bro header files by default (that
are not really necessary in a standalone utility).