class TestCase(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_api_get(self): self.scanner = Scanner(threads=10) self.scanner.put("http://emlog6.demo/?post=1") self.scanner.run() def test_http_smuggling(self): url = "https://acfe1f111e6d561480049808007c0038.web-security-academy.net/" scan = Scanner(include_plugins=['http_smuggling.py']) scan.put(url) scan.run()
def setUp(self): self.scanner = Scanner(threads=10)
def test_retireJs(self): url = 'http://discuz.demo/1.html' scan = Scanner(include_plugins=['retireJS.py']) scan.put(url) scan.run()
def test_http_smuggling(self): url = "https://acfe1f111e6d561480049808007c0038.web-security-academy.net/" scan = Scanner(include_plugins=['http_smuggling.py']) scan.put(url) scan.run()
def test_api_get(self): self.scanner = Scanner(threads=10) self.scanner.put("http://emlog6.demo/?post=1") self.scanner.run()