Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: cryptobabi on January 14, 2025, 08:03:10 AM



Title: why my btcrecover cant produce different combinations
Post by: cryptobabi on January 14, 2025, 08:03:10 AM
i type one word per line as follows in a txt file
ee
tt

but when run btcrecover.py    there only comes out two combinations  ee and tt, and that does not align with what is said in the document.  the right output is  eett   ee   tt   ttee

is there something that i am not doing right?  who can help me



Title: Re: why my btcrecover cant produce different combinations
Post by: JackMazzoni on January 14, 2025, 09:24:10 AM
Please post the whole command here.


Title: Re: why my btcrecover cant produce different combinations
Post by: cryptobabi on January 14, 2025, 10:03:50 AM
Please post the whole command here.

python btcrecover.py  --listpass --passwordlist token.txt



contents of token.txt      line1: ee   line2: tt

output: 2 combinations
ee
tt


there are no combinations at all.
the correct output i think is as follows:
ee
tt
eett
ttee



right?



should there be many combinations when the txt contents as   ee%3d
but the actual output is as follows:
*          Security: Warning          *
* * * * * * * * * * * * * * * * * * * *

Notice: Loading File:  token.txt
ee%3d
Notice: Finished File:  token.txt
1 password combinations










i dont know where is the problem


Title: Re: why my btcrecover cant produce different combinations
Post by: nc50lc on January 14, 2025, 11:07:24 AM
but when run btcrecover.py    there only comes out two combinations  ee and tt, and that does not align with what is said in the document.  the right output is  eett   ee   tt   ttee
python btcrecover.py  --listpass --passwordlist token.txt
That's the issue, you're using --passwordlist instead of --tokenlist.
The former will take each line as the complete possible password while the latter generates a number of possible combinations of each line.

Help command results for reference:
Code:
--tokenlist FILE           the list of tokens/partial passwords (required)
--passwordlist [FILE]      instead of using a tokenlist, read complete passwords (exactly one per line) from this file or from stdin