Bitcoin Forum
November 09, 2024, 07:00:01 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: --DUMPWALLET - TXT File Empty  (Read 211 times)
CryptoMamma (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 21, 2017, 11:48:13 PM
 #1

Hi,

I'm trying to recover my password and need to extract the encrypted hash. I'm using python 27 on Win10. Installation is working fine, all systems are go. Except the TXT file I create to dump the data always comes up empty.  Can someone explain WHY it's always coming up empty? This is the command I'm using to run the script:

C:\Python27\pythonw pywallet.py --dumpwallet > myhash.txt


FYI: When I try this command below, I get 'FILE NOT FOUND'

C:\Python27\python pywallet.py --dumpwallet > myhash.txt

Would be so very grateful if anyone can help me understand what I might be doing wrong.



CryptoMamma (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 24, 2017, 09:14:45 AM
 #2

ANYBODY?? Can someone help me here??
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
December 24, 2017, 01:41:53 PM
 #3

Is 'File not found' the only output? Or additionally something like No such file or directory - C:\\Users\\USERNAME\\AppData\Roaming\Bitcoin ?
Did you install bitcoin core in the standard path? If not you have to add this parameter: --datadir=YOUR_PATH

In this case your command would look like this:
Code:
pywallet.py --datadir=<path to directory> --dumpwallet > myhash.txt

You can also dump your wallet from core itself:
Code:
dumpwallet "filename"


Edit: Just found out that its not possible to dump encrypted wallets using pywallet without the --passphrase=PASSPHRASE command.
But you could try btcrecover (https://github.com/gurnec/btcrecover) to crack the password of your wallet.dat
Please note that cracking a 10+ character password without knowing what it could be, is pretty desperate.

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!