Package plugins :: Package evasion :: Module rndCase :: Class rndCase
[hide private]
[frames] | no frames]

Class rndCase




This evasion plugin changes the case of random letters.


Author: Andres Riancho ( andres.riancho@gmail.com )

Instance Methods [hide private]
  __init__(self)
  fuzzUrl(self, path)
Mangles the URI.
  getOptionsXML(self)
This method returns a XML containing the Options that the plugin has.
  setOptions(self, OptionList)
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptionsXML().
  getPluginDeps(self)
  getPriority(self)
This function is called when sorting evasion plugins.
  getLongDesc(self)

Inherited from core.controllers.basePlugin.baseEvasionPlugin.baseEvasionPlugin: __eq__, __gt__, __lt__, getType, setUrlOpener

Inherited from core.controllers.basePlugin.basePlugin.basePlugin: getDesc, getName, printUniq


Method Details [hide private]

__init__(self)
(Constructor)

 
None
Overrides: core.controllers.basePlugin.baseEvasionPlugin.baseEvasionPlugin.__init__

fuzzUrl(self, path)

 
Mangles the URI.
Parameters:
  • url - A string containing the Url to mangle ( '/bar/foo.php' )
Returns:
A fuzzed version of the path.
Overrides: core.controllers.basePlugin.baseEvasionPlugin.baseEvasionPlugin.fuzzUrl

getOptionsXML(self)

 
This method returns a XML containing the Options that the plugin has. Using this XML the framework will build a window, a menu, or some other input method to retrieve the info from the user. The XML has to validate against the xml schema file located at : w3af/core/ui/userInterface.dtd
Returns:
XML with the plugin options.
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.getOptionsXML

setOptions(self, OptionList)

 
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptionsXML().
Parameters:
  • OptionList - A dictionary with the options for the plugin.
Returns:
No value is returned.
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.setOptions

getPluginDeps(self)

 
Returns:
A list with the names of the plugins that should be runned before the current one.
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.getPluginDeps
(inherited documentation)

getPriority(self)

 
This function is called when sorting evasion plugins. Each evasion plugin should implement this.
Returns:
An integer specifying the priority. 100 is runned first, 0 last.
Overrides: core.controllers.basePlugin.baseEvasionPlugin.baseEvasionPlugin.getPriority

getLongDesc(self)

 
Returns:
A DETAILED description of the plugin functions and features.
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.getLongDesc