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

Class baseBruteforcePlugin




This plugin is a superclass for plugins that want to bruteforce any type of login.


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

Instance Methods [hide private]
 
__init__(self)
 
_bruteWorker(self, url, combinations)
This is the method that sends the request to the remote server.
 
_bruteforce(self, url, combinations)
 
_fuzzRequests(self, freq)
This method is the entry point of the plugin.
 
_initBruteforcer(self, url)
 
bruteforce_wrapper(self, fuzzable_request)
 
end(self)
This method is called by w3afCore to let the plugin know that it wont be used anymore.
 
getLongDesc(self)
Returns: A DETAILED description of the plugin functions and features.
 
getOptions(self)
Returns: A list of option objects for this plugin.
 
getPluginDeps(self)
Returns: A list with the names of the plugins that should be runned before the current one.
 
getType(self)
 
setOptions(self, optionsMap)
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptions().

Inherited from baseAuditPlugin.baseAuditPlugin: audit, audit_wrapper

Inherited from basePlugin.basePlugin: __eq__, getDesc, getName, printUniq, setUrlOpener

Inherited from basePlugin.basePlugin (private): _sendMutant

Method Details [hide private]

__init__(self)
(Constructor)

 
Overrides: baseAuditPlugin.baseAuditPlugin.__init__

_bruteWorker(self, url, combinations)

 
This is the method that sends the request to the remote server.
Parameters:
  • url - A string representation of an URL
  • combinations - A list of tuples with (user,pass)

_bruteforce(self, url, combinations)

 
Parameters:
  • url - A string representation of an URL
  • combinations - A list of tuples with (user,pass)

_fuzzRequests(self, freq)

 

This method is the entry point of the plugin.

THIS METHOD MUST BE IMPLEMENTED BY EVERY BRUTEFORCE PLUGIN!
Parameters:
  • freq - A fuzzable_request

end(self)

 
This method is called by w3afCore to let the plugin know that it wont be used anymore. This is helpfull to do some final tests, free some structures, etc.
Overrides: basePlugin.basePlugin.end
(inherited documentation)

getLongDesc(self)

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

getOptions(self)

 
Returns:
A list of option objects for this plugin.
Overrides: basePlugin.basePlugin.getOptions

getPluginDeps(self)

 
Returns:
A list with the names of the plugins that should be runned before the current one.
Overrides: basePlugin.basePlugin.getPluginDeps

getType(self)

 
Overrides: baseAuditPlugin.baseAuditPlugin.getType

setOptions(self, optionsMap)

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