mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Minor patch when trailing space is used with comma to split option items (e.g. '-C id, name')
This commit is contained in:
parent
e3a0f25db0
commit
e0a8b89069
|
@ -1567,6 +1567,15 @@ def _cleanupOptions():
|
|||
if conf.torType:
|
||||
conf.torType = conf.torType.upper()
|
||||
|
||||
if conf.col:
|
||||
conf.col = re.sub(r"\s*,\s*", ",", conf.col)
|
||||
|
||||
if conf.excludeCol:
|
||||
conf.excludeCol = re.sub(r"\s*,\s*", ",", conf.excludeCol)
|
||||
|
||||
if conf.binaryFields:
|
||||
conf.binaryFields = re.sub(r"\s*,\s*", ",", conf.binaryFields)
|
||||
|
||||
threadData = getCurrentThreadData()
|
||||
threadData.reset()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user