Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b31e141

Browse files
committed
Fix for an Issue #772
1 parent 20d75cc commit b31e141

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,10 @@ def checkWaf():
10711071
conf.parameters[PLACE.GET] = "" if not conf.parameters.get(PLACE.GET) else conf.parameters[PLACE.GET] + "&"
10721072
conf.parameters[PLACE.GET] += "%s=%d %s" % (randomStr(), randomInt(), IDS_WAF_CHECK_PAYLOAD)
10731073

1074-
falseResult = Request.queryPage()
1074+
try:
1075+
falseResult = Request.queryPage()
1076+
except SqlmapConnectionException:
1077+
falseResult = None
10751078

10761079
if not falseResult:
10771080
retVal = True

0 commit comments

Comments
 (0)