mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Fix for an Issue #772
This commit is contained in:
parent
20d75cc52e
commit
b31e141012
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user