mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Minor patch when trailing space is used with comma to split option items (e.g. '-C id, name')
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user