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

@ -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)