Post
Topic
Board Bitcoin Technical Support
Merits 21 from 2 users
Re: Btcrecover token file question
by
nc50lc
on 21/12/2022, 05:24:35 UTC
⭐ Merited by LoyceV (12) ,ETFbitcoin (9)
I need to create a tokens.txt file which contains %8,10P  but with polish characters [Ś,Ź,ś,ź,Ł,Ą,,Ż,ł,ą,ż,Ć,Ę,Ń,Ó,ć,ę,ń,ó]
what should this file look like?
You'll have to put those characters as "tokens" instead of wildcards since those aren't included in any of the wildcard characters.
Since you're planning to use %8,10P, your password must be within 8-10 "P" characters which is "pretty much everything" as described in btcrecover 'token file' article.

It can be written like this to include the polish characters (10 lines):
Code:
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó
%P Ś Ź ś ź Ł Ą Ż ł ą ż Ć Ę Ń Ó ć ę ń ó

Then indicate the minimum and maximum in the command:
Code:
btcrecover "your_args" --min-tokens 8 --max-tokens 10

Here's an example:
My test wallet has a password: 1Śó
My token file:
Code:
%P Ś Ą ó
%P Ś Ł ó
%P ś Ć ó
Command:
Code:
btcrecover-master-fork/btcrecover.py --enable-gpu --wallet wallet.dat --tokenlist tokens.txt --min-tokens 2 --max-tokens 3
It took 15 minutes to find the password in my machine (with sub 20min ETA).

Such short token file makes 1133809 combinations because of using %P, I can imagine how difficult yours would be.
It's better if you can remember a few characters before attempting to bruteforce it.