Bitcoin Forum
August 17, 2018, 07:38:57 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2] 3 4 5 6 »  All
  Print  
Author Topic: I have my wallet.dat from a backup but I can't remember my passphrase  (Read 1047 times)
jackg
Copper Member
Legendary
*
Online Online

Activity: 1106
Merit: 1089


View Profile
January 22, 2018, 07:46:19 PM
Merited by DarkStar_ (1)
 #21

Doesn't work... I m' crying right now. It's a fucking nightmare.

I have tokens.txt on the right folder and my wallet on the right folder.
It doesn't reconize anything.

I type -- wallet mywallet and --tokenlist tokens.txt
What the fuck is wrong damn it . Why it is not reconize ?

"No such file or directory tokens.txt" I'm dying. Fucking Electrum

Edit : with --passwordlist it's working.
Now with --wallet it's not working. He don't reconize my wallet, i change the name but nothing. I had extension .dat but nothing.


Are you using the absolute directory path, sometimes if you don't then stuff doesn't work (even if it's in the same folder). Also, uuse speach marks '' to surround the text of the directory/file name.

An absolue directory reference includes the path before it.
E.g
'C:\users\user\appdata\local\bitcoin\wallet.dat' is absolute.

'wallet.dat' - isn't!

I don't understand what you say. I put my wallet on btcrecover folder. I type C:\python27\python btcrecover.py --wallet wallet.dat --passwordlist tokens.txt

And always the same error : errno2 no such file or directory "myfuckingwallet"

I can use tokens.txt now, when typing --passwordlist not tokenlist.
But my wallet can't be reconized. ANd when i try to use seedrecover.py it says :
Electrum 2.8+ fully encrypted wallet files cannot be read.. Try to recover from your master extend public key or an adress...

Where can i find the master extend public key ? Maybe this is the solution.
Because btcrecover can't work...
Thanks again Electrum great job.

The Master Public Key... errrr, that file or it can be taken out of that file anyway.
Actually, can you load up the file in electrum? If you have a password just on the private keys and not the entire wallet file than it would be possible to pick up your master public key from that, not sure it can be reverse engineered though but maybe that is what gets searched for in the file then.

I mean run these:
Code:
C:\python27\python btcrecover.py --wallet 'wallet.dat' --passwordlist 'tokens.txt'

Code:
C:\python27\python btcrecover.py --wallet 'C:\python27\python\wallet.dat' --passwordlist='C:\python27\python\tokens.txt'

And just check it's not a directory issue. If you're not using the quotation marks, on python scripts, that is often how the issue gets caused.

1534534737
Hero Member
*
Offline Offline

Posts: 1534534737

View Profile Personal Message (Offline)

Ignore
1534534737
Reply with quote  #2

1534534737
Report to moderator
1534534737
Hero Member
*
Offline Offline

Posts: 1534534737

View Profile Personal Message (Offline)

Ignore
1534534737
Reply with quote  #2

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

Posts: 1534534737

View Profile Personal Message (Offline)

Ignore
1534534737
Reply with quote  #2

1534534737
Report to moderator
thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 22, 2018, 10:19:16 PM
 #22

Doesn't work... I m' crying right now. It's a fucking nightmare.

I have tokens.txt on the right folder and my wallet on the right folder.
It doesn't reconize anything.

I type -- wallet mywallet and --tokenlist tokens.txt
What the fuck is wrong damn it . Why it is not reconize ?

"No such file or directory tokens.txt" I'm dying. Fucking Electrum

Edit : with --passwordlist it's working.
Now with --wallet it's not working. He don't reconize my wallet, i change the name but nothing. I had extension .dat but nothing.


Are you using the absolute directory path, sometimes if you don't then stuff doesn't work (even if it's in the same folder). Also, uuse speach marks '' to surround the text of the directory/file name.

An absolue directory reference includes the path before it.
E.g
'C:\users\user\appdata\local\bitcoin\wallet.dat' is absolute.

'wallet.dat' - isn't!

I don't understand what you say. I put my wallet on btcrecover folder. I type C:\python27\python btcrecover.py --wallet wallet.dat --passwordlist tokens.txt

And always the same error : errno2 no such file or directory "myfuckingwallet"

I can use tokens.txt now, when typing --passwordlist not tokenlist.
But my wallet can't be reconized. ANd when i try to use seedrecover.py it says :
Electrum 2.8+ fully encrypted wallet files cannot be read.. Try to recover from your master extend public key or an adress...

Where can i find the master extend public key ? Maybe this is the solution.
Because btcrecover can't work...
Thanks again Electrum great job.

The Master Public Key... errrr, that file or it can be taken out of that file anyway.
Actually, can you load up the file in electrum? If you have a password just on the private keys and not the entire wallet file than it would be possible to pick up your master public key from that, not sure it can be reverse engineered though but maybe that is what gets searched for in the file then.

I mean run these:
Code:
C:\python27\python btcrecover.py --wallet 'wallet.dat' --passwordlist 'tokens.txt'

Code:
C:\python27\python btcrecover.py --wallet 'C:\python27\python\wallet.dat' --passwordlist='C:\python27\python\tokens.txt'

And just check it's not a directory issue. If you're not using the quotation marks, on python scripts, that is often how the issue gets caused.

Thanks, finally it's working adding directory path.
Now it can't find the password with my indications... "Using 4 worket Threads" 13of 13
It's very short... 3 Days i'm on it night and day.
HCP
Hero Member
*****
Offline Offline

Activity: 700
Merit: 903

<insert witty quote here>


View Profile
January 23, 2018, 01:26:35 AM
 #23

You need to use --tokenslist 'C:\python27\python\tokens.txt'

Using --passwordlist will treat the items in tokens.txt as the ACTUAL passwords... It won't generate all the combinations.

In other news... Why do you keep blaming Electrum if you had a wallet.dat? Wallet.dat is from Bitcoin Core, not from Electrum... are you sure this "wallet.dat" was from Electrum? Or are you simply basing that on the output from seedrecovery? Huh

In any case, you can't blame the software because you forgot your password.


thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 23, 2018, 12:01:32 PM
 #24

You need to use --tokenslist 'C:\python27\python\tokens.txt'

Using --passwordlist will treat the items in tokens.txt as the ACTUAL passwords... It won't generate all the combinations.

In other news... Why do you keep blaming Electrum if you had a wallet.dat? Wallet.dat is from Bitcoin Core, not from Electrum... are you sure this "wallet.dat" was from Electrum? Or are you simply basing that on the output from seedrecovery? Huh

In any case, you can't blame the software because you forgot your password.



The extension of a wallet from Electrum is not .dat ? I don't use bitcoincore. I don't forget the password. I' AM SURE.I explain on the other post.
The update of Electrum corrupt my wallet i'm sure of that.

EDIT : now btcrecover refuse to work.. I open it and 1 second later, it close.
When i type C:\Users\Admin>C:\python27\btcrecover-master\btcrecover.py --wallet C:\python27\
btcrecover-master\mywallet --passwordlist=C:\python27\btcrecover-master\tokens.txt

Nothing happens , it get back to C:\users\admin
This is an endless nightmare.
HCP
Hero Member
*****
Offline Offline

Activity: 700
Merit: 903

<insert witty quote here>


View Profile
January 24, 2018, 08:36:22 AM
 #25

No... recent Electrum wallets don't use any file extension (ie v2.x etc). The default wallet is called "default_wallet"... any further wallets are given default names like "wallet_1","wallet_2" etc... if you change the name they will be called whatever name you give without a file extension... ie. "MySuperSecretWallet" etc.

If your old file is called wallet.dat then it is likely from either Bitcoin Core or some other altcoin based on the Qt wallets... (dogecoin core, litecoin core etc)


thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 24, 2018, 01:44:48 PM
 #26

No... recent Electrum wallets don't use any file extension (ie v2.x etc). The default wallet is called "default_wallet"... any further wallets are given default names like "wallet_1","wallet_2" etc... if you change the name they will be called whatever name you give without a file extension... ie. "MySuperSecretWallet" etc.

If your old file is called wallet.dat then it is likely from either Bitcoin Core or some other altcoin based on the Qt wallets... (dogecoin core, litecoin core etc)


My bad, i always thought that electrum wallet was .dat
Just for the record, i succed using btcrecover. But he gives me an error at some point : "memory full "
He can't finish the process. I try with a smaller tokens files, nothing found.

I'am sick. I don't know what to do. There must be a way.

ncsupanda
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000



View Profile
January 25, 2018, 02:11:30 AM
 #27

My bad, i always thought that electrum wallet was .dat
Just for the record, i succed using btcrecover. But he gives me an error at some point : "memory full "
He can't finish the process. I try with a smaller tokens files, nothing found.

I'am sick. I don't know what to do. There must be a way.

Can you post a screenshot of your btcrecover window when this error occurs.
thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 25, 2018, 12:10:51 PM
 #28

My bad, i always thought that electrum wallet was .dat
Just for the record, i succed using btcrecover. But he gives me an error at some point : "memory full "
He can't finish the process. I try with a smaller tokens files, nothing found.

I'am sick. I don't know what to do. There must be a way.

Can you post a screenshot of your btcrecover window when this error occurs.

Yes i can. I'm actually doing an another try with btcrecover, when it will be finish i will post the screen.
Still looking for a solution at my problem.

There is a way to restore the old password from my wallet ? Can i use an another software for the seed or the wallet ?

EDIT : Btcrecover is stuck after analysing my wallet "wallet difficulty encrypt "
Can't find anything
HCP
Hero Member
*****
Offline Offline

Activity: 700
Merit: 903

<insert witty quote here>


View Profile
January 26, 2018, 04:11:53 AM
 #29

Might I suggest that you attempt to use btcrecover with a KNOWN wallet and password? That way, you can be 100% sure that you have setup btcrecover correctly and that it works the way you expect.

1. Create a new wallet in Electrum... call it "btcrecoverTest"
2. Set password as "abc123"
3. Create a testTokens.txt file containing just one line:
Code:
%3a%3d
NOTE: this testTokens.txt file will generate ALL combinations of 3 letters + 3 numbers

4. run btcrecover using:
Code:
btcrecover.py --wallet btcrecoverTest --tokenlist testTokens.txt --autosave testSave

You should get something like:


As you can see... even a very "weak" password combination of 3 letters + 3 numbers creates over 17.5 MILLION combinations... and will take over 1.5 hours on a Core i5-3570K+8Gigs to test all of them.

thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 26, 2018, 12:21:39 PM
 #30

Might I suggest that you attempt to use btcrecover with a KNOWN wallet and password? That way, you can be 100% sure that you have setup btcrecover correctly and that it works the way you expect.

1. Create a new wallet in Electrum... call it "btcrecoverTest"
2. Set password as "abc123"
3. Create a testTokens.txt file containing just one line:
Code:
%3a%3d
NOTE: this testTokens.txt file will generate ALL combinations of 3 letters + 3 numbers

4. run btcrecover using:
Code:
btcrecover.py --wallet btcrecoverTest --tokenlist testTokens.txt --autosave testSave

You should get something like:


As you can see... even a very "weak" password combination of 3 letters + 3 numbers creates over 17.5 MILLION combinations... and will take over 1.5 hours on a Core i5-3570K+8Gigs to test all of them.

It's working, i have clear all the problem with btcrecover. But it still can't find my password.
My password is a combinaison of letters and numbers. How can i make a token to force btcrecover to try all the combinaison ?
HCP
Hero Member
*****
Offline Offline

Activity: 700
Merit: 903

<insert witty quote here>


View Profile
January 26, 2018, 01:47:12 PM
 #31

If you know the length of the password and are sure it is just letters (upper and lower case) and numbers, use the %in token... Like this:

All combinations of letters/numbers, 8chars:
Code:
%8in

All combinations of letters/numbers, 6-10 chars:
Code:
%6,10in

Be warned that this will generate millions and millions of combinations and will take a looooooong time to brute force.

Knowing the exact length will help... Knowing even a couple of characters will also reduce the possible combinations by a significant amount... Knowing the structure, ie. 2 letters+4numbers+3letters will also enable you to specify a more exact token file and generate less combinations.

thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 26, 2018, 03:33:55 PM
 #32

Thanks for your advice i actually doing it i will know you the result.
Can i do something else to try to recover my wallet ?
HCP
Hero Member
*****
Offline Offline

Activity: 700
Merit: 903

<insert witty quote here>


View Profile
January 26, 2018, 06:27:07 PM
 #33

Honestly, no.

If your seed is restoring a different wallet... And your password isn't working, then your last resort is attempting to bruteforce it.

The use of a seed was meant to help recover from corrupted wallet or forgotten password scenarios, by simply allowing you to completely restore the wallet from just the 12 words.

Unfortunately, it doesn't cover the situation where the seed written down doesn't match the wallet in use Undecided

This is why I always test that a recovery seed works and restores the same addresses before using any wallet

Good luck with finding the password... I'm sure the search time is measured in days! Shocked

thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 26, 2018, 06:59:24 PM
 #34

Honestly, no.

If your seed is restoring a different wallet... And your password isn't working, then your last resort is attempting to bruteforce it.

The use of a seed was meant to help recover from corrupted wallet or forgotten password scenarios, by simply allowing you to completely restore the wallet from just the 12 words.

Unfortunately, it doesn't cover the situation where the seed written down doesn't match the wallet in use Undecided

This is why I always test that a recovery seed works and restores the same addresses before using any wallet

Good luck with finding the password... I'm sure the search time is measured in days! Shocked

I can't loose this wallet... I really can't , i have to find a solution. What about recovery service ?

EDIT : Can't do it . Try it --max-eta 1 hours at least 8,900,000 passwords to try ETA > and the it close.

Can i define btc recover to find just one letter of the password ? Just one, i think it will be enough.
initstring
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 29, 2018, 11:28:21 AM
 #35

Hi mate,

Very sorry to hear about your lost coins.

You're getting some great advice in this thread, and it seems like some smart folks are already helping out.

I'd also be willing to give this a shot. I work in security and cracking passwords is part of my job. I've developed my own tricks, and perhaps one of them will work where the others have not.

I'm new on here, but you can see some of my posts on reddit at http://reddit.com/u/initstring.

I'd only need a hash of your wallet file to work on the password, not the wallet itself. I would ask for a fee if I could recover it.

Let me know if you're interested. If not, keep working hard and following the good advice on this forum.

Either way, best of luck and I hope you get your coins back!
thenarog
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 29, 2018, 05:00:26 PM
 #36

Hi mate,

Very sorry to hear about your lost coins.

You're getting some great advice in this thread, and it seems like some smart folks are already helping out.

I'd also be willing to give this a shot. I work in security and cracking passwords is part of my job. I've developed my own tricks, and perhaps one of them will work where the others have not.

I'm new on here, but you can see some of my posts on reddit at http://reddit.com/u/initstring.

I'd only need a hash of your wallet file to work on the password, not the wallet itself. I would ask for a fee if I could recover it.

Let me know if you're interested. If not, keep working hard and following the good advice on this forum.

Either way, best of luck and I hope you get your coins back!

Sorry but i can't trust you. There are lot of recovery service, you are a newbie here...
I know with one hash of my wallet you can hack it and get all my money.

I just need to know how to use btc recover to recover just one letter of my password.
initstring
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 29, 2018, 07:36:26 PM
 #37


Sorry but i can't trust you. There are lot of recovery service, you are a newbie here...
I know with one hash of my wallet you can hack it and get all my money.

I just need to know how to use btc recover to recover just one letter of my password.

No worries, it's important to be careful. If you happen to be in Australia, I would be more than happy to meet in person. I'm in Melbourne.

Otherwise, I wish you the best of luck! Unfortunately, I do not believe you will not be able to recover just a single character of the password (without recovering the full password). That's possible in some situations where the clear-text password is stored in a database, but I'm not aware of any method to do that with this type of encrypted password. That would sort of defeat the purpose of strong encryption.

However, it is interesting that you say a single character might help you remember the password. That leads me to believe it is something based on a real word or sequence of words. If that is the case, you might be better off working to collect robust wordlists and transform rules than simply brute-forcing ever possible character combination. This may give you a better chance of success with limited time and compute resources.

You can search Google for password wordlists and rules, and use tools like hashcat for a different approach. I plan to write a full tutorial on this within the next two months, and I would be happy to share it when it's ready.

Good luck!
SanderM2
Newbie
*
Offline Offline

Activity: 24
Merit: 6


View Profile
January 29, 2018, 08:14:11 PM
 #38

@ thenarog

If you need more help with btcrecover, or just in general about trying to recover your lost password, I could help you but I think it's wise to get into a chat room where things can be discussed easier and step-by-step instructions (or advice) can be given rather that forum messages with all the delays etc... I always prefer a chat session because it's more interactive.

If you want my help, please send me pm and we'll setup a chat room.

PS: is there any reward for this if I can help you recover your password?
jambola2
Legendary
*
Offline Offline

Activity: 1120
Merit: 1015


Large scale, green crypto mining ICO


View Profile
January 29, 2018, 08:43:29 PM
 #39

I just need to know how to use btc recover to recover just one letter of my password.

Yeah this is not possible.

btcrecover or any method of brute-forcing your password just tries many different passwords, and it can only get a single success or failure result for each.
I repeat: It is impossible to "recover" one character of the password

The opposite direction works though:
If you remember some letters, maybe a couple, maybe even if you're not sure of their positions, it can help you speed up btcrecover a lot.

████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
████  ▀███████████▀  ███████▀▀       ▀▀███████████████████▄▀████  ▀██████████  ████▌ ▐████████████▌ ▐██              ███            ████
████   ▀█████████▀   █████▀  ▄▄████████▄▀██████████████████▄▀███   ▀█████████  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████
████  ▄ ▀███████▀ ▄  ███▀  ▄█████████████▄██████████████████ ███  █▄ ▀███████  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████
████  █▄ ▀█████▀ ▄█  ██▀ ▄██████████████████████████████████ ███  ███  ██████  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████
████  ██▄ ▀███▀ ▄██  ██ ▄██████████████████████████████████▀ ███  ████▄ ▀████  ████▌ ▐████████████▌ ▐████████  █████████          ▐█████
████  ███▄ ▀█▀ ▄███  ██ ██████████████████████████████████▀ ▄███  ██████  ▀██  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████
████  ████▄   ▄████  ██ ▐███████████████████████████████▀  ▄████  ███████▄ ▀█  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████
████  ██████▄██████  ███ ██████████████████▄▀█████████▀  ▄██████  █████████▄   ████▌ ▐████████████▌ ▐████████  █████████  ██████████████
████  █████████████  ███▄▀███████████████████▄▄       ▄▄████████  ██████████▄  ████▌            ██▌ ▐████████  █████████            ████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████


███████████████████  WHITEPAPER  ████
█ █ ██  ANN THREAD  █████████████████ █ █

.
FACEBOOK      TWITTER      LINKEDIN
.
HCP
Hero Member
*****
Offline Offline

Activity: 700
Merit: 903

<insert witty quote here>


View Profile
January 29, 2018, 09:27:27 PM
 #40

I know with one hash of my wallet you can hack it and get all my money.
Actually, that isn't true. By design, the extract script that btcrecover uses for Electrum only takes a very very small extract that cannot be used to access your wallet unless the person has the entire wallet file. The whole idea is that you can freely give the extract without worrying about loss of funds. The only info that someone would have is your password (assuming they were able to recover it).
Without access to the rest of your wallet file, it is impossible the decrypted header information could ever lead to a loss of funds.


Quote
I just need to know how to use btc recover to recover just one letter of my password.
You can't... It either finds the whole password or nothing at all. The password itself is not stored in the file, it's just used as a key for the encryption algorithm used to encrypt the wallet file and wallet file contents. So, you need the whole password to be able to test if it works.


Your options are basically:
1. Trust a wallet recovery service (give them extract or wallet file), pay fee
2. Brute force the password using btcrecover (or maybe hashcat)
3. Remember your password
4. Find the correct seed for your wallet in your records

If you remember anything at all about the password, you can significantly reduce the number of passwords that btcrecover will generate by creating an appropriate tokens file

Pages: « 1 [2] 3 4 5 6 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!