Edit: Updated to create a new wallet.dat with the recovered keys.
Edit 2: New v0.2 release, new instructions. Note that this still can't recover encrypted wallets!
Edit 3: v0.3 release to support the compressed public keys created by recent Bitcoin versions. Still can't recover encrypted wallets.
Sorry for doing a necro, but this is a great little bit of code! Sucks the private keys directly out of a drive, does not care about file system, OS's or anything! I just had to sub to it.
I have already put it onto my Recovery USB and tested several different scenarios. Any ideas on how/when you are going to implement support for encrypted wallets? I think that encrypted wallets is the last thing left and then this will be the ultimate key recovery tool.
Thanks