Example #1
0
 def __init__(self, args):
     self.args               = args
     self.thug_version       = __thug_version__
     log.ThugOpts            = ThugOpts()
     log.ThugVulnModules     = ThugVulnModules()
     log.MIMEHandler         = MIMEHandler.MIMEHandler()
     log.SchemeHandler       = SchemeHandler.SchemeHandler()
     log.JSClassifier        = JSClassifier.JSClassifier()
     log.URLClassifier       = URLClassifier.URLClassifier()
     log.SampleClassifier    = SampleClassifier.SampleClassifier()
Example #2
0
 def __init__(self, args, configuration_path = None):
     self.args               = args
     self.thug_version       = __thug_version__
     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.WebTracking()
     log.MIMEHandler         = MIMEHandler.MIMEHandler()
     log.SchemeHandler       = SchemeHandler.SchemeHandler()
     log.JSClassifier        = JSClassifier.JSClassifier()
     log.URLClassifier       = URLClassifier.URLClassifier()
     log.SampleClassifier    = SampleClassifier.SampleClassifier()
     log.Encoding            = Encoding.Encoding()