Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Getting mining pool list from cryptocompare (only local links)
- curl -s https://www.cryptocompare.com/mining/#/pools | tr -s '\"' '\n' | grep mining/pools
- # Getting mining pool remote links from cryptocompare
- url=https://www.cryptocompare.com; curl -s $url/mining/#/pools | tr -s '\"' '\n' | grep 'mining/pools' | while read line; do curl -s $url$line | grep btn-website | awk -F\" '{print $4}' ; ((x++)) ; echo $x; done
- # Getting mining pool links, stripping them and loading whois country information
- url=https://www.cryptocompare.com; curl -s $url/mining/#/pools | tr -s '\"' '\n' | grep 'mining/pools' | while read line; do url2=$(curl -s $url$line | grep btn-website | awk -F\" '{print $4}' | sed 's/https\?:\/\///' | awk -F/ '{ print $1 }'); echo $url2 | tr '\n' ','; whois $url2 | grep Country | tr '\n' ','; ((x++)); echo $x; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement