From 1156b53eeea966616ace3c5b09ee462a6aafc689 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 29 Apr 2020 14:36:11 +0200 Subject: [PATCH] Patch for #4178 --- lib/core/settings.py | 2 +- lib/request/connect.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 0a9c48c58..b63a4e7b1 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.4.4.9" +VERSION = "1.4.4.10" 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/lib/request/connect.py b/lib/request/connect.py index 7d83fdfe6..b19892a64 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -83,9 +83,9 @@ from lib.core.enums import WEB_PLATFORM from lib.core.exception import SqlmapCompressionException from lib.core.exception import SqlmapConnectionException from lib.core.exception import SqlmapGenericException +from lib.core.exception import SqlmapSkipTargetException from lib.core.exception import SqlmapSyntaxException from lib.core.exception import SqlmapTokenException -from lib.core.exception import SqlmapUserQuitException from lib.core.exception import SqlmapValueException from lib.core.settings import ASTERISK_MARKER from lib.core.settings import BOUNDARY_BACKSLASH_MARKER @@ -787,7 +787,7 @@ class Connect(object): kb.connErrorChoice = readInput(message, default='N', boolean=True) if kb.connErrorChoice is False: - raise SqlmapUserQuitException + raise SqlmapSkipTargetException if "forcibly closed" in tbMsg: logger.critical(warnMsg)