Bitcoin Forum
July 23, 2018, 02:24:25 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   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] 31 32 »
  Print  
Author Topic: Pywallet 2.2: manage your wallet [Update required]  (Read 189929 times)
gnode
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


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
1532312665
Hero Member
*
Offline Offline

Posts: 1532312665

View Profile Personal Message (Offline)

Ignore
1532312665
Reply with quote  #2

1532312665
Report to moderator
1532312665
Hero Member
*
Offline Offline

Posts: 1532312665

View Profile Personal Message (Offline)

Ignore
1532312665
Reply with quote  #2

1532312665
Report to moderator
1532312665
Hero Member
*
Offline Offline

Posts: 1532312665

View Profile Personal Message (Offline)

Ignore
1532312665
Reply with quote  #2

1532312665
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Osten
Newbie
*
Offline Offline

Activity: 4
Merit: 0


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
Full Member
***
Offline Offline

Activity: 128
Merit: 100


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: 4
Merit: 0


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
Full Member
***
Offline Offline

Activity: 128
Merit: 100


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: 36
Merit: 0


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
Merit: 0


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: 11
Merit: 0


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
Merit: 0


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: 1330
Merit: 1012



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.
HawkEy3
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 27, 2017, 06:54:02 PM
 #591

Hello,
I used the --recover function of pywallet to scan an USB device on windows, it says it found 1 possible wallet with about 4000 encrypted keys (see picture)
I entered my passphrase and pywallet says it's correct but it doesn't recover the keys.

Is the "possible" wallet found no wallet at all? Something else done wrong?

https://i.imgur.com/lOpTe6Y.png
zyppo111zz2
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 27, 2017, 07:26:11 PM
 #592

I'm also trying to dump my wallet..and catch :
Code:
./pywallet.py --info --wallet=w.dat --dumpwallet  --datadir=/tmp/1/
Traceback (most recent call last):
  File "./pywallet.py", line 4994, in <module>
    if not keyinfo(options.key, options.keyishex):
  File "./pywallet.py", line 2703, in keyinfo
    pkey = regenerate_key(sec)
  File "./pywallet.py", line 1245, in regenerate_key
    b = ASecretToSecret(sec)
  File "./pywallet.py", line 1237, in ASecretToSecret
    vch = DecodeBase58Check(sec)
  File "./pywallet.py", line 1204, in DecodeBase58Check
    vchRet = b58decode(sec, None)
  File "./pywallet.py", line 1168, in b58decode
    for (i, c) in enumerate(v[::-1]):
TypeError: 'NoneType' object has no attribute '__getitem__'
c4kbeast
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 06, 2017, 02:07:29 AM
 #593

Hi

I need some help

I used the command, but the key did not appear.

What can it be?

pywallet.py --passphrase= --dumpwallet --dumpwithbalance --datadir=C:\pywallet-master --wallet=btc.dat


Wallet data not recognized: {'__type__': 'purpose', '__value__': '\x07receive', '__key__': '\x07purpose"OKOKOKOKOKOKOKOK'}

ERROR parsing wallet.dat, type bestblock
key data:    bestblock
key data in hex: 0962657374626c6f636b
value data in hex: a823020000


Cassius
Legendary
*
Offline Offline

Activity: 1330
Merit: 1012



View Profile WWW
December 06, 2017, 01:38:01 PM
 #594

The data may be too corrupted. Try doing this on a wallet you know is ok, to check the output is what you expect. Then try it on your damaged wallet.

Hi

I need some help

I used the command, but the key did not appear.

What can it be?

pywallet.py --passphrase= --dumpwallet --dumpwithbalance --datadir=C:\pywallet-master --wallet=btc.dat


Wallet data not recognized: {'__type__': 'purpose', '__value__': '\x07receive', '__key__': '\x07purpose"OKOKOKOKOKOKOKOK'}

ERROR parsing wallet.dat, type bestblock
key data:    bestblock
key data in hex: 0962657374626c6f636b
value data in hex: a823020000



c4kbeast
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 07, 2017, 02:00:30 AM
 #595

The data may be too corrupted. Try doing this on a wallet you know is ok, to check the output is what you expect. Then try it on your damaged wallet.


OS Windows 10 64bit
Bitcoin Core 0.15.01 64bit

I did a test in the wallet that is working normally, but this happening the same problem.  Huh Huh

pywallet.py --passphrase= --dumpwallet --dumpwithbalance>key.txt --datadir=C:\pywallet-master --wallet=walletgood.dat

Wallet data not recognized: {'__type__': 'purpose', '__value__': '\x07receive', '__key__': '\x07purpose"1MMu3kScJLvLr3i5zgEBckpyiC9RUoiWEX'}
ERROR parsing wallet.dat, type bestblock
key data:    bestblock
key data in hex: 0962657374626c6f636b
value data in hex: 544a020000

PSNseller
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0


View Profile
December 09, 2017, 01:00:11 AM
 #596

guys , thanks for this tool but i'm a newbie and i swear i've passed more than 8hours trying to install it and run it correctly , and it's failed everytime , so i deleted my wallet.dat by accident and then i managed to restore it with recuva , the problem is bitcoin core is saying the wallet is corrupted so i wanted to try this tool to recover my private keys , the wallet is just 120ko , i want to send it to a trusted member here who knows who to use pywallet to extract the private keys , would any want to help me please ?
my installation problem :
when i run pywallet , a window pops up then immediately diseappear , and a lot of other problems , so help me please ,
HCP
Hero Member
*****
Offline Offline

Activity: 672
Merit: 887

<insert witty quote here>


View Profile
December 09, 2017, 03:46:52 AM
 #597

... would any want to help me please ?...
I have sent you a PM regarding this matter.

For the record, it sounds like you're trying to run PyWallet by double clicking on the pywallet.py file in Windows correct? You cannot do that... you need to run it from the commandline. You might like to also check out: https://bitcointalk.org/index.php?topic=2398504.0

I helped another user get pywallet installed and running in that thread... you might find some useful info there.

PSNseller
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0


View Profile
December 09, 2017, 02:45:18 PM
 #598

i managed to run pywallet but new errors appeared ,
when i do any command it says
WARNING Root pycrypto or libssl not found decryption my be slow
twisted package is not installed can't launch web
a mandatory option is missing
knowing that i've installed twisted a lot of times !!!!! any help?
PSNseller
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0


View Profile
December 09, 2017, 03:11:22 PM
 #599

i managed to run pywallet but new errors appeared ,
when i do any command it says
WARNING Root pycrypto or libssl not found decryption my be slow
twisted package is not installed can't launch web
a mandatory option is missing
knowing that i've installed twisted a lot of times !!!!! any help?
i texted you my wallet.dat bro , see what you can do please , and thank you
PSNseller
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0


View Profile
December 09, 2017, 04:26:41 PM
 #600

... would any want to help me please ?...
I have sent you a PM regarding this matter.

For the record, it sounds like you're trying to run PyWallet by double clicking on the pywallet.py file in Windows correct? You cannot do that... you need to run it from the commandline. You might like to also check out: https://bitcointalk.org/index.php?topic=2398504.0

I helped another user get pywallet installed and running in that thread... you might find some useful info there.
I JUST ADDED YOU ON SKYPE BRO , i'm just looking for private keys of 2 bitcoin addresses in the wallet , i sent you a link to the wallet in PM , thanks
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] 31 32 »
  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!