more expressvpn

This commit is contained in:
localhost 2026-04-08 16:21:05 +02:00
parent 9a0488d416
commit 9f704fdf5d
2 changed files with 56 additions and 1 deletions

View File

@ -557,6 +557,7 @@
151.240.94.0/24
151.240.95.0/24
151.243.87.0/24
151.245.142.0/24
163.5.65.0/24
181.214.179.0/24
181.214.73.0/24
@ -620,4 +621,33 @@
91.124.88.0/24
92.113.137.0/24
93.127.170.0/23
136.144.17.0/24
185.166.253.112/28
185.166.253.128/28
185.166.253.144/28
185.166.253.160/28
185.166.253.176/28
185.166.253.192/28
185.166.253.208/28
185.166.253.224/28
185.166.253.240/28
185.166.253.32/28
185.166.253.48/28
185.166.253.64/28
185.166.253.80/28
185.166.253.96/28
194.5.82.0/24
2.57.171.0/24
203.26.81.0/25
203.26.81.128/25
45.132.226.0/24
45.67.97.0/24
45.8.16.0/24
45.8.17.0/24
45.8.18.0/24
45.8.24.0/24
45.8.68.0/24
45.8.70.0/24
45.8.71.0/24
85.203.21.0/24
146.70.255.0/24

View File

@ -51,4 +51,29 @@ for (const o of [...orgId, 'ORG-ETL39-RIPE']) {
}
}
let start = 0
while (true) {
const ips = await (await fetch(`https://apps.db.ripe.net/db-web-ui/api/rest/fulltextsearch/select?facet=true&format=xml&hl=true&q=(netname:(%22VPN%5C-Consumer%5C-Network%22))%20AND%20(object-type:inetnum)&start=${start}&wt=json`, {
headers: {
'Accept': 'application/json, text/plain, */*'
}
})).json()
start = start + 10
if (!ips.result.docs) break;
const primaries = ips.result.docs.map(o => o.doc.strs.find(s => s.str.name.startsWith('inetnum')).str)
for (const p of primaries) {
if (p.name == 'inetnum') {
console.log(inetnumToCIDR(p.value).join('\n'))
writer.write(inetnumToCIDR(p.value).join('\n') + '\n')
} else if (p.name == 'inet6num') {
console.log(p.value)
writer.write(p.value + '\n')
}
}
}
writer.flush()
writer.end();