Bitcoin Forum
November 19, 2017, 07:39:26 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30]
  Print  
Author Topic: Pywallet 2.2: manage your wallet [Update required]  (Read 181566 times)
gnode
Sr. Member
****
Offline Offline

Activity: 475


View Profile
July 04, 2017, 03:09:09 PM
 #581

pywallet.py --dumpwallet --datadir g:\  --wallet=wallet.dat --recover --recov_device=g:\wallet.dat --recov_size=40Gio --recov_outputdir=c:\recover

This is what I used, if you want a file with the keys (what I did) add a >> dump.text at the end.  You will see nothing on the screen but you have to enter newpassphrase, oldpassphrase, enter
It will scan the drive (make sure the ##Gio is bigger than the drive) and dump any keys it finds to the text file.  You can then take the private keys and import them into a new wallet.

I did this on a corrupt wallet, it says I have 14,000 possible unencrypted keys. The wallet won't dump because it is corrupted. How do I see the unencrypted keys. The text file doesn't show any keys.

Thanks,

Gnode
1511077166
Hero Member
*
Offline Offline

Posts: 1511077166

View Profile Personal Message (Offline)

Ignore
1511077166
Reply with quote  #2

1511077166
Report to moderator
1511077166
Hero Member
*
Offline Offline

Posts: 1511077166

View Profile Personal Message (Offline)

Ignore
1511077166
Reply with quote  #2

1511077166
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511077166
Hero Member
*
Offline Offline

Posts: 1511077166

View Profile Personal Message (Offline)

Ignore
1511077166
Reply with quote  #2

1511077166
Report to moderator
1511077166
Hero Member
*
Offline Offline

Posts: 1511077166

View Profile Personal Message (Offline)

Ignore
1511077166
Reply with quote  #2

1511077166
Report to moderator
1511077166
Hero Member
*
Offline Offline

Posts: 1511077166

View Profile Personal Message (Offline)

Ignore
1511077166
Reply with quote  #2

1511077166
Report to moderator
Osten
Newbie
*
Offline Offline

Activity: 3


View Profile
September 01, 2017, 01:55:36 PM
 #582

Hi, I just found an old wallet from August 2011. I've tried using this tool to recover it and it creates the following files:

_db.001 24k
_db.002 64k
_db.003 264k
_db.004 96k
_db.005 512k
_db.006 48k
wallet.txt 0k

I couldn't find any information as to why it comes out as empty nor did I find any fix to this problem. I also tried using Bitcoin Core to recover it but it didn't work, and also tried bitcoin-qt 0.7.0 but it didn't work either. These are both newer than my wallet but I couldn't find any older clients anywhere.

Does this mean it's completely corrupt? Thankful for any help trying to recover this as I haven't found anyone else with this particular problem.
morbius55
Member
**
Offline Offline

Activity: 99


View Profile
September 01, 2017, 02:05:26 PM
 #583

Hi, I just found an old wallet from August 2011. I've tried using this tool to recover it and it creates the following files:

_db.001 24k
_db.002 64k
_db.003 264k
_db.004 96k
_db.005 512k
_db.006 48k
wallet.txt 0k

I couldn't find any information as to why it comes out as empty nor did I find any fix to this problem. I also tried using Bitcoin Core to recover it but it didn't work, and also tried bitcoin-qt 0.7.0 but it didn't work either. These are both newer than my wallet but I couldn't find any older clients anywhere.

Does this mean it's completely corrupt? Thankful for any help trying to recover this as I haven't found anyone else with this particular problem.
How did you install this for windows 10 if you don't mind me asking?, Thanks. I really really need to run it on a corrupt wallet.dat that I have.
Osten
Newbie
*
Offline Offline

Activity: 3


View Profile
September 01, 2017, 02:17:06 PM
 #584

How did you install this for windows 10 if you don't mind me asking?, Thanks. I really really need to run it on a corrupt wallet.dat that I have.

I followed this post here: https://bitcointalk.org/index.php?topic=1288078.msg13238007#msg13238007

For the command line stuff I ran PowerShell as administrator and used Set-Location <path to folder> instead of the Shift-Right Click stuff.

For example: Set-Location C:\Python27\Scripts

Hope this helps!
morbius55
Member
**
Offline Offline

Activity: 99


View Profile
September 01, 2017, 03:42:35 PM
 #585

How did you install this for windows 10 if you don't mind me asking?, Thanks. I really really need to run it on a corrupt wallet.dat that I have.

I followed this post here: https://bitcointalk.org/index.php?topic=1288078.msg13238007#msg13238007

For the command line stuff I ran PowerShell as administrator and used Set-Location <path to folder> instead of the Shift-Right Click stuff.

For example: Set-Location C:\Python27\Scripts

Hope this helps!

Thanks for the reply but I need someone to do a detailed run through for Windows 10 for a computer novice. Thanks again.
GummyDwarf
Jr. Member
*
Offline Offline

Activity: 38


View Profile
September 02, 2017, 02:56:55 AM
 #586

My friend dumped his wallet with pywallet, the wallet is corrupted, and there are way too many addresses to check by hand. Is there some way to check them all at once quickly?
elsteve
Newbie
*
Offline Offline

Activity: 8


View Profile
September 09, 2017, 03:04:38 PM
 #587

Pywallet responds with 'Error with Dump Page'. What should I do ?
If it's a recent wallet it's because pywallet can't read them
It will handle them in the next version, no ETA though (a few weeks maybe)

Any update on this? I had a VM crash recently (it was running my Bitcoin Cash client - BitCoin Classic 64 bit) - I've recovered a ton of 'wallet.dat' files but as indicated above, Pywallet can't read 'em. (Verified this on a known good wallet from the client)
Opporty_ico
Newbie
*
Offline Offline

Activity: 14


View Profile
September 12, 2017, 08:59:38 PM
 #588

This works great! I can finally import private keys in Windows
chrisf199
Newbie
*
Offline Offline

Activity: 2


View Profile
October 22, 2017, 08:11:40 PM
 #589

Starting recovery.
Traceback (most recent call last):
  File "pycry.py", line 4883, in <module>
    recoveredKeys=recov(device, passes, size, 10240, options.recov_outputdir)
  File "pycry.py", line 1458, in recov
    r=search_patterns_on_disk(device, size, inc, map(lambda x:nameToDBName
  • , ['mkey', 'ckey', 'key']))
  File "pycry.py", line 1341, in search_patterns_on_disk
    if lendataloaded%512>0:
TypeError: unsupported operand type(s) for %: 'NoneType' and 'int'


getting this error and cant seem to figure out why.

Using Mac OSX high sierra 10.13, 2016 mbp


thanks for the amazing software Smiley
Cassius
Legendary
*
Offline Offline

Activity: 1092



View Profile WWW
November 09, 2017, 03:34:19 PM
 #590

Trying to recover a corrupt wallet. Installed python and pywallet on a DigitalOcean VPS, copied over the wallet file and got this:

Code:
root@GB-Tron2:~/Test# python2.7 pywallet/pywallet.py --dumpwallet --wallet=testwallet.py
Traceback (most recent call last):
  File "pywallet/pywallet.py", line 5004, in <module>
    db_env = create_env(db_dir)
  File "pywallet/pywallet.py", line 1269, in create_env
    r = db_env.open(db_dir, (DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_THREAD|DB_RECOVER))
bsddb.db.DBNoSuchFileError: (2, 'No such file or directory -- /root/.bitcoin/__db.001: No such file or directory')

Any ideas?

Edit: never mind. Looks like pywallet needs you to specify the directory for wallet.dat, even if it's the current one.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!