File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.7.4.10 "
23+ VERSION = "1.7.4.11 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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 @@ -472,6 +472,11 @@ def main():
472472 logger .critical (errMsg )
473473 raise SystemExit
474474
475+ elif all (_ in excMsg for _ in ("FileNotFoundError: [Errno 2] No such file or directory" , "cwd = os.getcwd()" )):
476+ errMsg = "invalid runtime environment ('%s')" % excMsg .split ("Error: " )[- 1 ].strip ()
477+ logger .critical (errMsg )
478+ raise SystemExit
479+
475480 elif all (_ in excMsg for _ in ("PermissionError: [WinError 5]" , "multiprocessing" )):
476481 errMsg = "there is a permission problem in running multiprocessing on this system. "
477482 errMsg += "Please rerun with '--disable-multi'"
You can’t perform that action at this time.
0 commit comments