From 2e75662a6d027008983b6fdc54b0c28a879665e7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 7 May 2019 16:09:28 +0200 Subject: [PATCH] Revert of previous commit --- 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 1be892633..170bf9ed6 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 + raise exception else: if not isinstance(ex, NameError): raise diff --git a/lib/core/settings.py b/lib/core/settings.py index d5efb7b88..9df30172c 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.38" +VERSION = "1.3.5.39" 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)