mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-11 22:19:55 +00:00
Minor patch for multiple-dbms tags
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user