From f4e36fc0495ac519f24f0dd98d41e57e84d58917 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 28 Oct 2016 11:52:48 +0200 Subject: [PATCH] Patch for an Issue #2252 --- lib/core/settings.py | 2 +- lib/utils/hashdb.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index d85ab1401..9bdacc33e 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.0.10.58" +VERSION = "1.0.10.59" 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/hashdb.py b/lib/utils/hashdb.py index 13b8253a7..90146abbf 100644 --- a/lib/utils/hashdb.py +++ b/lib/utils/hashdb.py @@ -98,7 +98,7 @@ class HashDB(object): time.sleep(1) - if unserialize: + if retVal and unserialize: try: retVal = unserializeObject(retVal) except: diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 5f0ba1fe4..1c445ed56 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py 5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py 99a2b496b9d5b546b335653ca801153f lib/core/revision.py 7c15dd2777af4dac2c89cab6df17462e lib/core/session.py -e78be7882591863c78b2ad408ad2cfee lib/core/settings.py +8f72331b896fb1c0fe3760b85ab0e9af lib/core/settings.py 7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py 23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py c3ace7874a536d801f308cf1fd03df99 lib/core/target.py @@ -103,7 +103,7 @@ f5d6884cdeed28281187c111d3e49e3b lib/techniques/union/test.py 8cdc8c1e663c3b92a756fb7b02cc3c02 lib/utils/crawler.py 84604ae4cf0f31602b412036b51f5dae lib/utils/deps.py 4dfd3a95e73e806f62372d63bc82511f lib/utils/getch.py -1ee6c7c7736790298345fc4f2a08c0c7 lib/utils/hashdb.py +b3f589e6e634b1d57f6bc6f1709c8ab1 lib/utils/hashdb.py 0330607242d4f704ae6d7bba5f52ccae lib/utils/hash.py a3e885f7d4c6ff05db1156244bb84158 lib/utils/htmlentities.py cc9c82cfffd8ee9b25ba3af6284f057e lib/utils/__init__.py