From 84b7a26bfd101cff5a44b24037d9a447297806aa Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 29 Dec 2017 13:52:15 +0100 Subject: [PATCH] Minor patch for #2852 --- lib/core/settings.py | 2 +- lib/core/threads.py | 3 +++ txt/checksum.md5 | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 749fcda3b..e21bac4e2 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.1.12.32" +VERSION = "1.1.12.33" 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 89b1098bf..8b1b02173 100644 --- a/lib/core/threads.py +++ b/lib/core/threads.py @@ -95,6 +95,9 @@ def exceptionHandledFunction(threadFunction, silent=False): if not silent: logger.error("thread %s: %s" % (threading.currentThread().getName(), ex.message)) + if conf.verbose > 1: + traceback.print_exc() + def setDaemon(thread): # Reference: http://stackoverflow.com/questions/190010/daemon-threads-explanation if PYVERSION >= "2.6": diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 78162a27a..1d3894623 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,12 +46,12 @@ eec64e3d4c3f77eded3270b8116698ea lib/core/option.py 760d9df2a27ded29109b390ab202e72d lib/core/replication.py a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py 02d4762140a72fd44668d3dab5eabda9 lib/core/session.py -ec31a0f93542b8b7984f94eb96684fe8 lib/core/settings.py +e529f917531d8212bf7efcdf4796a341 lib/core/settings.py 35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py d93501771b41315f9fb949305b6ed257 lib/core/target.py df8f6475a53d83400c1a3967c0a21bd7 lib/core/testing.py -632538fe50f6b3179e1a5a85e8b79741 lib/core/threads.py +bd984b3dfd2753f384b8a132838916e1 lib/core/threads.py a119989ca03f8c8fbdf7d3035084eb31 lib/core/unescaper.py e7fb8c09fe7520c32895b859c4edf77a lib/core/update.py c976dd450b663cb4455cd9efbbcf625b lib/core/wordlist.py