mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Minor bug fix to properly set the ratio just before the check for injection, not before the check for dynamicity
This commit is contained in:
parent
9669dbdae1
commit
6716315a76
|
@ -209,8 +209,6 @@ def start():
|
||||||
checkStability()
|
checkStability()
|
||||||
|
|
||||||
for place in conf.parameters.keys():
|
for place in conf.parameters.keys():
|
||||||
conf.matchRatio = None
|
|
||||||
|
|
||||||
if not conf.paramDict.has_key(place):
|
if not conf.paramDict.has_key(place):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -250,6 +248,8 @@ def start():
|
||||||
logMsg += "%d parenthesis" % parenthesis
|
logMsg += "%d parenthesis" % parenthesis
|
||||||
logger.info(logMsg)
|
logger.info(logMsg)
|
||||||
|
|
||||||
|
conf.matchRatio = None
|
||||||
|
|
||||||
injType = checkSqlInjection(place, parameter, value, parenthesis)
|
injType = checkSqlInjection(place, parameter, value, parenthesis)
|
||||||
|
|
||||||
if injType:
|
if injType:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user