This commit is contained in:
Miroslav Stampar
2017-05-01 23:21:12 +02:00
parent 389133654e
commit 1e8df40981
3 changed files with 10 additions and 3 deletions

View File

@@ -260,6 +260,13 @@ def main():
logger.error(errMsg)
raise SystemExit
elif "'DictObject' object has no attribute 'query'" in excMsg and all(_ in errMsg for _ in ("(fingerprinted)", "(identified)")):
errMsg = "there has been a problem in enumeration. "
errMsg += "Because of a considerable chance of false-positive case "
errMsg += "you are advised to rerun with switch '--flush-session'"
logger.error(errMsg)
raise SystemExit
elif all(_ in excMsg for _ in ("pymysql", "configparser")):
errMsg = "wrong initialization of pymsql detected (using Python3 dependencies)"
logger.error(errMsg)