mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor fix (to accept -p cookie without need for raising --level / as it's already done for referer and user_agent)
This commit is contained in:
@@ -545,6 +545,7 @@ def paramToDict(place, parameters=None):
|
||||
|
||||
condition = not conf.testParameter
|
||||
condition |= parameter in conf.testParameter
|
||||
condition |= place == PLACE.COOKIE and len(intersect((PLACE.COOKIE,), conf.testParameter, True)) > 0
|
||||
|
||||
if condition:
|
||||
testableParameters[parameter] = "=".join(parts[1:])
|
||||
|
||||
Reference in New Issue
Block a user