Bitcoin Forum
May 11, 2024, 06:50:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Extracting wallet.dat keys from ancient bitcoin-qt client without network.  (Read 495 times)
d4n13 (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 101


“Create Your Decentralized Life”


View Profile
November 19, 2017, 06:12:28 AM
 #1

I have an old client that was running on a very old computer.  I have all the wallet passphrases and everything is in good shape, but there is literally *NO* way this client can ever catch up on my data plan and my vintage HD.

I have some lint in the wallets.  Nothing worth caring about till now.  Kinda like shale, the price is high enough for me to go through the work to extract the lint.  Last time I tried this, I concluded that I needed to sync with the blockchain, tried for a week and just gave up.  Maybe my assumptions were wrong.

Is there a way (maybe through bitcoind.exe) to start the client and *NOT* sync the blockchain.  Just get to a console where I can dump *ALL* private keys in the keybag.  I realize it will be a few hundred, but like I said... at this point it's worth the hassle.

If not... can the wallet.dat be decrypted with openssl and hexdumped to find the offset of the keybag?

Thx.

1715453428
Hero Member
*
Offline Offline

Posts: 1715453428

View Profile Personal Message (Offline)

Ignore
1715453428
Reply with quote  #2

1715453428
Report to moderator
1715453428
Hero Member
*
Offline Offline

Posts: 1715453428

View Profile Personal Message (Offline)

Ignore
1715453428
Reply with quote  #2

1715453428
Report to moderator
1715453428
Hero Member
*
Offline Offline

Posts: 1715453428

View Profile Personal Message (Offline)

Ignore
1715453428
Reply with quote  #2

1715453428
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715453428
Hero Member
*
Offline Offline

Posts: 1715453428

View Profile Personal Message (Offline)

Ignore
1715453428
Reply with quote  #2

1715453428
Report to moderator
1715453428
Hero Member
*
Offline Offline

Posts: 1715453428

View Profile Personal Message (Offline)

Ignore
1715453428
Reply with quote  #2

1715453428
Report to moderator
1715453428
Hero Member
*
Offline Offline

Posts: 1715453428

View Profile Personal Message (Offline)

Ignore
1715453428
Reply with quote  #2

1715453428
Report to moderator
Bitfort
Sr. Member
****
Offline Offline

Activity: 952
Merit: 339

invest trade and gamble wisely


View Profile
November 19, 2017, 06:58:42 AM
Last edit: November 19, 2017, 07:41:56 AM by Bitfort
 #2

You might want to try run qt in "pruning mode" ( it does not download entire blockchain ... just the block headers and should be much quicker) ... google for details how to.

EDIT: Yea, you mentioned the old version. I didn't realized that. Another thing could be try to download blockchain boostrap ( in past there were some on torrents, not sure how it is now ).
There has to be a way to get your prv.keys without needing to sync qt but I'm not aware of any. Let see other users opinions.

MY HINTs
◄M► MINING
◄G► GAMBLING
◄E► EXCHANGE

◄E► (KCS) Kucoin-Staking, Auto-Lending, Trading-Bot
◄E► (BNB) Binance-Staking, Savings, 10% RefBack
◄E► (TRX) Poloniex-Staking, Lending, Fee Discount
◄E► (LEO) Bitfinex-Staking, Auto-Lending

◄G► Betfury-Faucet, Dividend Earnings (BFG holders, mine BFG by playing)
◄G► Bitvest -  Faucet, Bankroll Invest
◄G► CryptoGames-Faucet, Lotto
◄G► PrimeDice-Faucet

◄M► Prohashing (Multipool)-Payout in any coin, get 0.50% bonus for 30 days
◄M► MiningRigRentals (Marketplace)-buy hashrate or rent your miners
◄M► Viabtc  (Pool)-payout to Coinex (exchnage) without fees


d4n13 (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 101


“Create Your Decentralized Life”


View Profile
November 19, 2017, 07:06:28 AM
 #3

Think I'm on version 0.7 or 0.8 (did mention old right).  Pruning looks to be v0.12 introduction.

I'm hesitant to download new clients and start this all again given the age of the HW I'm working on.  I can loose the OS, no biggie, I have the wallet.dat backed up, it's just my only Windows machine.  I thought about renting a cloud node to run it on, but TOS all expressly forbid cryptocurrency SW, and I have a good relationship I don't want to sour with some random peer-to-peer port opening (cuz I'm dumb).

Seems a simple thing... if I disable my network stack, there is still no way into the keybag till it syncs?

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 19, 2017, 07:47:55 AM
 #4

Does that old version of bitcoin-qt not have the "dumpwallet" or "dumpprivkey" console commands? You don't need to be synced to use those.

Failing that, if you're familiar with Python/Command line stuff, then I'd recommend "PyWallet", it definitely has a "dumpwallet" command that will extract everything from your wallet.dat. It does not require bitcoind to be synced... in fact, it doesn't require bitcoind/bitcoin-qt at all... just your wallet.dat file

Download here: https://github.com/jackjack-jj/pywallet
BitcoinTalk Thread here: https://bitcointalk.org/index.php?topic=34028.0

As always, remember to only work on COPIES of your wallet.dat Wink

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
d4n13 (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 101


“Create Your Decentralized Life”


View Profile
November 19, 2017, 08:04:43 AM
 #5

Does that old version of bitcoin-qt not have the "dumpwallet" or "dumpprivkey" console commands? You don't need to be synced to use those.

Failing that, if you're familiar with Python/Command line stuff, then I'd recommend "PyWallet", it definitely has a "dumpwallet" command that will extract everything from your wallet.dat. It does not require bitcoind to be synced... in fact, it doesn't require bitcoind/bitcoin-qt at all... just your wallet.dat file

Download here: https://github.com/jackjack-jj/pywallet
BitcoinTalk Thread here: https://bitcointalk.org/index.php?topic=34028.0
Yes, it does have dumpwallet and dumpprivkey, but I didn't think the console was available till the sync completed.  Least thats what I had in my notes... for some reason.

I'll look at getting a vintage copy of PyWallet since I'm sure the wallet format on my file is way older than it's expecting.

As always, remember to only work on COPIES of your wallet.dat Wink
Amen Brother... I have so many backups, it's a treat to try to find the real thing Wink

Spendulus
Legendary
*
Offline Offline

Activity: 2898
Merit: 1386



View Profile
November 20, 2017, 04:56:11 AM
 #6

Does that old version of bitcoin-qt not have the "dumpwallet" or "dumpprivkey" console commands? You don't need to be synced to use those.

Failing that, if you're familiar with Python/Command line stuff, then I'd recommend "PyWallet", it definitely has a "dumpwallet" command that will extract everything from your wallet.dat. It does not require bitcoind to be synced... in fact, it doesn't require bitcoind/bitcoin-qt at all... just your wallet.dat file

Download here: https://github.com/jackjack-jj/pywallet
BitcoinTalk Thread here: https://bitcointalk.org/index.php?topic=34028.0
Yes, it does have dumpwallet and dumpprivkey, but I didn't think the console was available till the sync completed.  Least thats what I had in my notes... for some reason.

I'll look at getting a vintage copy of PyWallet since I'm sure the wallet format on my file is way older than it's expecting.

As always, remember to only work on COPIES of your wallet.dat Wink
Amen Brother... I have so many backups, it's a treat to try to find the real thing Wink
Not sure about old versions of Core regarding dumping the keys before the sync is complete, but I am pretty sure this can be done on the current version.

Another option is to build on your computer another copy of Core, using a pruned database, then dumpprivatekeys. That would be pretty quick to load.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!