diff --git a/lib/core/settings.py b/lib/core/settings.py index 308672b5d..93fff3647 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.6.7" +VERSION = "1.3.6.8" 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 bf9327c48..332085f23 100644 --- a/lib/core/threads.py +++ b/lib/core/threads.py @@ -77,8 +77,6 @@ def getCurrentThreadData(): Returns current thread's local data """ - global ThreadData - return ThreadData def getCurrentThreadName(): diff --git a/lib/parse/configfile.py b/lib/parse/configfile.py index 22aa3e2a2..dc6c4ac63 100644 --- a/lib/parse/configfile.py +++ b/lib/parse/configfile.py @@ -27,8 +27,6 @@ def configFileProxy(section, option, datatype): advanced dictionary. """ - global config - if config.has_option(section, option): try: if datatype == OPTION_TYPE.BOOLEAN: