Browse Source
* [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>pull/31/head
committed by
GitHub
3 changed files with 36 additions and 0 deletions
@ -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 |
||||
@ -0,0 +1,10 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
set -euo pipefail |
||||
|
set -x |
||||
|
|
||||
|
# get ranges from statuscake |
||||
|
curl -s "https://app.statuscake.com/Workfloor/Locations.php?format=txt" > /tmp/statuscake-ipv4.txt |
||||
|
|
||||
|
# sort & uniq |
||||
|
sort -V /tmp/statuscake-ipv4.txt | uniq > statuscake/ipv4.txt |
||||
Loading…
Reference in new issue