mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-28 12:31:00 +00:00
Minor update
This commit is contained in:
parent
7e652ed15d
commit
a3b857ebae
5 changed files with 17 additions and 13 deletions
|
|
@ -213,9 +213,9 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
|
|||
seqMatcher.set_seq1(repr(seq1))
|
||||
seqMatcher.set_seq2(repr(seq2))
|
||||
|
||||
if key in kb.cache.comparison:
|
||||
ratio = kb.cache.comparison[key]
|
||||
else:
|
||||
ratio = kb.cache.comparison.get(key) if key else None
|
||||
|
||||
if ratio is None:
|
||||
try:
|
||||
try:
|
||||
ratio = seqMatcher.quick_ratio() if not kb.heavilyDynamic else seqMatcher.ratio()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue