mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 00:42:23 +01:00
Fixes #1479
This commit is contained in:
parent
fbec463b49
commit
5fb8ae9d3c
1 changed files with 2 additions and 1 deletions
|
|
@ -53,6 +53,8 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
|
|||
if page is None and pageLength is None:
|
||||
return None
|
||||
|
||||
count = 0
|
||||
|
||||
seqMatcher = threadData.seqMatcher
|
||||
seqMatcher.set_seq1(kb.pageTemplate)
|
||||
|
||||
|
|
@ -122,7 +124,6 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
|
|||
seq1 = seq1.replace(REFLECTED_VALUE_MARKER, "")
|
||||
seq2 = seq2.replace(REFLECTED_VALUE_MARKER, "")
|
||||
|
||||
count = 0
|
||||
while count < min(len(seq1), len(seq2)):
|
||||
if seq1[count] == seq2[count]:
|
||||
count += 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue