This commit is contained in:
Miroslav Štampar
2026-09-23 09:25:22 +02:00
parent e1537fe809
commit 8ac458c6bc
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -113,7 +113,11 @@ class Agent(object):
paramDict = conf.paramDict[place]
origValue = getUnicode(paramDict[parameter])
newValue = getUnicode(newValue) if newValue else newValue
base64Encoding = re.sub(r" \(.+", "", parameter) in conf.base64Parameter
try:
# Dirty patch for Python 3.14.7 re.sub() regression (e.g. https://github.com/sqlmapproject/sqlmap/issues/6128)
base64Encoding = re.sub(r" \(.+", "", parameter) in conf.base64Parameter
except TypeError:
base64Encoding = False
if place == PLACE.URI or BOUNDED_INJECTION_MARKER in origValue:
paramString = origValue
+1 -1
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.9.21"
VERSION = "1.10.9.22"
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)