Esempio n. 1
0
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()
Esempio n. 2
0
 def setUp(self):
     self.scanner = Scanner(threads=10)
Esempio n. 3
0
 def test_retireJs(self):
     url = 'http://discuz.demo/1.html'
     scan = Scanner(include_plugins=['retireJS.py'])
     scan.put(url)
     scan.run()
Esempio n. 4
0
 def test_http_smuggling(self):
     url = "https://acfe1f111e6d561480049808007c0038.web-security-academy.net/"
     scan = Scanner(include_plugins=['http_smuggling.py'])
     scan.put(url)
     scan.run()
Esempio n. 5
0
 def test_api_get(self):
     self.scanner = Scanner(threads=10)
     self.scanner.put("http://emlog6.demo/?post=1")
     self.scanner.run()