Exemple #1
0
    def test_from_template(self):
        dt = DAVTemplate()

        options = dt.get_options()
        options['url'].set_value('http://moth/w3af/audit/dav/write-all/')
        dt.set_options(options)

        dt.store_in_kb()
        vuln = self.kb.get(*dt.get_kb_location())[0]
        vuln_to_exploit_id = vuln.get_id()

        self._exploit_vuln(vuln_to_exploit_id, 'dav')
Exemple #2
0
    def test_from_template(self):
        dt = DAVTemplate()
        
        options = dt.get_options()
        options['url'].set_value('http://moth/w3af/audit/dav/write-all/')
        dt.set_options(options)

        dt.store_in_kb()
        vuln = self.kb.get(*dt.get_kb_location())[0]
        vuln_to_exploit_id = vuln.get_id()
        
        self._exploit_vuln(vuln_to_exploit_id, 'dav')