mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fixes #4483
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user