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.0.12.2 "
22+ VERSION = "1.0.12.3 "
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 @@ -53,8 +53,10 @@ def connect(self):
5353 if self .dialect :
5454 conf .direct = conf .direct .replace (conf .dbms , self .dialect , 1 )
5555
56- engine = _sqlalchemy .create_engine (conf .direct , connect_args = {' check_same_thread' : False } if self .dialect == "sqlite" else {})
56+ engine = _sqlalchemy .create_engine (conf .direct , connect_args = {" check_same_thread" : False } if self .dialect == "sqlite" else {})
5757 self .connector = engine .connect ()
58+ except (TypeError , ValueError ):
59+ raise
5860 except SqlmapFilePathException :
5961 raise
6062 except Exception , msg :
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545b3a62d41a5af6cd7fa733b6227febb0c lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- 36df24ce03ae666431af14bf24f4c953 lib/core/settings.py
48+ 5d307c68feee4678c9919e5f170bcbbc lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -111,7 +111,7 @@ f0bd8f810332027a5c2c60bd17455f90 lib/utils/pivotdumptable.py
111111da08a0b58c08ff452c7d1da4857d6680 lib/utils/progress.py
1121124c8895fb543aa5ae81f2d066422613f0 lib/utils/purge.py
113113cc9b0f68dd58a2576a5a454b7f5f6b9c lib/utils/search.py
114- 4a0374ac0bc9d726446f04c77fbb5697 lib/utils/sqlalchemy.py
114+ 173a8a0be065699a78bb3012da362403 lib/utils/sqlalchemy.py
11511593dc08ba9f732d378f02cf85eae89df2 lib/utils/timeout.py
116116e6fa0e76367a77015da113811dfd9712 lib/utils/versioncheck.py
117117adafdb28095ba2d03322fee2aae4548f lib/utils/xrange.py
You can’t perform that action at this time.
0 commit comments