예제 #1
0
 def test_cuckoo_exe(self, mock_get=None, mock_post=None):
     additional_params = {"max_poll_tries": 1, "max_post_tries": 1}
     report = cuckoo_scan.run(
         "Cuckoo_Scan",
         self.job_id,
         self.filepath,
         self.filename,
         self.md5,
         additional_params,
     )
     self.assertEqual(report.get("success", False), True)
예제 #2
0
def cuckoo_run(analyzer_name, job_id, filepath, filename, md5,
               additional_config_params):
    cuckoo_scan.run(analyzer_name, job_id, filepath, filename, md5,
                    additional_config_params)
예제 #3
0
 def test_cuckoo_exe(self):
     report = cuckoo_scan.run("Cuckoo_Scan", self.job_id, self.filepath,
                              self.filename, self.md5, {})
     self.assertEqual(report.get('success', False), True)