Bitcoin Forum
May 01, 2024, 12:06:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Looking for wallet  (Read 147 times)
Sdlooking92020 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
October 23, 2023, 07:52:46 AM
Merited by LoyceV (1)
 #1

Hello, I have about 6-7 hard drives to look for some bitcoin wallets I most likely deleted. I read through some posts and figured I could use winhex (could not get pywallet to work for me) and search for those magic numbers: magic = [
    b'\x01\x30\x82\x01\x13\x02\x01\x01\x04\x20',
    b'\x02\x42\x60\x8D\x10\x40\x01\x01\x00\x00',
    b'\x00\x00\x00\x00\x62\x31\x05\x00',  # Bitcoin Core wallet.dat
    b'\x00\x00\x00\x00\x62\x32\x05\x00',  # Bitcoin Core wallet.dat (testnet)
    b'\x00\x00\x00\x00\x62\x33\x05\x00',  # Bitcoin Core wallet.dat (regtest)
    b'\x00\x00\x00\x00\x62\x34\x05\x00',  # Bitcoin Core wallet.dat (signet)
    b'ELECBUM',                           # Electrum wallet
    b'BIE1\x00',                          # Bither wallet
    b'Mini',                              # Mini private key format
    b'passphrase',                        # Blockchain.info wallet (encrypted)
    b'encpriv',                           # Blockchain.info wallet (encrypted)
    b'pmtu',                              # MultiBit wallet
    b'Extended Private Key',              # Extended private key (xprv)
    b'Extended Public Key',               # Extended public key (xpub)
    b'\x80',                              # WIF for mainnet
    b'\xEF',                              # WIF for testnet
]

I am unsure as to what I am supposed to do if I find them. As an example, I found this "0000000062310500" on one hard drive but unsure of the next step. I am gathering information as I search each drive for any of these magic numbers. Any info is appreciated and will gladly share anything I find.
1714565160
Hero Member
*
Offline Offline

Posts: 1714565160

View Profile Personal Message (Offline)

Ignore
1714565160
Reply with quote  #2

1714565160
Report to moderator
1714565160
Hero Member
*
Offline Offline

Posts: 1714565160

View Profile Personal Message (Offline)

Ignore
1714565160
Reply with quote  #2

1714565160
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
seek3r
Legendary
*
Offline Offline

Activity: 1260
Merit: 1954



View Profile
October 23, 2023, 08:19:17 AM
 #2

It seems that 0000000062310500 matches to wallet.dat of Bitcoin Core. Next steps would be to extract and reconstruct that wallet file.

You can use WinHex to extract the data from the location. It may take some trys since it is not that easy to determine the length (atleast for me).
Save the data as a new .dat file and replace it with your wallet.dat on the Bitcoin Core data directory - before you do that: make sure to backup the file you are replacing (your current wallet)

If Bitcoin Core cannot read that new file you might want to start Bitcoin Core with the command line -salvagewallet which can fix the recovery attempt in a few cases.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
LoyceV
Legendary
*
Online Online

Activity: 3290
Merit: 16578


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 23, 2023, 08:28:22 AM
Merited by tranthidung (1)
 #3

(could not get pywallet to work for me)
Have you read [GUIDE] Recover your deleted keys? It's in my bookmarks with the name "use pywallet to search entire partition". This should get you started.

Sdlooking92020 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
October 23, 2023, 01:48:37 PM
 #4

It seems that 0000000062310500 matches to wallet.dat of Bitcoin Core. Next steps would be to extract and reconstruct that wallet file.

You can use WinHex to extract the data from the location. It may take some trys since it is not that easy to determine the length (atleast for me).
Save the data as a new .dat file and replace it with your wallet.dat on the Bitcoin Core data directory - before you do that: make sure to backup the file you are replacing (your current wallet)

If Bitcoin Core cannot read that new file you might want to start Bitcoin Core with the command line -salvagewallet which can fix the recovery attempt in a few cases.

How would I extract the data and how do I determine the length?
Sdlooking92020 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
October 23, 2023, 09:01:19 PM
 #5

(could not get pywallet to work for me)
Have you read [GUIDE] Recover your deleted keys? It's in my bookmarks with the name "use pywallet to search entire partition". This should get you started.

I tried the commands and get a segmentation fault like below:

Found 0 possible wallets
Found 0 possible encrypted keys
Found 0 possible unencrypted keys
zsh: segmentation fault  python2.7 pywallet.py --recover --recov_device='./thumb7.img'
joniboini
Legendary
*
Offline Offline

Activity: 2170
Merit: 1789



View Profile WWW
October 24, 2023, 02:06:30 AM
 #6

zsh: segmentation fault  python2.7 pywallet.py --recover --recov_device='./thumb7.img'
If I'm not wrong, segmentation fault usually occurs when there are one or two missing libraries/not installed correctly. Some errors in the past also suggest this[1]. One of the users fixed it by installing pycrypto on his own.

How do you install python and pywallet? Maybe experienced people can help you more if you also post the full logs and your installation steps. CMIIW.

[1] https://github.com/jackjack-jj/pywallet/pull/13

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Sdlooking92020 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
October 24, 2023, 04:27:53 AM
 #7

zsh: segmentation fault  python2.7 pywallet.py --recover --recov_device='./thumb7.img'
If I'm not wrong, segmentation fault usually occurs when there are one or two missing libraries/not installed correctly. Some errors in the past also suggest this[1]. One of the users fixed it by installing pycrypto on his own.

How do you install python and pywallet? Maybe experienced people can help you more if you also post the full logs and your installation steps. CMIIW.

[1] https://github.com/jackjack-jj/pywallet/pull/13

I will try this. Probably after I try looking for the magic numbers. Thank you
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6718


bitcoincleanup.com / bitmixlist.org


View Profile WWW
October 24, 2023, 11:54:45 AM
 #8

zsh: segmentation fault  python2.7 pywallet.py --recover --recov_device='./thumb7.img'
If I'm not wrong, segmentation fault usually occurs when there are one or two missing libraries/not installed correctly. Some errors in the past also suggest this[1]. One of the users fixed it by installing pycrypto on his own.

It can also mean any of these things happened:

- The program has a bug and got into some memory corruption problem
- NULL pointer deference (does not normally happen in Python)
- The file that was passed to pywallet.py was so large that it messed up some internal state inside Python while some method was being executed and that's how the process got killed.

Although I don't recall missing python libraries being able to segfault a script, usually the worst that happens is a (fatal) import error and it prints a message.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!