Bitcoin Forum
April 28, 2024, 06:15:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Btcrecover error with Electrum wallet[SOLVED]  (Read 292 times)
red14159 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 09, 2019, 07:31:53 PM
Last edit: December 11, 2019, 03:59:17 AM by red14159
 #1

So I have recently been attempting to crack the lost password on my Electrum (seed version 18) wallet.dat. The seed and the password were lost about 3 years ago, But i recently came into possession of the wallet data. Now I installed all the proper programs.

(python 2.7/pycrypto/scrypt/google protocol buffers/Windows GPU acceleration for Bitcoin Unlimited)

when i run the cmd line C:\Users\****\Desktop\coins\btcrecover\btcrecover-master>python btcrecover.py --wallet wallet.dat --token token.txt

I receive this error on response

"NotImplementedError("Unsupported Electrum2 seed version " + unicode(seed_version))
NotImplementedError: Unsupported Electrum2 seed version 18
"

Now im assuming that just means my wallet type is unsoported. Im slightly new to a lot of this stuff so I'm not 100% on where to go from here.

One of my thoughts was to try and see if there was any way to convert my electrum wallet.dat into another wallet (specifically one supported by btcrecover), and dump the wallet.dat from the new wallet into btcrecover. I have not had any luck so far.

My other thought was to see if there was any way to write custom unisource code to fit the parameters of the unsupported wallet. Again i am very new to all of this so i apologize. There is almost $1400 on this wallet, so I am really hoping to get into it. I have already contacted dave several times and he has not responded.

If someone is able to help me figure out btcrecover I would be more than happy to share some of my coin.

Here is a screenshot of the error
https://ibb.co/DztKfgh


Thank you!

EDIT;
I fixedthe issue and got btcrecover to work on electrum2 wallet. Simply drag and drop the wallet.dat file into notepad, ctrl+f "seed_version" change whatever your seed version is to 11. Presto!
1714328111
Hero Member
*
Offline Offline

Posts: 1714328111

View Profile Personal Message (Offline)

Ignore
1714328111
Reply with quote  #2

1714328111
Report to moderator
1714328111
Hero Member
*
Offline Offline

Posts: 1714328111

View Profile Personal Message (Offline)

Ignore
1714328111
Reply with quote  #2

1714328111
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714328111
Hero Member
*
Offline Offline

Posts: 1714328111

View Profile Personal Message (Offline)

Ignore
1714328111
Reply with quote  #2

1714328111
Report to moderator
1714328111
Hero Member
*
Offline Offline

Posts: 1714328111

View Profile Personal Message (Offline)

Ignore
1714328111
Reply with quote  #2

1714328111
Report to moderator
1714328111
Hero Member
*
Offline Offline

Posts: 1714328111

View Profile Personal Message (Offline)

Ignore
1714328111
Reply with quote  #2

1714328111
Report to moderator
Btcspot
Jr. Member
*
Offline Offline

Activity: 186
Merit: 1


View Profile
December 09, 2019, 10:35:32 PM
 #2

 Hi are you trying to guess your password? I thought electrum doesnt use wallet.dat. You can download this it might help github.com/Dwerg/walletaid
 Its a wallet program that can maybe repair wallet. Let me know if it helps and maybe you can tip me.
BitMaxz
Legendary
*
Online Online

Activity: 3234
Merit: 2943


Block halving is coming.


View Profile WWW
December 09, 2019, 11:27:06 PM
 #3

Old wallet.dat from electrum is not encrypted unlike now and Electrum right now doesn't have wallet.dat it is a plain wallet file.

Try to open the wallet.dat with notepad it must show your private keys.

If ever you are lucky and find the private keys under wallet.dat you can import it to the latest version of Electrum(Must be downloaded to real electrum.org).

Be careful on using any links shared through PM with newbies and the above post never heard the link posted by BTCspot.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
December 10, 2019, 02:37:52 AM
Merited by BitMaxz (1)
 #4

Old wallet.dat from electrum is not encrypted unlike now and Electrum right now doesn't have wallet.dat it is a plain wallet file.

Try to open the wallet.dat with notepad it must show your private keys.

This is not true. Even in pre 2.0 versions of electrum you could encrypt the wallet's secrets by setting a password.

@OP you should make an issue about your problem on the btcrecover git repo. What's happened is that electrum has upped the wallet version while btcrecover hasn't kept pace. It's not a big problem and I'm sure the btc recover author will issue a quick fix for it. "Quick" obviously being relative to open source development speed.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 10, 2019, 03:51:48 AM
Merited by Heisenberg_Hunter (1)
 #5

One of my thoughts was to try and see if there was any way to convert my electrum wallet.dat into another wallet (specifically one supported by btcrecover), and dump the wallet.dat from the new wallet into btcrecover. I have not had any luck so far.
That's not possible unless someone were to write a completely custom piece of code that was able to:
1. Decrypt the electrum wallet
2. Extract either the seed or private keys
3. Import those into the wallet format of another wallet

Given you don't have the password to the wallet file, you're going to fail at the first step of "decrypt the electrum wallet"... if you had the password, you wouldn't need to convert the wallet file.


Quote
My other thought was to see if there was any way to write custom unisource code to fit the parameters of the unsupported wallet. Again i am very new to all of this so i apologize. There is almost $1400 on this wallet, so I am really hoping to get into it. I have already contacted dave several times and he has not responded.
You could try logging an issue on the btcrecover github issue register as Abdussamad suggested, but the original developer isn't very active these days (last commit was 22 Dec 2017 Shocked Shocked Shocked)

or just try editing the btcrecover code and changing the btcrpass.py file... https://github.com/gurnec/btcrecover/blob/master/btcrecover/btcrpass.py#L1630

So, on the copy of btcrpass.py that is on your computer, find the code that looks like this:
Quote
       if wallet.get("seed_version") not in (11, 12, 13) and wallet_type != "imported":  # all 2.x versions as of Oct 2016
            raise NotImplementedError("Unsupported Electrum2 seed version " + unicode(seed_version))

And just add "18" to the list of seed_versions and see what it does... like this:
Quote
       if wallet.get("seed_version") not in (11, 12, 13, 18) and wallet_type != "imported":  # all 2.x versions as of Oct 2016
            raise NotImplementedError("Unsupported Electrum2 seed version " + unicode(seed_version))

I haven't tested this, so no idea if it will work or if it will blow up your computer! Tongue


NOTE: you should be working on a copy of your wallet file... not the original!!

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
red14159 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 11, 2019, 03:57:18 AM
 #6

One of my thoughts was to try and see if there was any way to convert my electrum wallet.dat into another wallet (specifically one supported by btcrecover), and dump the wallet.dat from the new wallet into btcrecover. I have not had any luck so far.
That's not possible unless someone were to write a completely custom piece of code that was able to:
1. Decrypt the electrum wallet
2. Extract either the seed or private keys
3. Import those into the wallet format of another wallet

Given you don't have the password to the wallet file, you're going to fail at the first step of "decrypt the electrum wallet"... if you had the password, you wouldn't need to convert the wallet file.


Quote
My other thought was to see if there was any way to write custom unisource code to fit the parameters of the unsupported wallet. Again i am very new to all of this so i apologize. There is almost $1400 on this wallet, so I am really hoping to get into it. I have already contacted dave several times and he has not responded.
You could try logging an issue on the btcrecover github issue register as Abdussamad suggested, but the original developer isn't very active these days (last commit was 22 Dec 2017 Shocked Shocked Shocked)




SOLVED
I opened the wallet in notepad and changed the seed version to 11, presto! Got btc to work!
or just try editing the btcrecover code and changing the btcrpass.py file... https://github.com/gurnec/btcrecover/blob/master/btcrecover/btcrpass.py#L1630

So, on the copy of btcrpass.py that is on your computer, find the code that looks like this:
Quote
       if wallet.get("seed_version") not in (11, 12, 13) and wallet_type != "imported":  # all 2.x versions as of Oct 2016
            raise NotImplementedError("Unsupported Electrum2 seed version " + unicode(seed_version))

And just add "18" to the list of seed_versions and see what it does... like this:
Quote
       if wallet.get("seed_version") not in (11, 12, 13, 18) and wallet_type != "imported":  # all 2.x versions as of Oct 2016
            raise NotImplementedError("Unsupported Electrum2 seed version " + unicode(seed_version))

I haven't tested this, so no idea if it will work or if it will blow up your computer! Tongue


NOTE: you should be working on a copy of your wallet file... not the original!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!