filters.BaseFilter | +--filters.UserAgentFilter
Method Summary | |
public numeric |
checkUserAgent([string userAgent])
Tests the user agent and returns a threat level. |
public array |
getConfigurables()
Returns a list of configurable properties |
public string |
getDescription()
|
public string |
getName()
|
public string |
getThreatCategory()
Returns validation |
public numeric |
inspectRequest()
|
public void |
setCheckSpecialCharacters([boolean check="true"])
Check user agent strings for abnormal characters |
public void |
setPreventAncientBrowsers([boolean prevent="false"])
Check user agent strings for old user agents |
public void |
setPreventScripting([boolean prevent="false"])
Check user agent strings for scripting languages |
Method Detail |
public numeric checkUserAgent([string userAgent])
[string userAgent]
public array getConfigurables()
public string getDescription()
public string getName()
public string getThreatCategory()
public numeric inspectRequest()
public void setCheckSpecialCharacters([boolean check="true"])
[boolean check="true"]
public void setPreventAncientBrowsers([boolean prevent="false"])
[boolean prevent="false"]
public void setPreventScripting([boolean prevent="false"])
[boolean prevent="false"]