mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Fixes #4483
This commit is contained in:
parent
d9e6e678e8
commit
85c6d0d5c1
3 changed files with 15 additions and 1 deletions
|
|
@ -1868,6 +1868,8 @@ def _cleanupOptions():
|
|||
|
||||
if conf.exclude:
|
||||
regex = False
|
||||
original = conf.exclude
|
||||
|
||||
if any(_ in conf.exclude for _ in ('+', '*')):
|
||||
try:
|
||||
re.compile(conf.exclude)
|
||||
|
|
@ -1882,6 +1884,12 @@ def _cleanupOptions():
|
|||
else:
|
||||
conf.exclude = re.sub(r"(\w+)\$", r"\g<1>\$", conf.exclude)
|
||||
|
||||
class _(six.text_type):
|
||||
pass
|
||||
|
||||
conf.exclude = _(conf.exclude)
|
||||
conf.exclude._original = original
|
||||
|
||||
if conf.binaryFields:
|
||||
conf.binaryFields = conf.binaryFields.replace(" ", "")
|
||||
conf.binaryFields = re.split(PARAMETER_SPLITTING_REGEX, conf.binaryFields)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
|||
from thirdparty.six import unichr as _unichr
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.4.12.23"
|
||||
VERSION = "1.4.12.24"
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue