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 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.6.4.4 "
23+ VERSION = "1.6.4.5 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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():
338338 logger .critical (errMsg )
339339 raise SystemExit
340340
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+
341347 elif all (_ in excMsg for _ in ("scramble_caching_sha2" , "TypeError" )):
342348 errMsg = "please downgrade the 'PyMySQL' package (=< 0.8.1) "
343349 errMsg += "(Reference: 'https://github.com/PyMySQL/PyMySQL/issues/700')"
You can’t perform that action at this time.
0 commit comments