mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
Minor update
This commit is contained in:
parent
6caccc3d93
commit
d08c1b7c04
|
@ -702,7 +702,7 @@ def checkFalsePositives(injection):
|
||||||
break
|
break
|
||||||
|
|
||||||
if retVal is None:
|
if retVal is None:
|
||||||
warnMsg = "false positive injection point detected"
|
warnMsg = "false positive or unexploitable injection point detected"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
kb.injection = popValue()
|
kb.injection = popValue()
|
||||||
|
@ -715,13 +715,17 @@ def checkSuhosinPatch(injection):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if injection.place == PLACE.GET:
|
if injection.place == PLACE.GET:
|
||||||
|
debugMsg = "checking for parameter length "
|
||||||
|
debugMsg += "constrainting mechanisms"
|
||||||
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
pushValue(kb.injection)
|
pushValue(kb.injection)
|
||||||
|
|
||||||
kb.injection = injection
|
kb.injection = injection
|
||||||
randInt = randomInt()
|
randInt = randomInt()
|
||||||
|
|
||||||
if not checkBooleanExpression("%d=%s%d" % (randInt, ' ' * SUHOSIN_MAX_VALUE_LENGTH, randInt)):
|
if not checkBooleanExpression("%d=%s%d" % (randInt, ' ' * SUHOSIN_MAX_VALUE_LENGTH, randInt)):
|
||||||
warnMsg = "parameter length constraint "
|
warnMsg = "parameter length constrainting "
|
||||||
warnMsg += "mechanism detected (e.g. Suhosin patch). "
|
warnMsg += "mechanism detected (e.g. Suhosin patch). "
|
||||||
warnMsg += "Potential problems in enumeration phase can be expected"
|
warnMsg += "Potential problems in enumeration phase can be expected"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
@ -729,6 +733,9 @@ def checkSuhosinPatch(injection):
|
||||||
kb.injection = popValue()
|
kb.injection = popValue()
|
||||||
|
|
||||||
def checkFilteredChars(injection):
|
def checkFilteredChars(injection):
|
||||||
|
debugMsg = "checking for filtered characters"
|
||||||
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
pushValue(kb.injection)
|
pushValue(kb.injection)
|
||||||
|
|
||||||
kb.injection = injection
|
kb.injection = injection
|
||||||
|
|
Loading…
Reference in New Issue
Block a user