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
setAllowURIList, blockEnabled, ignoresVariable, setIgnoreURIList, setScopes, inspectsRequestBody, inspectsCGIScope, inspectsUrlScope, setFilterLevel, setAllowDenyOrder, filterVariables, denyURI, getFilterID, inspectsRequest, setFilterWhitelist, ignoreVariable, ignoreURI, getHelp, init, inspectVariables, getFilterComponent, getRequestLogMessageDetail, inspectsCookieScope, allowURI, setLogLevel, getBlockLevel, inspectsURI, logEnabled, hasIPWhiteList, getFilterInstanceName, filterEnabled, filterRequest, getIPWhiteListProvider, setFilterID, getFilterLevel, inspectResponse, logOnly, setIgnoreVariableList, setRequestLogMessage, setBlockLevel, setFilterInstanceName, inspectVariable, inspectsFormScope, getLogLevel, getRequestLogMessage, getFirewall
 

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"]