Final glancing for DM8 (#5894)

This commit is contained in:
Miroslav Stampar
2025-05-08 16:16:33 +02:00
parent aa1eef9fa5
commit e5a80fa99c
3 changed files with 6 additions and 3 deletions

View File

@@ -426,6 +426,9 @@ class Agent(object):
payload = re.sub(r"(?i)\bNCHAR\b", "CHAR", payload)
elif hashDBRetrieve(HASHDB_KEYS.DBMS_FORK) in (FORK.DM8,):
payload = re.sub(r"(?i)\bSUBSTRC\(", "SUBSTR(", payload)
if "SYS.USER$" in payload:
payload = re.sub(r"(?i)\bSYS.USER\$", "DBA_USERS", payload)
payload = re.sub(r"(?i)\bNAME\b", "USERNAME", payload)
# NOTE: https://github.com/sqlmapproject/sqlmap/issues/5057
match = re.search(r"(=0x)(303a303a)3(\d{2,})", payload)

View File

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