0
0
I recently fired up an old Mac Mini that I haven't used for years, and found that I forgot the admin account password.
I managed to get the password hash, but have hit various snags when following guides on decrypting this. (e.g. zip utility crashes when trying to open the downloaded 'John the Ripper' utility zip file).
Can anyone recommend a hash decrypter? Windows or OS X is fine. The password itself will be some simple short thing that is only slightly better than nothing.
account username: admn password hash: 6646e657f86732f846bb44f66e0add96e2a48c6e
3
This is a 160 bit hash, might be SHA-1. There is no way to decrypt a hash, since its domain (all possible passwords) is larger than its image (the possible hash values). You can only generate the same hash from given input (i.e. brute force it), and hope you get the same result. Which is difficult when the hash is salted. I'd say your approach is flawed. Just boot into single user mode or from an OS X DVD and reset the password.
– Daniel Beck – 2012-01-31T14:23:13.030Thanks @Daniel - actually I tried following a guide to reset the password, but found that the 'passwd' command simply returned without letting me enter a new password. I no longer have the OSX disk - in extremis I will put out a request for one at work. – mackenir – 2012-01-31T17:18:15.643
"There is no way to decrypt a hash" however it does seem to be possible to brute-force a OSX password hash. If you google doing it, you hit various webpages. Someone wrote a python script to do it, although when I tried that it didnt work either, due to missing imports. – mackenir – 2012-01-31T17:19:51.930