File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-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.6.4.4 "
23
+ VERSION = "1.6.4.5 "
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 @@ -338,6 +338,12 @@ def main():
338
338
logger .critical (errMsg )
339
339
raise SystemExit
340
340
341
+ elif "invalid maximum character passed to PyUnicode_New" in excMsg and re .search (r"\A3\.[34]" , sys .version ) is not None :
342
+ errMsg = "please upgrade the Python version (>= 3.5) "
343
+ errMsg += "(Reference: 'https://bugs.python.org/issue18183')"
344
+ logger .critical (errMsg )
345
+ raise SystemExit
346
+
341
347
elif all (_ in excMsg for _ in ("scramble_caching_sha2" , "TypeError" )):
342
348
errMsg = "please downgrade the 'PyMySQL' package (=< 0.8.1) "
343
349
errMsg += "(Reference: 'https://github.com/PyMySQL/PyMySQL/issues/700')"
You can’t perform that action at this time.
0 commit comments