Sanka555 (OP)
Member
Offline
Activity: 96
Merit: 36
|
|
February 15, 2022, 07:56:04 PM |
|
I managed to get information from it in this format (I changed the salt and key, of course) How do I use this to recover the private keys of the wallet. I would be grateful for any help.
{ "ckey": [], "keys": [], "mkey": { "encrypted_key": "3cb3548fb9af4d66a6397fadd121bb63781a20f5789175f4b6eb1ed0edeb7ce3e9db6ea393a0db4 ef9d129ffffcb127f2e", "nDerivationIterations": 67570, "nDerivationMethod": 0, "nID": 1, "otherParams": "", "salt": "8683678f1a88d722" }, "names": {}, "pool": [], "tx": [], "version": 32500 }
besides that, I know the address.
|
|
|
|
PawGo
Legendary
Offline
Activity: 952
Merit: 1385
|
|
February 15, 2022, 09:33:11 PM |
|
And do you know password? If not, the only option is to brute-force it, using hash&salt information. For completely unknown password chances are… low.
|
|
|
|
Sanka555 (OP)
Member
Offline
Activity: 96
Merit: 36
|
|
February 15, 2022, 10:55:44 PM |
|
And do you know password? If not, the only option is to brute-force it, using hash&salt information. For completely unknown password chances are… low.
Everything is very interesting) wallet.dat does not have a password, but it was corrupted I found recovery programs on github. But it was not possible to restore everything I was able to extract the masterKey from it. in base64 "YmM...." but the problem is that the format of the address I need P2SH "3...." adress i know and I have absolutely no idea how it can be obtained keys using Java. I can do any other (thank you ) but this one doesn’t (((
|
|
|
|
BitMaxz
Legendary
Offline
Activity: 3416
Merit: 3160
Is the $100k BTC possible?
|
|
February 15, 2022, 11:09:28 PM |
|
Would you mind trying wallet salvage? To salvage the wallet.dat make a copy or another backup of your wallet.dat first before the operation and put it in the bitcoin core wallet folder. After that run the Bitcoin core wallet -salvagewallet you can put it on Bitcoin shortcut check the image below as a reference And let's hope it will generate a new wallet.dat that includes your keys and wallet.
|
BTC Road to $80k...
|
|
|
nc50lc
Legendary
Offline
Activity: 2576
Merit: 6257
Self-proclaimed Genius
|
|
February 16, 2022, 03:32:01 AM |
|
To salvage the wallet.dat make a copy or another backup of your wallet.dat first before the operation and put it in the bitcoin core wallet folder. After that run the Bitcoin core wallet -salvagewallet you can put it on Bitcoin shortcut check the image below as a reference
The -savagewallet command line option was removed from Bitcoin-qt/cli v0.21.0it's moved to 'bitcoin-wallet' tool as " salvage". Here's how to use the command using that tool: -snip-" bitcoin-wallet" is in the " daemon" folder inside Bitcoin Core's installation directory ( where bitcoind and bitcoin-cli are located). To use it, open Terminal, cd to the directory where bitcoin-wallet is. Then use the command ( provide the full path to the wallet.dat file): bitcoin-wallet --wallet="E:\Folder\wallet.dat" salvage It wont return with any response ( unless it failed) but you will see a backup file ( wallet.dat.xxxxx.bak) where the wallet.dat is located. The new wallet.dat is the " salvaged" wallet.
|
|
|
|
Sanka555 (OP)
Member
Offline
Activity: 96
Merit: 36
|
|
February 16, 2022, 05:39:10 AM Last edit: February 16, 2022, 05:52:43 AM by Sanka555 |
|
i have only response "Invalid command: salvage" and "Invalid command: salvagewallet"
can i get my keys from the master key?
|
|
|
|
nc50lc
Legendary
Offline
Activity: 2576
Merit: 6257
Self-proclaimed Genius
|
|
February 16, 2022, 06:09:50 AM |
|
"Invalid command: salvage" and "Invalid command: salvagewallet"
You'll only get that result in Bitcoin Core so you must have missed/misunderstood my reply to BitMaxz's post. Use " bitcoin-wallet" tool which I've pointed-out in my post.
|
|
|
|
Sanka555 (OP)
Member
Offline
Activity: 96
Merit: 36
|
|
February 16, 2022, 06:31:04 AM |
|
"Invalid command: salvage" and "Invalid command: salvagewallet"
You'll only get that result in Bitcoin Core so you must have missed/misunderstood my reply to BitMaxz's post. Use " bitcoin-wallet" tool which I've pointed-out in my post. I try do exactly as you said. I went into the bitcoin core in the folder where the exe is located. There I launched a terminal and pointed the path to my broken walletdat image : https://clip2net.com/s/4eX740G
|
|
|
|
mocacinno
Legendary
Offline
Activity: 3556
Merit: 5174
https://merel.mobi => buy facemasks with BTC/LTC
|
|
February 16, 2022, 06:38:36 AM |
|
Which version are you running? It seems salvagewallet was removed from 0.21.0, so if you're running a version pre 0.21.0, you could try the initial command given by BitMaxz.
EDIT: i just logged on to my system, and had a look for myself (-help). Seems like the command is: ./bitcoin-wallet salvage --"wallet.dat" At least, that how it works for me..
On windows, that would make bitcoin-wallet.exe salvage --"c:\\path to\\wallet.dat" (at least, i think it'll need double slashes)
So basically, if you're running >=0.21.0, you could try to switch the salvage command and the path...
|
|
|
|
nc50lc
Legendary
Offline
Activity: 2576
Merit: 6257
Self-proclaimed Genius
|
|
February 16, 2022, 06:39:51 AM Last edit: February 16, 2022, 06:55:42 AM by nc50lc |
|
I try do exactly as you said. I went into the bitcoin core in the folder where the exe is located. There I launched a terminal and pointed the path to my broken walletdat image : https://clip2net.com/s/4eX740GAre you perhaps using an old version of Bitcoin Core, versions before v0.21.0? If so, you can follow BitMaxz's instructions instead. can i get my keys from the master key?
If you have the master key ( private master key or hdseed?), then yes. But based from your earlier reply, it seems like it's in encrypted format so you'll need to decrypt it with the password first. -Edit-On windows, that would make bitcoin-wallet.exe salvage --"c:\\path to\\wallet.dat" (at least, i think it'll need double slashes)
If 'salvage' comes before the wallet path in Windows, it will take it as an additional parameter and will return with error: Error: Additional arguments provided (--wallet=............)My example should work without issues if he's using the correct version.
|
|
|
|
Sanka555 (OP)
Member
Offline
Activity: 96
Merit: 36
|
|
February 16, 2022, 06:54:40 AM |
|
made through the properties of the label. I trying to launch from a shortcut... Something flashes in a second. But nothing happens. Core won't start. The new "dat" did not appear. "bak" isn't either. when I try to run the exe not through the shortcut, it says that dat is corrupted db.log says: Page 0: metadata page corrupted Page 0: could not check metadata page wallet.dat: DB_VERIFY_BAD: Database verification failed __db_meta_setup: I:\bit\wallets\wallet.dat: unexpected file type or format __db_meta_setup: I:\bit\wallets\wallet.dat: unexpected file type or format version 0.20.1
|
|
|
|
Sanka555 (OP)
Member
Offline
Activity: 96
Merit: 36
|
|
February 16, 2022, 07:05:02 AM |
|
Which version are you running? It seems salvagewallet was removed from 0.21.0, so if you're running a version pre 0.21.0, you could try the initial command given by BitMaxz.
EDIT: i just logged on to my system, and had a look for myself (-help). Seems like the command is: ./bitcoin-wallet salvage --"wallet.dat" At least, that how it works for me..
On windows, that would make bitcoin-wallet.exe salvage --"c:\\path to\\wallet.dat" (at least, i think it'll need double slashes)
So basically, if you're running >=0.21.0, you could try to switch the salvage command and the path...
i do I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\bit\wallets\wallet.dat and I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\\bit\\wallets\\wallet.dat the same effect. Flashes for a second. But nothing starts and nothing happens -salvage does not work in my version at all. writes that such command is unknown I really hope that my key that I received after processing the information from the first post by the script will somehow help "YmM63dDbt...+....."
|
|
|
|
mocacinno
Legendary
Offline
Activity: 3556
Merit: 5174
https://merel.mobi => buy facemasks with BTC/LTC
|
|
February 16, 2022, 07:27:49 AM |
|
Which version are you running? It seems salvagewallet was removed from 0.21.0, so if you're running a version pre 0.21.0, you could try the initial command given by BitMaxz.
EDIT: i just logged on to my system, and had a look for myself (-help). Seems like the command is: ./bitcoin-wallet salvage --"wallet.dat" At least, that how it works for me..
On windows, that would make bitcoin-wallet.exe salvage --"c:\\path to\\wallet.dat" (at least, i think it'll need double slashes)
So basically, if you're running >=0.21.0, you could try to switch the salvage command and the path...
i do I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\bit\wallets\wallet.dat and I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\\bit\\wallets\\wallet.dat the same effect. Flashes for a second. But nothing starts and nothing happens -salvage does not work in my version at all. writes that such command is unknown I really hope that my key that I received after processing the information from the first post by the script will somehow help "YmM63dDbt...+....." Did you look at the command i posted vs your command? executable -salvagewallet --"path" is not the same as executable salvage --"path" But first things first: which bitcoin core version are you using?
|
|
|
|
Sanka555 (OP)
Member
Offline
Activity: 96
Merit: 36
|
|
February 16, 2022, 07:44:11 AM |
|
Which version are you running? It seems salvagewallet was removed from 0.21.0, so if you're running a version pre 0.21.0, you could try the initial command given by BitMaxz.
EDIT: i just logged on to my system, and had a look for myself (-help). Seems like the command is: ./bitcoin-wallet salvage --"wallet.dat" At least, that how it works for me..
On windows, that would make bitcoin-wallet.exe salvage --"c:\\path to\\wallet.dat" (at least, i think it'll need double slashes)
So basically, if you're running >=0.21.0, you could try to switch the salvage command and the path...
i do I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\bit\wallets\wallet.dat and I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\\bit\\wallets\\wallet.dat the same effect. Flashes for a second. But nothing starts and nothing happens -salvage does not work in my version at all. writes that such command is unknown I really hope that my key that I received after processing the information from the first post by the script will somehow help "YmM63dDbt...+....." Did you look at the command i posted vs your command? executable -salvagewallet --"path" is not the same as executable salvage --"path" But first things first: which bitcoin core version are you using? 0.20.1
|
|
|
|
brainless
Member
Offline
Activity: 330
Merit: 34
|
|
February 16, 2022, 08:19:11 AM |
|
Which version are you running? It seems salvagewallet was removed from 0.21.0, so if you're running a version pre 0.21.0, you could try the initial command given by BitMaxz.
EDIT: i just logged on to my system, and had a look for myself (-help). Seems like the command is: ./bitcoin-wallet salvage --"wallet.dat" At least, that how it works for me..
On windows, that would make bitcoin-wallet.exe salvage --"c:\\path to\\wallet.dat" (at least, i think it'll need double slashes)
So basically, if you're running >=0.21.0, you could try to switch the salvage command and the path...
i do I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\bit\wallets\wallet.dat and I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\\bit\\wallets\\wallet.dat the same effect. Flashes for a second. But nothing starts and nothing happens -salvage does not work in my version at all. writes that such command is unknown I really hope that my key that I received after processing the information from the first post by the script will somehow help "YmM63dDbt...+....." Did you look at the command i posted vs your command? executable -salvagewallet --"path" is not the same as executable salvage --"path" But first things first: which bitcoin core version are you using? 0.20.1 when you finish your last option for bad db inside wallet.dat recovery, then can try to give me dat file, i will recover db inside dat file manually, and make sure no demand from me, if recovered, will fw back to you as it is
|
13sXkWqtivcMtNGQpskD78iqsgVy9hcHLF
|
|
|
mocacinno
Legendary
Offline
Activity: 3556
Merit: 5174
https://merel.mobi => buy facemasks with BTC/LTC
|
|
February 17, 2022, 06:42:17 AM |
|
I did have an old 0.20.1 unpacked on my node (it's no longer been used, but i have the habit of keeping historical versions after upgrading). When executing ./bitcoin-qt -help I do see -salvagewallet Attempt to recover private keys from a corrupt wallet on startup
So, the functionality should still be available from within the bitcoin-qt executable in 0.20.1. This being said, doing "nothing" is what it's supposed to do... It shouldn't give you any warning messages or popups... The command should just run and close without giving any additional message. It should have created a backup copy of your wallet file (with a .bak) extension and the wallet file itself should have been salvaged. I have no idear what the success ratio is tough... I guess it's possible bitcoin core finds your wallet is not salvagable. Be carefull with sending wallet files to anybody... If you must send your wallet file to somebody because you really can't figure stuff out, make sure you only send it to somebody you trust.
|
|
|
|
|