From 94ef433a375049101743ef0bc34a9c787f5c86f9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 13 Aug 2019 11:58:33 +0200 Subject: [PATCH] Minor update for #3874 --- lib/core/settings.py | 2 +- lib/core/threads.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 0d6826231..dcdf8b816 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.3.8.5" +VERSION = "1.3.8.6" 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/core/threads.py b/lib/core/threads.py index ce0b374ba..e37b3b3bd 100644 --- a/lib/core/threads.py +++ b/lib/core/threads.py @@ -97,11 +97,11 @@ def exceptionHandledFunction(threadFunction, silent=False): except Exception as ex: from lib.core.common import getSafeExString - if not silent and kb.get("threadContinue"): + if not silent and kb.get("threadContinue") and not isinstance(ex, SqlmapUserQuitException): errMsg = getSafeExString(ex) if isinstance(ex, SqlmapBaseException) else "%s: %s" % (type(ex).__name__, getSafeExString(ex)) logger.error("thread %s: '%s'" % (threading.currentThread().getName(), errMsg)) - if conf.get("verbose") > 1 and not isinstance(ex, (SqlmapUserQuitException, SqlmapConnectionException)): + if conf.get("verbose") > 1 and not isinstance(ex, SqlmapConnectionException): traceback.print_exc() def setDaemon(thread):