Skip to content

Commit 63cca82

Browse files
committed
Fixes #3415
1 parent 7d1c263 commit 63cca82

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

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.12.36"
22+
VERSION = "1.2.12.37"
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)

lib/utils/sqlalchemy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from lib.core.data import logger
3333
from lib.core.exception import SqlmapConnectionException
3434
from lib.core.exception import SqlmapFilePathException
35+
from lib.core.exception import SqlmapMissingDependence
3536
from plugins.generic.connector import Connector as GenericConnector
3637

3738
class SQLAlchemy(GenericConnector):
@@ -79,6 +80,8 @@ def connect(self):
7980
raise SqlmapConnectionException("SQLAlchemy connection issue ('%s')" % msg[0])
8081

8182
self.printConnected()
83+
else:
84+
raise SqlmapMissingDependence("SQLAlchemy not available")
8285

8386
def fetchall(self):
8487
try:

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
3afa2b42741332ce14a8c98befcfdff7 lib/core/settings.py
52+
29c9671c1f1e13c08b857885fffcbfd0 lib/core/settings.py
5353
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
1581be48127a3a7a9fd703359b6e7567 lib/core/target.py
@@ -115,7 +115,7 @@ eb2aa3fa9ebdf4cb6ac3e005f7df1e9b lib/utils/hash.py
115115
683c3bd05b6164f56a57ed495c162684 lib/utils/progress.py
116116
0ec5cec9d93d5ffd1eaeda6e942ecadf lib/utils/purge.py
117117
2c5a655c8e94cbe2664ee497752ac1f2 lib/utils/search.py
118-
571884f530796534f03c49cf3f380a4c lib/utils/sqlalchemy.py
118+
cede46255b3c8f8d0b425b1c72cac75a lib/utils/sqlalchemy.py
119119
dcc25183c6bd85b172c87cfcbc305ab6 lib/utils/timeout.py
120120
4703ceeb32131a9a7a6561575644123b lib/utils/versioncheck.py
121121
e9e73cd6bd814dd7823a9da913cea61c lib/utils/xrange.py

0 commit comments

Comments
 (0)