i've manage to get the code running for the test i'll paste it below but it will be too long to brute force it like in years, so i'll have to go the pattern method " %a%3,5;pattern.txt;b "
...
can someone explain me the pattern.txt and how to make it work please ?
i get the %a the %3,5; but " ;pattern.txt;b " do i put that also in btcrecover-tokens-auto.txt
like i'm not sure where i should write this and how to proceed
You need to create a
pattern.txt file that maps how the keyboard "walking" goes. In the example provided, they say that the typist only moves up-right, or down-right (note that this is not the only pattern that can be defined)... which results in a
pattern.txt that looks like this:
Starting from "q" the only keys (up-right or down-right) on a standard qwerty keyboard are "2" or "a" (red arrows below)... from "a" you have "w" or "z" (blue arrows)... from "z" you only have "s" (orange arrow) etc.
Hopefully this pic explains that a little more clearly:
so given:
What it is doing is selecting "a single ASCII lowercase letter"... the %a... this is then followed by selecting an additional 3-5 characters ( the %3,5)... which are defined by following the instructions in ";pattern.txt;"
The "b" at the end is the backreference, which instructs the program to place the characters derived from pattern.txt into the (%3,5) part.
So, if the program starts with "a" as the first "%a" character, it would then look in the pattern.txt and find that "a" is followed by "w" or "z"... so:
"w" is followed by "3" or "s"... "z" is followed by "s"... so that leads to:
"3" can be followed by "e"... "s" can be followed by "e" or "x":
And that is how it will start to build up the list of possible passwords. Hopefully that makes things a little bit clearer as to how the keyboard walking works.
In any case, you need to create the pattern.txt file to match the pattern that you think you may have used when creating your password.