From 5745d650f8d27ba9fd7ad0d53a16ded86876d5fa Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 29 Jul 2017 02:42:20 +0200 Subject: [PATCH] Fixes #2635 --- lib/controller/handler.py | 2 +- lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/controller/handler.py b/lib/controller/handler.py index 98f4dab40..2eb9215c1 100644 --- a/lib/controller/handler.py +++ b/lib/controller/handler.py @@ -70,7 +70,7 @@ def setHandler(): (DBMS.INFORMIX, INFORMIX_ALIASES, InformixMap, InformixConn), ] - _ = max(_ if (Backend.getIdentifiedDbms() or kb.heuristicExtendedDbms or "").lower() in _[1] else None for _ in items) + _ = max(_ if (conf.get("dbms") or Backend.getIdentifiedDbms() or kb.heuristicExtendedDbms or "").lower() in _[1] else None for _ in items) if _: items.remove(_) items.insert(0, _) diff --git a/lib/core/settings.py b/lib/core/settings.py index d016aad5d..8a0040841 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.7.27" +VERSION = "1.1.7.28" 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 b5c1f5404..301d160d0 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -23,7 +23,7 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32. 7afe836fd97271ccba67b4c0da2482ff lib/controller/action.py 2f410ced3f93932699a046c1b704ef3b lib/controller/checks.py a66093c734c7f94ecdf94d882c2d8b89 lib/controller/controller.py -a97df93b552ee4e4ba3692eae870de7c lib/controller/handler.py +35843d3e6dc4ea6c2462d48d2554ad10 lib/controller/handler.py 310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py ca0a4eba91d73c9d7adedabf528ca4f1 lib/core/agent.py 6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py @@ -46,7 +46,7 @@ fbf750dc617c3549ee423d6c2334ba4d lib/core/option.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -d68fed683c98567863ce1361a6f573f9 lib/core/settings.py +c83e83521224f8012103cae099a6cd2f lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py 85e3a98bc9ba62125baa13e864f37a3f lib/core/target.py