This commit is contained in:
Miroslav Štampar
2026-09-04 09:03:25 +02:00
parent 691d2fa7ca
commit e10092efcd
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -905,6 +905,13 @@ def _setTamperingFunctions():
priority = PRIORITY.NORMAL if not hasattr(module, "__priority__") else module.__priority__
priority = priority if priority is not None else PRIORITY.LOWEST
if not isinstance(priority, int):
warnMsg = "tamper module '%s' has an invalid value for '__priority__' " % filename[:-3]
warnMsg += "(assuming '%d')" % PRIORITY.NORMAL
logger.warning(warnMsg)
priority = PRIORITY.NORMAL
for name, function in inspect.getmembers(module, inspect.isfunction):
if name == "tamper" and (hasattr(inspect, "signature") and all(_ in inspect.signature(function).parameters for _ in ("payload", "kwargs")) or inspect.getargspec(function).args and inspect.getargspec(function).keywords == "kwargs"):
found = True
+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.2"
VERSION = "1.10.9.3"
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)