From 3aa6692b828955fd1212fe74d44e90806eb2faac Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 27 Feb 2023 17:49:42 +0100 Subject: [PATCH] Patch for #5348 --- lib/core/settings.py | 2 +- sqlmap.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index e0b406c61..52ef3ae41 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.7.2.19" +VERSION = "1.7.2.20" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/sqlmap.py b/sqlmap.py index 32e96a5fd..be312f97f 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -436,6 +436,11 @@ def main(): logger.critical(errMsg) raise SystemExit + elif any(_ in errMsg for _ in (": 9.9.9#",)): + errMsg = "LOL :)" + logger.critical(errMsg) + raise SystemExit + elif kb.get("dumpKeyboardInterrupt"): raise SystemExit