Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: germanuniv on March 12, 2015, 06:36:26 PM



Title: Forgotten BIP38 password
Post by: germanuniv on March 12, 2015, 06:36:26 PM
I made a paper wallet on bitaddress with a BIP38 password. Recently, when I tried to import, I was given an error message stating that the passphrase was incorrect. I used the last (x) digits from the public address as the passphrase for the BIP38. My assumption is that maybe one character is capitalized when it shouldn't be.

Is there a script or software I can use to run through variations of the passphrase? It is 9 different characters, 8 letters, one number. Im looking for a program that would run abcde, abcdE, abcDE, abCDE, aBCDE, ABCDE, ABCDe, ABCde, ABcde, etc. using only these nine characters.

Any help would be appreciated, .05 bitcoin bounty to the solution.


Title: Re: Forgotten BIP38 password
Post by: EcuaMobi on March 12, 2015, 06:55:58 PM
I made a paper wallet on bitaddress with a BIP38 password. Recently, when I tried to import, I was given an error message stating that the passphrase was incorrect. I used the last (x) digits from the public address as the passphrase for the BIP38. My assumption is that maybe one character is capitalized when it shouldn't be.

Is there a script or software I can use to run through variations of the passphrase? It is 9 different characters, 8 letters, one number. Im looking for a program that would run abcde, abcdE, abcDE, abCDE, aBCDE, ABCDE, ABCDe, ABCde, ABcde, etc. using only these nine characters.

Any help would be appreciated, .05 bitcoin bounty to the solution.

This SW should help you:
https://github.com/notespace/bip38-cracker

It seems your only option is to try all the possibilities.


Title: Re: Forgotten BIP38 password
Post by: cakir on March 12, 2015, 08:50:47 PM
So there're only 2^8 (256) different password combinations.
I can provide a tool that gets chars from you anyway you like and calculate all of those possibilities.
I'll code it in C and you can compile it easly with GCC and the output will be created in a txt file.

edit: I assume you know the position of the number and chars.


Title: Re: Forgotten BIP38 password
Post by: germanuniv on March 14, 2015, 05:05:48 AM
I gave up. Cross post to http://www.reddit.com/r/Bitcoin/comments/2yzqit/crack_bip38/

Private key is listed there


Title: Re: Forgotten BIP38 password
Post by: cakir on March 15, 2015, 02:13:30 AM
I gave up. Cross post to http://www.reddit.com/r/Bitcoin/comments/2yzqit/crack_bip38/

Private key is listed there

I'm gonna code a bot to crack it. But you need to confirm that;
You've said last 9 chars but on reddit you said 11 chars. Which one is it?


Title: Re: Forgotten BIP38 password
Post by: E.exchanger on March 15, 2015, 09:22:39 AM
I guess i should make a python script which can use all the possibilities by capitalizing lettes etc, i guess there is one already around not sure though.


Title: Re: Forgotten BIP38 password
Post by: cakir on March 16, 2015, 09:48:27 PM
I guess i should make a python script which can use all the possibilities by capitalizing lettes etc, i guess there is one already around not sure though.

I haven't coded mine yet. I'm waiting for answer from OP. Is it last 9 chars or 11?
Also it really doesn't matter. We need to try 256+1024 =1290 different passwords.
Also I'm looking for an offline decrypter for Bip38 to WIF, Is there any that you can suggest?