mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
minor fix
This commit is contained in:
parent
97d8729d71
commit
5190440ea2
1 changed files with 2 additions and 2 deletions
|
|
@ -329,7 +329,7 @@ def __loadQueries():
|
|||
if retVal is None:
|
||||
retVal = DictObject()
|
||||
|
||||
for child in node.findall("./"):
|
||||
for child in node.findall("*"):
|
||||
instance = DictObject()
|
||||
retVal.__dict__[child.tag] = instance
|
||||
if child.attrib:
|
||||
|
|
@ -342,7 +342,7 @@ def __loadQueries():
|
|||
tree = ElementTree()
|
||||
tree.parse(paths.QUERIES_XML)
|
||||
|
||||
for node in tree.findall("./"):
|
||||
for node in tree.findall("*"):
|
||||
queries[node.attrib['value']] = iterate(node)
|
||||
|
||||
def __setMultipleTargets():
|
||||
|
|
|
|||
Loading…
Reference in a new issue