mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor update on user's request
This commit is contained in:
@@ -543,6 +543,9 @@ def paramToDict(place, parameters=None):
|
|||||||
if len(parts) >= 2:
|
if len(parts) >= 2:
|
||||||
parameter = parts[0].replace(" ", "")
|
parameter = parts[0].replace(" ", "")
|
||||||
|
|
||||||
|
if conf.pDel and conf.pDel == '\n':
|
||||||
|
parts[-1] = parts[-1].rstrip()
|
||||||
|
|
||||||
condition = not conf.testParameter
|
condition = not conf.testParameter
|
||||||
condition |= parameter in conf.testParameter
|
condition |= parameter in conf.testParameter
|
||||||
condition |= place == PLACE.COOKIE and len(intersect((PLACE.COOKIE,), conf.testParameter, True)) > 0
|
condition |= place == PLACE.COOKIE and len(intersect((PLACE.COOKIE,), conf.testParameter, True)) > 0
|
||||||
|
|||||||
@@ -1395,6 +1395,9 @@ def _cleanupOptions():
|
|||||||
else:
|
else:
|
||||||
conf.rParam = []
|
conf.rParam = []
|
||||||
|
|
||||||
|
if conf.pDel:
|
||||||
|
conf.pDel = conf.pDel.decode("string_escape")
|
||||||
|
|
||||||
if conf.skip:
|
if conf.skip:
|
||||||
conf.skip = conf.skip.replace(" ", "")
|
conf.skip = conf.skip.replace(" ", "")
|
||||||
conf.skip = re.split(PARAMETER_SPLITTING_REGEX, conf.skip)
|
conf.skip = re.split(PARAMETER_SPLITTING_REGEX, conf.skip)
|
||||||
|
|||||||
Reference in New Issue
Block a user