def __init__(self, name, console, core, parent=None): menu.__init__(self, name, console, core, parent) self._load_help('root') # At first, there is no scan thread self._scan_thread = None mapDict(self.addChild, { 'plugins': pluginsMenu, 'target': (ConfigMenu, self._w3af.target), 'misc-settings': (ConfigMenu, MiscSettings()), 'http-settings': (ConfigMenu, self._w3af.uri_opener.settings), 'profiles': ProfilesMenu, 'bug-report': bug_report_menu, 'exploit': exploit, 'kb': kbMenu })
def __init__(self, name, console, core, parent=None): menu.__init__(self, name, console, core, parent) self._load_help("root") # At first, there is no scan thread self._scan_thread = None mapDict( self.addChild, { "plugins": pluginsMenu, "target": (ConfigMenu, self._w3af.target), "misc-settings": (ConfigMenu, MiscSettings()), "http-settings": (ConfigMenu, self._w3af.uri_opener.settings), "profiles": profilesMenu, "bug-report": bug_report_menu, "exploit": exploit, "kb": kbMenu, }, )