コード例 #1
0
 def __init__(self, CoreObj):
     self.Core = CoreObj
     self.DBHandler = db_handler.DBHandler(CoreObj)
     self.Transaction = transaction_manager.TransactionManager(CoreObj)
     self.URL = url_manager.URLManager(CoreObj)
     self.Run = run_manager.RunManager(CoreObj)
     self.PluginRegister = plugin_register.PluginRegister(CoreObj)
     self.ReportRegister = report_register.ReportRegister(CoreObj)
     self.CommandRegister = command_register.CommandRegister(CoreObj)
     self.Debug = debug.DebugDB(CoreObj)
コード例 #2
0
ファイル: db.py プロジェクト: hybridious/owtf-1
 def __init__(self, Core):
     cprint("Loading/Initialising database ..")
     self.DBNames = sorted(self.FieldDBNames + self.LineDBNames)
     self.Core = Core  # Need access to reporter for pretty html trasaction log
     self.Storage = defaultdict(list)
     self.Transaction = transaction_manager.TransactionManager(Core)
     self.URL = url_manager.URLManager(Core)
     self.Run = run_manager.RunManager(Core)
     self.PluginRegister = plugin_register.PluginRegister(Core)
     self.ReportRegister = report_register.ReportRegister(Core)
     self.Debug = debug.DebugDB(Core)