I need help figuring out how I can search for hexdecimal values in the body of a POST request, and then replace it using hex values.
My issue is that the POST data is using hex values that don't translate well to strings, like 0x01, 0xC9 etc
Here is what I have to replace strings that can be pasted in ASCII and it works well
if (oSession.HTTPMethodIs("POST") && (oSession.utilFindInRequest("Search This", true) > -1))
{
oSession.utilReplaceInRequest("Search This", "Replace With");
}
I need to be able to search and replace raw hex values or somehow convert a set of hex values in string format, such as "0xC9 0xC8" or "C9 C8" etc to ASCII or similar and then search / replace.
Any Idea's?