diff --git a/ranges/1vpn.txt b/ranges/1vpn.txt new file mode 100644 index 0000000..b3e6039 --- /dev/null +++ b/ranges/1vpn.txt @@ -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 \ No newline at end of file diff --git a/ranges/unnamedfreevpn.txt b/ranges/unnamedfreevpn.txt deleted file mode 100644 index 73d23cf..0000000 --- a/ranges/unnamedfreevpn.txt +++ /dev/null @@ -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 \ No newline at end of file diff --git a/scripts/1vpn.ts b/scripts/1vpn.ts new file mode 100644 index 0000000..fad8775 --- /dev/null +++ b/scripts/1vpn.ts @@ -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') + } +} \ No newline at end of file