From 84d0b346e72d1c3f423028a8b1365510a02b5eee Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 11 Jul 2019 11:13:49 +0200 Subject: [PATCH] Patch for #3816 --- lib/core/settings.py | 2 +- lib/core/threads.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 310a2f138..90b72d630 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.7.16" +VERSION = "1.3.7.17" 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 b20fd7dbb..946a22c20 100644 --- a/lib/core/threads.py +++ b/lib/core/threads.py @@ -193,7 +193,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio kb.threadException = True logger.error("thread %s: '%s'" % (threading.currentThread().getName(), ex)) - if conf.get("verbose") > 1: + if conf.get("verbose") > 1 and isinstance(ex, SqlmapValueException): traceback.print_exc() except: