From 82f0f06b4b7469c24c1014c797f613d65c079eaf Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 13 May 2019 14:17:32 +0200 Subject: [PATCH] Fixes #3646 --- lib/core/settings.py | 2 +- thirdparty/clientform/clientform.py | 30 +++++++++++++++-------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 676e723ea..a2044ca44 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.3.5.85" +VERSION = "1.3.5.86" 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/thirdparty/clientform/clientform.py b/thirdparty/clientform/clientform.py index 4cda474dc..6a32eade5 100644 --- a/thirdparty/clientform/clientform.py +++ b/thirdparty/clientform/clientform.py @@ -109,7 +109,7 @@ try: except ImportError: from lib.utils import sgmllib -import sys, types, copy, re, random +import sys, re, random if sys.version_info >= (3, 0): xrange = range @@ -149,6 +149,14 @@ def compress_text(text): return _compress_re.sub(" ", text.strip()) def normalize_line_endings(text): return re.sub(r"(?:(?