Pages:
Author

Topic: Private Key Restorer (Read 3545 times)

member
Activity: 74
Merit: 10
May 24, 2020, 08:13:51 AM
#25
I need a private key restorer.


guys i have Etherium private key was saved in notepad accidently my kids press some alphabet and first 20 digits missing and i have saved it without notic can anyone please help me to recover if its possible



You could try these guys https://keychainx.io

full member
Activity: 161
Merit: 168
May 22, 2020, 11:20:07 AM
#24
It should run with any Java version. https://java.com/de/download/

It is then started with a double click on the .jar file.   https://github.com/MrMaxweII/repairPrivKey/releases/download/V1.3.1/repairPrivKey.jar


newbie
Activity: 7
Merit: 0
May 22, 2020, 09:49:15 AM
#23
hi!  Smiley
How to run this tool ?
What a version of java need install?
full member
Activity: 204
Merit: 437
May 10, 2020, 05:41:29 AM
#22
guys i have Etherium private key was saved in notepad accidently my kids press some alphabet and first 20 digits missing and i have saved it without notic can anyone please help me to recover if its possible

If your key was reused then it's possible to recover it. Then the time complexity is only 240, which is doable in 15 minutes on a V100 GPU.

Reused key means you sent coins from it, and know the public key.
Or if you signed anything and have the signature.
full member
Activity: 161
Merit: 168
May 07, 2020, 03:26:45 PM
#21
I wrote a Java tool that can do that, but 20 characters are impossible in her lifetime.

https://github.com/MrMaxweII/repairPrivKey


copper member
Activity: 1582
Merit: 1319
I'm sometimes known as "miniadmin"
May 07, 2020, 02:43:04 PM
#20
---
Was your private key saved in a file before your kid fucked it up? If that's the case, you may be able to restore an earlier version of said file; and with some luck, it will contain the whole privkey.
legendary
Activity: 1624
Merit: 2481
May 07, 2020, 02:21:33 PM
#19
guys i have Etherium private key was saved in notepad accidently my kids press some alphabet and first 20 digits missing and i have saved it without notic can anyone please help me to recover if its possible

Unfortunately not.
You would have been able to restore a few chars, but definitely not 20.

By the way, if you don't have an offline backup (not stored on your computer), you don't have a backup at all.
Any incident affecting your computer (electrical short, ransomware, .. ) could have lead to a loss of the private key.

Storing a backup on the same device as the wallet is not a backup at all.
HCP
legendary
Activity: 2086
Merit: 4314
May 06, 2020, 07:37:15 PM
#18
guys i have Etherium private key was saved in notepad accidently my kids press some alphabet and first 20 digits missing
20 characters missing!!?! Shocked Shocked Shocked

Your chances of being able to recover that in a 'timely' manner are pretty much zero... that's nearly 1/3 of the 64 hex characters making up a private key... and something ludicrous like 16^20 permutations... 1208925819614629174706176 to be precise. Shocked Shocked Shocked Undecided
newbie
Activity: 1
Merit: 0
May 06, 2020, 04:54:39 PM
#17
I need a private key restorer.


guys i have Etherium private key was saved in notepad accidently my kids press some alphabet and first 20 digits missing and i have saved it without notic can anyone please help me to recover if its possible

hero member
Activity: 525
Merit: 529
September 25, 2016, 08:28:47 AM
#16

Great code, works fine alas only with uncompressed private keys.

Would it be possible to write similar program to work with compressed ones ?


Sure, here is the universal version: http://pastebin.com/gPzBp6u3

it recognize the compression type from the first char.

if the first char is a missing char, you have to set the compression type by manual (compressed = 0; or compressed = 1;)

tips are welcome: 1JsU1mfK3qxC37JoFiVhvi3KoA7ceUaMrZ  Roll Eyes
full member
Activity: 141
Merit: 115
September 24, 2016, 08:28:50 AM
#15
Compile this code: http://pastebin.com/S8WARrRn

This code is for address with 5 unknow "-" chars!!

First set your address to 58. line, and compile the code (you need openssl dev installed, apt-get install libssl-dev):

Code:
gcc -o recovery recovery.c -I /usr/include -Wall -lssl -lcrypto -O2

run it ( ./recovery ), and stop with ctrl+c, you got 5 "index: XX" lines.

Modify the "define C_X_INDEX" lines in the code (line 49-53). Compile again.

Run again and wait, get a coffee, or 10.  Cheesy





Great code, works fine alas only with uncompressed private keys.

Would it be possible to write similar program to work with compressed ones ?

legendary
Activity: 3528
Merit: 9525
#1 VIP Crypto Casino
September 23, 2016, 05:03:46 PM
#14
I could probably throw together a C program that would do this for you.  Do you have the ability to compile and run a C program?

If not, I might also be able to put together something in node.js



Top guy DannyHamilton is, one of the best here. OP you are lucky to have found a poster who is willing to do this for you.

Anomgst all the bull shit & scamming that goes on here it's good to see there are some good people here.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
September 23, 2016, 08:46:56 AM
#13
"Test 1A" means: testing this privkeys: 5HpHag165TZAG1PH3CSu63k8Dbp*D8s5ip*nEB3kEsreAnc*uDf
there are 58*58 (=3364) so groups, with your cpu (~2 sec/testgroup) you get the result about 2 hours.
Thanks. I edited my post the same time you posted this.
You say 58 where I assumed 62. I didn't realize until now the private key excludes the same characters that are excluded from the address.

In the meantime if you find another copy of your private key, or manage to remember what the values were, just let me know so I don't waste time on it.
elbandi already posted a working program.
legendary
Activity: 3360
Merit: 4570
September 23, 2016, 08:16:12 AM
#12
Yes, normaly I can run a C programm. Smiley

It would be nice if you can throw a programm togehter. Wink

No problem.

I'll put something together this weekend and test it for a few days next week to see how good I can get the performance.

In the meantime if you find another copy of your private key, or manage to remember what the values were, just let me know so I don't waste time on it.
hero member
Activity: 525
Merit: 529
September 23, 2016, 04:30:08 AM
#11
What does this output mean? When it says Test: 1A, what is it doing? Is it searching for the all possibilities on the 3 dots that start with A1, so it will stop at Tz?
5HpHag-65TZ-G1PH3CSu63k8Dbp-D8s5ip-nEB3kEsreAnc-uDf
5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf
"Test 1A" means: testing this privkeys: 5HpHag165TZAG1PH3CSu63k8Dbp*D8s5ip*nEB3kEsreAnc*uDf
there are 58*58 (=3364) so groups, with your cpu (~2 sec/testgroup) you get the result about 2 hours.

What doIf I'm right on this, it's a bit slower than vanity gen, doing 62^3=238328 keys in 2 seconds. Vanitygen does 3 times more on 2 cores.
i dont know vanitygen, how do you run it to test this keys?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
September 23, 2016, 03:55:23 AM
#10
Compile this code: http://pastebin.com/S8WARrRn

This code is for address with 5 unknow "-" chars!!

First set your address to 58. line, and compile the code (you need openssl dev installed, apt-get install libssl-dev):

Code:
gcc -o recovery recovery.c -I /usr/include -Wall -lssl -lcrypto -O2

run it ( ./recovery ), and stop with ctrl+c, you got 5 "index: XX" lines.

Modify the "define C_X_INDEX" lines in the code (line 49-53). Compile again.

Run again and wait, get a coffee, or 10.  Cheesy


I've got it running, to test Smiley

Code:
Test: 11...1.984325s
Test: 12...1.990294s
Test: 13...1.985650s
Test: 14...1.966374s
Test: 15...1.970396s
Test: 16...1.968263s
Test: 17...1.960968s
Test: 18...2.025619s
Test: 19...2.121881s
Test: 1A...2.021763s
Test: 1B...1.986647s
Test: 1C...2.025444s
Test: 1D...1.988550s
Test: 1E...2.019848s
Test: 1F...2.009220s
Test: 1G...1.994616s
Test: 1H...1.994534s
Test: 1J...1.989563s
When it says Test: 1A, it's searching for the all possibilities on the 3 dots that start with A1, until it stops at Tz.
5HpHag-65TZ-G1PH3CSu63k8Dbp-D8s5ip-nEB3kEsreAnc-uDf
5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf
That makes it a bit slower than vanity gen, doing 62^3=238328 keys in 2 seconds. Vanitygen does 3 times more, but uses both 2 cores.

Edit:
Test: Tx...1.986084s
Test: Ty...1.994141s
Test: Tz...
FOUND: 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf

Thanks! I will keep this program, I may need it someday.
hero member
Activity: 525
Merit: 529
September 22, 2016, 06:27:42 PM
#9
Compile this code: http://pastebin.com/S8WARrRn

This code is for address with 5 unknow "-" chars!!

First set your address to 58. line, and compile the code (you need openssl dev installed, apt-get install libssl-dev):

Code:
gcc -o recovery recovery.c -I /usr/include -Wall -lssl -lcrypto -O2

run it ( ./recovery ), and stop with ctrl+c, you got 5 "index: XX" lines.

Modify the "define C_X_INDEX" lines in the code (line 49-53). Compile again.

Run again and wait, get a coffee, or 10.  Cheesy

legendary
Activity: 3360
Merit: 4570
September 22, 2016, 05:48:02 PM
#8
I could probably throw together a C program that would do this for you.  Do you have the ability to compile and run a C program?

If not, I might also be able to put together something in node.js

sr. member
Activity: 392
Merit: 250
we are still here and we will stay forever.
September 22, 2016, 05:20:09 PM
#7
you can do it at https://www.bitaddress.org/
but it will take you a long time to exploit all the feasible solution.
about 570000 possibility withe these five missing letters  Cry
good luck
So how did you do it in 20 minutes? It would be a nice trick to have if I ever need it.
I have not done it in 20 minutes but 2 seconds Grin.                                                                                                                                   
because all the private key are numbers from 1 to 115792089237316195423570985008687907853269984665640564039457584007913129639935 (this privat key: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff or 5Km2kuu7vtFDPpxywn4u3NLu8iSdrqhxWT8tUKjeEXs2f9yxoWz as WIF), and the numbers of this key is just 1                                                                               
Quote
Private Key Hexadecimal Format (64 characters [0-9A-F]):                                                                                                      0000000000000000000000000000000000000000000000000000000000000001
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
September 22, 2016, 04:34:20 PM
#6
you can do it at https://www.bitaddress.org/
but it will take you a long time to exploit all the feasible solution.
about 570000 possibility withe these five missing letters  Cry
good luck
So how did you do it in 20 minutes? It would be a nice trick to have if I ever need it.
Pages:
Jump to: