Revert of previous commit

This commit is contained in:
Miroslav Stampar 2019-05-07 16:09:28 +02:00
parent f08163f8a2
commit 2e75662a6d
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ def setHandler():
conf.dbmsConnector.connect() conf.dbmsConnector.connect()
except Exception as ex: except Exception as ex:
if exception: if exception:
raise raise exception
else: else:
if not isinstance(ex, NameError): if not isinstance(ex, NameError):
raise raise

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty import six from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.5.38" VERSION = "1.3.5.39"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} 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) VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)