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 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.9.19 "
21+ VERSION = "1.3.9.20 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 @@ -263,6 +263,11 @@ def main():
263263 logger .critical (errMsg )
264264 raise SystemExit
265265
266+ elif all (_ in excMsg for _ in ("Access is denied" , "subprocess" , "metasploit" )):
267+ errMsg = "permission error occurred while running Metasploit"
268+ logger .critical (errMsg )
269+ raise SystemExit
270+
266271 elif all (_ in excMsg for _ in ("No such file" , "_'" )):
267272 errMsg = "corrupted installation detected ('%s'). " % excMsg .strip ().split ('\n ' )[- 1 ]
268273 errMsg += "You should retrieve the latest development version from official GitHub "
You can’t perform that action at this time.
0 commit comments