Fix for an Issue #772

This commit is contained in:
Miroslav Stampar 2014-07-29 14:37:48 +02:00
parent 20d75cc52e
commit b31e141012

View File

@ -1071,7 +1071,10 @@ def checkWaf():
conf.parameters[PLACE.GET] = "" if not conf.parameters.get(PLACE.GET) else conf.parameters[PLACE.GET] + "&" conf.parameters[PLACE.GET] = "" if not conf.parameters.get(PLACE.GET) else conf.parameters[PLACE.GET] + "&"
conf.parameters[PLACE.GET] += "%s=%d %s" % (randomStr(), randomInt(), IDS_WAF_CHECK_PAYLOAD) conf.parameters[PLACE.GET] += "%s=%d %s" % (randomStr(), randomInt(), IDS_WAF_CHECK_PAYLOAD)
falseResult = Request.queryPage() try:
falseResult = Request.queryPage()
except SqlmapConnectionException:
falseResult = None
if not falseResult: if not falseResult:
retVal = True retVal = True