Minor bug fix

This commit is contained in:
Miroslav Stampar
2025-12-30 22:57:19 +01:00
parent e92a383fba
commit 60a306b34d
3 changed files with 5 additions and 5 deletions

View File

@@ -102,8 +102,8 @@ class AttribDict(dict):
return retVal
class InjectionDict(AttribDict):
def __init__(self):
AttribDict.__init__(self)
def __init__(self, **kwargs):
AttribDict.__init__(self, **kwargs)
self.place = None
self.parameter = None

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.12.47"
VERSION = "1.9.12.48"
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)