Improve blockchain2john.py script to handle multiple hashes
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Someone sent me this request in private.
This doesn't seem hard to fix, for anyone with python skills and a sample wallet.
I would like to extract several blockchain hash, from a text file that contains line by line, the encrypted blockchain hases. (eg:wallets.json file)
Eg:
input file wallets.json
{"pbkdf2_iterations":5000,"version":3,"payload":".........
{"pbkdf2_iterations":5000,"version":4,"payload":".........
etc...
Eg:
ouput file extracted-wallets.json
$blockchain$v2$5000$2530$.........
$blockchain$v2$5000$1556$.........
etc..
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with blockchain2john.py and inspect how it reads a single wallet record. Try the wallets.json example as input, then make the script produce one extracted hash line for each record in the file, matching the extracted-wallets.json format shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100