Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5650e1a

Browse files
committed
Fixes #3776
1 parent 39cb938 commit 5650e1a

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

lib/core/settings.py

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

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

plugins/generic/entries.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ def dumpTable(self, foundData=None):
205205
value = inject.getValue(query, blind=False, time=False, dump=True) or ""
206206
row.append(value)
207207

208+
if not entries and isNoneValue(row):
209+
break
210+
208211
entries.append(row)
209212

210213
except KeyboardInterrupt:
@@ -213,7 +216,7 @@ def dumpTable(self, foundData=None):
213216
warnMsg = "Ctrl+C detected in dumping phase"
214217
logger.warn(warnMsg)
215218

216-
if not entries and not kb.dumpKeyboardInterrupt:
219+
if isNoneValue(entries) and not kb.dumpKeyboardInterrupt:
217220
try:
218221
retVal = pivotDumpTable(table, colList, blind=False)
219222
except KeyboardInterrupt:
@@ -225,7 +228,7 @@ def dumpTable(self, foundData=None):
225228

226229
if retVal:
227230
entries, _ = retVal
228-
entries = _zip(*[entries[colName] for colName in colList])
231+
entries = BigArray(_zip(*[entries[colName] for colName in colList]))
229232
else:
230233
query = rootQuery.inband.query % (colString, conf.db, tbl)
231234
elif Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.PGSQL, DBMS.HSQLDB, DBMS.H2):

0 commit comments

Comments
 (0)