AppSensor DetectionPoint IE1

From OWASP
Revision as of 07:34, 6 April 2010 by John Melton (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

String myInputParameter = ...;

//the execution of this line will throw an exception if an attack is found 
boolean isAttack = AttackDetectorUtils.verifyXSSAttack(myInputParameter); 
if (isAttack) {
    notify user ... ???
}