Electrum2john is useful tool for extracting encrypted password hash from electrum bitcoin generated passphrase protected wallet file
git clone https://github.com/CryptoXploit/walletutil.git
https://github.com/CryptoXploit/walletutil/archive/refs/heads/main.zip
git clone https://github.com/CryptoXploit/wallets.git
https://github.com/CryptoXploit/wallets/archive/refs/heads/main.zip
C:\Python27>electrum2john.py electrum_wallet