mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-16 07:02:02 +03:00
Minor possible bug fix
This commit is contained in:
parent
f95098693f
commit
3b5c5cc457
|
@ -151,8 +151,14 @@ def paramToDict(place, parameters=None):
|
|||
|
||||
for child in iterator:
|
||||
parameter = child.tag
|
||||
|
||||
if "}" in parameter:
|
||||
testParam = parameter.split("}")[1]
|
||||
else:
|
||||
testParam = parameter
|
||||
|
||||
condition = not conf.testParameter
|
||||
condition |= parameter.split("}")[1] in conf.testParameter
|
||||
condition |= testParam in conf.testParameter
|
||||
|
||||
if condition:
|
||||
testableParameters[parameter] = child.text
|
||||
|
|
Loading…
Reference in New Issue
Block a user