From 44664dd7d65ed3d611cf1b9469626727c76d01db Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 19 Sep 2017 14:36:34 +0200 Subject: [PATCH] Minor update (based on user request) --- lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- waf/bigip.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index ed37dd4d5..0140beeb9 100755 --- 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.1.9.19" +VERSION = "1.1.9.20" 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 ce0f38725..bd11bcb05 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ a44d7a4cc6c9a67a72d6af2f25f4ddac lib/core/exception.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -c755024a91ad09fb1833e556acecf6c5 lib/core/settings.py +ef5cf593cd595b00fadb67e5004de5c0 lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py effc153067a00bd43461bfc1cdec1122 lib/core/target.py @@ -390,7 +390,7 @@ a0200fc79bae0ec597b98c82894562a5 waf/armor.py d764bf3b9456a02a7f8a0149a93ff950 waf/aws.py dbc89fc642074c6d17a04532e623f976 waf/baidu.py e4e713cc4e5504eed0311fa62b05a6f9 waf/barracuda.py -81af1707c0783d205075d887c9868043 waf/bigip.py +03df7b2cfccc5eb6b4a6fe987cdb004d waf/bigip.py 2adee01cbf513944cd3d281af1c05a86 waf/binarysec.py db312318ee5309577917faca1cd2c077 waf/blockdos.py 520ef7b59340b96b4a43e7fdba760967 waf/ciscoacexml.py diff --git a/waf/bigip.py b/waf/bigip.py index d022172ca..e76513298 100644 --- a/waf/bigip.py +++ b/waf/bigip.py @@ -18,6 +18,7 @@ def detect(get_page): for vector in WAF_ATTACK_VECTORS: _, headers, _ = get_page(get=vector) retval = headers.get("X-Cnection", "").lower() == "close" + retval |= headers.get("X-WA-Info") is not None retval |= re.search(r"\ATS\w{4,}=", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None retval |= re.search(r"BigIP|BIGipServer", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None retval |= re.search(r"BigIP|BIGipServer", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None