How To Check or Verify File Integrity

The best way to verify file integrity (i.e. large file downloaded from internet) is by generating a Checksum/Hash and check if it matches.

BaSH

PowerShell

TIP

If you are looking for a specific file when you know its md5 checksum it’s possible to find it even if was renamed or moved with a simple script like this. Sometimes Malware or Virus are identified by their hash/checksum.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.