diff --git a/lib/core/settings.py b/lib/core/settings.py index 24739a978..d7e1f3538 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.32" +VERSION = "1.2.8.33" 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 f8a7cf81b..8d83ff47f 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -50,7 +50,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -d4926186bd8f94eb38b5daf98f1cd67d lib/core/settings.py +75a03c25cb625ee451394fea1fc4d7a6 lib/core/settings.py dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 815d1cf27f0f8738d81531e73149867d lib/core/target.py @@ -417,7 +417,7 @@ aade02eb8f6a4a214a53db0fd0f2aae6 waf/dosarrest.py a2ce6cde682f78e1fd561dc40611877e waf/fortiweb.py ade1299c435db7b9e35cf1166ed9d859 waf/generic.py 1c70655551b8296ceeb19292a342e620 waf/hyperguard.py -51aed66945f95641cb45c840e7132e3b waf/incapsula.py +0359ca07b6e3ee0e4505ad5bfaa1de79 waf/incapsula.py 1e5532ede194ac9c083891c2f02bca93 waf/__init__.py 30ae98958fb35061d9a4145cc74c0489 waf/isaserver.py 5a5c9452b9779bf39c208ebe26c98fdb waf/jiasule.py diff --git a/waf/incapsula.py b/waf/incapsula.py index babf1d59b..c5e299057 100644 --- a/waf/incapsula.py +++ b/waf/incapsula.py @@ -19,7 +19,8 @@ def detect(get_page): page, headers, _ = get_page(get=vector) retval = re.search(r"incap_ses|visid_incap", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None retval |= re.search(r"Incapsula", headers.get("X-CDN", ""), re.I) is not None - retval |= any(_ in (page or "") for _ in ("Incapsula incident ID", "_Incapsula_Resource?")) + retval |= any(_ in (page or "") for _ in ("Incapsula incident ID", "_Incapsula_Resource?", "?subject=WAF Block Page:")) + retval |= all(_ in (page or "") for _ in ("Application Firewall Error", "If you feel you have been blocked in error, please contact Customer Support")) retval |= headers.get("X-Iinfo") is not None if retval: break