File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
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.0.12.2 "
22
+ VERSION = "1.0.12.3 "
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 @@ -53,8 +53,10 @@ def connect(self):
53
53
if self .dialect :
54
54
conf .direct = conf .direct .replace (conf .dbms , self .dialect , 1 )
55
55
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 {})
57
57
self .connector = engine .connect ()
58
+ except (TypeError , ValueError ):
59
+ raise
58
60
except SqlmapFilePathException :
59
61
raise
60
62
except Exception , msg :
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45
45
b3a62d41a5af6cd7fa733b6227febb0c lib/core/replication.py
46
46
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
47
47
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48
- 36df24ce03ae666431af14bf24f4c953 lib/core/settings.py
48
+ 5d307c68feee4678c9919e5f170bcbbc lib/core/settings.py
49
49
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
50
50
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
51
51
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -111,7 +111,7 @@ f0bd8f810332027a5c2c60bd17455f90 lib/utils/pivotdumptable.py
111
111
da08a0b58c08ff452c7d1da4857d6680 lib/utils/progress.py
112
112
4c8895fb543aa5ae81f2d066422613f0 lib/utils/purge.py
113
113
cc9b0f68dd58a2576a5a454b7f5f6b9c lib/utils/search.py
114
- 4a0374ac0bc9d726446f04c77fbb5697 lib/utils/sqlalchemy.py
114
+ 173a8a0be065699a78bb3012da362403 lib/utils/sqlalchemy.py
115
115
93dc08ba9f732d378f02cf85eae89df2 lib/utils/timeout.py
116
116
e6fa0e76367a77015da113811dfd9712 lib/utils/versioncheck.py
117
117
adafdb28095ba2d03322fee2aae4548f lib/utils/xrange.py
You can’t perform that action at this time.
0 commit comments