mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #4710
This commit is contained in:
parent
7c41967865
commit
5ea08b397a
2 changed files with 5 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ from lib.core.common import openFile
|
|||
from lib.core.common import prioritySortColumns
|
||||
from lib.core.common import randomInt
|
||||
from lib.core.common import safeCSValue
|
||||
from lib.core.common import unArrayizeValue
|
||||
from lib.core.common import unsafeSQLIdentificatorNaming
|
||||
from lib.core.compat import xrange
|
||||
from lib.core.convert import getBytes
|
||||
|
|
@ -116,6 +117,9 @@ class Dump(object):
|
|||
if conf.api:
|
||||
self._write(data, content_type=content_type)
|
||||
|
||||
if isListLike(data) and len(data) == 1:
|
||||
data = unArrayizeValue(data)
|
||||
|
||||
if isListLike(data):
|
||||
self.lister(header, data, content_type, sort)
|
||||
elif data is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue