Package core :: Package controllers :: Module targetSettings :: Class targetSettings
[hide private]

Class targetSettings




A class that acts as an interface for the user interfaces, so they can configure the target settings using getOptions and SetOptions.

Instance Methods [hide private]
 
__init__(self)
 
getOptions(self)
Returns: A list of option objects for this plugin.
 
_verifyURL(self, targetUrl, fileTarget=True)
Verify if the URL is valid and raise an exception if w3af doesn't support it.
 
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().
 
getName(self)
 
getDesc(self)

Inherited from configurable.configurable: getType

Method Details [hide private]

getOptions(self)

 

This method returns an optionList containing the options objects that the configurable object has. Using this option list the framework will build a window, a menu, or some other input method to retrieve the info from the user.

This method MUST be implemented on every plugin.
Returns:
A list of option objects for this plugin.
Overrides: configurable.configurable.getOptions

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: configurable.configurable.setOptions

getName(self)

 
Overrides: configurable.configurable.getName