This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "AppSensor DetectionPoint IE1"

From OWASP
Jump to: navigation, search
(Sample code for testing for XSS attack)
(No difference)

Revision as of 12:34, 6 April 2010

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 ... ???
}