From 7c41967865eff84b57d89bb317102004a7f9d1b5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 21 Jun 2021 17:17:41 +0200 Subject: [PATCH] Fixes #4719 --- lib/core/replication.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/replication.py b/lib/core/replication.py index 11ee56e6f..1e43d31e0 100644 --- a/lib/core/replication.py +++ b/lib/core/replication.py @@ -29,7 +29,7 @@ class Replication(object): self.cursor = self.connection.cursor() except sqlite3.OperationalError as ex: errMsg = "error occurred while opening a replication " - errMsg += "file '%s' ('%s')" % (self.filepath, getSafeExString(ex)) + errMsg += "file '%s' ('%s')" % (dbpath, getSafeExString(ex)) raise SqlmapConnectionException(errMsg) class DataType(object): diff --git a/lib/core/settings.py b/lib/core/settings.py index 065f819e9..14659b0b1 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.5.6.3" +VERSION = "1.5.6.4" 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)