mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor fix
This commit is contained in:
@@ -329,7 +329,7 @@ def __loadQueries():
|
|||||||
if retVal is None:
|
if retVal is None:
|
||||||
retVal = DictObject()
|
retVal = DictObject()
|
||||||
|
|
||||||
for child in node.findall("./"):
|
for child in node.findall("*"):
|
||||||
instance = DictObject()
|
instance = DictObject()
|
||||||
retVal.__dict__[child.tag] = instance
|
retVal.__dict__[child.tag] = instance
|
||||||
if child.attrib:
|
if child.attrib:
|
||||||
@@ -342,7 +342,7 @@ def __loadQueries():
|
|||||||
tree = ElementTree()
|
tree = ElementTree()
|
||||||
tree.parse(paths.QUERIES_XML)
|
tree.parse(paths.QUERIES_XML)
|
||||||
|
|
||||||
for node in tree.findall("./"):
|
for node in tree.findall("*"):
|
||||||
queries[node.attrib['value']] = iterate(node)
|
queries[node.attrib['value']] = iterate(node)
|
||||||
|
|
||||||
def __setMultipleTargets():
|
def __setMultipleTargets():
|
||||||
|
|||||||
Reference in New Issue
Block a user