diff --git a/bbot/test/test_step_2/module_tests/test_module_web_report.py b/bbot/test/test_step_2/module_tests/test_module_web_report.py index aa51d501a..a37c178e2 100644 --- a/bbot/test/test_step_2/module_tests/test_module_web_report.py +++ b/bbot/test/test_step_2/module_tests/test_module_web_report.py @@ -7,20 +7,14 @@ class TestWebReport(ModuleTestBase): async def setup_before_prep(self, module_test): # secretsdb --> FINDING - module_test.httpx_mock.add_response( - url="https://raw.githubusercontent.com/blacklanternsecurity/secrets-patterns-db/master/db/rules-stable.yml", - text="""patterns: -- pattern: - confidence: 99 - name: Asymmetric Private Key - regex: '-----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?-----'""", - ) # wappalyzer --> TECHNOLOGY # badsecrets --> VULNERABILITY respond_args = {"response_data": web_body} module_test.set_expect_requests(respond_args=respond_args) def check(self, module_test, events): + for e in events: + module_test.log.critical(e) report_file = module_test.scan.home / "web_report.html" with open(report_file) as f: report_content = f.read() @@ -31,12 +25,7 @@ def check(self, module_test, events):
flask
" in report_content