Dummy patch for #4623

This commit is contained in:
Miroslav Stampar
2021-03-31 10:42:40 +02:00
parent dd32bfb0cc
commit 2380ab1e86
2 changed files with 6 additions and 1 deletions

View File

@@ -435,6 +435,11 @@ def main():
logger.critical(errMsg)
raise SystemExit
elif all(_ in excMsg for _ in ("No such file", "sqlmap.conf", "Test")):
errMsg = "you are trying to run (hidden) development tests inside the production environment"
logger.critical(errMsg)
raise SystemExit
elif all(_ in excMsg for _ in ("HTTPNtlmAuthHandler", "'str' object has no attribute 'decode'")):
errMsg = "package 'python-ntlm' has a known compatibility issue with the "
errMsg += "Python 3 (Reference: 'https://github.com/mullender/python-ntlm/pull/61')"