hashcat Forum
bitcoin2hashcat error - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: bitcoin2hashcat error (/thread-7672.html)



bitcoin2hashcat error - Mem5 - 07-18-2018

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.


RE: bitcoin2hashcat error - undeath - 07-19-2018

Could be anything. The file may be damaged or maybe a slightly different format is used in newer versions of bitcoind.


RE: bitcoin2hashcat error - Mem5 - 07-19-2018

I tried 4 different desktop bictoin clients.
So I guess the format is different!


RE: bitcoin2hashcat error - undeath - 07-19-2018

four different clients? This is only for the bitcoin core wallet.


RE: bitcoin2hashcat error - Mem5 - 07-22-2018

Ok Smile 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



RE: bitcoin2hashcat error - undeath - 07-22-2018

From what I can tell bitcoin2john.py should be compatible with hashcat. Can you try and confirm?


RE: bitcoin2hashcat error - Mem5 - 07-24-2018

Tested, it works OK.


RE: bitcoin2hashcat error - exxxeler - 09-08-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?