File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 19
19
from lib .core .enums import OS
20
20
21
21
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22
- VERSION = "1.2.12.36 "
22
+ VERSION = "1.2.12.37 "
23
23
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
24
24
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
25
25
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 32
32
from lib .core .data import logger
33
33
from lib .core .exception import SqlmapConnectionException
34
34
from lib .core .exception import SqlmapFilePathException
35
+ from lib .core .exception import SqlmapMissingDependence
35
36
from plugins .generic .connector import Connector as GenericConnector
36
37
37
38
class SQLAlchemy (GenericConnector ):
@@ -79,6 +80,8 @@ def connect(self):
79
80
raise SqlmapConnectionException ("SQLAlchemy connection issue ('%s')" % msg [0 ])
80
81
81
82
self .printConnected ()
83
+ else :
84
+ raise SqlmapMissingDependence ("SQLAlchemy not available" )
82
85
83
86
def fetchall (self ):
84
87
try :
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
49
49
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
50
50
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
51
51
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52
- 3afa2b42741332ce14a8c98befcfdff7 lib/core/settings.py
52
+ 29c9671c1f1e13c08b857885fffcbfd0 lib/core/settings.py
53
53
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
54
54
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
55
55
1581be48127a3a7a9fd703359b6e7567 lib/core/target.py
@@ -115,7 +115,7 @@ eb2aa3fa9ebdf4cb6ac3e005f7df1e9b lib/utils/hash.py
115
115
683c3bd05b6164f56a57ed495c162684 lib/utils/progress.py
116
116
0ec5cec9d93d5ffd1eaeda6e942ecadf lib/utils/purge.py
117
117
2c5a655c8e94cbe2664ee497752ac1f2 lib/utils/search.py
118
- 571884f530796534f03c49cf3f380a4c lib/utils/sqlalchemy.py
118
+ cede46255b3c8f8d0b425b1c72cac75a lib/utils/sqlalchemy.py
119
119
dcc25183c6bd85b172c87cfcbc305ab6 lib/utils/timeout.py
120
120
4703ceeb32131a9a7a6561575644123b lib/utils/versioncheck.py
121
121
e9e73cd6bd814dd7823a9da913cea61c lib/utils/xrange.py
You can’t perform that action at this time.
0 commit comments