mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
minor refactoring
This commit is contained in:
parent
e522263640
commit
68ae8ea5b2
|
@ -1364,8 +1364,6 @@ def parseUnionPage(output, expression, partial=False, condition=None, sort=True)
|
||||||
for entry in output:
|
for entry in output:
|
||||||
entry = safecharencode(entry) if kb.safeCharEncode else entry
|
entry = safecharencode(entry) if kb.safeCharEncode else entry
|
||||||
|
|
||||||
info = []
|
|
||||||
|
|
||||||
if DUMP_DEL_MARKER in entry:
|
if DUMP_DEL_MARKER in entry:
|
||||||
entry = entry.split(DUMP_DEL_MARKER)
|
entry = entry.split(DUMP_DEL_MARKER)
|
||||||
else:
|
else:
|
||||||
|
@ -1374,10 +1372,7 @@ def parseUnionPage(output, expression, partial=False, condition=None, sort=True)
|
||||||
if len(entry) == 1:
|
if len(entry) == 1:
|
||||||
data.append(entry[0])
|
data.append(entry[0])
|
||||||
else:
|
else:
|
||||||
for value in entry:
|
data.append(list(entry))
|
||||||
info.append(value)
|
|
||||||
|
|
||||||
data.append(info)
|
|
||||||
else:
|
else:
|
||||||
data = output
|
data = output
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user