mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-19 04:49:03 +00:00
Minor update
This commit is contained in:
@@ -47,8 +47,8 @@ def _size_of(instance):
|
||||
return retval
|
||||
elif isinstance(instance, dict):
|
||||
retval += sum(_size_of(_) for _ in itertools.chain.from_iterable(instance.items()))
|
||||
elif hasattr(instance, "__iter__"):
|
||||
retval += sum(_size_of(_) for _ in instance if _ != instance)
|
||||
elif isinstance(instance, (list, tuple, set, frozenset)):
|
||||
retval += sum(_size_of(_) for _ in instance if _ is not instance)
|
||||
|
||||
return retval
|
||||
|
||||
|
||||
@@ -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.30"
|
||||
VERSION = "1.9.12.31"
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user