Debugging CI/CD failure

This commit is contained in:
Miroslav Stampar
2024-03-01 12:23:43 +01:00
parent d2e3eaceaf
commit b50e07d03e
3 changed files with 4 additions and 3 deletions

View File

@@ -5583,6 +5583,7 @@ def checkSums():
filepath = os.path.join(paths.SQLMAP_ROOT_PATH, filename).replace('/', os.path.sep)
checkFile(filepath)
if not hashlib.sha256(open(filepath, "rb").read()).hexdigest() == expected:
print(filepath, hashlib.sha256(open(filepath, "rb").read()).hexdigest(), expected)
retVal &= False
break

View File

@@ -20,7 +20,7 @@ from thirdparty import six
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.8.3.5"
VERSION = "1.8.3.6"
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)