From e5086ef61a9761c91125a011036748409c01edd3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 18 Jan 2021 12:29:35 +0100 Subject: [PATCH] Fixes #4545 --- lib/core/common.py | 3 ++- lib/core/settings.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 7b52e85c7..f604d3a07 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1059,7 +1059,8 @@ def dataToDumpFile(dumpFile, data): errMsg = "permission denied when flushing dump data" logger.error(errMsg) else: - raise + errMsg = "error occurred when writing dump data to file ('%s')" % getUnicode(ex) + logger.error(errMsg) def dataToOutFile(filename, data): """ diff --git a/lib/core/settings.py b/lib/core/settings.py index 1066c8026..c0e2f3d35 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.5.1.34" +VERSION = "1.5.1.35" 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)