You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PATTERN —
The string to search. The packet "data" pointer will be placed after
STRIP_AFTER —
Go after the pattern instead of before
ANNO —
An annotation where to place the number of skipped bytes
SET_ANNO —
Set the above annotation or not.
EXAMPLES
Use this to get rid of all headers up to some pattern, like a HTTP \n\r:
s :: Search("\n\r\n\r") //Strips to the end of the pattern
-> Print("HTTP REQUEST PAYLOAD") //So Print will show the content
-> UntripAnno(); //Go back to where we were
s[1] -> Print("Malformed HTTP");