From 932aa8dd94ce5e2f8cd473ac0f32f34d915e22d8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 28 Sep 2018 13:12:21 +0200 Subject: [PATCH] Fixes #3262 --- lib/core/bigarray.py | 2 +- lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/bigarray.py b/lib/core/bigarray.py index f12d23148..b99c6f980 100644 --- a/lib/core/bigarray.py +++ b/lib/core/bigarray.py @@ -126,7 +126,7 @@ class BigArray(list): try: with open(self.chunks[index], "rb") as f: self.cache = Cache(index, pickle.loads(bz2.decompress(f.read())), False) - except IOError, ex: + except Exception, ex: errMsg = "exception occurred while retrieving data " errMsg += "from a temporary file ('%s')" % ex.message raise SqlmapSystemException(errMsg) diff --git a/lib/core/settings.py b/lib/core/settings.py index 355459dd1..c87a02653 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.2.9.41" +VERSION = "1.2.9.42" 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/txt/checksum.md5 b/txt/checksum.md5 index 6abbdd545..cb5a6e1a0 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -29,7 +29,7 @@ c414cecdb0472c92cf50ed5b01e4438c lib/controller/controller.py c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py 1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py 8eb0a5dbd79bd58fedac4c0cc344246b lib/core/agent.py -fd8f239e259afaf5f24bcf34a0ad187f lib/core/bigarray.py +c347f085bd561adfa26d3a9512e5f3b9 lib/core/bigarray.py cbf9428039f52d8ee80fcf79b6583b7c lib/core/common.py 0d082da16c388b3445e656e0760fb582 lib/core/convert.py 9f87391b6a3395f7f50830b391264f27 lib/core/data.py @@ -50,7 +50,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -59274b9acea517616aed86e58808e02d lib/core/settings.py +987652d171b26820be98f557354bb5cf lib/core/settings.py dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 62bc180e3e828949ffb342a8f756c183 lib/core/target.py