SC68Cal said:
was it an actual word that you used to create the password? or was it a string of letters and numbers.
You can probably use a dictionary attack and crack it open.
I'm not going to get into if it's worth while to try to dictionary attack a .dmg, but it is quite possible, and actually it is far more viable than doing a brute force(which face it, is pointless as stated prior). It's especially more realistic if you say know an average password length that your passwords usually are (say you usually use 6 character passwords, you can use a wordlist of just 6 letter words). Though this method would be nullified if you say mix words and numbers at random, or even just add random numbers behind simple words. Also remember these passwords are case sensitive, so if you always use lowercase passwords, there is another piece to narrow down the list.
So basically if you generally use set length lowercase/uppercase/proper capitalized words only, then a dictionary attack would be a good possibility to try. Though if you normally use passwords that are like 8-16 numbers long with random capitalization and numbers (ie. a32xZED3w), well bruteforce would be your only option, and as stated, isn't actually an option.
Metafilter had a Q&A on the subject a bit back, which showed a simple script could dictionary attack a .dmg file (Note if you do some searching there are a few apps that also automate this process, though this script is quite an easy and simple way to do it). Now yes this can take a while if you have a huge wordlist, but hey, leave it for a week or some, and hey you might just have your password (or hey, maybe less if its a real simple password). Remember the more you can narrow down your wordlist(which you would most likely do based upon your other passwords), the better the chances are at a quick recovery.
The metafilter
page isn't coming up for some reason (site seems to be down), but the
google cache is.
It is actually pretty basic, finding a good wordlist is up to you though. I did test this script out with a wordlist that I already had and I have to say this script does work, though for practicalness I created a .dmg with a password that wasn't too far down on my wordlist and so it easily opened the .dmg in a minute or so. Doing it to an unknown password will take much longer.