Extract Hash From Walletdat Top
Open your hash.txt file and delete everything before the actual hash (remove the filename and the colon if they are present at the beginning). Your hash should start strictly with $bitcoin$ .
Here is a ready-to-publish blog post that explains the process, safety precautions, and steps to crack the hash once extracted. How to Extract and Crack the Hash from a wallet.dat File extract hash from walletdat top
python3 wallet2john.py old_walletbackup.dat >> hashes.txt Open your hash