mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
cosmetics
This commit is contained in:
parent
ad6b2e9c21
commit
29b7c5366c
|
@ -86,11 +86,11 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
|
|||
conf.matchRatio = conf.thold
|
||||
|
||||
elif kb.pageStable and ratio > 0.6 and ratio < 1:
|
||||
logger.debug("setting match ratio to %.3f" % ratio)
|
||||
logger.debug("setting match ratio for current parameter to %.3f" % ratio)
|
||||
conf.matchRatio = ratio
|
||||
|
||||
elif not kb.pageStable or ( kb.pageStable and ratio < 0.6 ):
|
||||
logger.debug("setting match ratio to default value 0.900")
|
||||
logger.debug("setting match ratio for current parameter to default value 0.900")
|
||||
conf.matchRatio = 0.900
|
||||
|
||||
# If it has been requested to return the ratio and not a comparison
|
||||
|
|
Loading…
Reference in New Issue
Block a user