Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: input file format
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I've been wanting to test out a few hashes but am having a hard time with the input file format. 

Use case is:

Base 64 encoded hash (sha1)
email address is salt
pwd is 8 chars, charset is a-zA-z0-9!@#$%^&*()-=_+[]{}
what i've tried thus far:
(hashcat bin is linked)
./hc -m 120 hash.txt -a 3 ?a?a?a?a?a?a?a?a

//in compliance with the rules the following is  a totally random base64 encoded string
echo '[email protected]:aGVsbG93b3JsZA==' > hash.txt

this rx'd unmatched sep.

echo 'aGVsbG93b3JsZA==:[email protected]' > hash.txt

also unmatched

I'm guessing that hashcat doesnt like the b64 encoded hash?

Do I need to pass in the hex representation of the byte[] instead? Also, if I know the salt ahead of time, can I pass it in plaintext or do I need to convert it to hex as well?

Thanks for your time.


EDIT - I'm generating the hash like so: 

Code:
HashAlgorithm managedHash = new SHA1Managed();
var byteValue = Encoding.UTF8.GetBytes(string.Format("{0}{1}", salt, password));
var byteHash = managedHash.ComputeHash(byteValue);
managedHash.Clear();
return Convert.ToBase64String(byteHash);
You can find the hash format for all the supported hash types here: https://hashcat.net/wiki/doku.php?id=example_hashes