improve
This commit is contained in:
parent
fd55528aa2
commit
4c2bc70d65
1 changed files with 5 additions and 2 deletions
7
bk4.sh
7
bk4.sh
|
@ -17,8 +17,10 @@ page_number=1
|
||||||
|
|
||||||
# Loop to search through pages
|
# Loop to search through pages
|
||||||
while true; do
|
while true; do
|
||||||
|
echo searching... page $page_number out of a shit ton
|
||||||
|
echo $page_number > last_progress.txt
|
||||||
# Fetch the page content
|
# Fetch the page content
|
||||||
page_content=$(curl -s "https://privatekeyfinder.io/private-keys/bitcoin/$page_number")
|
page_content=$(curl "https://privatekeyfinder.io/private-keys/bitcoin/$page_number")
|
||||||
|
|
||||||
# Check if the target address is in the page content
|
# Check if the target address is in the page content
|
||||||
if echo "$page_content" | grep -q "$target_address"; then
|
if echo "$page_content" | grep -q "$target_address"; then
|
||||||
|
@ -30,4 +32,5 @@ while true; do
|
||||||
|
|
||||||
# Increment page number for next iteration
|
# Increment page number for next iteration
|
||||||
((page_number++))
|
((page_number++))
|
||||||
done
|
sleep $((RANDOM % 5))
|
||||||
|
done
|
Loading…
Reference in a new issue