Skip to content

Commit 5ea08b3

Browse files
committed
1 parent 7c41967 commit 5ea08b3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/core/dump.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from lib.core.common import prioritySortColumns
2727
from lib.core.common import randomInt
2828
from lib.core.common import safeCSValue
29+
from lib.core.common import unArrayizeValue
2930
from lib.core.common import unsafeSQLIdentificatorNaming
3031
from lib.core.compat import xrange
3132
from lib.core.convert import getBytes
@@ -116,6 +117,9 @@ def string(self, header, data, content_type=None, sort=True):
116117
if conf.api:
117118
self._write(data, content_type=content_type)
118119

120+
if isListLike(data) and len(data) == 1:
121+
data = unArrayizeValue(data)
122+
119123
if isListLike(data):
120124
self.lister(header, data, content_type, sort)
121125
elif data is not None:

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

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

0 commit comments

Comments
 (0)