Author

Topic: btcrecover (Read 1923 times)

sr. member
Activity: 336
Merit: 250
There is a day to be born, and another to die
August 21, 2017, 11:51:01 PM
#17
You need to open up the tutorial and readme files for btcrecover. Follow those instructions TO THE TEETH. There are modules you have to install very specifically, for example I remember there being one windows binary I had to install, but in a single line of text in the tutorial file, it says there is a ...24... and a ...12... version of the same binary, you have to choose the correct one. Just follow the guide very closely and it will install just fine.
uuh
newbie
Activity: 15
Merit: 0
August 19, 2017, 10:07:40 PM
#16
Okay, now it's working with my one wallet, & I have another wallet.dat file when i run btcrecover.py then this error shows >>

Code:
encrypted_master_key, self._salt, method, self._iter_count = struct.unpack_from(b"< 49p 9p I I", mkey)
struct.error: unpack_from requires a buffer of at least 66 bytes

Do you recover password?
HCP
legendary
Activity: 2086
Merit: 4361
July 14, 2017, 09:52:17 AM
#15
Sorry... can't help you with that. I've never experienced that error before... and the technical details of what the script is doing there is beyond me Undecided

I suggest that you create an error report on the btcrecover github issues page: https://github.com/gurnec/btcrecover/issues

Alternatively, you *might* be able to contact "btchris" aka "gurnec" aka Chris Gurnee, the script author here: https://bitcointalksearch.org/user/btchris-1171
newbie
Activity: 55
Merit: 0
July 14, 2017, 06:42:25 AM
#14
Okay, now it's working with my one wallet, & I have another wallet.dat file when i run btcrecover.py then this error shows >>

Code:
encrypted_master_key, self._salt, method, self._iter_count = struct.unpack_from(b"< 49p 9p I I", mkey)
struct.error: unpack_from requires a buffer of at least 66 bytes
HCP
legendary
Activity: 2086
Merit: 4361
July 14, 2017, 12:09:26 AM
#13
Are you double clicking on the btcrecover.py script to run it? If so, and you don't have a properly created btcrecover-tokens-auto.txt file, then the script won't run.

How did you create the btcrecover-tokens-auto.txt and what commands did you put in that file? If it is just an empty file... then it won't work. Did you read this: https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#command-line-options-inside-the-tokens-file ?

So your btcrecover-tokens-auto.txt file needs to have commands and tokens in it like:
Code:
#--wallet wallet.dat --autosave progress.sav --pause --otherCommandsHere
Your Lists of
Tokens
Go Here and
Here

Set "wallet.dat" to be whatever your wallet file is.
newbie
Activity: 55
Merit: 0
July 13, 2017, 07:50:25 PM
#12
Why i'm getting this error:

btcrecover.py: error: argument --wallet (or --data-extract, --bip39, or --listpass, exactly one) is required
Press Enter to exit ...

https://image.prntscr.com/image/xrjzXLtMTFGaRF9mvR8kYg.png

I've created btcrecover-tokens-auto.txt

Note: (You may need to rename your wallet file if it doesn't match the file name listed insided the btcrecover-tokens-auto.txt

Q: How can match the file name listed insided the btcrecover-tokens-auto.txt
HCP
legendary
Activity: 2086
Merit: 4361
July 07, 2017, 04:26:46 AM
#11
The token file is just a text file... use any text editor you like... and follow the instructions to create the various tokens in the file. You put it in the same directory that you run btcrecover from.

This file, typically named tokens.txt, can be created in any basic text editor, such as Notepad on Windows or TextEdit on OS X, and should probably be saved into the same folder as the btcrecover.py script (just to keep things simple). Note that if your password contains any non-ASCII (non-English) characters, you should read the section on Unicode Support before continuing.

As for running the process: https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#running-btcrecover

Did you read any of the tutorial or instructions on the btcrecover github?? Huh
newbie
Activity: 55
Merit: 0
July 07, 2017, 03:59:15 AM
#10
How can generate token file & where to keep this file & how can i run the process?
HCP
legendary
Activity: 2086
Merit: 4361
July 07, 2017, 03:53:33 AM
#9
All the information you require is contained within the (very thorough) btcrecover Tutorial: https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#btcrecover-tutorial

It steps through the process explaining how token files work, about typos and passwordlists... and will probably do a better job of explaining how it all works than anyone else will be able to provide.

Note: btcrecover's most powerful ability is the use of token files. https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#the-token-file

Having a good token file is key to being able to recover your password.
newbie
Activity: 55
Merit: 0
July 07, 2017, 02:53:34 AM
#8
Okay, But I want to know how can I start, i think i used 3 to 5 words, I have already prepared the btcrecover but problem is how can i run the software where to write password & how can i generate different combinations of passwords & start running the cracking passwords. Thank You.
HCP
legendary
Activity: 2086
Merit: 4361
July 06, 2017, 11:33:47 PM
#7
If i could read the autosave file and see which characters it got right it would be good, but the only thing you can see is garble and the prompt at the end only says "passwords exhausted", it doesnt tell you what characters it guessed, if any, that were guessed right.
That's not the way it works... it isn't like in the movies where they hook up some cracking program and it decodes it one character at a time...

It cannot try a password and say "characters 2, 4, 7 and 9 are correct, everything else is wrong". Either the guessed password works or it doesn't...

as mentioned in the btcrecover docs, you really need a good idea of what your password was for this program to be useful... attempting to recover even an 8 character password can take a loooooong time. just using lowercase, uppercase and numbers you have (26+26+10)8 = 628 = 218,340,105,584,896 combinations!

I used weak password.
How weak is weak? how many characters? did you use special characters as well as letters and numbers?
full member
Activity: 177
Merit: 101
July 06, 2017, 09:37:59 PM
#6
I have properly installed btcrecover on windows, but how can i create password list & where place it, I have already copied wallet.dat to this folder btcrecover-master, I want to run all password combination because i don't know the password. Please describe me that how can i proceed in easy steps.
I have also run the unit tests by double-clicking on run-all-tests.py & in results i'm getting warning:
..run-all-test.pyc : warning: No module named pyopencl



I've this intel hd graphics 4000 on my laptop

====================================
Reference::
Windows GPU acceleration for Bitcoin Unlimited/Classic/XT/Core, Armory, or Litecoin-Qt

Download the latest version of PyOpenCL for OpenCL 1.2 / Python 2.7, either the 32-bit version or the 64-bit version to match the version of Python you installed, from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl. For best compatibility, be sure to select a version for OpenCL 1.2 and no later (look for "cl12" in the file name, and also look for "27" to match Python 2.7).

As of this writing, the 32-bit and 64-bit versions are named respectively:

pyopencl-2017.1.1+cl12-cp27-cp27m-win32.whl
pyopencl-2017.1.1+cl12-cp27-cp27m-win_amd64.whl
Open a command prompt window, and type this to install PyOpenCL and its dependencies:

cd %USERPROFILE%\Downloads
C:\Python27\Scripts\pip install pyopencl-2017.1.1+cl12-cp27-cp27m-win_amd64.whl
Note that you may need to change either the directory (on the first line) or the filename (on the second) depending on the filename you downloaded and its location.
==============================================
I'm unable to find this file pyopencl-2017.1.1+cl12-cp27-cp27m-win_amd64.whl due to i have downloaded pyopencl-2017.2+cl12-cp27-cp27m-win_amd64 but problem is that i'm unable to understand about how to install it.


Try using the %P wildcard in your tokens.txt file so you have %P%Punkown where you dont now the first 2 digits in front or unknown%P%P where you dont know the last 2 digits or %P%P%P%P%P where you dont know any of it. Each instance of %P is the character thats not known.

I myself have not used the password-list method only the tokens.txt method, i just created a token.txt file and entered part of the password i thought might be part of the larger password on each line.

This method appeared to work on a test wallet.

As for your GPU accelerated method, i found it worked when you had 2 separate command prompts open. I am using a bunky Barts core AMD card. The GPU power seemed to make a big difference.

My biggest fail is i dont know how long the password is on my real wallet so i am close to giving up and putting a bounty up.

If i could read the autosave file and see which characters it got right it would be good, but the only thing you can see is garble and the prompt at the end only says "passwords exhausted", it doesnt tell you what characters it guessed, if any, that were guessed right.

PM me if you want mate i can only just tell you what i have learnt thus far. Happy to help.

UA
newbie
Activity: 55
Merit: 0
July 06, 2017, 07:10:57 PM
#5
I don't know anything, Password is totally vanished from my brain.
Then no wallet recovery tool or service will be able to help you unless you used a very weak password. Without any idea what your password is, it is extremely unlikely that you can recover it.

I used weak password.
staff
Activity: 3458
Merit: 6793
Just writing some code
July 06, 2017, 07:01:18 PM
#4
I don't know anything, Password is totally vanished from my brain.
Then no wallet recovery tool or service will be able to help you unless you used a very weak password. Without any idea what your password is, it is extremely unlikely that you can recover it.
newbie
Activity: 55
Merit: 0
July 06, 2017, 06:40:26 PM
#3
You will get more help if you can tell us if you remember anything at all about the password. Can you remember roughly how long it is? Does it contain only letters and numbers, or does it also contain special characters? Is it completely random, or does it contain words?

I don't know anything, Password is totally vanished from my brain.
legendary
Activity: 2772
Merit: 2846
July 06, 2017, 06:33:31 PM
#2
You will get more help if you can tell us if you remember anything at all about the password. Can you remember roughly how long it is? Does it contain only letters and numbers, or does it also contain special characters? Is it completely random, or does it contain words?
newbie
Activity: 55
Merit: 0
July 06, 2017, 06:06:02 PM
#1
I have properly installed btcrecover on windows, but how can i create password list & where place it, I have already copied wallet.dat to this folder btcrecover-master, I want to run all password combination because i don't know the password. Please describe me that how can i proceed in easy steps.
I have also run the unit tests by double-clicking on run-all-tests.py & in results i'm getting warning:
..run-all-test.pyc : warning: No module named pyopencl

https://image.prntscr.com/image/CaY8OmwFR5Wv_Eq_MlAOjA.png

I've this intel hd graphics 4000 on my laptop

====================================
Reference::
Windows GPU acceleration for Bitcoin Unlimited/Classic/XT/Core, Armory, or Litecoin-Qt

Download the latest version of PyOpenCL for OpenCL 1.2 / Python 2.7, either the 32-bit version or the 64-bit version to match the version of Python you installed, from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl. For best compatibility, be sure to select a version for OpenCL 1.2 and no later (look for "cl12" in the file name, and also look for "27" to match Python 2.7).

As of this writing, the 32-bit and 64-bit versions are named respectively:

pyopencl-2017.1.1+cl12-cp27-cp27m-win32.whl
pyopencl-2017.1.1+cl12-cp27-cp27m-win_amd64.whl
Open a command prompt window, and type this to install PyOpenCL and its dependencies:

cd %USERPROFILE%\Downloads
C:\Python27\Scripts\pip install pyopencl-2017.1.1+cl12-cp27-cp27m-win_amd64.whl
Note that you may need to change either the directory (on the first line) or the filename (on the second) depending on the filename you downloaded and its location.
==============================================
I'm unable to find this file pyopencl-2017.1.1+cl12-cp27-cp27m-win_amd64.whl due to i have downloaded pyopencl-2017.2+cl12-cp27-cp27m-win_amd64 but problem is that i'm unable to understand about how to install it.
Jump to: