Bitcoin Forum
November 21, 2017, 09:06:04 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 181823 times)
minhlong357200
Jr. Member
*
Offline Offline

Activity: 42


View Profile
May 16, 2017, 02:24:59 AM
 #561

I would need a few testers to test new features, anybody?
1511255164
Hero Member
*
Offline Offline

Posts: 1511255164

View Profile Personal Message (Offline)

Ignore
1511255164
Reply with quote  #2

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

Posts: 1511255164

View Profile Personal Message (Offline)

Ignore
1511255164
Reply with quote  #2

1511255164
Report to moderator
parduc02
Newbie
*
Offline Offline

Activity: 2


View Profile
June 05, 2017, 08:47:45 AM
 #562

Hi guys,

First of all, I'm not a programmer (unfortunately).
I'm trying to recover a corrupted Litecoin wallet.dat. Is this possible with pywallet version 1.1? (This is the version number I get when using --version in cmd.)
Tried to use the update.bat but after its done the version is still 1.1
I managed to recover a Bitcoin wallet.dat (just for test) but can't fix my Litecoin wallet. I have some LTC's in that wallet and I'm even willing to offer reward if someone can help me with this.

What is the command i have to use in cmd to recover a Litecoin wallet.dat?

Every of my attempt failed so far.
Thank you in advance!
preshpresh
Member
**
Offline Offline

Activity: 99


View Profile
June 05, 2017, 09:43:05 AM
 #563

Shouldnt be too much trouble. Jackjack is as helpful as can be!!

Best of luck!!
caulfield
Newbie
*
Offline Offline

Activity: 10


View Profile
June 06, 2017, 09:23:16 PM
 #564

Can someone please give instructions how setup this program on my Win 7 x64, can't find all components with old instructions. Please?
parduc02
Newbie
*
Offline Offline

Activity: 2


View Profile
June 15, 2017, 03:39:31 PM
 #565

I used following command:

pywallet.py --recover --recov_device=F:\wallet.dat --recov_size=4Gio --recov_outputdir=D:\ --otherversion=48

The wallet file is on a thumb drive, formatted to Fat32, but it tells me that 0 wallets found. I even tried with a brand new wallet.dat. Still the same.

Any suggestions?
matsmyth
Member
**
Offline Offline

Activity: 62


View Profile
June 16, 2017, 06:00:04 AM
 #566

Could anyone help? I did a photorec recovery of all .dat files from an old drive and put them on a flash drive. The pywallet recovery process gets this far but then just quits:

"Read 16.4 Go in 42.0 minutes

Found 21 possible wallets
Found 5850 possible encrypted keys
Found 843 possible unencrypted keys

Possible wallet #1
    with passphrase #1 "


It just quits there. It does produce a pywallet_partial_recovery_xxx.dat file, but I cannot dump it or load it with any litecoin client.

Any assistance would be very appreciated.

^bump
madmartyk
Legendary
*
Offline Offline

Activity: 1344


Yes I am a pirate, 300 years too late!


View Profile
June 16, 2017, 10:44:50 AM
 #567

Could anyone help? I did a photorec recovery of all .dat files from an old drive and put them on a flash drive. The pywallet recovery process gets this far but then just quits:

"Read 16.4 Go in 42.0 minutes

Found 21 possible wallets
Found 5850 possible encrypted keys
Found 843 possible unencrypted keys

Possible wallet #1
    with passphrase #1 "


It just quits there. It does produce a pywallet_partial_recovery_xxx.dat file, but I cannot dump it or load it with any litecoin client.

Any assistance would be very appreciated.

^bump

at the end of your command line use a >text.txt
this will dump the info to a text file.  You have to know what questions is asks because the screen doesn't echo.
ice2097
Newbie
*
Offline Offline

Activity: 4


View Profile
June 17, 2017, 03:15:54 PM
 #568

I'm trying to recover an old bitcoin wallet.dat from ~2011 or so. I tried loading it with the current bitcoin-qt, and just get a "wallet.dat corrupt, salvage failed" error.
I didn't think I had a passphrase on my wallet, but I'm not positive.

I'm trying to use pywallet to get something usable out of the file, but I'm having some trouble and would really appreciate any help anyone here can provide.

I have the wallet.dat file in the same directory as pywallet.py
If I try to dump the wallet, I get:

ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.

If I try to recover, I get:

$ ./pywallet.py --recover --recov_size 30.1Gio --recov_device ./wallet.dat --recov_outputdir ./rec2/
Enter the passphrase for the wallet that will contain all the recovered keys: q

Enter the possible passphrases used in your deleted wallets.
Don't forget that more passphrases = more time to test the possibilities.
Write one passphrase per line and end with an empty line.
Possible passphrase:

Starting recovery.

Read 0.0 Go in 0.0 minutes

Found 0 possible wallets
Found 0 possible encrypted keys
Found 141 possible unencrypted keys
Segmentation fault: 11


at which point python crashes....
I'm not really clear on if these 141 keys should be useful or not... also I have no idea what the recov_size variable means, so this could be incorrect.

I'm not really sure where to go from here... any suggestions would be highly appreciated!
matsmyth
Member
**
Offline Offline

Activity: 62


View Profile
June 17, 2017, 07:34:06 PM
 #569

Could anyone help? I did a photorec recovery of all .dat files from an old drive and put them on a flash drive. The pywallet recovery process gets this far but then just quits:

"Read 16.4 Go in 42.0 minutes

Found 21 possible wallets
Found 5850 possible encrypted keys
Found 843 possible unencrypted keys

Possible wallet #1
    with passphrase #1 "


It just quits there. It does produce a pywallet_partial_recovery_xxx.dat file, but I cannot dump it or load it with any litecoin client.

Any assistance would be very appreciated.

^bump

at the end of your command line use a >text.txt
this will dump the info to a text file.  You have to know what questions is asks because the screen doesn't echo.


@madmartyk

unfortunately it only dumps the exact same thing. no new info...
madmartyk
Legendary
*
Offline Offline

Activity: 1344


Yes I am a pirate, 300 years too late!


View Profile
June 17, 2017, 07:51:18 PM
 #570

Have you tried to import the keys you have found?
HCP
Sr. Member
****
Offline Offline

Activity: 420

<insert witty quote here>


View Profile
June 18, 2017, 03:55:52 AM
 #571

I have the wallet.dat file in the same directory as pywallet.py
If I try to dump the wallet, I get:

ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.
By default... pywallet works on the default Bitcoin directory and wallet.dat file (Hence the error telling you to shut it down, it doesn't want to work on a "live" wallet).

You likely need to use the following commandline options to get it to point to the wallet.dat you want to work on:

Quote from: pywallet README
--dumpwallet          dump wallet in json format
...
--datadir=DATADIR     wallet directory (defaults to bitcoin default)
--wallet=WALLETFILE   wallet filename (defaults to wallet.dat)


Just as an FYI...
Quote
If I try to recover, I get:
$ ./pywallet.py --recover --recov_size 30.1Gio --recov_device ./wallet.dat --recov_outputdir ./rec2/
Recover is used when you're effectively scanning a drive to try and find accidentally deleted wallet files and/or keys... it probably isn't what you want to be using...

  • Read a device to find deleted keys (CLI only)
    • Assuming that:
      • The device you want to read is /dev/sda3
      • The size of /dev/sda3 is 30.1Gio
      • You want pywallet to write the new wallet containing the found keys in /home/jackjack/recovered_wallets
    • Run "sudo ./pywallet.py --recover --recov_device /dev/sda3 --recov_size 30.1Gio --recov_outputdir /home/jackjack/recovered_wallets"
    • Then replace your wallet (back it up before) with the recovered wallet and run "bitcoin -rescan"
--recov_device needs to be set to a disk (ie. harddrive or maybe usb). The --recov_size is used to specify the size of the device in Gigabytes...

ice2097
Newbie
*
Offline Offline

Activity: 4


View Profile
June 18, 2017, 09:16:38 AM
 #572

Thanks for the fast replies!

Have you tried to import the keys you have found?

No, sorry, I don't really understand the format of the output:

{'\x00\x01\x03key': [
(Here there is a list of 142 comma-separated 5- and 6-digit numbers, in ascending value) ], '\t\x00\x01\x04mkey': [], 'PRFdevice': './wallet.dat', 'PRFsize': 139264, 'PRFdt': 0.02301478385125293, "'\x00\x01\x04ckey": []}

Is there something I can do with the list of 5/6 digit numbers?



You likely need to use the following commandline options to get it to point to the wallet.dat you want to work on:

Sorry I should have been more clear, I'm running this on a computer that doesn't have any bitcoin software installed, just the wallet.dat file from my old computer, and pywallet.
For the wallet dump the command I ran was:

$ python pywallet.py --datadir=./ --wallet=wallet.dat --dumpwallet --dumpwithbalance > keys.txt
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.


I've tried changing the permissions of the wallet file with chmod, and running the command as sudo to make sure its not a permissions issue, but it still gives the same response...

Quote
Just as an FYI...
Recover is used when you're effectively scanning a drive to try and find accidentally deleted wallet files and/or keys... it probably isn't what you want to be using...
--recov_device needs to be set to a disk (ie. harddrive or maybe usb). The --recov_size is used to specify the size of the device in Gigabytes...

Ah good to know. Thanks for the clarification!
silverkamote
Newbie
*
Offline Offline

Activity: 28


View Profile
June 18, 2017, 12:54:32 PM
 #573

nice software i wana try it. thanks
matsmyth
Member
**
Offline Offline

Activity: 62


View Profile
June 19, 2017, 10:46:51 PM
 #574

Have you tried to import the keys you have found?

I can't import because the program doesn't get that far. It literally crashes the moment after trying passphrase #1 on wallet #1, without any error message. So it never starts decrypting to create the wallet.dat. Only the partial, which only contains locations of the keys. I see another user, @Praxis, had the exact same problem earlier in this thread, and they were able to fix it, but he didn't mention how he got over that hump. And I haven't gotten a response yet via pm from him or jackjack.
HCP
Sr. Member
****
Offline Offline

Activity: 420

<insert witty quote here>


View Profile
June 20, 2017, 01:30:37 AM
 #575

Sorry I should have been more clear, I'm running this on a computer that doesn't have any bitcoin software installed, just the wallet.dat file from my old computer, and pywallet.
For the wallet dump the command I ran was:

$ python pywallet.py --datadir=./ --wallet=wallet.dat --dumpwallet --dumpwithbalance > keys.txt
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.


I've tried changing the permissions of the wallet file with chmod, and running the command as sudo to make sure its not a permissions issue, but it still gives the same response...
Have you tried specifying the full path to the wallet file rather than just . ?? It's possible that the script is attempting to parse this as a full path and may not be locating the file correctly? I haven't looked at the actual code to see how the script is handling the --datadir argument, so I'm not 100% sure of the format required here.

When I get home from work tonight I'll have a proper look and and a bit of a play around with it and see if I can replicate and/or figure out some more specific solutions for you.

ice2097
Newbie
*
Offline Offline

Activity: 4


View Profile
June 20, 2017, 05:42:14 PM
 #576

Have you tried specifying the full path to the wallet file rather than just . ?? It's possible that the script is attempting to parse this as a full path and may not be locating the file correctly? I haven't looked at the actual code to see how the script is handling the --datadir argument, so I'm not 100% sure of the format required here.

When I get home from work tonight I'll have a proper look and and a bit of a play around with it and see if I can replicate and/or figure out some more specific solutions for you.

Yeah, unfortunately I've tried the full path as well, and get the same response.
I don't think its an issue with the path, as if I put in an malformed path I get a different "bsddb.db.DBNoSuchFileError: (2, 'No such file or directory -- /Users/user/notpywallet/__db.001: No such file or directory')" error.
HCP
Sr. Member
****
Offline Offline

Activity: 420

<insert witty quote here>


View Profile
June 23, 2017, 03:54:41 AM
 #577

Sorry for the delay... I suspect that either the wallet is badly corrupted or it is indeed encrypted and the password you are using is wrong, hence the script being unable to read it properly...

Especially in light of the message you're getting from current Bitcoin Core saying that it is corrupted.

I'm wondering if could be struggling with an old wallet format? What version of bitcoin-qt were you using originally with this wallet?

ice2097
Newbie
*
Offline Offline

Activity: 4


View Profile
June 26, 2017, 08:31:50 PM
 #578

Sorry for the delay... I suspect that either the wallet is badly corrupted or it is indeed encrypted and the password you are using is wrong, hence the script being unable to read it properly...

Especially in light of the message you're getting from current Bitcoin Core saying that it is corrupted.

I'm wondering if could be struggling with an old wallet format? What version of bitcoin-qt were you using originally with this wallet?

Yeah, I think it probably is a very old version... I think the wallet was started around 2011 or 2012, but I'm not positive.
tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
June 26, 2017, 10:37:23 PM
 #579

ice2097, did you try this tool?  https://bitcointalk.org/index.php?topic=25091.0

It just loops through the file and tries to find concurrent sections which could be keys.  Might be useful since you said the file isn't parseable as a wallet anymore.

rijsje91
Newbie
*
Offline Offline

Activity: 1


View Profile
June 28, 2017, 07:20:06 PM
 #580

Hello jackjack I've been redirected to the page to ask you for help. I have a problem i removed my wallet from cloakcoin and can not return it with pywallet Embarrassed. I have turned multiple scans but all I get is bitcoin keys and not my cloakcoin wallet. I have scanned with pywallet: pywallet.py --recover --recov_device c: --recov_size 240Gio --otherversion = 27 --recov_outputdir c: \ recu

The new wallet c:\recu/recovered_wallet_1498320264.dat contains the 300 recovere
d keys

-----------------------------------------------
This is with otherversion 28

Found 36 possible wallets
Found 13376 possible encrypted keys
Found 3196 possible unencrypted keys
Can't decrypt them as you didn't provide any passphrase.
Traceback (most recent call last):
File "pywallet.py", line 4875, in <module>
db_env = create_env(options.recov_outputdir)
File "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.DBRunRecoveryError: (-30974, 'DB_RUNRECOVERY: Fatal error, run database
recovery -- c: No such file or directory')
-------------------------------------------------


I tried 27, 28 and 29 but without a result.
Can i search directly to a adress? I know the address I've deleted.


I hope you can help me.

Sincerely ,

Sven
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!