Minor update

This commit is contained in:
stamparm 2013-05-15 13:38:26 +02:00
parent 41f0e91662
commit f1f34a65a2

View File

@ -699,8 +699,7 @@ def checkSuhosinPatch(injection):
kb.injection = injection kb.injection = injection
randInt = randomInt() randInt = randomInt()
_ = " " * (SUHOSIN_MAX_VALUE_LENGTH / 2) if not checkBooleanExpression("%d=%s%d" % (randInt, ' ' * SUHOSIN_MAX_VALUE_LENGTH, randInt)):
if not checkBooleanExpression("%d%s=%s%d" % (randInt, _, _, randInt)):
warnMsg = "parameter length constraint " warnMsg = "parameter length constraint "
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"