mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-18 22:20:22 +00:00
Minor patch for multiple-dbms tags
This commit is contained in:
parent
91239a3c10
commit
a184c89a6b
2 changed files with 5 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.8.54"
|
||||
VERSION = "1.10.8.55"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
|||
|
|
@ -71,7 +71,10 @@ def parseXmlNode(node):
|
|||
for gchild in progeny:
|
||||
if gchild.tag in test[child.tag]:
|
||||
prevtext = test[child.tag][gchild.tag]
|
||||
test[child.tag][gchild.tag] = [prevtext, gchild.text]
|
||||
if isinstance(prevtext, list):
|
||||
prevtext.append(gchild.text)
|
||||
else:
|
||||
test[child.tag][gchild.tag] = [prevtext, gchild.text]
|
||||
else:
|
||||
test[child.tag][gchild.tag] = gchild.text
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue