Minor update

This commit is contained in:
Your Name 2026-05-02 08:59:38 +02:00
parent 026e5d05f4
commit dfbba622fc
3 changed files with 5 additions and 8 deletions

View file

@ -439,10 +439,7 @@ def stdoutEncode(value):
if isinstance(value, (bytes, bytearray)):
value = getUnicode(value, encoding)
elif not isinstance(value, str):
# Non-string values (e.g. dicts passed through the REST API path,
# where the overridden sys.stdout.write JSON-encodes the value)
# must be returned unchanged — stringifying them via str() yields
# Python repr() output that the API consumer cannot parse.
# Reference: https://github.com/sqlmapproject/sqlmap/issues/6054
return value
try:

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.13"
VERSION = "1.10.5.0"
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)