Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mzollin/qr-pirate
crawl QR-codes from search engines and look for bitcoin private keys
https://github.com/mzollin/qr-pirate
bitcoin bitcoin-wallet crawler cryptocurrency private-key python qr-code qrcode qrcode-reader
Last synced: 25 days ago
JSON representation
crawl QR-codes from search engines and look for bitcoin private keys
- Host: GitHub
- URL: https://github.com/mzollin/qr-pirate
- Owner: mzollin
- License: mit
- Created: 2017-12-08T16:26:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T02:13:19.000Z (6 months ago)
- Last Synced: 2024-05-22T06:27:03.772Z (6 months ago)
- Topics: bitcoin, bitcoin-wallet, crawler, cryptocurrency, private-key, python, qr-code, qrcode, qrcode-reader
- Language: Python
- Size: 255 KB
- Stars: 70
- Watchers: 7
- Forks: 35
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qr-pirate
crawl QR-codes from search engines and look for Bitcoin wallet private keys
Disclaimer: You probably won't find any private keys of wallets that still contain Bitcoins. If you do, please leave them where they are, this tool is for demonstration purposes only. Also don't put photos of your private keys on the internet.
## Setup and usage:
- sudo apt install python3-dev python3-setuptools python3-pip libzbar0 libzbar-dev
- pip3 install -r requirements.txt**example usage:** ./qrpirate.sh "bitcoin qr"
**output:** keylist_unique.txt
The balance of the wallet associated with each found private key will be output on the terminal.## Details
You can use the qrpirate.sh bash script to automate the whole process from search keyword input to private key output, or use the qrcrawler.py and qr2key.py tools on their own. The bash script automates the following steps:1. Calls qrcrawler.py with the provided search keywords as an argument to crawl google, bing and baidu for images. They will be downloaded to a qrbooty folder with subfolders for every search engine.
2. Renames and moves the files up from the subfolders to the qrbooty folder with unique names.
3. Calls qr2key.py to scan the downloaded images in the qrbooty folder for QR-codes and checks if they contain Bitcoin wallet private keys. The keys will be saved in a keylist.txt file.
4. Removes duplicates in keylist.txt and outputs the unique keys to a keylist_unique.txt file
## Python dependencies:
- icrawler
- pillow
- zbarlight
- pycoin