Skip to content

Commit 09c364d

Browse files
committed
Fixes #5914
1 parent 8f9eeb5 commit 09c364d

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

data/txt/sha256sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ eed1db5da17eca4c65a8f999166e2246eef84397687ae820bbe4984ef65a09df extra/vulnserv
161161
96a39b4e3a9178e4e8285d5acd00115460cc1098ef430ab7573fc8194368da5c lib/controller/action.py
162162
fad6640f60eac8ad1b65895cbccc39154864843a2a0b0f2ac596d3227edcd4f6 lib/controller/checks.py
163163
34e9cf166e21ce991b61ca7695c43c892e8425f7e1228daec8cadd38f786acc6 lib/controller/controller.py
164-
25e9781a4285f1161a39a17bb1746ddd0e28cdf9d4c6744235c619e7b8352afe lib/controller/handler.py
164+
49bcd74281297c79a6ae5d4b0d1479ddace4476fddaf4383ca682a6977b553e3 lib/controller/handler.py
165165
4608f21a4333c162ab3c266c903fda4793cc5834de30d06affe9b7566dd09811 lib/controller/__init__.py
166166
216c9399853b7454d36dcb552baf9f1169ec7942897ddc46504684325cb6ce00 lib/core/agent.py
167167
440cbab6161f466158c63f0ee97873254655f670ca990fa26bdd0a6e54c42c2a lib/core/bigarray.py
@@ -187,7 +187,7 @@ c4bfb493a03caf84dd362aec7c248097841de804b7413d0e1ecb8a90c8550bc0 lib/core/readl
187187
d1bd70c1a55858495c727fbec91e30af267459c8f64d50fabf9e4ee2c007e920 lib/core/replication.py
188188
1d0f80b0193ac5204527bfab4bde1a7aee0f693fd008e86b4b29f606d1ef94f3 lib/core/revision.py
189189
d2eb8e4b05ac93551272b3d4abfaf5b9f2d3ac92499a7704c16ed0b4f200db38 lib/core/session.py
190-
0fec9bcf0dedf1756bebaae063be8b575839d484f508951a030113983bdec528 lib/core/settings.py
190+
b33a472e54778a1f53e3badde07b1ba81b518596caae4d1bae3226e6a2138137 lib/core/settings.py
191191
1c5eab9494eb969bc9ce118a2ea6954690c6851cbe54c18373c723b99734bf09 lib/core/shell.py
192192
4eea6dcf023e41e3c64b210cb5c2efc7ca893b727f5e49d9c924f076bb224053 lib/core/subprocessng.py
193193
cdd352e1331c6b535e780f6edea79465cb55af53aa2114dcea0e8bf382e56d1a lib/core/target.py

lib/controller/handler.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,17 +173,17 @@ def setHandler():
173173
if not dialect or exception:
174174
try:
175175
conf.dbmsConnector.connect()
176-
except Exception as ex:
176+
except NameError:
177177
if exception:
178-
singleTimeWarnMessage(getSafeExString(exception))
179-
raise
178+
raise exception
180179
else:
181-
if not isinstance(ex, NameError):
182-
raise
183-
else:
184-
msg = "support for direct connection to '%s' is not available. " % dbms
185-
msg += "Please rerun with '--dependencies'"
186-
raise SqlmapConnectionException(msg)
180+
msg = "support for direct connection to '%s' is not available. " % dbms
181+
msg += "Please rerun with '--dependencies'"
182+
raise SqlmapConnectionException(msg)
183+
except:
184+
if exception:
185+
singleTimeWarnMessage(getSafeExString(exception))
186+
raise
187187

188188
if conf.forceDbms == dbms or handler.checkDbms():
189189
if kb.resolutionDbms:

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.9.6.4"
22+
VERSION = "1.9.6.5"
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)

0 commit comments

Comments
 (0)