mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-07 06:33:06 +03:00
ratio() gives a considerable lag on real life cases, as real_quick_ratio() gives almost as good results
This commit is contained in:
parent
a4a63f5b1e
commit
c1b82cf09c
|
@ -82,7 +82,7 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
|
||||||
ratio = 1. / ratio
|
ratio = 1. / ratio
|
||||||
else:
|
else:
|
||||||
conf.seqMatcher.set_seq2(page)
|
conf.seqMatcher.set_seq2(page)
|
||||||
ratio = round(conf.seqMatcher.ratio(), 3)
|
ratio = round(conf.seqMatcher.real_quick_ratio(), 3)
|
||||||
|
|
||||||
if kb.locks.seqLock:
|
if kb.locks.seqLock:
|
||||||
kb.locks.seqLock.release()
|
kb.locks.seqLock.release()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user