I got this alert for one of our 500 error pages. The plugin doesn't tell you which pattern was used to match, or the string it matched with which means I've got to figure this out myself.
I ran a string of commands to extract the string patterns from the patterns file:
grep -Po "\Q<Pattern type=\"string\">\E\K.*" application_errors.xml|cut -d '<' -f 1 > strings.txt
and another for the regex:
grep -Po "\Q<Pattern type=\"regex\">\E\K.*" application_errors.xml|cut -d '<' -f 1 > regex.txt
I saved the raw response to file by right clicking on the alert, save raw, response, all
I then ran two commands to search for the patterns:
grep -i -F -f ./string.txt ~/raw.html.raw
and
grep -i -f ./regex.txt ~/raw.html.raw
grep -E -i -f ./regex.txt ~/raw.html.raw
but nothing matched. I've got to be close -- do I need to alter the regex patterns to be compatible with grep somehow? Is there an easier way to find out how this plugin found what it did?