This commit is contained in:
Miroslav Stampar
2022-11-01 23:26:15 +01:00
parent c382321134
commit eda669e10b
4 changed files with 9 additions and 10 deletions

View File

@@ -278,6 +278,7 @@ else:
buffer = buffer
try:
from pkg_resources import parse_version as LooseVersion
from packaging import version
LooseVersion = version.parse
except ImportError:
from distutils.version import LooseVersion

View File

@@ -2166,7 +2166,6 @@ def _setKnowledgeBaseAttributes(flushAll=True):
kb.testType = None
kb.threadContinue = True
kb.threadException = False
kb.tlsSNI = {}
kb.uChar = NULL
kb.udfFail = False
kb.unionDuplicates = False

View File

@@ -20,7 +20,7 @@ from thirdparty import six
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.6.10.8"
VERSION = "1.6.11.2"
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)