From 1d1da45782595ff5379116164646608c69bba182 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 22 Oct 2019 14:39:53 +0200 Subject: [PATCH] Fixes #3978 --- 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 4988f103e..3f7843a60 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -197,7 +197,7 @@ class Dump(object): self._areAdmins = userSettings[1] userSettings = userSettings[0] - users = list(userSettings.keys()) + users = [_ for _ in userSettings.keys() if _ is not None] users.sort(key=lambda _: _.lower() if hasattr(_, "lower") else _) if conf.api: diff --git a/lib/core/settings.py b/lib/core/settings.py index 494d6d9ee..91287d2c5 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.10.23" +VERSION = "1.3.10.24" 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)