mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-13 11:42:26 +01:00
Fixes #6005
This commit is contained in:
parent
1da33b9901
commit
04bf68f4ea
3 changed files with 8 additions and 7 deletions
|
|
@ -189,7 +189,7 @@ e18c0c2c5a57924a623792a48bfd36e98d9bc085f6db61a95fc0dc8a3bcedc0c lib/core/decor
|
|||
48797d6c34dd9bb8a53f7f3794c85f4288d82a9a1d6be7fcf317d388cb20d4b3 lib/core/replication.py
|
||||
3574639db4942d16a2dc0a2f04bb7c0913c40c3862b54d34c44075a760e0c194 lib/core/revision.py
|
||||
888daba83fd4a34e9503fe21f01fef4cc730e5cde871b1d40e15d4cbc847d56c lib/core/session.py
|
||||
c5b19612760a7cf54bd9f86670289ecc21882cafd6c1065e8c9c5b328b0bdb07 lib/core/settings.py
|
||||
0917978a3c8cdcc2b3a746d21b153a21ab9fb9c93746a8f500b125ca37b99a65 lib/core/settings.py
|
||||
cd5a66deee8963ba8e7e9af3dd36eb5e8127d4d68698811c29e789655f507f82 lib/core/shell.py
|
||||
bcb5d8090d5e3e0ef2a586ba09ba80eef0c6d51feb0f611ed25299fbb254f725 lib/core/subprocessng.py
|
||||
d35650179816193164a5f177102f18379dfbe6bb6d40fbb67b78d907b41c8038 lib/core/target.py
|
||||
|
|
@ -206,7 +206,7 @@ c5b258be7485089fac9d9cd179960e774fbd85e62836dc67cce76cc028bb6aeb lib/parse/hand
|
|||
97361d481a97b600a3086b7f228f54ffa68a78df8b63b76bfaa5495d66770b63 lib/parse/headers.py
|
||||
1ad9054cd8476a520d4e2c141085ae45d94519df5c66f25fac41fe7d552ab952 lib/parse/html.py
|
||||
1966ca704961fb987ab757f0a4afddbf841d1a880631b701487c75cef63d60c3 lib/parse/__init__.py
|
||||
4ca378496510a02c0184b45107889625dc7faf459073e83b3520c66674049af4 lib/parse/payloads.py
|
||||
d2e771cdacef25ee3fdc0e0355b92e7cd1b68f5edc2756ffc19f75d183ba2c73 lib/parse/payloads.py
|
||||
80d26a30abe948faf817a14f746cc8b3e2341ea8286830cccaae253b8ac0cdff lib/parse/sitemap.py
|
||||
1be3da334411657461421b8a26a0f2ff28e1af1e28f1e963c6c92768f9b0847c lib/request/basicauthhandler.py
|
||||
a1c638493ecdc5194db7186bbfed815c6eed2344f2607cac8c9fa50534824266 lib/request/basic.py
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.1.27"
|
||||
VERSION = "1.10.1.28"
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ def parseXmlNode(node):
|
|||
for element in node.findall("boundary"):
|
||||
boundary = AttribDict()
|
||||
|
||||
for child in element:
|
||||
for child in element.findall("*"):
|
||||
if child.text:
|
||||
values = cleanupVals(child.text, child.tag)
|
||||
boundary[child.tag] = values
|
||||
|
|
@ -56,18 +56,19 @@ def parseXmlNode(node):
|
|||
for element in node.findall("test"):
|
||||
test = AttribDict()
|
||||
|
||||
for child in element:
|
||||
for child in element.findall("*"):
|
||||
if child.text and child.text.strip():
|
||||
values = cleanupVals(child.text, child.tag)
|
||||
test[child.tag] = values
|
||||
else:
|
||||
if len(child.findall("*")) == 0:
|
||||
progeny = child.findall("*")
|
||||
if len(progeny) == 0:
|
||||
test[child.tag] = None
|
||||
continue
|
||||
else:
|
||||
test[child.tag] = AttribDict()
|
||||
|
||||
for gchild in child:
|
||||
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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue