mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Support patch for #4486
This commit is contained in:
@@ -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')"
|
||||
|
||||
Reference in New Issue
Block a user