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 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.7.4.10 "
23
+ VERSION = "1.7.4.11 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_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():
472
472
logger .critical (errMsg )
473
473
raise SystemExit
474
474
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
+
475
480
elif all (_ in excMsg for _ in ("PermissionError: [WinError 5]" , "multiprocessing" )):
476
481
errMsg = "there is a permission problem in running multiprocessing on this system. "
477
482
errMsg += "Please rerun with '--disable-multi'"
You can’t perform that action at this time.
0 commit comments