Bitcoin Forum
May 11, 2024, 07:30:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 »
1  Bitcoin / Bitcoin Technical Support / Re: Help me to recover 33.54 BTC from a corrupt wallet.dat, I'll pay you a Reward! on: November 25, 2020, 05:50:11 PM
H guys! I'm getting back with this post. I was kinda frustrated because I tried so many things.

Now, I became a software engineer with Sr level python experience. So, if you have any Python script that maybe help I'll try it. Or, if you have any procedure I'll listen to you and try it. But, I'll not give you the .dat file. Also, I'll try only the source code provided, for security reasons.




Thanks for the response, i tried to dump my wallet and i get "error un dump page". See the image



You can't dump a corrupt wallet to json as it won't have the correct format.
I quickly wrote a small Python script for parsing a wallet and dumping the private keys from it (run with Python 2):

Code:
import sys
import struct
from bsddb.db import *
from hashlib import sha256

# Dumps the private keys from a wallet.dat file.
# Inspired by pywallet.
# Credits: https://bitcoin.stackexchange.com/questions/13681/opening-wallet-dat-in-python-using-bsddb3

B58 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"

if not len(sys.argv) == 2:
    print("Usage: %s <wallet_file>" % sys.argv[2])
    sys.exit(1)

def read_size(buffer, offset):
    size = ord(buffer[offset])
    offset += 1

    if size == 0xfd:
        size = struct.unpack_from("<H", buffer, offset)[0]
        offset += 2
    if size == 0xfe:
        size = struct.unpack_from("<I", buffer, offset)[0]
        offset += 4
    if size == 0xff:
        size = struct.unpack_from("<Q", buffer, offset)[0]
        offset += 8

    return offset, size

def read_string(buffer, offset):
    offset, string_len = read_size(buffer, offset)
    return offset + string_len, buffer[offset: offset + string_len]

def b58_encode(d):
    out = ""
    p = 0
    x = 0

    while ord(d[0]) == 0:
        out += "1"
        d = d[1:]

    for i, v in enumerate(d[::-1]):
        x += ord(v)*(256**i)

    while x > 58**(p+1):
        p += 1

    while p >= 0:
        a, x = divmod(x, 58**p)
        out += B58[a]
        p -= 1

    return out

def b58check_encode(d):
    checksum = sha256(sha256(d).digest()).digest()[:4]
    return b58_encode(d + checksum)


db = DB()
db.open(sys.argv[1], "main", DB_BTREE, DB_RDONLY)

items = db.items()

for item in items:
    k, v = item
    koff, voff = 0, 0
    koff, item_type = read_string(k, koff)

    if item_type == "key":
        koff, pubkey = read_string(k, koff)
        voff, privkey = read_string(v, voff)

        if len(privkey) == 279:
            secret = privkey[9:9+32]
        else:
            secret = privkey[8:8+32]

        if pubkey[0] != "\x04":
            secret += "\x01"

        print(b58check_encode("\x80" + secret))
db.close()

It's very simple, and outputs a bunch of WIF private keys (you can paste them into Electrum's Sweep dialog for example, but if there's many of them, it's going to take a while to check their balances, so be patient.
NOTE: the method of working with the database used here is different from pywallet's. It may work better on corrupted wallets.
A pip install of the bsddb may be required.

You might also be able to get bitcointools to turn a private key from one of the mentioned scripts and convert it to an address to scan for a balance on blockchain.info's API.
The user jackjack here wrote pywallet (you can search for it on githum and it should appear under the name jackjack-jj/pywallet).

What drive was the file on before it became corrupted? Was it in amongst other files or on its own on the drive - can you get that drive professionally recovered, have you?

Thanks for the response, my client doesn't have the original drive where the wallet was not corrupted.
How do you know this is your exact wallet.dat? Do you just think it's for bitcoin or had you put it on a specific drive to back it up which it got corrupted on. Do you have any backups of the corrupted wallet also as in if you did a full system backup at the time that you still have a copy of?

You should contact some pros, maybe https://keychainx.io opened a wallet for me
2  Bitcoin / Bitcoin Technical Support / Bitcoin core v 11.3 on: November 25, 2020, 05:34:25 PM
Anyone know why that wallet version is removed from github repo?

My wallet.dat only decrypts part of the keys and passphrase seems not accepted with other versions.



3  Economy / Digital goods / SATOSHIDISK CLONE on: November 01, 2020, 07:49:00 PM
Will sell the satoshidisk clone source code in PHP for 100 USD in BTC or monery.

please PM if interested.
4  Local / Барахолка / Re: ⚡⚡⚡ wallet.dat ⚡⚡⚡ Самая большая коллекция on: October 31, 2020, 10:02:57 AM
Да, недавно была дискуссия на эту тему. Мне пришлось снять с продажи эти файлы, потом решил перенести в отдельный раздел, но в итоге оставил просто не большую цену на них.
Если вы синхронизируете и посмотрите на этот адрес - то увидите, что приватный ключ импортирован. Видимо кто-то, у кого были все эти кошельки, добавил один и тот же адрес и продавал. Видимо что-бы идентифицировать источник этих файлов. Я скоро запишу видео и покажу как это произошло.

Мошенник. Украдет загруженный кошелек и удалит ваш список сатошидиска, если он конфликтует с его мошенническим сайтом.
5  Alternate cryptocurrencies / Altcoin Discussion / ETC trading on: September 02, 2020, 09:51:18 PM
Is there any DEX or exchange where ETC trading is still available or everyone is waiting for the re-org?

Like HitBTC, how many confirms do they need before deposits are OK?
6  Alternate cryptocurrencies / Altcoin Discussion / MEW transaction stuck for two days on: August 22, 2020, 11:32:50 AM
Anyone have the same problem?

I used quite high gas, and the transaction is stuck for 40 hrs. The transaction was for the full amount of wallet (125ETH) so I cant do the traditional send 0 ETH as there is no gas left. Will the transaction eventually stop?
7  Economy / Digital goods / Will buy ETH presale (pre ICO) wallets with 0 balance on: August 22, 2020, 10:06:39 AM
Hello

I am looking to buy ethereum PREsale wallets (issued in August 2014) for my research regarding the bug that is said to have
locked out hundreds of Ethereum participants. Please send PM here or to tianxie@protonmail.com if you have such wallet or
know someone. Also suggest price, in BTC or ETH.
8  Alternate cryptocurrencies / Marketplace (Altcoins) / ETH PRESALE (PRE ICO) will buy emptied wallets on: August 22, 2020, 10:05:36 AM
Hello

I am looking to buy ethereum PREsale wallets (issued in August 2014) for my research regarding the bug that is said to have
locked out hundreds of Ethereum participants. Please send PM here or to tianxie@protonmail.com if you have such wallet or
know someone. Also suggest price, in BTC or ETH.
9  Local / Барахолка / Re: новый кошелек на 5000 BTC on: August 21, 2020, 12:10:26 PM
А что светить то ? Они все в блокчейне, адресов с 5000 битками не так уже много, один из этих, строчка 342 и дальше - https://bitinfocharts.com/top-100-richest-bitcoin-addresses-4.html

Ты хочешь купить?

ПРОДАНО! ТЕМА ЗАКРЫТА!
10  Local / Барахолка / Re: Продам wallet.dat 2612 576 и еще более 30 штук с утерянным па on: August 19, 2020, 08:41:16 PM
Продам файлы wallet.dat с забытым или утерянным паролем
1.08 2.2 3.04 5.05 5.03 8.5 11.26 14.09 15.9 22.8 25.99 26 27 28.3 28.32 30.9 31.4 32.8 47 49.9 69 70 75 78 107 108 131 159 169 177 198 340 570 960 1000 2612 2998 10000 69000 биткоинов около 5 кошельков эфириума, есть открытые кошельки. Доказательства  любые по желанию. телеграм  @ilyuxa1941 аккаунт разблокирован.



интересуетесь торговлей?
11  Local / Барахолка / ETH Presale 15000 ETH on: August 18, 2020, 08:38:31 PM
Новый кошелек Ethereum 15000 ETH с подсказками. Ни разу не трогал с 2015 года. Подробнее только в личку
12  Local / Барахолка / Re: новый кошелек на 5000 BTC on: August 18, 2020, 08:37:01 PM
А что светить то ? Они все в блокчейне, адресов с 5000 битками не так уже много, один из этих, строчка 342 и дальше - https://bitinfocharts.com/top-100-richest-bitcoin-addresses-4.html

Ты хочешь купить?
13  Local / Барахолка / Re: новый кошелек на 5000 BTC on: August 14, 2020, 12:18:19 PM
Quote

Адрес отправил в личку, не хочу привлекать к себе подлых глаз
Какой адрес?

Я отправлю PM, не хочу, чтобы адрес был общедоступным
14  Economy / Services / 10 BTC BOUNTY on: August 12, 2020, 08:30:55 PM
if you have a GPU rig and want to help me open a big wallet I will pay you 10 BTC to find the password.

PM for hash.
15  Local / Барахолка / Re: новый кошелек на 5000 BTC on: August 12, 2020, 08:28:56 PM
новый кошелек на 5000 BTC. Всего 2 продажи в частном порядке. пишите в личку на tianxie@protonmail.com только серьезному покупателю.

Адрес кошелька? Если не 1 в кошельке то предоставьте все для проверки по блокчейну.

Адрес отправил в личку, не хочу привлекать к себе подлых глаз
16  Local / Барахолка / Re: новый кошелек на 5000 BTC on: August 12, 2020, 08:26:49 PM
новый кошелек на 5000 BTC. Всего 2 продажи в частном порядке. пишите в личку на tianxie@protonmail.com только серьезному покупателю.

Что вы имеете в виду под словом серьезный покупатель? Озвучьте цену в теме пожалуйста, а то подозреваю что для всех она разная кто обратиться.

2 BTC
17  Local / Барахолка / новый кошелек на 5000 BTC - ПРОДАНО! ТЕМА ЗАКРЫТА! on: August 11, 2020, 08:17:50 PM
новый кошелек на 5000 BTC. Всего 2 продажи в частном порядке. пишите в личку на tianxie@protonmail.com только серьезному покупателю.
18  Bitcoin / Electrum / Electrum on Android file structure on: August 09, 2020, 06:36:42 AM
Where does electrum sore the appdata on Android phones?
19  Bitcoin / Electrum / Re: Please help to people who Lost their coins in electrum wallet. on: August 08, 2020, 06:13:37 AM
Recently I was opened a segwit wallet and record down the seed for it and then opened another legacy wallet on my first wallet and mistakenly i didn't record down Second seed for that, now i just changed my windows without having backup of my wallet and all my coins are gone...

Is there maybe anyway to gain access to Legacy wallet from my first wallet seed or recover it with my password?
Please HELP me Sad

You can still undelete fils, dont use the disk anymore
20  Local / Барахолка / КОШЕЛЕК BOUNTY on: August 05, 2020, 02:16:34 PM
Я ищу соавтора, чтобы открыть кошельки ETHEREUM PRE ICO, общая сумма которых составляет 20 000 ETH.

У вас должно быть не менее 100 мощностей графического процессора, выдает только хеш, но 30% кошелька

tianxie@protonmail.com
Pages: [1] 2 3 4 5 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!