bitcoin-wallet -wallet=<wallet-name> salvage
python pywallet.py --dumpwallet --wallet=wallet.dat > wallet.txt