So surely i can say something like btcrecovery --wallet wallet.dat -- something min and max or --charset AaBbCceGHLKn56@#%
something like this
You can use regular expression.
To specify min 5 and max 10 you should use:
--regex-only "^.{5,10}$"
If you want add characters:
--regex-only "^[AaBbCceGHLKn56@#%]{5,10}$"
You can test your regex before use on the site like
https://regex101.com/Or you should use wildcards in the Token File (tokens.txt):
See
https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#expanding-wildcards%1,3[chars] - between 1 and 3 of the characters between [ and ]
So use %5,10[AaBbCceGHLKn56@#%]
python btcrecover.py --wallet wallet.dat --tokenlist tokens.txt
Maybe I am wrong in details, I can't check it now, but you can test it:
btcrecover will then list out all the passwords to the screen instead of actually testing them against a wallet file
...
python btcrecover.py --listpass --tokenlist tokens.txt | more
I think you can use 'listpass' to test regex too.
Thank you , slightly confussed here.
So i use --regex-only on the command line along with its value of exactly this string .... "^[AaBbCceGHLKn56@#%]{5,10}$" (including the double quotes?)
is this an OR .. or do i need to using --tokenlis still and then put that string in the tokens.txt file .... for example in that file i have my password which is 3 words which i have broken up in 3 lines.... as a test.
Thing is i really want to crack against certain custom character set and not all 26 letters of the alphabet.
Still just trying to get the hang of what my command should be and what text/token file i need.
really not sure why it written like this anyways, programs like accent password recovery and elcomsoft specifically have a custom character set field in which you type your characters and there is no mention or need of a second file or token file, its just crazy.
Sorry, almost getting it but not quite man, please see if you can help me again.
so example... my password would be SugarSwe3T
so i would say -> python btcrecover.py --listpass --tokenlist tokens.txt <- so inside int eh tokens.txt file i need to put what?
tokens.txt :
line 1 - %5,10[AaBbCceGHLKn56@#% <- so the 5,10 means string of 5-10 chars? and using only those characters? [AaBbCceGHLKn56@#% <- where is the other square bracket ?
or do u just write this character set on the command line and no need for a tokens.txt file?
*sigh*