From ba617c49a4d39c76ca12f6644c897b3ebee5a5c0 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 7 Jan 2019 15:35:54 +0100 Subject: [PATCH] Minor patch --- lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- waf/asm.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index be5147444..b626e194c 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.3.1.16" +VERSION = "1.3.1.17" 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 153597df8..4082e6d75 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py 9a7d68d5fa01561500423791f15cc676 lib/core/replication.py 3179d34f371e0295dd4604568fb30bcd lib/core/revision.py d6269c55789f78cf707e09a0f5b45443 lib/core/session.py -4a682eb379b6eeec3ff41548baf8363f lib/core/settings.py +b7fcdd7fd2733a559b004546438eaf72 lib/core/settings.py a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py 5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py @@ -402,7 +402,7 @@ ca3ab78d6ed53b7f2c07ed2530d47efd udf/postgresql/windows/32/8.4/lib_postgresqlud 94eec6c5d02357596292d36a8533f08f waf/anquanbao.py 7ab1a7cd51a02899592f4f755d36a02e waf/approach.py 425f2599f57ab81b4fff67e6b442cccc waf/armor.py -069a99125ae1aa6fb3babe81e42d3e94 waf/asm.py +e1fb3427009619b39c42324f7e41c16e waf/asm.py 9dbec5d674ed4c762ffc9bc3ab402739 waf/aws.py 4fd9a8e3aac364fe5509b23e7eb5a448 waf/barracuda.py 742f8c9b7f3a858e11dfd2ce3df65c6e waf/binarysec.py diff --git a/waf/asm.py b/waf/asm.py index 5b9a4aff3..220c6fbd5 100644 --- a/waf/asm.py +++ b/waf/asm.py @@ -18,7 +18,7 @@ def detect(get_page): page, headers, code = get_page(get=vector) retval = "The requested URL was rejected. Please consult with your administrator." in (page or "") retval |= all(_ in (page or "") for _ in ("This page can't be displayed. Contact support for additional information", "The incident ID is:")) - retval |= re.search(r"(?i)Support.ID", page or "") and re.search(r"\b\d{19}\b", page or "") is not None + retval |= re.search(r"(?i)Support.ID", page or "") is not None and re.search(r"\b\d{19}\b", page or "") is not None if retval: break