And so this is the worst part of it. I've got some Perl Compatible Regular Expressions (PCREs) and i want to match them with payloads. Regular expression looks like this:
/http\/(0\.9|1\.0|1\.1) [1-5][0-9][0-9] [\x09-\x0d -~]*(connection:|content-type:|content-length:|date:)|(get|post|head) [\x09-\x0d -~]* http\/[01]\.[019]/i
Payload data, I don't know if this will help: in C language i'll certainly use unsigned char.
What I expect is, the data must be in such a format which I can parse with PCREs.
|