From fd4becf3897d7afde713e229d03241c0f7ed6b52 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 13 Aug 2019 12:27:28 +0200 Subject: [PATCH] Minor deprecation patch (drei) --- lib/core/settings.py | 2 +- lib/utils/httpd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 9cce31976..59fffe19a 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.3.8.7" +VERSION = "1.3.8.8" 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/httpd.py b/lib/utils/httpd.py index 1591ee1fa..afde95cdd 100644 --- a/lib/utils/httpd.py +++ b/lib/utils/httpd.py @@ -78,7 +78,7 @@ class ReqHandler(_BaseHTTPServer.BaseHTTPRequestHandler): self.send_header(HTTP_HEADER.CONNECTION, "close") if content is not None: - for match in re.finditer(b"<\!(\w+)\!>", content): + for match in re.finditer(b"", content): name = match.group(1) _ = getattr(self, "_%s" % name.lower(), None) if _: