From 16583318109b58350b26007e05ba5745a245b75a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 9 Sep 2020 14:07:13 +0200 Subject: [PATCH] Trivial update --- lib/core/settings.py | 2 +- lib/request/redirecthandler.py | 2 +- tamper/hex2char.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 212c20821..d82145369 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.4.9.6" +VERSION = "1.4.9.7" 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/request/redirecthandler.py b/lib/request/redirecthandler.py index b0eaf3784..049108189 100644 --- a/lib/request/redirecthandler.py +++ b/lib/request/redirecthandler.py @@ -160,7 +160,7 @@ class SmartRedirectHandler(_urllib.request.HTTPRedirectHandler): if not hasattr(result, "read"): def _(self, length=None): try: - retVal = getSafeExString(ex) + retVal = getSafeExString(ex) # Note: pyflakes mistakenly marks 'ex' as undefined (NOTE: tested in both Python2 and Python3) except: retVal = "" return retVal diff --git a/tamper/hex2char.py b/tamper/hex2char.py index 5df432650..aae8ea415 100644 --- a/tamper/hex2char.py +++ b/tamper/hex2char.py @@ -5,6 +5,7 @@ Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ +import os import re from lib.core.common import singleTimeWarnMessage