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

Class baseDiscoveryPlugin




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



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

Instance Methods [hide private]
 
__init__(self)
 
_createFuzzableRequests(self, httpResponse, addSelf=True)
 
discover(self, fuzzable_request)
The url is a string containing the Url to test ( http://somehost.com/foo.php )
 
discover_wrapper(self, fuzzable_request)
Wrapper around the discover method in order to perform some generic tasks.
 
getType(self)

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

Inherited from basePlugin.basePlugin (private): _analyzeResult, _sendMutant

Method Details [hide private]

__init__(self)
(Constructor)

 
Overrides: basePlugin.basePlugin.__init__

discover(self, fuzzable_request)

 

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)

 
Overrides: basePlugin.basePlugin.getType