diff --git a/lib/core/settings.py b/lib/core/settings.py index 7a78d9ecb..9519f4765 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.6.52" +VERSION = "1.3.6.53" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/plugins/generic/entries.py b/plugins/generic/entries.py index f5f894bc3..140e820fd 100644 --- a/plugins/generic/entries.py +++ b/plugins/generic/entries.py @@ -205,6 +205,9 @@ class Entries(object): value = inject.getValue(query, blind=False, time=False, dump=True) or "" row.append(value) + if not entries and isNoneValue(row): + break + entries.append(row) except KeyboardInterrupt: @@ -213,7 +216,7 @@ class Entries(object): warnMsg = "Ctrl+C detected in dumping phase" logger.warn(warnMsg) - if not entries and not kb.dumpKeyboardInterrupt: + if isNoneValue(entries) and not kb.dumpKeyboardInterrupt: try: retVal = pivotDumpTable(table, colList, blind=False) except KeyboardInterrupt: @@ -225,7 +228,7 @@ class Entries(object): if retVal: entries, _ = retVal - entries = _zip(*[entries[colName] for colName in colList]) + entries = BigArray(_zip(*[entries[colName] for colName in colList])) else: query = rootQuery.inband.query % (colString, conf.db, tbl) elif Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.PGSQL, DBMS.HSQLDB, DBMS.H2):