mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor adjustment
This commit is contained in:
parent
2efb3b78ea
commit
ee4e04ebca
|
@ -149,7 +149,7 @@ def checkSqlInjection(place, parameter, value):
|
||||||
boundary.prefix = conf.prefix
|
boundary.prefix = conf.prefix
|
||||||
boundary.suffix = conf.suffix
|
boundary.suffix = conf.suffix
|
||||||
|
|
||||||
if "like" in boundary.suffix.lower():
|
if " like" in boundary.suffix.lower():
|
||||||
if "'" in boundary.suffix.lower():
|
if "'" in boundary.suffix.lower():
|
||||||
boundary.ptype = 3
|
boundary.ptype = 3
|
||||||
elif '"' in boundary.suffix.lower():
|
elif '"' in boundary.suffix.lower():
|
||||||
|
|
|
@ -342,8 +342,6 @@ def start():
|
||||||
kb.testedParams.add(paramKey)
|
kb.testedParams.add(paramKey)
|
||||||
|
|
||||||
if testSqlInj:
|
if testSqlInj:
|
||||||
# TODO: with the new detection engine, review this
|
|
||||||
# part. This will be moved to payloads.xml as well
|
|
||||||
heuristicCheckSqlInjection(place, parameter, value)
|
heuristicCheckSqlInjection(place, parameter, value)
|
||||||
|
|
||||||
logMsg = "testing sql injection on %s " % place
|
logMsg = "testing sql injection on %s " % place
|
||||||
|
|
Loading…
Reference in New Issue
Block a user