diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 074437fce..4d0bda2e0 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -1359,7 +1359,10 @@ def checkWaf(): value = "" if not conf.parameters.get(PLACE.GET) else conf.parameters[PLACE.GET] + DEFAULT_GET_POST_DELIMITER value += "%s=%s" % (randomStr(), agent.addPayloadDelimiters(payload)) + pushValue(kb.redirectChoice) pushValue(conf.timeout) + + kb.redirectChoice = REDIRECTION.YES conf.timeout = IDS_WAF_CHECK_TIMEOUT try: @@ -1368,7 +1371,9 @@ def checkWaf(): retVal = True finally: kb.matchRatio = None + conf.timeout = popValue() + kb.redirectChoice = popValue() if retVal: warnMsg = "heuristics detected that the target " diff --git a/lib/core/settings.py b/lib/core/settings.py index 2a7164760..c5a45ea51 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.2.8.20" +VERSION = "1.2.8.21" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/txt/checksum.md5 b/txt/checksum.md5 index e90087a2c..7b6c3efae 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -22,7 +22,7 @@ e4805169a081b834ca51a60a150c7247 extra/shutils/newlines.py 1e5532ede194ac9c083891c2f02bca93 extra/sqlharvest/__init__.py b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py 3459c562a6abb9b4bdcc36925f751f3e lib/controller/action.py -bc3800ec099df253968b3a7fc1ffce44 lib/controller/checks.py +7493c782345a60f6c00c9281d51a494e lib/controller/checks.py c414cecdb0472c92cf50ed5b01e4438c lib/controller/controller.py c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py 1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py @@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -7784e72dc2d0a290d2512f970dc7dc0f lib/core/settings.py +8b9c8ae316a1cdf5809b163d7d451ca5 lib/core/settings.py dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 815d1cf27f0f8738d81531e73149867d lib/core/target.py