Bitcoin Forum
November 06, 2024, 07:23:52 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: m keys, c keys and private keys.  (Read 384 times)
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 23, 2022, 05:47:28 PM
Merited by NotATether (3), Welsh (2), ABCbits (1)
 #1

Hi everyone.
Hope you doing well.
I 'm here only to ask a question.
Is there a way, from a c key and m key of an adresse to find the private keys?
I lost some btc  because of an accident and I have these information but don't seems to find any thing related to that.
Can someone please explain?
Thanks.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
August 23, 2022, 07:22:48 PM
Merited by Welsh (2), ABCbits (2), NotATether (1)
 #2

Reading format documentation https://renenyffenegger.ch/notes/development/Crypto-Currencies/Bitcoin/wallet you will find description:
Code:
mkey: Master key (class MasterKey)
ckey: an encrypted key

If you have encrypted wallet, you must first know password to be able to decrypt it.
Or try to break it, for example using https://github.com/albertobsd/crackBTCwallet

NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7364


Top Crypto Casino


View Profile WWW
August 23, 2022, 08:36:59 PM
 #3

I lost some btc  because of an accident and I have these information but don't seems to find any thing related to that.

If you meant that you only lost your wallet.dat file, then you should still remember the password to it, and therefore can unscramble your mkey and ckeys. Is this not the case?

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 23, 2022, 08:44:58 PM
 #4

Thanks for the documentation, i'll read it
@pawgo and i already tried this soft.

I have only the wallet.dat that is the passwords that are lost.

And i try somehting.
With pywallet.py i tried some passphrase but everytime i get this error
Segmentation fault

what that mean please?

NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7364


Top Crypto Casino


View Profile WWW
August 23, 2022, 08:51:20 PM
 #5

And i try somehting.
With pywallet.py i tried some passphrase but everytime i get this error
Segmentation fault

what that mean please?

It means the program is broken and has a bug in it (specifically, it is reading invalid memory addresses).

But usually this message only occurs in C/C++ programs. It never happens in Python programs, unless pywallet is calling some other program inside its code. Or maybe the Python interpreter itself crashed (it is written in C), but that is an extremely rare occurrance.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 23, 2022, 09:03:38 PM
 #6

yep that is exactly what i do not understand
why this software do this bug?? oO
I'm so close to get my btcs back... and there is a new bug.

But nevermind,
I ask on github and open up a new issues hope someone can help.

And last question but maybee the more important
if there s a way to find a private keys from mkeys an c keys Huh because i already tried crackBTCwallet
Thank you a lot.
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3165


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 23, 2022, 11:42:32 PM
 #7

And last question but maybee the more important
if there s a way to find a private keys from mkeys an c keys Huh because i already tried crackBTCwallet
Thank you a lot.


Why not try craking the walllet.dat file instead you can able to use the BTCrecovery tool to find the exact password of your wallet.dat file
You can find the source from this guide below

- https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#btcrecover-tutorial

Or try this one below which is a bit newer than the above link

- https://github.com/3rdIteration/btcrecover/

Read the documentation if you have a mining RIG with GPU the GPU acceleration would be awesome to speed up finding your real wallet.dat password.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 24, 2022, 12:58:38 PM
 #8

I used all the pywallet i found.
But i think I ve got the password to the wallet.dat.
But there is one last problem
I download bitcoin core.
And even though i try everything in my mind
it keeps abort because of some
Original message:
Error opening block database.

Do you want to rebuild the block database now?


I click rebuild.
and everytime it does :
Original message:
Error opening block database


How i solve this problem??? it start to be annoying to go about all this trouble...
But i need my btcs back;
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 24, 2022, 01:22:10 PM
 #9

I used all the pywallet i found.

Does that mean you get "Segmentation fault" error message for all pywallet you tried?

But i think I ve got the password to the wallet.dat.
But there is one last problem
I download bitcoin core.
And even though i try everything in my mind
it keeps abort because of some
Original message:
Error opening block database.

Do you want to rebuild the block database now?


I click rebuild.
and everytime it does :
Original message:
Error opening block database


How i solve this problem??? it start to be annoying to go about all this trouble...
But i need my btcs back;

Could you share debug.log file generated by Bitcoin Core so we can give more specific suggestion? If you don't know where to find it, check https://en.bitcoin.it/wiki/Data_directory.
2022-08-24T13:13:18Z Bitcoin Core version v23.0.0 (release build)
2022-08-24T13:13:18Z Qt 5.15.2 (static), plugin=windows (static)
2022-08-24T13:13:18Z Static plugins:
2022-08-24T13:13:18Z  QWindowsIntegrationPlugin, version 331520
2022-08-24T13:13:18Z  QWindowsVistaStylePlugin, version 331520
2022-08-24T13:13:18Z Style: windowsvista / QWindowsVistaStyle
2022-08-24T13:13:18Z System: Windows 10 Version 2009, x86_64-little_endian-llp64
2022-08-24T13:13:18Z Screen: \\.\DISPLAY1 1366x768, pixel ratio=1.0
2022-08-24T13:13:20Z Assuming ancestors of block 000000000000000000052d314a259755ca65944e68df6b12a067ea8f1f5a7091 have valid signatures.
2022-08-24T13:13:20Z Setting nMinimumChainWork=00000000000000000000000000000000000000002927cdceccbd5209e81e80db
2022-08-24T13:13:20Z Prune configured to target 1907 MiB on disk for block and undo files.
2022-08-24T13:13:20Z Using the 'sse4(1way),sse41(4way)' SHA256 implementation
2022-08-24T13:13:20Z Using RdRand as an additional entropy source
2022-08-24T13:13:20Z GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core ne s’est pas encore fermer en toute sécurité…"
2022-08-24T13:13:20Z Default data directory C:\Users\Joël\AppData\Roaming\Bitcoin
2022-08-24T13:13:20Z Using data directory C:\Users\Joël\AppData\Roaming\Bitcoin
2022-08-24T13:13:20Z Config file: C:\Users\Joël\AppData\Roaming\Bitcoin\bitcoin.conf (not found, skipping)
2022-08-24T13:13:20Z Setting file arg: wallet = ["Test"]
2022-08-24T13:13:20Z Using at most 125 automatic connections (2048 file descriptors available)
2022-08-24T13:13:20Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2022-08-24T13:13:20Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2022-08-24T13:13:20Z Script verification uses 7 additional threads
2022-08-24T13:13:20Z scheduler thread start
2022-08-24T13:13:20Z Using wallet directory C:\Users\Joël\AppData\Roaming\Bitcoin\wallets
2022-08-24T13:13:20Z init message: Vérification des porte-monnaie…
2022-08-24T13:13:20Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2022-08-24T13:13:20Z Using wallet C:\Users\Joël\AppData\Roaming\Bitcoin\wallets\Test\wallet.dat
2022-08-24T13:13:20Z BerkeleyEnvironment::Open: LogDir=C:\Users\Joël\AppData\Roaming\Bitcoin\wallets\Test\database ErrorFile=C:\Users\Joël\AppData\Roaming\Bitcoin\wallets\Test\db.log
2022-08-24T13:13:20Z Using /16 prefix for IP bucketing
2022-08-24T13:13:20Z init message: Chargement des adresses P2P…
2022-08-24T13:13:21Z Loaded 48675 addresses from peers.dat  298ms
2022-08-24T13:13:21Z init message: Chargement de la liste d’interdiction…
2022-08-24T13:13:21Z SetNetworkActive: true
2022-08-24T13:13:21Z Cache configuration:
2022-08-24T13:13:21Z * Using 2.0 MiB for block index database
2022-08-24T13:13:21Z * Using 8.0 MiB for chain state database
2022-08-24T13:13:21Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2022-08-24T13:13:21Z init message: Chargement de l’index des blocs…
2022-08-24T13:13:21Z Switching active chainstate to Chainstate [ibd] @ height -1 (null)
2022-08-24T13:13:21Z Opening LevelDB in C:\Users\Joël\AppData\Roaming\Bitcoin\blocks\index
2022-08-24T13:13:21Z Fatal LevelDB error: Corruption: 1 missing files; e.g.: C:\Users\Joël\AppData\Roaming\Bitcoin\blocks\index/000497.ldb
2022-08-24T13:13:21Z You can use -debug=leveldb to get more complete diagnostic messages
2022-08-24T13:13:21Z Fatal LevelDB error: Corruption: 1 missing files; e.g.: C:\Users\Joël\AppData\Roaming\Bitcoin\blocks\index/000497.ldb
2022-08-24T13:13:21Z : Error opening block database.
Please restart with -reindex or -reindex-chainstate to recover.
2022-08-24T13:13:24Z init message: Chargement de l’index des blocs…
2022-08-24T13:13:24Z should not be overwriting a chainstate
2022-08-24T13:13:24Z Error: Error opening block database
2022-08-24T13:13:25Z Shutdown: In progress...
2022-08-24T13:13:25Z scheduler thread exit
2022-08-24T13:13:26Z Shutdown: done



thanks you a lot man.
You help a lot.
I will give you a reward.
And the pywallet you give me works without segmentation fault
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3165


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 24, 2022, 04:14:31 PM
Merited by ABCbits (1)
 #10

2022-08-24T13:13:21Z : Error opening block database.
Please restart with -reindex or -reindex-chainstate to recover.

The debug.log already tells you what you need to do use the -reindex while opening Bitcoin core or edit the Bitcoin core shortcut under target add -reindex then apply and then open the Bitcoin core again it should start with -reindex. Look at the image below as a reference where you can put the -reindex.


Image source: https://bitcointalk.org/index.php?topic=5375014.msg58603997#msg58603997

Or if your purpose is to recover only your BTC you can just use pywallet to make your wallet.dat into the wallet.text in a readable format and get the private key there and import it to another wallet like Electrum then transfer the BTC. Since you already have the password you can decrypt the wallet.dat use the command below with pywallet.

Code:
python pywallet.py --dumpwallet --passphrase=PASSPHRASE > wallet.txt

Make sure you open the command prompt on the same folder where your wallet.dat file is located.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 24, 2022, 04:55:32 PM
 #11

I ve totally deleted the software and download the blockchain again .... Wait to  see if i was write with the password since it use a character that is not accepted by pywallet, which explain the erros I get.
Thanks for all this help Smiley
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 29, 2022, 10:06:21 AM
 #12

after  5 days of download,
i finally get the full blockchain...
and my passphrase is wrong ...
what can i do please?
Thanks in advance for your time.
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 29, 2022, 12:22:55 PM
 #13

I already tried it,but not a success.
I was thinking
since i got the hashes of the password, is there a way to recover it with others software?
Like is there a software made only for bitcoin hashes?
thanks for your time.
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 29, 2022, 12:56:49 PM
 #14

Where can I get these kind of software?
I will try as you say ... but i think i lost all my btc now ...
EdouardDuval (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 6


View Profile
August 30, 2022, 11:03:19 AM
 #15

My wallet isn't this one.
I just take these hashes as example.
I find a lot of people who are stuck to this step.
Like the lostwallet project on github.
If you can really help i send you a message on telegram with my adresse.
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!