mirror of
https://github.com/lord-alfred/ipranges.git
synced 2026-03-21 18:57:46 +00:00
Add pingdom and statuscake ips and downloaders (#29)
* [main-] add pingdom and statuscake ips and downloaders * Improved consistency with the original style * Typo in README --------- Co-authored-by: Lord Alfred <2259979+lord-alfred@users.noreply.github.com>
This commit is contained in:
12
pingdom/downloader.sh
Normal file
12
pingdom/downloader.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
# get ranges from pingdom
|
||||
curl -s https://my.pingdom.com/probes/ipv4 > /tmp/pingdom-ipv4.txt
|
||||
curl -s https://my.pingdom.com/probes/ipv6 > /tmp/pingdom-ipv6.txt
|
||||
|
||||
# sort & uniq
|
||||
sort -V /tmp/pingdom-ipv4.txt | uniq > pingdom/ipv4.txt
|
||||
sort -V /tmp/pingdom-ipv6.txt | uniq > pingdom/ipv6.txt
|
||||
Reference in New Issue
Block a user