mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-25 11:23:44 +03:00
huge bug fix
This commit is contained in:
parent
76ab14f20f
commit
1af418d444
|
@ -64,7 +64,8 @@ def comparison(page, getRatioValue=False, pageLength=None):
|
||||||
if ratio > 1.:
|
if ratio > 1.:
|
||||||
ratio = 1. / ratio
|
ratio = 1. / ratio
|
||||||
else:
|
else:
|
||||||
(seqMatcher.a, seqMatcher.b) = map(lambda x: getFilteredPageContent(x, conf.textOnly), (seqMatcher.a, page))
|
seqMatcher.set_seq1(getFilteredPageContent(seqMatcher.a, conf.textOnly))
|
||||||
|
seqMatcher.set_seq2(getFilteredPageContent(page, conf.textOnly))
|
||||||
ratio = round(seqMatcher.quick_ratio(), 3)
|
ratio = round(seqMatcher.quick_ratio(), 3)
|
||||||
|
|
||||||
# If the url is stable and we did not set yet the match ratio and the
|
# If the url is stable and we did not set yet the match ratio and the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user