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.5.3.21 "
21+ VERSION = "1.5.3.22 "
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 @@ -435,6 +435,11 @@ def main():
435435 logger .critical (errMsg )
436436 raise SystemExit
437437
438+ elif all (_ in excMsg for _ in ("No such file" , "sqlmap.conf" , "Test" )):
439+ errMsg = "you are trying to run (hidden) development tests inside the production environment"
440+ logger .critical (errMsg )
441+ raise SystemExit
442+
438443 elif all (_ in excMsg for _ in ("HTTPNtlmAuthHandler" , "'str' object has no attribute 'decode'" )):
439444 errMsg = "package 'python-ntlm' has a known compatibility issue with the "
440445 errMsg += "Python 3 (Reference: 'https://github.com/mullender/python-ntlm/pull/61')"
You can’t perform that action at this time.
0 commit comments