Squid is a program that monitors the output of the albertobsd/keyhunt program and sends private key information of Bitcoin addresses to a user-defined server.
And before I forget, this is my first program in C ^^
- GCC (GNU Compiler Collection)
- libcurl (library for data transfers with URL)
To install GCC and the libcurl library, follow the instructions below based on your operating system.
sudo apt update
sudo apt install build-essential libcurl4-openssl-dev
sudo dnf install gcc libcurl-devel
You can install GCC and libcurl using Homebrew:
brew install gcc curl
git clone https://github.com/your_username/squid.git
cd squid
Run the following command to compile the program:
gcc -o squid squid.c -lcurl
To set the environment variables defined in your .env file, run the following command:
export $(cat .env | xargs)
To run the program, use the command:
./squid
The program will display information about the found private key and confirm the sending of that information to the server. An example output is:
_bit_range: 50
[+] Waiting for the bit range key '2^49...2^50-1'
[-] Nothing here yet! | check_count: 33
[+] Found file: 'KEYFOUNDKEYFOUND.txt'
[+] Found Key: 22bd43c2e9354
[+] Key HEX: 00000000000000000000000000000000000000000000000000022bd43c2e9354
{"status_code":200,"message":"Request processed successfully","data":{"success":"Ok"}}
[+] Key successfully sent to the server!
Feel free to contribute improvements or fixes. Just fork the repository and submit a pull request.