From 89a5892dd9bfdfcbe54759fb3adb03dd991f7c09 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 9 Sep 2019 11:15:13 +0200 Subject: [PATCH] Dirty patch for #3915 --- lib/core/settings.py | 2 +- lib/utils/sqlalchemy.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index c4d35015d..cd346ea8e 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.9.5" +VERSION = "1.3.9.6" 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) diff --git a/lib/utils/sqlalchemy.py b/lib/utils/sqlalchemy.py index 13d836105..ac862498b 100644 --- a/lib/utils/sqlalchemy.py +++ b/lib/utils/sqlalchemy.py @@ -76,7 +76,8 @@ class SQLAlchemy(GenericConnector): pass elif "invalid literal for int() with base 10: '0b" in traceback.format_exc(): raise SqlmapConnectionException("SQLAlchemy connection issue ('https://bitbucket.org/zzzeek/sqlalchemy/issues/3975')") - raise + else: + pass except SqlmapFilePathException: raise except Exception as ex: