TYPO3 API  SVNRelease
Static Public Member Functions
RemoveXSS Class Reference

List of all members.

Static Public Member Functions

static process ($val, $replaceString= '< x >')

Detailed Description

Definition at line 25 of file RemoveXSS.php.


Member Function Documentation

static RemoveXSS::process ( val,
replaceString = '<x>' 
) [static]

Removes potential XSS code from an input string.

Using an external class by Travis Puderbaugh <kallahar@quickwired.com>

Parameters:
stringInput string
stringreplaceString for inserting in keywords (which destroyes the tags)
Returns:
string Input string with potential XSS code removed

Definition at line 36 of file RemoveXSS.php.

Referenced by RemoveXSSTest\checkAttackActionScriptEval(), RemoveXSSTest\checkAttackBaseHref(), RemoveXSSTest\checkAttackBgsound(), RemoveXSSTest\checkAttackBodyBackground(), RemoveXSSTest\checkAttackBodyOnLoad(), RemoveXSSTest\checkAttackEmbedFlash(), RemoveXSSTest\checkAttackFrameset(), RemoveXSSTest\checkAttackIframe(), RemoveXSSTest\checkAttackImageDynsrc(), RemoveXSSTest\checkAttackImageLowsrc(), RemoveXSSTest\checkAttackImageSrc(), RemoveXSSTest\checkAttackImageSrcNoQuotesNoSemicolon(), RemoveXSSTest\checkAttackImageStyleWithComment(), RemoveXSSTest\checkAttackImageVbscript(), RemoveXSSTest\checkAttackImportRemoteStylesheet(), RemoveXSSTest\checkAttackInputImage(), RemoveXSSTest\checkAttackLayer(), RemoveXSSTest\checkAttackMeta(), RemoveXSSTest\checkAttackMetaWithUrl(), RemoveXSSTest\checkAttackMetaWithUrlExtended(), RemoveXSSTest\checkAttackObject(), RemoveXSSTest\checkAttackObjectEmbeddedXss(), RemoveXSSTest\checkAttackRemoteStylesheet(), RemoveXSSTest\checkAttackScriptAlert(), RemoveXSSTest\checkAttackScriptAlertFromCharCode(), RemoveXSSTest\checkAttackScriptSrcJs(), RemoveXSSTest\checkAttackStyle(), RemoveXSSTest\checkAttackStyleInAnonymousHtml(), RemoveXSSTest\checkAttackStylesheet(), RemoveXSSTest\checkAttackStyleUrl(), RemoveXSSTest\checkAttackStyleWidth(), RemoveXSSTest\checkAttackStyleWithBackground(), RemoveXSSTest\checkAttackStyleWithBackgroundImage(), RemoveXSSTest\processWithDataProvider(), and t3lib_div\removeXSS().


The documentation for this class was generated from the following file: