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

Class baseShellAttackPlugin




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



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

Instance Methods [hide private]
  __init__(self)
  rexec(self, command)
This is the method that is called when a user want's to execute something in the remote operating system.

Inherited from baseAttackPlugin.baseAttackPlugin: GET2POST, canExploit, exploit, fastExploit, getAttackType, getRootProbability, getType

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: baseAttackPlugin.baseAttackPlugin.__init__

rexec(self, command)

 
This is the method that is called when a user want's to execute something in the remote operating system. What I do here is first trap the requests for starting the virtual daemon and the w3afAgent, and this ain't the case I forward the request to the _rexec method, that should be implemented by all shellAttackPlugins.