Bitcoin Forum
November 14, 2024, 10:43:25 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 33 34 35 36 37 38 39 40 »
  Print  
Author Topic: Pywallet 2.2: manage your wallet [Update required]  (Read 208217 times)
Osten
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
September 01, 2017, 02:17:06 PM
Last edit: September 01, 2017, 02:34:19 PM by Osten
 #581

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: 217
Merit: 109


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

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

Activity: 36
Merit: 0


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

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
 #584

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


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

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
 #586

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


View Profile WWW
November 09, 2017, 03:34:19 PM
Last edit: November 09, 2017, 03:57:59 PM by Cassius
 #587

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
 #588

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
 #589

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
Last edit: December 06, 2017, 01:12:01 PM by c4kbeast
 #590

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


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

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
 #592

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

Activity: 47
Merit: 0


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

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
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


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

... 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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
PSNseller
Newbie
*
Offline Offline

Activity: 47
Merit: 0


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

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

Activity: 47
Merit: 0


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

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

Activity: 47
Merit: 0


View Profile
December 09, 2017, 04:26:41 PM
 #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.
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
DudeNamedSteve
Newbie
*
Offline Offline

Activity: 107
Merit: 0


View Profile
December 17, 2017, 09:47:03 AM
 #598

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  git@github.com:jackjack-jj/pywallet.git (fetch)
origin  git@github.com:jackjack-jj/pywallet.git (push)
$ git log
commit b52c955f8c93a75745166ebf281448016e1f22e2
Merge: 069ef00 7c847c1
Author: jackjack-jj <jackjack-jj@users.noreply.github.com>
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.
Cassius
Legendary
*
Offline Offline

Activity: 1764
Merit: 1031


View Profile WWW
December 17, 2017, 02:35:45 PM
 #599


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?
escobol
Member
**
Offline Offline

Activity: 158
Merit: 39


View Profile
December 31, 2017, 08:46:24 PM
Last edit: January 02, 2018, 09:44:42 PM by escobol
 #600

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?

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 33 34 35 36 37 38 39 40 »
  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!