|
|
|
|
|
fastExploit(self,
url,
method,
data)
Exploits a web app with remote file include vuln. |
|
|
|
|
canExploit(self,
vulnToExploit=None)
Searches the kb for vulnerabilities that this plugin can exploit,
this is overloaded from baseAttackPlugin because I need to test for
xss vulns also. |
|
|
|
|
getAttackType(self)
Returns the type of exploit, SHELL, PROXY, etc. |
|
|
|
|
getVulnName2Exploit(self)
This method should return the vulnerability name (as saved in the
kb) to exploit. |
|
|
|
|
_generateShell(self,
vuln)
Returns:
A shell object based on the vuln that is passed as parameter. |
|
|
|
|
|
|
|
_genURLToInclude(self,
fileContent,
extension)
Generate the URL to include, based on the configuration it will
return a URL poiting to a XSS bug, or a URL poiting to our local
webserver. |
|
|
|
|
_clearWebServer(self,
urlToInclude)
Remove the file in the webroot and stop the webserver. |
|
|
|
|
|
|
|
getOptions(self)
Returns:
A list of option objects for this plugin. |
|
|
|
|
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(). |
|
|
|
|
getPluginDeps(self)
Returns:
A list with the names of the plugins that should be runned before
the current one. |
|
|
|
|
getRootProbability(self)
Returns:
This method returns the probability of getting a root shell using
this attack plugin. |
|
|
|
|
getLongDesc(self)
Returns:
A DETAILED description of the plugin functions and features. |
|
|
|
Inherited from core.controllers.basePlugin.baseAttackPlugin.baseAttackPlugin:
GET2POST,
exploit,
getExploitableVulns,
getType
Inherited from core.controllers.basePlugin.basePlugin.basePlugin:
__eq__,
end,
getDesc,
getName,
printUniq,
setUrlOpener
Inherited from core.controllers.misc.commonAttackMethods.commonAttackMethods:
getCut,
setCut
|