Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: fammari on February 22, 2021, 07:11:52 PM



Title: Help with BTCRecover
Post by: fammari on February 22, 2021, 07:11:52 PM
Hello Everyone,
I am new to this but i have read a lot of tutorials to get away to recover my wallet, i am using bitcoin core software and managed to fetch my old wallet from an old machine but with an issue that i forgot part of the password i placed on my wallet.

i am trying to recover it using btcrecover but having difficulties running the app properly with the right combination, i do know part of the password, password around 13-14 characters i guess and i know 6 out of them, its a combination of letters and numbers with no special characters so what i want from btcrecover is to use my known part and tries generated combinations of small letters and numbers. to clarify it:

what is the command to make it run like this:

USE_KNOWN_PART + "BTCRecover generation combination"
"abc123" + "all possible combinations" < 14 characters

i hope i delivered my question properly, i appreciate any help in that regard please, i don't want to lose 0.25 BTC :S



Title: Re: Help with BTCRecover
Post by: o_e_l_e_o on February 22, 2021, 07:50:46 PM
You are going to want to make a token file. The instructions on how to do this are here: https://github.com/3rdIteration/btcrecover/blob/master/docs/tokenlist_file.md
See in particular this section: Expanding Wildcards (https://github.com/3rdIteration/btcrecover/blob/master/docs/tokenlist_file.md#expanding-wildcards)

If I'm reading your post correctly, your token file should look something like this:

Code:
abc123%7,8in

This will try all passwords beginning with abc123 followed immediately by either 7 or 8 characters of digits, lowercase letters, and uppercase letters (so only 13 and 14 character long passwords). If you wanted to try every password from 7 characters up to 14 characters, you would instead use:

Code:
abc123%1,8in


Title: Re: Help with BTCRecover
Post by: fammari on February 23, 2021, 06:44:53 AM
You are going to want to make a token file. The instructions on how to do this are here: https://github.com/3rdIteration/btcrecover/blob/master/docs/tokenlist_file.md
See in particular this section: Expanding Wildcards (https://github.com/3rdIteration/btcrecover/blob/master/docs/tokenlist_file.md#expanding-wildcards)

If I'm reading your post correctly, your token file should look something like this:

Code:
abc123%7,8in

This will try all passwords beginning with abc123 followed immediately by either 7 or 8 characters of digits, lowercase letters, and uppercase letters (so only 13 and 14 character long passwords). If you wanted to try every password from 7 characters up to 14 characters, you would instead use:

Code:
abc123%1,8in

Brilliant, thank you so much for the great help.

can you please elaborate more on the differences between the two examples you put? i do understand the concept but can you clarify it a bit so i can for sure know which one to use?

Also, is there a feature to save the password IF FOUND to a file so in case the session got disconnected for any reason?

Thank you again.


Title: Re: Help with BTCRecover
Post by: o_e_l_e_o on February 23, 2021, 09:11:35 AM
can you please elaborate more on the differences between the two examples you put? i do understand the concept but can you clarify it a bit so i can for sure know which one to use?
Both examples start with abc123.
The % tells it to use wildcard characters after that.
1,8 tells it to use between 1 and 8 wildcards, so the total number of characters when added to the 6 you already have will be between 7 and 14.
7,8 tells it to use either 7 or 8 wildcards, giving either a 13 or 14 characters password.
i tells it the wildcards are case insensitive.
n tells it the wildcards can be letters or numbers.

Also, is there a feature to save the password IF FOUND to a file so in case the session got disconnected for any reason?
You are looking for the autosave feature: https://github.com/3rdIteration/btcrecover/blob/master/docs/TUTORIAL.md#autosave