File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.7.11.3 "
23
+ VERSION = "1.7.12.0 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
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 @@ -116,6 +116,10 @@ def fetchall(self):
116
116
def execute (self , query ):
117
117
retVal = False
118
118
119
+ # Reference: https://stackoverflow.com/a/69491015
120
+ if hasattr (_sqlalchemy , "text" ):
121
+ query = _sqlalchemy .text (query )
122
+
119
123
try :
120
124
self .cursor = self .connector .execute (query )
121
125
retVal = True
You can’t perform that action at this time.
0 commit comments