File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.5.3 "
23+ VERSION = "1.6.5.4 "
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 @@ -369,6 +369,12 @@ def main():
369369 logger .critical (errMsg )
370370 raise SystemExit
371371
372+ elif "AttributeError: unable to access item" in excMsg and re .search (r"3\.11\.\d+a" , sys .version ):
373+ errMsg = "there is a known issue when sqlmap is run with ALPHA versions of Python 3.11. "
374+ errMsg += "Please downgrade to some stable Python version"
375+ logger .critical (errMsg )
376+ raise SystemExit
377+
372378 elif all (_ in excMsg for _ in ("Resource temporarily unavailable" , "os.fork()" , "dictionaryAttack" )):
373379 errMsg = "there has been a problem while running the multiprocessing hash cracking. "
374380 errMsg += "Please rerun with option '--threads=1'"
You can’t perform that action at this time.
0 commit comments