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.5.3 "
23
+ VERSION = "1.6.5.4 "
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 @@ -369,6 +369,12 @@ def main():
369
369
logger .critical (errMsg )
370
370
raise SystemExit
371
371
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
+
372
378
elif all (_ in excMsg for _ in ("Resource temporarily unavailable" , "os.fork()" , "dictionaryAttack" )):
373
379
errMsg = "there has been a problem while running the multiprocessing hash cracking. "
374
380
errMsg += "Please rerun with option '--threads=1'"
You can’t perform that action at this time.
0 commit comments