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

AppSensor DetectionPoint CIE3

From OWASP
Revision as of 19:14, 4 June 2010 by John Melton (talk | contribs) (Created page with 'Here is some sample code that can be used to detect CIE3. <pre> String myInputParameter = ...; //the execution of this line will create an exception if an attack is found boo…')

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

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

String myInputParameter = ...;

//the execution of this line will create an exception if an attack is found 
boolean isParamSafe = AttackDetectorUtils.verifyNullByteDoesNotExist(myInputParameter); 
if (! isParamSafe) {
    notify user ... ???
}