Package core :: Package controllers :: Package basePlugin :: Module baseDiscoveryPlugin :: Class baseDiscoveryPlugin
[hide private]
[frames] | no frames]

Class baseDiscoveryPlugin




This is the base class for discovery plugins, all discovery plugins should inherit from it and implement the following methods :
  1. testUrl(...)



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

Instance Methods [hide private]
  __init__(self)
  _createFuzzableRequests(self, httpResponse, addSelf=True)
  discover(self, url)
The url is a string containing the Url to test ( http://somehost.com/foo.php )
  getType(self)

Inherited from basePlugin.basePlugin: __eq__, getDesc, getLongDesc, getName, getOptionsXML, getPluginDeps, printUniq, setOptions, setUrlOpener

Inherited from basePlugin.basePlugin (private): _sendMutant


Method Details [hide private]

__init__(self)
(Constructor)

 
None
Overrides: basePlugin.basePlugin.__init__

_createFuzzableRequests(self, httpResponse, addSelf=True)

 
None

discover(self, url)

 

The url is a string containing the Url to test ( http://somehost.com/foo.php )

This method MUST be implemented on every plugin.
Parameters:
  • url - This is the url to test
Returns:
A list :
  1. New Url's found by plugin, could be empty when method ends.

getType(self)

 
None
Overrides: basePlugin.basePlugin.getType