From 39c320c29b97c995cb84c73cf5fcd0812fd2f8b1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 3 Aug 2020 23:23:14 +0200 Subject: [PATCH] Fixes #4292 --- lib/core/dump.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/dump.py b/lib/core/dump.py index 4cd4adf9d..7f41e0fb9 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -241,7 +241,7 @@ class Dump(object): lines = "-" * (int(maxlength) + 2) for db, tables in dbTables.items(): - tables.sort() + tables = sorted(filter(None, tables)) self._write("Database: %s" % unsafeSQLIdentificatorNaming(db) if db else "Current database") diff --git a/lib/core/settings.py b/lib/core/settings.py index 4e3d303aa..65100c180 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.4.7.25" +VERSION = "1.4.8.0" 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)