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