From 370884d07acbb6c92fc060413e39a01798883bdc Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 4 Dec 2017 14:59:05 +0100 Subject: [PATCH] Fixes #2811 --- lib/core/settings.py | 2 +- lib/techniques/union/test.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 5b4ff0199..d237f29e7 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.1.12.3" +VERSION = "1.1.12.4" 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/lib/techniques/union/test.py b/lib/techniques/union/test.py index c4dd3b53b..d947f7e50 100644 --- a/lib/techniques/union/test.py +++ b/lib/techniques/union/test.py @@ -115,7 +115,7 @@ def _findUnionCharCount(comment, place, parameter, value, prefix, suffix, where= if not isNullValue(kb.uChar): for regex in (kb.uChar, r'>\s*%s\s*<' % kb.uChar): - contains = ((count, re.search(regex, _ or "", re.IGNORECASE) is not None) for count, _ in pages.items()) + contains = tuple((count, re.search(regex, _ or "", re.IGNORECASE) is not None) for count, _ in pages.items()) if len(filter(lambda _: _[1], contains)) == 1: retVal = filter(lambda _: _[1], contains)[0][0] break diff --git a/txt/checksum.md5 b/txt/checksum.md5 index e595d9af6..2401ccca1 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ f872699e948d0692ce11b54781da814c lib/core/log.py 760d9df2a27ded29109b390ab202e72d lib/core/replication.py a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py 02d4762140a72fd44668d3dab5eabda9 lib/core/session.py -224b57f959c54810598ac661872aa3cf lib/core/settings.py +d69c0df794980411124dc8220b625d40 lib/core/settings.py 35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py d93501771b41315f9fb949305b6ed257 lib/core/target.py @@ -96,7 +96,7 @@ ca47f20b11f58ce60a0ddfcfca242d3f lib/techniques/blind/inference.py 6ac0636513e7e009034fec33d6a6af7e lib/techniques/error/use.py 5fb9aaf874daa47ea2b672a22740e56b lib/techniques/__init__.py 5fb9aaf874daa47ea2b672a22740e56b lib/techniques/union/__init__.py -882bed15db948bd0487d24ff072a1593 lib/techniques/union/test.py +c2cb66245088e6b020bd398cbb6cd2ff lib/techniques/union/test.py a958a3e7113b2e0d5a3c30ef1114cdc4 lib/techniques/union/use.py 452cb280aa51a4ddf38d94534a6e8d5f lib/utils/api.py 48c3f8216b64825c50f5304cb4dadd95 lib/utils/brute.py