Minor modification

This commit is contained in:
Miroslav Stampar
2016-07-17 00:09:09 +02:00
parent 571d669a09
commit b83ee92cd1
3 changed files with 5 additions and 3 deletions

View File

@@ -3083,6 +3083,8 @@ def checkIntegrity():
Checks integrity of code files during the unhandled exceptions
"""
logger.debug("running code integrity check")
retVal = True
for checksum, _ in (re.split(r'\s+', _) for _ in getFileItems(paths.CHECKSUM_MD5)):
path = os.path.normpath(os.path.join(paths.SQLMAP_ROOT_PATH, _))