From f08163f8a2a1c592a45cc61aa4a4b9e25e476ba3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 7 May 2019 16:07:29 +0200 Subject: [PATCH] Minor DREI patch --- lib/controller/handler.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/controller/handler.py b/lib/controller/handler.py index 170bf9ed6..1be892633 100644 --- a/lib/controller/handler.py +++ b/lib/controller/handler.py @@ -113,7 +113,7 @@ def setHandler(): conf.dbmsConnector.connect() except Exception as ex: if exception: - raise exception + raise else: if not isinstance(ex, NameError): raise diff --git a/lib/core/settings.py b/lib/core/settings.py index 0d5f91452..d5efb7b88 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.3.5.37" +VERSION = "1.3.5.38" 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)