Minor update regarding the #3834

This commit is contained in:
Miroslav Stampar 2019-07-19 12:24:34 +02:00
parent 0bc5069042
commit 198ceb8ba1
2 changed files with 3 additions and 1 deletions

View File

@ -1591,6 +1591,8 @@ def _cleanupOptions():
left, right = part.split('=', 1) left, right = part.split('=', 1)
conf.rParam.append(left) conf.rParam.append(left)
kb.randomPool[left] = filterNone(_.strip() for _ in right.split(',')) kb.randomPool[left] = filterNone(_.strip() for _ in right.split(','))
else:
conf.rParam.append(part)
else: else:
conf.rParam = conf.rParam.replace(" ", "") conf.rParam = conf.rParam.replace(" ", "")
conf.rParam = re.split(PARAMETER_SPLITTING_REGEX, conf.rParam) conf.rParam = re.split(PARAMETER_SPLITTING_REGEX, conf.rParam)

View File

@ -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.7.37" VERSION = "1.3.7.38"
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)