Pages:
Author

Topic: Pywallet 2.2: manage your wallet [Update required] - page 10. (Read 207931 times)

newbie
Activity: 3
Merit: 0
So if i've made a new wallet with the password: 12345 and this is the hash and salt that pywallet dumps
Encrypted Key:
     bdb6bcd04421558ddf7944814de5c7c25817d63a3a71dcf9777c784c4fdc7e459169452582f5755 1753ceb126402834a
Salt:
     4d123683488a3c0f

How can I decrypt it? I'm trying to do this on a test wallet so I can better understand the process

Would this encrypted hash be in SHA384 or is it SHA512? And how does the salt affect that?

Any info would be greatly appeciated

Thanks in advance
newbie
Activity: 40
Merit: 0
I tried to install it on a Windows XP x86 ( last time I was on a Windows 7 x64 ) and it is giving this error:
'twisted' package is not installed, pywallet web interface can't be launched

I also tried to install it manually ( the 'twisted' package ), but it is giving the same error.


For anyone who is getting the above error when trying to run with the "--web" option, what I found out is that the problem wasn't that twisted was missing, but rather one of the modules that was being imported was tossing this error:

> AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1

Google-fu brought up this page: https://stackoverflow.com/questions/42731760/attributeerror-module-object-has-no-attribute-op-no-tlsv1-1#43220861

Re-installing twisted and specifying a specific version fixed it for me: sudo pip install twisted==13.1.0
HCP
legendary
Activity: 2086
Merit: 4314
Stolen? As in, someone has emptied your wallet of all the coins? If so, this utility can't help you. It was designed for recovering accidentally deleted wallets, or wallets "lost" due to corruption etc... and for other wallet "editing" tasks.

It cannot magically return coins that have been stolen.
member
Activity: 294
Merit: 10
my wallet is stolen how it can be turned to help.
member
Activity: 154
Merit: 39
Hello

I am trying to recover my old wallets (old hdds).

Ubuntu 16.4

The same error/crash like mentioned earlier

Starting recovery.

Loaded 492.7 Go from /dev/sdc4

Found 13 possible wallets
Found 4020 possible encrypted keys
Found 2126 possible unencrypted keys

Possible wallet #1
    with passphrase #1  Segmentation fault (core dumped)


no files, no import, no check

The same thing
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



With GDB
Possible wallet #1
    with passphrase #1 
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff519e5fa in EVP_BytesToKey ()
   from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(gdb)


what now?

legendary
Activity: 1764
Merit: 1031

Hey JackJack,

I have a weird issue. I can dump keys from my wallet.dat, the pywallet recognizes the unspent BTC, but when trying to make a transaction through the client (ref p.7 this thread) it says the private key is not able to be located. I can offer a 1 BTC bounty to help me recover a few more. The specific screenshots were PM'ed to you JackJack.

Thank you so much! You're a rockstar to the community, clearly.

Have you tried simply importing a key into another client, like Mycelium's smartphone app, just to see if it works?
newbie
Activity: 107
Merit: 0
Hello JackJack.

I have some old wallet.dat files from early 2014 I am trying to get the PrivateKeys from - and only the private keys.  They are from Bitcoin-QT (Windows version).

All wallets have a passphrase.

I am now on OSX.

When I run pywallet.py, with the correct passphrase, I get a Segment Dump error - with no stacktrace.

Code:
$ ./pywallet.py --dumpwallet --datadir=data/ --wallet=wallet-9.dat
# moving wallet-9.dat to its own data9/wallet.dat
$ ./pywallet.py --dumpwallet --datadir=data9/

Both of these give the segment fault and crashes.

Also tried the web interface, same error.

NOTE: I am disconnected from the Internet when running the pywallet.py script.


Here's the version I am on:

Code:
$ git remote -v
origin  [email protected]:jackjack-jj/pywallet.git (fetch)
origin  [email protected]:jackjack-jj/pywallet.git (push)
$ git log
commit b52c955f8c93a75745166ebf281448016e1f22e2
Merge: 069ef00 7c847c1
Author: jackjack-jj
Date:   Mon Sep 8 20:59:58 2014 +0200

    Merge pull request #11 from gurnec/crypto-fixes

    Fix wallet creation bugs related to crypto

Using virtualenv for python2.7, I installed:

Not sure how to move forward from here.

I can open the wallet.dat files, all of them, with an old Bitcoin-QT wallet I have on a disconnected-from-the-net Windows Virtual Machine.  So, I know the wallet.dat files are valid.

Thanks!
Sadly I don't know OSX, I'll check where this error can come from
In the mean time you should try the method of shorena (the dumpwallet command)
By the way, how big is the wallet?

Hi..... HELP.
I have a corrupted, unrecoverable wallet.dat file.

I can't get any of this working.

Now at the
Instead do that:
It would be easier to install WinPython (choose 32 or 64bit depending on your computer: https://sourceforge.net/projects/winpython/files/WinPython_2.7/2.7.12.4/)
Go where you installed it
Launch "WinPython Command Prompt.exe"
Execute this: python -m pip install twisted ecdsa
Then: python C:\path\to\pywallet.py
Stage.

and I get this:

 File "pywallet.py", line 852
    _p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2FL
                                                                           ^

I doubt I can get my wallet back as its been overwritten, but undelete software can still locate the old file, but recovery of it leaves a corrupt file.

This seems my only slim chance but I have no idea what I am doing.
PLEASE HELP

Please provide the complete error message

Hey JackJack,

I have a weird issue. I can dump keys from my wallet.dat, the pywallet recognizes the unspent BTC, but when trying to make a transaction through the client (ref p.7 this thread) it says the private key is not able to be located. I can offer a 1 BTC bounty to help me recover a few more. The specific screenshots were PM'ed to you JackJack.

Thank you so much! You're a rockstar to the community, clearly.
newbie
Activity: 47
Merit: 0
... 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://bitcointalksearch.org/topic/pywallet-install-help-2398504

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
newbie
Activity: 47
Merit: 0
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
newbie
Activity: 47
Merit: 0
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?
HCP
legendary
Activity: 2086
Merit: 4314
... 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://bitcointalksearch.org/topic/pywallet-install-help-2398504

I helped another user get pywallet installed and running in that thread... you might find some useful info there.
newbie
Activity: 47
Merit: 0
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 ,
newbie
Activity: 8
Merit: 0
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

legendary
Activity: 1764
Merit: 1031
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



newbie
Activity: 8
Merit: 0
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


newbie
Activity: 1
Merit: 0
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
    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__'
newbie
Activity: 1
Merit: 0
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
legendary
Activity: 1764
Merit: 1031
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
    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.
newbie
Activity: 2
Merit: 0
Starting recovery.
Traceback (most recent call last):
  File "pycry.py", line 4883, in
    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
newbie
Activity: 10
Merit: 0
This works great! I can finally import private keys in Windows
Pages:
Jump to: