ryancdotorg / brainflayer

A proof-of-concept cracker for cryptocurrency brainwallets and other low entropy key algorithms.
https://rya.nc/brainflayer
909 stars 459 forks source link

Cannot find Example Wallets #149

Open oguzdelioglu opened 3 years ago

oguzdelioglu commented 3 years ago

System: Ubuntu 20.04.2 LTS

Example.hex

c4c5d791fcb4654a1ef5e03fe0ad3d9c598f9827
c11e8406796ea352075234a0d50df5db7c46b3c2
ab7e21d65f521e163884d81aea511ec69ef98e46
462e1f7a4a5cd8492cea59d5c4d5e11932502678
d63a5fe438b61a2bb266dff616568b5ec7b1bd8f
b99862ff6ef6b684936fe1626bda31eebbc9d3f0
7cd9347d6e68c85cfe91ff387212d5ebd6d5370d
177a53b6eeed7c4094ea2c4c494adbe106d5d7ac
21c81a7464652486531625108df9b5728fb10110
c8bd7e593131a86a7734f907f32dbe92b5f4fce7
d3692ad7412becbefec7713c43e5a646cdd77b98
0e86a4e84164e4a52572fa8e6729c9014106c8b8
d1b0889f4670567a62d2f2ea063b9d5c1bda6d53
83ba53b0add5a00479a791d166161244dfb25dca
d7a569c0619a5b5eb1a08f068bc265dcc89d6f07
a93edadecca1168ded53242dec7a1d188a11e933
626cb4e0e213e66d0036596076c9ccbf4b68d542
6c216b2058d091a97d13af0c1f7dc85a66992f44
8610efb039f75bd8df3e8694693a03d9d7030005
9c0bc073af574cd7670777c401ad43b33535dc7d
975db601575895c656fdd36902bfb46a109eda09

phraselist.txt

correct horse battery staple
pseudonym
phenomenally

my command ./brainflayer -v -b example.blf -i phraselist.txt

result rate: 137.01 p/s found: 0/3 elapsed: 0.022 s

phrases are correct but cannot find. I am converting the example.hex file above into a blf file and starting the program, but it does not produce a positive result.

Hex to blf code ./hex2blf example.hex example.blf

I was using Kali linux, it didn't work on it either.

We would be grateful if you could bring updates to work with up-to-date operating systems.

Napulsnik commented 3 years ago

Just checked your example. Everything works.

 ~/brainflayer/brainflayer -v -b example.blf -i phraselist.txt
c4c5d791fcb4654a1ef5e03fe0ad3d9c598f9827:u:sha256:correct horse battery staple
c11e8406796ea352075234a0d50df5db7c46b3c2:u:sha256:pseudonym
 rate:    132.11 p/s found:     2/3          elapsed:    0.023 s

In which operating system did you save the file "Example.hex"? If in Windows, then in the text file there is an invisible backspace character "\r" that needs to be removed.

cat Example.hex | sed "s/\r$//" > Example2.hex

oguzdelioglu commented 3 years ago

Just checked your example. Everything works.

 ~/brainflayer/brainflayer -v -b example.blf -i phraselist.txt
c4c5d791fcb4654a1ef5e03fe0ad3d9c598f9827:u:sha256:correct horse battery staple
c11e8406796ea352075234a0d50df5db7c46b3c2:u:sha256:pseudonym
 rate:    132.11 p/s found:     2/3          elapsed:    0.023 s

In which operating system did you save the file "Example.hex"? If in Windows, then in the text file there is an invisible backspace character "\r" that needs to be removed.

cat Example.hex | sed "s/\r$//" > Example2.hex

your solution is true but the wrong place is phraselist.txt, not example.hex :)

I applied the code you provided in the phraselist file and found a result.

Thanks :)

Note: If OS System Windows Notepad++ Settings must like this https://prnt.sc/10nnxn8

rocje commented 3 years ago

There is some other solution for this because at the beginning it worked well for me but as I was using it and testing it I stopped finding the example wallets that I had created and I do not understand why everything was fine...

I have already tried the possible solutions recommended here, but it remains the same. One piece of information was that I upgraded from debian 9 to 10 ... but I don't think that's the problem, or is it ...?

ryancdotorg commented 3 years ago

The bloom filter code is, in retrospect, not good. I have some replacement code that I need to integrate which fixes pretty much all the issues, but time. :-/

rocje commented 3 years ago

ok @ryanc thanks ...i will wait..and will be pending ,..for now I'll keep trying to see if I can fix it maybe it's not brainflayer but haha :) ​​I'll keep going....Greetings from a fan

medojoe commented 3 years ago

The bloom filter code is, in retrospect, not good. I have some replacement code that I need to integrate which fixes pretty much all the issues, but time. :-/

the bloom filter works perfect with "crunch" generator on one of my linux setups. Every single time i test it with a specific passphrase/password or even addresses it generated from space characters, the result is found immediately .. i'm not sure if it's always the case with inputs from txt files as i only tested it with a single huge file and it worked correctly. but like i said, that was just one txt file i tested.

Flamerinus commented 3 years ago

There is some other solution for this because at the beginning it worked well for me but as I was using it and testing it I stopped finding the example wallets that I had created and I do not understand why everything was fine...

I have already tried the possible solutions recommended here, but it remains the same. One piece of information was that I upgraded from debian 9 to 10 ... but I don't think that's the problem, or is it ...?

Hi, I'm trying this tool and I'm finding it to be very finicky with the files hehehe.

I had trouble with the files containing extra characters so I checked with http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm. There was a 0D after every Line feed 0A, in windows 10 when I copied keys from the browser to the .txt, so after removing it, I started getting results. (https://www.eso.org/~ndelmott/ascii.html)

Now I have the first 6 brain wallets (skipped the empty string) from https://privatekeys.pw/brainwallet/bitcoin/1 and it's finding only 5/6 unless you add another empty line after your last passphrase. I'm getting the private key from each wallet and using this tool to get the RIPEMD-160 Hash (http://gobittest.appspot.com/Address).

If I have:

bitcoin is awesome
gate gate paragate parasamgate bodhi svaha
how much wood could a woodchuck chuck if a woodchuck could chuck wood
Down the Rabbit-Hole
fhqyqzhao123
The Persistence Of Memory

I get:

rate: 233.11 p/s found: 5/6 elapsed: 0.026 s

But if I add an empty line at the bottom after the last line in that file, I get:

rate: 235.21 p/s found: 6/6 elapsed: 0.026 s

quamelincoln commented 1 year ago

There is some other solution for this because at the beginning it worked well for me but as I was using it and testing it I stopped finding the example wallets that I had created and I do not understand why everything was fine... I have already tried the possible solutions recommended here, but it remains the same. One piece of information was that I upgraded from debian 9 to 10 ... but I don't think that's the problem, or is it ...?

Hi, I'm trying this tool and I'm finding it to be very finicky with the files hehehe.

I had trouble with the files containing extra characters so I checked with http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm. There was a 0D after every Line feed 0A, in windows 10 when I copied keys from the browser to the .txt, so after removing it, I started getting results. (https://www.eso.org/~ndelmott/ascii.html)

Now I have the first 6 brain wallets (skipped the empty string) from https://privatekeys.pw/brainwallet/bitcoin/1 and it's finding only 5/6 unless you add another empty line after your last passphrase. I'm getting the private key from each wallet and using this tool to get the RIPEMD-160 Hash (http://gobittest.appspot.com/Address).

If I have:

bitcoin is awesome
gate gate paragate parasamgate bodhi svaha
how much wood could a woodchuck chuck if a woodchuck could chuck wood
Down the Rabbit-Hole
fhqyqzhao123
The Persistence Of Memory

I get:

rate: 233.11 p/s found: 5/6 elapsed: 0.026 s

But if I add an empty line at the bottom after the last line in that file, I get:

rate: 235.21 p/s found: 6/6 elapsed: 0.026 s

i dont understand