From 2a681b7bd68c84248d2e200c9c6ad910f6d1b919 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 5 Apr 2018 12:25:41 +0200 Subject: [PATCH] Fixes #3027 --- lib/core/readlineng.py | 4 ++-- lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/core/readlineng.py b/lib/core/readlineng.py index d7e2f3a62..2ff8b70c8 100644 --- a/lib/core/readlineng.py +++ b/lib/core/readlineng.py @@ -14,11 +14,11 @@ _readline = None try: from readline import * import readline as _readline -except ImportError: +except: try: from pyreadline import * import pyreadline as _readline - except ImportError: + except: pass if IS_WIN and _readline: diff --git a/lib/core/settings.py b/lib/core/settings.py index af23c3b9f..263815080 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.4.2" +VERSION = "1.2.4.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) diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 52f65a8fe..4989c8c65 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -42,11 +42,11 @@ cada93357a7321655927fc9625b3bfec lib/core/exception.py c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py b950c8c2f2ae87ad2ec99e1d19b2c03a lib/core/option.py 7cfd04e583cca782b843f6f6d973981a lib/core/profiling.py -ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py +6f654e1715571eff68a0f8af3d62dcf8 lib/core/readlineng.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -8c0c10ba91a0cac1315573757a5df233 lib/core/settings.py +18951ad78a0c84df536edef011b2c0f0 lib/core/settings.py 0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py a35efa7bec9f1e6cedf17c9830a79241 lib/core/target.py