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 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.5.3.21 "
21
+ VERSION = "1.5.3.22 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
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 @@ -435,6 +435,11 @@ def main():
435
435
logger .critical (errMsg )
436
436
raise SystemExit
437
437
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
+
438
443
elif all (_ in excMsg for _ in ("HTTPNtlmAuthHandler" , "'str' object has no attribute 'decode'" )):
439
444
errMsg = "package 'python-ntlm' has a known compatibility issue with the "
440
445
errMsg += "Python 3 (Reference: 'https://github.com/mullender/python-ntlm/pull/61')"
You can’t perform that action at this time.
0 commit comments