Exemplo n.º 1
0
    def __init__(self, name, console, w3af, parent=None, **other):
        self._name = name
        self._history = history()

        self._help = HelpContainer()
        self._keysHelp = HelpContainer()
        self._w3af = w3af
        self._handlers = {}
        self._parent = parent
        self._console = console
        self._children = {}
        self._child_call = False

        self._load_help('common')
        helpMainRepository.load_help('keys', self._keysHelp)

        self._initHandlers()
Exemplo n.º 2
0
    def __init__(self, name, console, w3af, parent=None, **other):
        self._name = name
        self._history = history()

        self._help = HelpContainer()
        self._keysHelp = HelpContainer()
        self._w3af = w3af
        self._handlers = {}
        self._parent = parent
        self._console = console
        self._children = {}
        self._child_call = False
        
        self._load_help('common')
        helpMainRepository.load_help('keys', self._keysHelp)
#        self._keysHelp = {}

        self._initHandlers()
Exemplo n.º 3
0
Arquivo: menu.py Projeto: z0r1nga/w3af
 def _load_help(self, name, vars=None):
     helpMainRepository.load_help(name, self._help, vars)