Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Layder76 opened this issue Mar 19, 2024 · 1 comment

Comments

@Layder76
Copy link

Layder76 commented Mar 19, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant