mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
fix for a bug reported by aboynes@gmail.com (for elt in self.a)
This commit is contained in:
@@ -72,7 +72,10 @@ def comparison(page, getRatioValue=False, pageLength=None):
|
||||
else:
|
||||
seqMatcher.set_seq1(getFilteredPageContent(seqMatcher.a, True) if conf.textOnly else seqMatcher.a)
|
||||
seqMatcher.set_seq2(getFilteredPageContent(page, True) if conf.textOnly else page)
|
||||
ratio = round(seqMatcher.quick_ratio(), 3)
|
||||
if seqMatcher.a is None or seqMatcher.b is None:
|
||||
ratio = None
|
||||
else:
|
||||
ratio = round(seqMatcher.quick_ratio(), 3)
|
||||
|
||||
# If the url is stable and we did not set yet the match ratio and the
|
||||
# current injected value changes the url page content
|
||||
|
||||
Reference in New Issue
Block a user