-snip-
I downloaded from the website and installed python 2.7 but cmd says that "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases."
You can launch python from its install directory by using command prompt's "
cd" (
change directory) command.
Example: if python is installed in "
C:/Python/Python27" and python.exe is in that directory, you can enter:
cd "C:/Python/Python27"to set it as command prompt's working directory, then the python command should now work in that session.
Thank you, python works following your steps and the pywallet.py runs too. I have last 2 questions about the script. This is what I did so far:
C:\Python27>python pywallet.py
WARNING:root:pycrypto or libssl not found, decryption may be slow
Warning: 'ecdsa' package is not installed, so you won't be able to sign/verify messages but everything else will work fine
A mandatory option is missing
Usage: pywallet.py [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
--dump_bip32=DUMP_BIP32
dump the keys from a xpriv and a path, usage:
--dump_bip32 xprv9s21ZrQH143K m/0H/1-2/2H/2-4
--bip32_format=BIP32_FORMAT
format of dumped bip32 keys
--passphrase=PASSPHRASE
passphrase for the encrypted wallet
--find_address=FIND_ADDRESS
find info about an address
-d, --dumpwallet dump wallet in json format
--dumpformat=DUMPFORMAT
choose what to extract in a wallet dump
--dumpwithbalance includes balance of each address in the json dump,
takes about 2 minutes per 100 addresses
--importprivkey=KEY import private key from vanitygen
--importhex DEPRECATED, useless
--datadir=DATADIR REMOVED OPTION: put full path in the --wallet option
-w WALLETFILE, --wallet=WALLETFILE
wallet filename (defaults to wallet.dat)
--label=LABEL label shown in the adress book (defaults to '')
--testnet use testnet subdirectory and address type
--namecoin use namecoin address type
--eth use ethereum address type
--otherversion=OTHERVERSION
use other network address type, either P2PKH prefix
only (e.g. 111) or full network info as
'name,p2pkh,p2sh,wif,segwithrp' (e.g. btc,0,0,0x80,bc)
--info display pubkey, privkey (both depending on the
network) and hexkey
--reserve import as a reserve key, i.e. it won't show in the
adress book
--multidelete=MULTIDELETE
deletes data in your wallet, according to the file
provided
--balance=KEY_BALANCE
prints balance of KEY_BALANCE
--recover recover your deleted keys, use with recov_size and
recov_device
--recov_device=RECOV_DEVICE
device to read (e.g. /dev/sda1 or E: or a file)
--recov_size=RECOV_SIZE
number of bytes to read (e.g. 20Mo or 50Gio)
--recov_outputdir=RECOV_OUTPUTDIR
output directory where the recovered wallet will be
put
--clone_watchonly_from=CLONE_WATCHONLY_FROM
path of the original wallet
--clone_watchonly_to=CLONE_WATCHONLY_TO
path of the resulting watch-only wallet
--dont_check_walletversion
don't check if wallet version > 81000 before running
(WARNING: this may break your wallet, be sure you know
what you do)
--random_key print info of a randomly generated private key
--whitepaper write the Bitcoin whitepaper using bitcoin-cli or
blockchain.info
--minimal_encrypted_copy
write a copy of an encrypted wallet with only an empty
address, *should* be safe to share when needing help
bruteforcing the password
--tests run tests
C:\Python27>
Is it working properly?
python pywallet.py --recover --recov_device=D: --recov_size=50Gio --recov_outputdir=C:\pywallet_recov_dir
I copy paste this whole line after changing the info with mines or do i need first to run --recover then --recover device=D etc?
--recover size=50Gio
This is the size of the D device? So in your case it was a 50gb hard drive? The size of the btc hd is 153gb so should I put --recov_size=153Gio ?