mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-18 22:20:22 +00:00
Patch related to #6092
This commit is contained in:
parent
dd57fd91e2
commit
3d1258d57d
2 changed files with 2 additions and 2 deletions
|
|
@ -506,7 +506,7 @@ def main():
|
|||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
||||
elif all(_ in excMsg for _ in ("FileNotFoundError: [Errno 2] No such file or directory", "cwd = os.getcwd()")):
|
||||
elif all(_ in excMsg for _ in ("FileNotFoundError: [Errno 2] No such file or directory", "os.getcwd()")):
|
||||
errMsg = "invalid runtime environment ('%s')" % excMsg.split("Error: ")[-1].strip()
|
||||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue