From 015a8f0a6dcfe2d1f0039c3ec7d302421c26f6f8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 17 May 2021 10:40:27 +0200 Subject: [PATCH] Fixes #4678 --- lib/core/dump.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/dump.py b/lib/core/dump.py index ff207bc6c..336831674 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -611,7 +611,7 @@ class Dump(object): _ = safechardecode(value, True) f.write(_) - except magic.MagicException as ex: + except Exception as ex: logger.debug(getSafeExString(ex)) if conf.dumpFormat == DUMP_FORMAT.CSV: diff --git a/lib/core/settings.py b/lib/core/settings.py index c8cd51aa4..93e39c56a 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.5.5.2" +VERSION = "1.5.5.3" 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)