This commit is contained in:
Your Name 2026-04-17 10:42:01 +02:00
parent 93cbbc2378
commit 39b8ff4bec
3 changed files with 7 additions and 3 deletions

View file

@ -20,7 +20,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.4.3"
VERSION = "1.10.4.4"
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)

View file

@ -561,6 +561,10 @@ class Connect(object):
else:
post = getBytes(post)
# Reference: https://github.com/sqlmapproject/sqlmap/issues/6049
if cmdLineOptions.method is None and method == HTTPMETHOD.GET and post == b"":
post = None
if unArrayizeValue(conf.base64Parameter) == HTTPMETHOD.POST:
if kb.place != HTTPMETHOD.POST:
conf.data = getattr(conf.data, UNENCODED_ORIGINAL_VALUE, conf.data)