Checking a File's Hash - Windows, powershell, command prompt
Use this command prompt on Windows to check the SHA256 or MD5 hash from a file.
certutil -hashfile <path> SHA256
certutil -hashfile <path> MD5
Replace the path with the actual file:
certutil -hashfile <C:\Users\xxxx\Downloads\kali-linux-2022.3-installer-amd64.iso> SHA256
certutil -hashfile <C:\Users\xxxx\Downloads\kali-linux-2022.3-installer-amd64.iso> MD5
Another way to do this is in PowerShell.
Get-FileHash C:\users\xxxx\Downloads\kali-linux-2022.3-installer-amd64.iso
Output:
Output:
Algorithm Hash Path
--------- ---- ----
SHA256 AE977F455924F0268FAC437D66E643827089B6F8DC5D76324D6296EB11D997FD C:\users\xxxx\Downloads\k...
If you'd like to ouput the MD5 hash:
Get-FileHash C:\users\xxxx\Downloads\kali-linux-2022.3-installer-amd64.iso -algorithm md5
Comments
Post a Comment