Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7960045

Browse files
committed
Fixes #2277 and #2300
1 parent d253a97 commit 7960045

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

lib/controller/handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def setHandler():
107107
conf.dbmsHandler = max(_ for _ in items if _[0] == kb.resolutionDbms)[2]()
108108
else:
109109
conf.dbmsHandler = handler
110+
111+
conf.dbmsHandler._dbms = dbms
110112
break
111113
else:
112114
conf.dbmsConnector = None

lib/core/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,8 @@ def getIdentifiedDbms():
465465

466466
if not kb:
467467
pass
468+
elif not kb.testMode and conf.dbmsHandler and getattr(conf.dbmsHandler, "_dbms", None):
469+
dbms = conf.dbmsHandler._dbms
468470
elif Backend.getForcedDbms() is not None:
469471
dbms = Backend.getForcedDbms()
470472
elif Backend.getDbms() is not 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.1.2.16"
22+
VERSION = "1.1.2.17"
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32.
2222
5df358defc488bee9b40084892e3d1cb lib/controller/action.py
2323
9cb94acd4c59822a5e1a258c4d1a4860 lib/controller/checks.py
2424
dc386321e8813788f155dc557a78be8d lib/controller/controller.py
25-
b3eec7f44bcc5d784d171a187b7fe8cb lib/controller/handler.py
25+
5c3237d4a210056139cc9d686c49ba58 lib/controller/handler.py
2626
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
2727
19905ecb4437b94512cf21d5f1720091 lib/core/agent.py
2828
6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
29-
a64af9f1242d0d3aa1b7d19293de2fd5 lib/core/common.py
29+
901d4c3dba4aa1248b394e546fc5533e lib/core/common.py
3030
5065a4242a8cccf72f91e22e1007ae63 lib/core/convert.py
3131
a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
3232
7936d78b1a7f1f008ff92bf2f88574ba lib/core/datatype.py
@@ -45,7 +45,7 @@ a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
4545
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4747
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48-
ad203c797ad0243dec3ab6d0a4588b5e lib/core/settings.py
48+
9a6d263b4f3c37fe9a2b0c2575331f74 lib/core/settings.py
4949
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5050
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151
afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
@@ -65,7 +65,7 @@ ad74fc58fc7214802fd27067bce18dd2 lib/core/unescaper.py
6565
0b010b7cdb2e42b5aa0caa59607279ad lib/parse/payloads.py
6666
a0444cc351cd6d29015ad16d9eb46ff4 lib/parse/sitemap.py
6767
403d873f1d2fd0c7f73d83f104e41850 lib/request/basicauthhandler.py
68-
c344b6f39d73cad9a47f60cfe027d55e lib/request/basic.py
68+
0035612a620934d7ebe6d18426cfb065 lib/request/basic.py
6969
ef48de622b0a6b4a71df64b0d2785ef8 lib/request/comparison.py
7070
d57655ea924108989a235a7fa02a45f0 lib/request/connect.py
7171
fb6b788d0016ab4ec5e5f661f0f702ad lib/request/direct.py

0 commit comments

Comments
 (0)