From 277a4fa40232657b7946a2e90ff83a1eaba095de Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 26 Nov 2018 23:40:47 +0100 Subject: [PATCH] Potential patch for #3167 --- lib/controller/handler.py | 3 ++- lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/controller/handler.py b/lib/controller/handler.py index bb05e1102..2ff64ea2a 100644 --- a/lib/controller/handler.py +++ b/lib/controller/handler.py @@ -125,10 +125,11 @@ def setHandler(): if conf.forceDbms == dbms or handler.checkDbms(): if kb.resolutionDbms: conf.dbmsHandler = max(_ for _ in items if _[0] == kb.resolutionDbms)[2]() + conf.dbmsHandler._dbms = kb.resolutionDbms else: conf.dbmsHandler = handler + conf.dbmsHandler._dbms = dbms - conf.dbmsHandler._dbms = dbms break else: conf.dbmsConnector = None diff --git a/lib/core/settings.py b/lib/core/settings.py index 57b2ff434..7f1caee5c 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.11.15" +VERSION = "1.2.11.16" 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 ed7e4ad4f..b1cb919bb 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -25,7 +25,7 @@ c1bccc94522d3425a372dcd57f78418e extra/wafdetectify/wafdetectify.py 3459c562a6abb9b4bdcc36925f751f3e lib/controller/action.py 71334197c7ed28167cd66c17b2c21844 lib/controller/checks.py dd42ef140ffc0bd517128e6df369ab01 lib/controller/controller.py -ba2717a410b21285d781ab42c4a797d0 lib/controller/handler.py +988b548f6578adf9cec17afdeee8291c lib/controller/handler.py 1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py cb865cf6eff60118bc97a0f106af5e4d lib/core/agent.py c347f085bd561adfa26d3a9512e5f3b9 lib/core/bigarray.py @@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -95c2d218452e270a1a84849448d69110 lib/core/settings.py +342e732d0772891804c7609578176997 lib/core/settings.py a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 721198b5be72c8015a02acb116532a1f lib/core/target.py