예제 #1
0
파일: xss.py 프로젝트: jblann/massweb
 def check(self, content):
     """ Check the string returned by the fuzzer (content) against the list
         of strings indicating vulnerability. """
     return parse_match(content, "script", self.vuln_string)
예제 #2
0
 def test_parse_match(self):
     for str_in in self.parse_match_true:
         self.assertTrue(match.parse_match(str_in, self.tag, self.term))
     for str_in in self.parse_match_false:
         self.assertFalse(match.parse_match(str_in, self.tag, self.term))
예제 #3
0
 def test_parse_match(self):
     for str_in in self.parse_match_true:
         self.assertTrue(match.parse_match(str_in, self.tag, self.term))
     for str_in in self.parse_match_false:
         self.assertFalse(match.parse_match(str_in, self.tag, self.term))
예제 #4
0
파일: xss.py 프로젝트: shekkbuilder/massweb
 def check(self, content):
     """ Check the string returned by the fuzzer (content) against the list
         of strings indicating vulnerability. """
     return parse_match(content, "script", self.vuln_string)