mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-22 08:05:57 +01:00
Minor possible bug fix
This commit is contained in:
parent
f95098693f
commit
3b5c5cc457
1 changed files with 7 additions and 1 deletions
|
|
@ -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 a new issue