Let's say, you have downloaded an operating system file from the internet and you are wondering whether it is the right file or it's been modified?
Most of the Applications and operating system ISO files today provide the checksum or SHA hash value as well.
Once you downloaded the file check the SHA values to confirm you have got the file with no modification.
Let's see how we can check the SHA hash to confirm the integrity of the downloaded file. In windows, you can use the Powershell command Get-FileHash
I have downloaded a file from the internet and saved it in the Download folder and the SHA has they had on the website
SHA1: 968126a78c9b56c019133fac3a5ec9a9c57db9ce
PS C:\Users\Instructor\Downloads> get-filehash .\debian-x64-buster-forensics.ova -Algorithm sha1
Alternatively, if you are using either macOS or Linux as your host environment, can calculate the SHA1 of the downloaded file using the following terminal command: shasum -a1
Terminal: shasum -a1 <file path>
If the calculated SHA1 value does not match the value provided above then you need to redownload or consider downloading from another location
No comments:
Post a Comment