mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
Trivial update (unused globals)
This commit is contained in:
parent
c00a642569
commit
2b79f45cbc
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty.six import unichr as _unichr
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.3.6.7"
|
VERSION = "1.3.6.8"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
|
@ -77,8 +77,6 @@ def getCurrentThreadData():
|
||||||
Returns current thread's local data
|
Returns current thread's local data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
global ThreadData
|
|
||||||
|
|
||||||
return ThreadData
|
return ThreadData
|
||||||
|
|
||||||
def getCurrentThreadName():
|
def getCurrentThreadName():
|
||||||
|
|
|
@ -27,8 +27,6 @@ def configFileProxy(section, option, datatype):
|
||||||
advanced dictionary.
|
advanced dictionary.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
global config
|
|
||||||
|
|
||||||
if config.has_option(section, option):
|
if config.has_option(section, option):
|
||||||
try:
|
try:
|
||||||
if datatype == OPTION_TYPE.BOOLEAN:
|
if datatype == OPTION_TYPE.BOOLEAN:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user