diff --git a/lib/core/settings.py b/lib/core/settings.py index 3ea887c0d..6872a9a3f 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -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) diff --git a/lib/parse/payloads.py b/lib/parse/payloads.py index 24ee83e1a..a84ac1dbc 100644 --- a/lib/parse/payloads.py +++ b/lib/parse/payloads.py @@ -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