mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-12 03:05:09 +00:00
Patches #6068
This commit is contained in:
parent
85a71c2b49
commit
89d6b94d0d
3 changed files with 4 additions and 4 deletions
|
|
@ -384,7 +384,7 @@ def main():
|
|||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
||||
elif "AttributeError:" in excMsg and re.search(r"3\.11\.\d+a", sys.version):
|
||||
elif any(_ in excMsg for _ in ("AttributeError:", "TypeError:")) and re.search(r"3\.11\.\d+a", sys.version):
|
||||
errMsg = "there is a known issue when sqlmap is run with ALPHA versions of Python 3.11. "
|
||||
errMsg += "Please download a stable Python version"
|
||||
logger.critical(errMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue