mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 19:22:48 +00:00
Fixes #5856
This commit is contained in:
parent
ff249d24c7
commit
25925961ba
3 changed files with 5 additions and 4 deletions
|
|
@ -5605,7 +5605,8 @@ def checkSums():
|
|||
if match:
|
||||
expected, filename = match.groups()
|
||||
filepath = os.path.join(paths.SQLMAP_ROOT_PATH, filename).replace('/', os.path.sep)
|
||||
checkFile(filepath)
|
||||
if not checkFile(filepath, False):
|
||||
continue
|
||||
with open(filepath, "rb") as f:
|
||||
content = f.read()
|
||||
if not hashlib.sha256(content).hexdigest() == expected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue