Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special character in BTC core password not recognized #22

Closed
trdiablo5 opened this issue Jun 27, 2016 · 7 comments
Closed

Special character in BTC core password not recognized #22

trdiablo5 opened this issue Jun 27, 2016 · 7 comments

Comments

@trdiablo5
Copy link

Hello,

I suspect I had the special charachter ï in my password. So that is the letter i but with two dots on the i.
I have used the makefile file to add Unicode support. But when I run the btcrecoveru.py file I still get errors because the character ï is not recognized. below is the snipper of the CMD.

What can I do ? Please help?

C:\Users\user\desktop\btcrecover-master>btcrecoveru.py --wallet wallet.dat --
tokenlist tokU.txt
Traceback (most recent call last):
File "C:\Users\user\desktop\btcrecover-master\btcrecoveru.py", line 4952, i
n
parse_arguments(sys.argv[1:])
File "C:\Users\user\desktop\btcrecover-master\btcrecoveru.py", line 2510, i
n parse_arguments
if tokenlist_file and tokenlist_file.peek() == "#": # if it's either a comm
ent or additional args
File "C:\Users\user\desktop\btcrecover-master\btcrecoveru.py", line 2194, i
n peek
self._peeked = self._file.read(1)
File "C:\Python27\lib\codecs.py", line 314, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
File "C:\Python27\lib\encodings\utf_8_sig.py", line 66, in _buffer_decode
return codecs.utf_8_decode(input, errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xcf in position 28: invalid
continuation byte

@gurnec
Copy link
Owner

gurnec commented Jun 30, 2016

What program did you use to create the tokU.txt file? When you save it, you must find the option to save it in UTF-8 format. In Windows Notepad, that option is just to the left of the Save button on the dialog box where you enter the name. Did you do this?

If this doesn't help, would you mind sending me a copy a tokU.txt file which causes this problem? You can remove anything in it which isn't causing a problem for privacy's sake. Let me know if you'd like to do this and I'll post back with instructions on how to send that file to me safely.

@trdiablo5
Copy link
Author

trdiablo5 commented Jul 3, 2016

Hi Gurnec, thanks a lot for your reply. After reading your comment I have saved the Toku.txt file in UTF8 format (with Windows Notepad) and now it works. You are a genius, thanks again.

If I am able to find the password of my BTC wallet I will send you a reward. Word of honor.

@gurnec
Copy link
Owner

gurnec commented Jul 4, 2016

I'm glad it's working! Good luck!

@opies32765
Copy link

Hi Gurnec

I need some help and cannot find your rmail to email you directly. I know this post is old but im hoping that you will still check it. I have set up your program and its working great. I have a second GPU that i would like to add to my computer. In your GPU acceleration info you mentioned multiple GPU's. I went ahead and installed a second one but btcrecover is asking me to pick one it says --gpus names....is it possible to add multiple GPU's ? I have run the test and it sees both of them. I cannot figure out what the setting would be ? I have tried naming them but cannot figure it out. I have a GeForce GTX 1080 Ti and a GeForce GTX 1080 my info is below

cd C:\temp\btcrecover-master
C:\python27\python btcrecover.py --wallet wallet.dat --enable-gpu --global-ws 262144 --local-ws 1024 --tokenlist tokens.txt --no-dupchecks --no-eta --max-tokens 10 --typos 1 --typos-case --autosave savefile

thanks in advance

@gurnec
Copy link
Owner

gurnec commented Jun 1, 2017

(this was answered elsewhere, but I'm copy-pasting it here for posterity)

By default, btcrecover only uses multiple GPUs at the same time if they're identical, but you can force it to use different GPUs if you'd like.

First, ask it for a list of your current OpenCL devices like so:

> C:\python27\python btcrecover.py --list-gpus
#1 GeForce GTX 1080 Ti
#2 GeForce GTX 1080
#3 Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz

It's easiest to specify the GPUs you want to use by the #ID numbers, so for example to use the two 1080s, even though they're different models:

> C:\python27\python btcrecover.py --enable-gpu --gpu-names #1,#2 ...

Note that you may get better performance if you use a different global-ws for each GPU (with a bigger global-ws for the Ti), something like this:

> C:\python27\python btcrecover.py --enable-gpu --gpu-names #1,#2 --global-ws 262144,196608 --local-ws 1024 ...

Note that the order matters: in this example, GPU #1 (the faster one) is listed first after --gpu-names, so the larger --global-ws is also listed first. Only way to know if using different global-ws values improves performance is trial and error unfortunately.

@jaymighty33
Copy link

Hi gumec...i have followed all instruction on the Quick Start
i don know where to include this ( --blockchain-secondpass )
and each time i try to open the btcrecover.py ,it closes immediately
i will be glad if you could avail me of your help
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@gurnec @trdiablo5 @opies32765 @jaymighty33 and others