Minor patch for #2852

This commit is contained in:
Miroslav Stampar 2017-12-29 13:52:15 +01:00
parent 66c1f72a16
commit 84b7a26bfd
3 changed files with 6 additions and 3 deletions

View File

@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
from lib.core.enums import OS
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
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)

View File

@ -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":

View File

@ -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