S
S
Sem_ua2014-11-22 19:20:14
linux
Sem_ua, 2014-11-22 19:20:14

Running keyhunter.py Linux script, how?

Someone Den Pearce made a python script to find a deleted/corrupted wallet.dat file that stores private keys to restore access to a bitcoin wallet (aka bitcoin qt).
The script itself and the readme are on github - https://github.com/pierce403/keyhunter.git
Actually the question! How to run this script correctly on Linux? (I use Kali x64).
What I tried:
1) With the fdisk -l command , I find out the required hdd (there are several of them)
2) The keyhunter.py file is on the desktop, so I write cd Desktop
3) Next ./keyhunter.py /dev/sda and nothing else happens. That is, no reaction...
Based on the readme , I quote: "keyhunter
=========
A tool to recover lost bitcoin private keys from dead harddrives.
chmod +x keyhunter.py
./keyhunter.py /dev/sdc output should list found private keys in
base58 key import format
bitcoind
importprivkey 5K

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Karabanov, 2014-11-22
@karabanov

Put " ./ " at the beginning.
Or run like this " sudo python keyhunter.py /dev/sdc "

S
Sem_ua, 2014-11-22
@Sem_ua

to sebres
chmod +x tried. sudo command is not needed, alas) thanks for the advice

B
bogolt, 2014-11-26
@bogolt

I tried, this script works for me. True, in the process of work, it does not output anything, but it will work for a long time - well, depending on the size of the disk and the speed of its reading.
Of the possible errors:
no rights, no required version of python, you specify the disk incorrectly, the disk cannot be opened (maybe you need to unmount it first if it is mounted).
Does the program give any error on startup?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question