AppSensor DetectionPoint RE3
From OWASP
Revision as of 12:38, 6 April 2010 by John Melton (talk | contribs) (Sample code for testing for GET when expecting POST attack)
Here is some sample code that can be used to detect RE3.
//the execution of this line will throw an exception if an attack is found
boolean isAttack = AttackDetectorUtils.verifyRequestMethod(myServletRequest, AttackDetectorUtils.POST);
if (isAttack) {
notify user ... ???
}