File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from 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 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_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 3232from lib .core .data import logger
3333from lib .core .exception import SqlmapConnectionException
3434from lib .core .exception import SqlmapFilePathException
35+ from lib .core .exception import SqlmapMissingDependence
3536from plugins .generic .connector import Connector as GenericConnector
3637
3738class 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 :
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
49490c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52- 3afa2b42741332ce14a8c98befcfdff7 lib/core/settings.py
52+ 29c9671c1f1e13c08b857885fffcbfd0 lib/core/settings.py
5353a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
5454a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
55551581be48127a3a7a9fd703359b6e7567 lib/core/target.py
@@ -115,7 +115,7 @@ eb2aa3fa9ebdf4cb6ac3e005f7df1e9b lib/utils/hash.py
115115683c3bd05b6164f56a57ed495c162684 lib/utils/progress.py
1161160ec5cec9d93d5ffd1eaeda6e942ecadf lib/utils/purge.py
1171172c5a655c8e94cbe2664ee497752ac1f2 lib/utils/search.py
118- 571884f530796534f03c49cf3f380a4c lib/utils/sqlalchemy.py
118+ cede46255b3c8f8d0b425b1c72cac75a lib/utils/sqlalchemy.py
119119dcc25183c6bd85b172c87cfcbc305ab6 lib/utils/timeout.py
1201204703ceeb32131a9a7a6561575644123b lib/utils/versioncheck.py
121121e9e73cd6bd814dd7823a9da913cea61c lib/utils/xrange.py
You can’t perform that action at this time.
0 commit comments