mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-27 08:23:14 +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:
|
for child in iterator:
|
||||||
parameter = child.tag
|
parameter = child.tag
|
||||||
|
|
||||||
|
if "}" in parameter:
|
||||||
|
testParam = parameter.split("}")[1]
|
||||||
|
else:
|
||||||
|
testParam = parameter
|
||||||
|
|
||||||
condition = not conf.testParameter
|
condition = not conf.testParameter
|
||||||
condition |= parameter.split("}")[1] in conf.testParameter
|
condition |= testParam in conf.testParameter
|
||||||
|
|
||||||
if condition:
|
if condition:
|
||||||
testableParameters[parameter] = child.text
|
testableParameters[parameter] = child.text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user