FuseGuard Logo

fuseguard.components.filters
Component FileUploadContentFilter

filters.BaseFilter
  |
  +--filters.FileUploadContentFilter

Checks the File Content of Uploaded file and looks for executable content.

Method Summary
public any canonicalPath([any path])
public array getConfigurables()
          Returns a list of configurable properties
public string getDescription()
public string getName()
public string getThreatCategory()
          Returns path-traversal
public numeric inspectRequest()
public void setLanguageList([any languageList="all"])
          Sets a list of languages to attempt to detect in the file upload contents. CFML is implied (always on), you can pass: cfml,jsp,php or all.

Methods inherited from filters.BaseFilter
inspectsCookieScope, logEnabled, inspectsFormScope, inspectsRequestBody, setFilterWhitelist, setFilterInstanceName, getFilterLevel, getLogLevel, setScopes, getRequestLogMessage, allowURI, inspectsURI, ignoreURI, inspectsRequest, inspectsCGIScope, setIgnoreVariableList, getHelp, getRequestLogMessageDetail, setAllowDenyOrder, getIPWhiteListID, setRequestLogMessage, init, setFilterLevel, filterRequest, blockEnabled, getFilterID, inspectsUrlScope, inspectVariable, getFirewall, setAllowURIList, filterEnabled, filterVariables, logOnly, getFilterInstanceName, getFilterComponent, getIPWhiteListProvider, setIgnoreURIList, setFilterID, getBlockLevel, ignoreVariable, denyURI, inspectResponse, hasIPWhiteList, setLogLevel, inspectVariables, setBlockLevel, ignoresVariable
 

Method Detail

canonicalPath

public any canonicalPath([any path])
Parameters:
[any path]

getConfigurables

public array getConfigurables()
Returns a list of configurable properties


getDescription

public string getDescription()

getName

public string getName()

getThreatCategory

public string getThreatCategory()
Returns path-traversal


inspectRequest

public numeric inspectRequest()

setLanguageList

public void setLanguageList([any languageList="all"])
Sets a list of languages to attempt to detect in the file upload contents. CFML is implied (always on), you can pass: cfml,jsp,php or all.

Parameters:
[any languageList="all"]