Skip to content

Commit 277a4fa

Browse files
committed
Potential patch for #3167
1 parent 037db0f commit 277a4fa

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/controller/handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,11 @@ def setHandler():
125125
if conf.forceDbms == dbms or handler.checkDbms():
126126
if kb.resolutionDbms:
127127
conf.dbmsHandler = max(_ for _ in items if _[0] == kb.resolutionDbms)[2]()
128+
conf.dbmsHandler._dbms = kb.resolutionDbms
128129
else:
129130
conf.dbmsHandler = handler
131+
conf.dbmsHandler._dbms = dbms
130132

131-
conf.dbmsHandler._dbms = dbms
132133
break
133134
else:
134135
conf.dbmsConnector = None

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.11.15"
22+
VERSION = "1.2.11.16"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ c1bccc94522d3425a372dcd57f78418e extra/wafdetectify/wafdetectify.py
2525
3459c562a6abb9b4bdcc36925f751f3e lib/controller/action.py
2626
71334197c7ed28167cd66c17b2c21844 lib/controller/checks.py
2727
dd42ef140ffc0bd517128e6df369ab01 lib/controller/controller.py
28-
ba2717a410b21285d781ab42c4a797d0 lib/controller/handler.py
28+
988b548f6578adf9cec17afdeee8291c lib/controller/handler.py
2929
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
3030
cb865cf6eff60118bc97a0f106af5e4d lib/core/agent.py
3131
c347f085bd561adfa26d3a9512e5f3b9 lib/core/bigarray.py
@@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4949
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52-
95c2d218452e270a1a84849448d69110 lib/core/settings.py
52+
342e732d0772891804c7609578176997 lib/core/settings.py
5353
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
721198b5be72c8015a02acb116532a1f lib/core/target.py

0 commit comments

Comments
 (0)