generating actual hashes to stdout
#2
Hashcat can't do this for a handful of reasons but mainly, it'd be very very slow and would take a lot of resources for a GPU to do this. Your best bet is to copy the algorithm to a script or utility designed to spit out the hashes themselves and avoid doing it with a device like a GPU. Be aware, a file full of hashes will get very big, very fast. Lots of the modes in hashcat are also _NOT_ hashes, but may involve hashing at some step. Those modes are not easy to recreate as they may require encrypting/compressing data as well as hashing. The test.pl scripts in hashcat are a good place to look for some more basic perl implementations of the algorithms.

Also I hate to the bearer of bad news but if you are trying to train a classifier on hashes, you are going to have a very very tough time. If it's for recognizing hash formats, they are either easy to know instantly or impossible to know from the format alone. If you want to determine information about the hash itself, such as relating to the plaintext, the vast majority are designed specifically to resist that and it will also likely not be possible.
Reply


Messages In This Thread
RE: generating actual hashes to stdout - by Chick3nman - 12-03-2022, 07:32 AM