This commit is contained in:
localhost 2026-04-05 00:30:15 +02:00
parent 8a9fe68de7
commit 5b5e1c7a10
3 changed files with 25 additions and 12 deletions

11
ranges/1vpn.txt Normal file
View File

@ -0,0 +1,11 @@
91.221.190.53/32
45.150.109.112/32
209.127.202.146/32
209.127.202.113/32
91.242.241.58/32
193.104.75.35/32
66.42.61.251/32
198.145.121.235/32
198.145.121.151/32
91.236.230.83/32
92.118.126.116/32

View File

@ -1,12 +0,0 @@
31.14.40.0/23
31.14.42.0/24
89.39.149.0/24
185.105.4.0/23
185.105.6.0/24
209.127.202.0/24
2a01:4ce0::/32
162.244.80.0/22
168.100.174.0/24
185.105.7.0/24
198.145.121.0/24
2607:f710::/32

14
scripts/1vpn.ts Normal file
View File

@ -0,0 +1,14 @@
const freeLocationsText = await(await fetch('https://raw.githubusercontent.com/1vpn/browser_extension/b58394076cc61beda2a6cc2292915180db58bc17/src/utils/freeLocations.js')).text()
const freeLocations = JSON.parse(freeLocationsText.replace('const freeLocations = ', '').replace('export default freeLocations', '').trim())
for (const l of Object.entries(freeLocations).filter(h => h[1].isPremium != true)) {
for (const h of l[1].hosts) {
const v4 = await (await fetch('https://ipinfo.io', {
proxy: `https://a2epfq5ugq0u:ptkx3fqg6v7n@${h.hostname}:${h.port}`,
headers: {
'user-agent': 'curl/8.4.0'
}
})).json()
console.log(v4.ip + '/32')
}
}