AppSensor DetectionPoint RE3

From OWASP
Jump to: navigation, search

Here is some sample code that can be used to detect RE3.


//the execution of this line will create an exception if an attack is found 
boolean isValid = AttackDetectorUtils.verifyValidRequestMethod(myServletRequest, AttackDetectorUtils.POST); 
if (! isValid) {
    notify user ... ???
}