Script now prints error and exits on hash missmatch

This commit is contained in:
cyian-1756 2018-06-07 06:15:14 -04:00
parent 3084d04893
commit 3eccf29596

View File

@ -68,6 +68,7 @@ if expectedHash != actualHash:
print("[!] Error: expected hash of file and actual hash differ")
print("[!] Expected hash is {}".format(expectedHash))
print("[!] Actual hash is {}".format(actualHash))
sys.exit(1)
# Ask the user to review the information before we precede
# This only runs in we're in interactive mode