Esempio n. 1
0
 def test_thug_html(self, mock_get=None, mock_post=None):
     report = thug_file.ThugFile(
         "Thug_HTML_Info",
         self.job_id,
         self.filepath,
         self.filename,
         self.md5,
         {},
     ).start()
     self.assertEqual(report.get("success", False), True)
Esempio n. 2
0
def thug_file_run(analyzer_name, job_id, filepath, filename, md5,
                  additional_config_params):
    thug_file.ThugFile(analyzer_name, job_id, filepath, filename, md5,
                       additional_config_params).start()