This tool can extract wallet.dat encrypted mkey & ckey in one command. The mkey is master key and ckey is known as child key or crypted key.it is required for recovering the wallet passphrase
git clone https://github.com/CryptoXploit/walletutil.git
https://github.com/CryptoXploit/walletutil/archive/refs/heads/main.zip
D:\ftp>get_wallet_mkey_ckey.exe wallet.dat