Fixing AttribDict/pickle issue

This commit is contained in:
Miroslav Stampar 2026-02-01 23:03:00 +01:00
parent d54907da1d
commit 5640ba7795
3 changed files with 5 additions and 3 deletions

View file

@ -38,6 +38,8 @@ class AttribDict(dict):
Maps values to attributes
Only called if there *is NOT* an attribute with this name
"""
if item.startswith('__') and item.endswith('__'):
raise AttributeError(item)
try:
return self.__getitem__(item)

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.2.0"
VERSION = "1.10.2.1"
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)