Skip to content

Commit 04bf68f

Browse files
committed
Fixes #6005
1 parent 1da33b9 commit 04bf68f

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

data/txt/sha256sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ e18c0c2c5a57924a623792a48bfd36e98d9bc085f6db61a95fc0dc8a3bcedc0c lib/core/decor
189189
48797d6c34dd9bb8a53f7f3794c85f4288d82a9a1d6be7fcf317d388cb20d4b3 lib/core/replication.py
190190
3574639db4942d16a2dc0a2f04bb7c0913c40c3862b54d34c44075a760e0c194 lib/core/revision.py
191191
888daba83fd4a34e9503fe21f01fef4cc730e5cde871b1d40e15d4cbc847d56c lib/core/session.py
192-
c5b19612760a7cf54bd9f86670289ecc21882cafd6c1065e8c9c5b328b0bdb07 lib/core/settings.py
192+
0917978a3c8cdcc2b3a746d21b153a21ab9fb9c93746a8f500b125ca37b99a65 lib/core/settings.py
193193
cd5a66deee8963ba8e7e9af3dd36eb5e8127d4d68698811c29e789655f507f82 lib/core/shell.py
194194
bcb5d8090d5e3e0ef2a586ba09ba80eef0c6d51feb0f611ed25299fbb254f725 lib/core/subprocessng.py
195195
d35650179816193164a5f177102f18379dfbe6bb6d40fbb67b78d907b41c8038 lib/core/target.py
@@ -206,7 +206,7 @@ c5b258be7485089fac9d9cd179960e774fbd85e62836dc67cce76cc028bb6aeb lib/parse/hand
206206
97361d481a97b600a3086b7f228f54ffa68a78df8b63b76bfaa5495d66770b63 lib/parse/headers.py
207207
1ad9054cd8476a520d4e2c141085ae45d94519df5c66f25fac41fe7d552ab952 lib/parse/html.py
208208
1966ca704961fb987ab757f0a4afddbf841d1a880631b701487c75cef63d60c3 lib/parse/__init__.py
209-
4ca378496510a02c0184b45107889625dc7faf459073e83b3520c66674049af4 lib/parse/payloads.py
209+
d2e771cdacef25ee3fdc0e0355b92e7cd1b68f5edc2756ffc19f75d183ba2c73 lib/parse/payloads.py
210210
80d26a30abe948faf817a14f746cc8b3e2341ea8286830cccaae253b8ac0cdff lib/parse/sitemap.py
211211
1be3da334411657461421b8a26a0f2ff28e1af1e28f1e963c6c92768f9b0847c lib/request/basicauthhandler.py
212212
a1c638493ecdc5194db7186bbfed815c6eed2344f2607cac8c9fa50534824266 lib/request/basic.py

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.10.1.27"
22+
VERSION = "1.10.1.28"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/parse/payloads.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def parseXmlNode(node):
4444
for element in node.findall("boundary"):
4545
boundary = AttribDict()
4646

47-
for child in element:
47+
for child in element.findall("*"):
4848
if child.text:
4949
values = cleanupVals(child.text, child.tag)
5050
boundary[child.tag] = values
@@ -56,18 +56,19 @@ def parseXmlNode(node):
5656
for element in node.findall("test"):
5757
test = AttribDict()
5858

59-
for child in element:
59+
for child in element.findall("*"):
6060
if child.text and child.text.strip():
6161
values = cleanupVals(child.text, child.tag)
6262
test[child.tag] = values
6363
else:
64-
if len(child.findall("*")) == 0:
64+
progeny = child.findall("*")
65+
if len(progeny) == 0:
6566
test[child.tag] = None
6667
continue
6768
else:
6869
test[child.tag] = AttribDict()
6970

70-
for gchild in child:
71+
for gchild in progeny:
7172
if gchild.tag in test[child.tag]:
7273
prevtext = test[child.tag][gchild.tag]
7374
test[child.tag][gchild.tag] = [prevtext, gchild.text]

0 commit comments

Comments
 (0)