This commit is contained in:
Miroslav Stampar
2025-07-13 23:54:17 +02:00
parent 12594c2dc7
commit 2ffaaca3d0
4 changed files with 15 additions and 6 deletions

View File

@@ -99,6 +99,15 @@ def dirtyPatches():
else:
os.urandom = lambda size: "".join(chr(random.randint(0, 255)) for _ in xrange(size))
# Reference: https://github.com/sqlmapproject/sqlmap/issues/5929
try:
global collections
if not hasattr(collections, "MutableSet"):
import collections.abc
collections.MutableSet = collections.abc.MutableSet
except ImportError:
pass
# Reference: https://github.com/sqlmapproject/sqlmap/issues/5727
# Reference: https://stackoverflow.com/a/14076841
try:

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.7.6"
VERSION = "1.9.7.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)