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)