I have a .dmg file on my MacBook. I have forgotten the password of the .dmg file and now I'm not able to access the files in it.
I tried using John the Ripper. However, whenever I run john --format=dmg-opencl (*insert filename here)
, I always get the error "No password hashes loaded (see FAQ)".
I tried saving the hash in .txt file format. The file contained what does not look like a hash (series of letters and numbers) but it looks like a directory.
I think the issue is the hash file that is not properly created.
Please help in cracking the password of my .dmg file.