mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Support patch for #4486
This commit is contained in:
parent
9c95445723
commit
bae7766e64
2 changed files with 7 additions and 1 deletions
|
|
@ -326,6 +326,12 @@ def main():
|
|||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
||||
elif "Permission denied: '" in excMsg:
|
||||
match = re.search(r"Permission denied: '([^']*)", excMsg)
|
||||
errMsg = "permission error occurred while accessing file '%s'" % match.group(1)
|
||||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
||||
elif all(_ in excMsg for _ in ("twophase", "sqlalchemy")):
|
||||
errMsg = "please update the 'sqlalchemy' package (>= 1.1.11) "
|
||||
errMsg += "(Reference: 'https://qiita.com/tkprof/items/7d7b2d00df9c5f16fffe')"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue