mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
Minor adjustments
This commit is contained in:
parent
8d06975142
commit
c18efe5084
3 changed files with 29 additions and 31 deletions
|
|
@ -24,10 +24,10 @@ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
|
||||
|
||||
import md5
|
||||
import re
|
||||
|
||||
from lib.core.data import conf
|
||||
from lib.core.settings import MATCH_RATIO
|
||||
|
||||
|
||||
def comparison(page, headers=None, getSeqMatcher=False):
|
||||
|
|
@ -74,7 +74,7 @@ def comparison(page, headers=None, getSeqMatcher=False):
|
|||
if getSeqMatcher:
|
||||
return round(conf.seqMatcher.ratio(), 5)
|
||||
|
||||
elif round(conf.seqMatcher.ratio(), 5) > 0.9:
|
||||
elif round(conf.seqMatcher.ratio(), 5) >= MATCH_RATIO:
|
||||
return True
|
||||
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue