From b31e141012119992d580e165953370647712d143 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 29 Jul 2014 14:37:48 +0200 Subject: [PATCH] Fix for an Issue #772 --- lib/controller/checks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index bbc3f702d..7c994ccf8 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -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] += "%s=%d %s" % (randomStr(), randomInt(), IDS_WAF_CHECK_PAYLOAD) - falseResult = Request.queryPage() + try: + falseResult = Request.queryPage() + except SqlmapConnectionException: + falseResult = None if not falseResult: retVal = True