Posts: 803
Threads: 135
Joined: Feb 2011
Hi,
Just installed a bitcoin client, create a wallet, and tried to run bitcoin2hashcat(/john).py :
Code:
python bitcoin2hashcat.py default_wallet.dat
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.
Why? Bitcoin is not running.
Thanks.
Posts: 2,301
Threads: 11
Joined: Jul 2010
Could be anything. The file may be damaged or maybe a slightly different format is used in newer versions of bitcoind.
Posts: 803
Threads: 135
Joined: Feb 2011
I tried 4 different desktop bictoin clients.
So I guess the format is different!
Posts: 2,301
Threads: 11
Joined: Jul 2010
07-19-2018, 09:20 PM
(This post was last modified: 07-19-2018, 09:20 PM by undeath.)
four different clients? This is only for the bitcoin core wallet.
Posts: 803
Threads: 135
Joined: Feb 2011
07-22-2018, 09:15 PM
(This post was last modified: 07-22-2018, 09:20 PM by Mem5.)
Ok
I tested with other clients.
With the latest BitcoinCore, I have another error:
Code:
python bitcoin2hashcat.py walC.dat
Traceback (most recent call last):
File "bitcoin2hashcat.py", line 638, in parse_wallet
d.update(parse_BlockLocator(vds))
TypeError: 'NoneType' object is not iterable
ERROR parsing wallet.dat, type bestblockkey data: bestblockkey data in hex: 0962657374626c6f636bvalue data in hex: 6471020000
Works ok with bitcoin2john:
Code:
python bitcoin2john.py walC.dat
WARNING: walC.dat has previously unseen minversion '159900'!
$bitcoin$64$91a5e9203a91f02e2e3c967e2e3xxxxxxxxxx
Posts: 2,301
Threads: 11
Joined: Jul 2010
From what I can tell bitcoin2john.py should be compatible with hashcat. Can you try and confirm?
Posts: 803
Threads: 135
Joined: Feb 2011
Posts: 1
Threads: 0
Joined: Sep 2018
(07-22-2018, 10:05 PM)undeath Wrote: From what I can tell bitcoin2john.py should be compatible with hashcat. Can you try and confirm?
Hi! I have a similar problem! I extracted the hash from bitcoin core wallet.dat. The result was 272 characters. But in the example to bitcoin wallet 304 characters. And Hashcat don't working, wrote that no hash. Can you help me?