Verify CRC checksums - support for HASHDEEP txt files
Moderators: Hacker, petermad, Stefan2, white
Verify CRC checksums - support for HASHDEEP txt files
How difficult would it be to add built-in support for HASHDEEP output files when verifying CRC checksums? It seems that all functions already exist in TC (MD5, SHA-1, SHA-256 support), it's just the format of the file that is different.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Could you post a sample file created by hashdeep? TC currently supports the de facto hast file standard used on the Internet. Other formats could be added if the format is easy to recognize.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Here you are:
It contains hashes for several methods in one file. Also md5deep exists in the same site which i suppose has a similar format. I don't have an example for that but if you think it's not that hard to support one of them, maybe it would be easy to support the other as well.
Code: Select all
%%%% HASHDEEP-1.0
%%%% size,md5,sha1,sha256,filename
542750720,0ea277be0ff3ab92f14f7b9d586d16cd,d3b9ac616995b41b3a578f33d8c76a3519047f02,e0f0ad32b955847d2458c98cf3a303ad5f19576342c8cd7e16fcc801323648bc,wsusoffline-wxp-enu.iso
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
So it uses multiple hashes on the same line? Hmm, not very useful. For example, if you already do sha256, sha1 would be just a tiny subset, so it wouldn't make any sense to do both. Any reason for it?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This is used by some tools i've encountered in a couple of cases, which use HASHDEEP to generate checksums. ATM, if one would like to verify the checksum files created by these tools, he would have to create one of the supported kind of checksums from TC (i.e. sha1) and then visually compare them to the one stored in the HASHDEEP txt files. I thought that since TC already supports all those methods, it would be nice if it could recognize this format and verify one of the checksums (the latest probably - i.e. sha256). It's not very important but if it's not that difficult to implement, it would be convenient to have it.ghisler(Author) wrote:Any reason for it?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
About this, please note that i'm talking only about verification here, not creation of such files. Just to avoid the current verification process of creating the CRC file and then manually comparing the CRC in the created file to the one in the HASHDEEP txt.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2MVV
This can already be done with the packer plugin interface. Here is an example of a hash plugin:
http://www.totalcmd.net/plugring/checksum.html
This can already be done with the packer plugin interface. Here is an example of a hash plugin:
http://www.totalcmd.net/plugring/checksum.html
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com