From ca2f094e4aed1bbf2a663c3e92d3eef6243626c5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 27 Feb 2023 17:57:57 +0100 Subject: [PATCH] Doing a dirty patch for #5050 --- lib/core/common.py | 1 + lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index a691edc2a..e061b511f 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -5394,6 +5394,7 @@ def parseRequestFile(reqFile, checkParams=True): # headers and consider the following lines as # POSTed data if key.upper() == HTTP_HEADER.CONTENT_LENGTH.upper(): + data = "" params = True # Avoid proxy and connection type related headers diff --git a/lib/core/settings.py b/lib/core/settings.py index 52ef3ae41..ec5d70f91 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.7.2.20" +VERSION = "1.7.2.21" 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)