Пример #1
0
 def __init_core(self):
     log.ThugOpts        = ThugOpts()
     log.ThugVulnModules = ThugVulnModules()
     log.MIMEHandler     = MIMEHandler()
     log.SchemeHandler   = SchemeHandler()
     log.Encoding        = Encoding()
     log.WebTracking     = WebTracking()
Пример #2
0
 def __init__(self, configuration_path = thug.__configuration_path__):
     log.configuration_path  = configuration_path
     log.personalities_path  = os.path.join(configuration_path, "personalities") if configuration_path else None
     log.ThugOpts            = ThugOpts()
     log.ThugVulnModules     = ThugVulnModules()
     log.WebTracking         = WebTracking()
     log.MIMEHandler         = MIMEHandler()
     log.SchemeHandler       = SchemeHandler()
     log.JSClassifier        = JSClassifier()
     log.URLClassifier       = URLClassifier()
     log.SampleClassifier    = SampleClassifier()
     log.Encoding            = Encoding()