I had a password-protected Access 2007 database that I used to use extensively but hadn't used in a few years and had forgotten the password. I looked around for a recovery tool, but the only ones I found for a 2007 database format (ACCDB) wanted money, and the data I needed out of the DB wasn't worth that to me. Instead I tried writing a VBA routine to brute-force discover the password, and to my great surprise, it worked. (It took about 75 mins to find my 4-character password, searching through all combinations of any type-able characters, though I did "stack" my character list towards the ones I thought were in the password.)
Now, said program is not terribly elegant or fast, as I am not a cryptographer or a hacker/cracker, but it does work and it is simple enough that most people with a basic knowledge of VBA could implement it. I would like to share this with others, to save them the frustration I had (and possibly money too, if they need their data that bad). StackOverflow seems the best place to put it, but I worry that because this is so directly linked with potentially nefarious uses that it will likely be deleted. What say you? Can it be safely posted, is there a better place for it (on or off StackExchange), or should I just take my secrets to the grave?