btcrecover icon indicating copy to clipboard operation
btcrecover copied to clipboard

Need add new Electrum2 not crypted wallet to extract strings and check finding pass results

Open Layder76 opened this issue 11 months ago • 1 comments

problem at pass check - new Electrum not crypted wallets have xprv string, beginned from "zprv", instead of "xprv", and btcrecover.py and hashcat can't found it. a btc recover need add check to zprv at module btcrpass.py

module btcrpass.py need change:

        if xprv.startswith(b"xprv"):  # BIP32 extended private key version bytes

to

        if xprv.startswith(b"xprv") or xprv.startswith(b"zprv"):  # BIP32 extended private key version bytes

module extract-electrum2-partmpk.py need change:

if wallet.get("seed_version") not in (11, 12, 13) and wallet_type != "imported":  # all 2.x versions as of Oct 2016

to

if wallet.get("seed_version") > 33 and wallet_type != "imported":  # all 2.x, 3x versions as of Mar 2024

maybe and some new after 33

Layder76 avatar Mar 19 '24 09:03 Layder76

up to 59 version work ok

if wallet.get("seed_version") > 59 and wallet_type != "imported": # all 2.x, 3x versions as of Mar 2024

Layder76 avatar Apr 25 '24 11:04 Layder76

Fixed https://github.com/3rdIteration/btcrecover/commit/4d5a597d240a6f569ede15173c788bf9a40ad53c

3rdIteration avatar Jun 18 '24 00:06 3rdIteration