nordvpn, protonvpn, .gitignore

This commit is contained in:
Anton Volnuhin 2023-10-11 16:39:04 +03:00
parent c9a29c7dbd
commit 820f5ad288
7 changed files with 7077 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

35
nordvpn/downloader.sh Normal file
View File

@ -0,0 +1,35 @@
#!/bin/bash
# https://www.irr.net/docs/list.html
# https://bgp.he.net/search?search%5Bsearch%5D=nordvpn&commit=Search
# https://github.com/SecOps-Institute/TwitterIPLists/blob/master/nordvpn_asn_list.lst
set -euo pipefail
set -x
# get from Autonomous System
get_routes() {
whois -h riswhois.ripe.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h whois.radb.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h rr.ntt.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h whois.rogerstelecom.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h whois.bgp.net.br -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
}
get_routes 'AS136787' > /tmp/nordvpn.txt || echo 'failed'
curl --silent "https://api.nordvpn.com/v1/servers?limit=16383"| jq .[].ips[].ip.ip|tr -d '"'| sort -h|uniq >>/tmp/nordvpn.txt
# save ipv4
grep -v ':' /tmp/nordvpn.txt > /tmp/nordvpn-ipv4.txt
# save ipv6
grep ':' /tmp/nordvpn.txt > /tmp/nordvpn-ipv6.txt
# sort & uniq
sort -h /tmp/nordvpn-ipv4.txt | uniq > nordvpn/ipv4.txt
sort -h /tmp/nordvpn-ipv6.txt | uniq > nordvpn/ipv6.txt

6356
nordvpn/ipv4.txt Normal file

File diff suppressed because it is too large Load Diff

4
nordvpn/ipv6.txt Normal file
View File

@ -0,0 +1,4 @@
2a0d:5600:8:26a::3
2a0d:5600:8:27a::3
2400:bb40:4444::/48
2400:bb40:8888::/48

35
protonvpn/downloader.sh Normal file
View File

@ -0,0 +1,35 @@
#!/bin/bash
# https://www.irr.net/docs/list.html
# https://bgp.he.net/search?search%5Bsearch%5D=protonvpn&commit=Search
# https://github.com/SecOps-Institute/TwitterIPLists/blob/master/protonvpn_asn_list.lst
set -euo pipefail
set -x
# get from Autonomous System
get_routes() {
whois -h riswhois.ripe.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h whois.radb.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h rr.ntt.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h whois.rogerstelecom.net -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
whois -h whois.bgp.net.br -- "-i origin $1" | rg '^route' | awk '{ print $2; }'
}
get_routes 'AS209103' > /tmp/protonvpn.txt || echo 'failed'
curl --silent https://api.protonvpn.ch/vpn/logicals|jq .LogicalServers[].Servers[].EntryIP| tr -d '"'| sort -h|uniq >>/tmp/protonvpn.txt
# save ipv4
grep -v ':' /tmp/protonvpn.txt > /tmp/protonvpn-ipv4.txt
# save ipv6
grep ':' /tmp/protonvpn.txt > /tmp/protonvpn-ipv6.txt
# sort & uniq
sort -h /tmp/protonvpn-ipv4.txt | uniq > protonvpn/ipv4.txt
sort -h /tmp/protonvpn-ipv6.txt | uniq > protonvpn/ipv6.txt

641
protonvpn/ipv4.txt Normal file
View File

@ -0,0 +1,641 @@
2.58.241.66
5.157.13.2
5.8.16.146
5.8.16.162
5.8.16.234
31.13.189.226
31.13.189.242
37.120.203.82
37.120.215.226
37.120.215.242
37.120.217.162
37.120.217.82
37.120.217.87
37.120.244.154
37.120.244.50
37.120.244.58
37.120.244.98
37.19.200.26
37.19.200.27
37.19.201.129
37.19.201.130
37.19.205.155
37.19.205.202
37.19.205.223
37.19.214.1
37.221.112.194
37.221.112.210
37.46.115.5
45.128.133.226
45.128.134.194
45.128.134.199
45.134.140.33
45.134.140.46
45.14.71.5
45.14.71.6
45.152.182.130
45.152.182.146
45.87.214.106
45.87.214.114
45.87.214.18
45.87.214.194
45.87.214.210
45.87.214.98
62.112.9.164
66.115.146.162
66.115.146.167
66.115.146.172
66.90.72.170
66.90.82.26
69.10.63.242
74.63.204.210
77.247.178.54
79.110.55.2
79.135.104.0/24
79.135.105.0/24
84.17.45.156
84.17.63.17
84.17.63.54
84.17.63.8
84.247.50.178
85.132.252.34
85.159.237.72
85.206.170.148
87.249.133.108
87.249.133.97
87.249.139.170
89.187.164.241
89.187.164.246
89.187.170.135
89.187.171.225
89.187.171.239
89.187.171.248
89.187.175.129
89.187.175.132
89.187.178.173
89.187.180.14
89.187.180.27
89.187.180.40
89.36.76.130
89.38.227.138
89.38.99.72
89.39.104.173
89.39.106.102
89.39.107.109
89.39.107.157
89.39.107.185
89.39.107.188
89.44.201.162
89.45.4.2
91.219.212.194
91.219.212.202
91.219.212.210
91.219.212.218
91.219.212.226
91.219.214.162
91.219.214.170
91.90.123.178
91.90.123.50
92.223.89.133
92.223.89.141
93.190.138.166
93.190.140.103
93.190.141.58
93.190.142.102
103.107.197.2
103.107.198.210
103.107.198.242
103.107.199.194
103.107.199.210
103.108.229.18
103.108.231.18
103.125.235.19
103.214.20.210
103.214.20.98
103.216.220.98
103.230.142.226
103.75.11.18
104.234.212.26
107.181.177.11
107.181.177.2
107.181.245.74
109.236.81.160
109.236.81.166
116.90.74.178
138.199.33.225
138.199.33.236
138.199.35.97
138.199.50.103
138.199.50.104
138.199.50.105
138.199.50.106
138.199.50.107
138.199.50.97
138.199.53.225
138.199.53.236
138.199.55.33
138.199.6.177
138.199.6.178
138.199.6.179
138.199.6.181
138.199.60.86
138.199.60.87
138.199.7.129
138.199.7.181
138.199.7.225
138.199.7.235
138.199.7.251
143.244.44.186
144.48.39.226
146.70.113.114
146.70.113.98
146.70.115.162
146.70.120.146
146.70.120.210
146.70.127.242
146.70.129.18
146.70.133.130
146.70.142.18
146.70.142.82
146.70.147.114
146.70.147.98
146.70.161.162
146.70.161.178
146.70.161.194
146.70.170.18
146.70.170.2
146.70.174.130
146.70.174.146
146.70.174.162
146.70.174.178
146.70.174.194
146.70.174.210
146.70.174.226
146.70.174.242
146.70.174.66
146.70.174.82
146.70.179.18
146.70.179.34
146.70.179.50
146.70.179.98
146.70.181.34
146.70.182.18
146.70.182.2
146.70.182.34
146.70.183.130
146.70.183.146
146.70.183.162
146.70.183.18
146.70.194.114
146.70.194.18
146.70.194.2
146.70.194.34
146.70.194.50
146.70.194.66
146.70.194.82
146.70.194.98
146.70.195.34
146.70.195.82
146.70.195.98
146.70.198.18
146.70.198.2
146.70.198.34
146.70.198.50
146.70.202.114
146.70.202.130
146.70.202.146
146.70.202.162
146.70.202.178
146.70.202.18
146.70.202.2
146.70.202.34
146.70.202.50
146.70.202.66
146.70.202.82
146.70.202.98
146.70.204.162
146.70.204.178
146.70.45.114
146.70.45.226
146.70.45.82
146.70.48.2
146.70.51.210
146.70.58.130
146.70.72.130
146.70.72.162
146.70.83.66
146.70.86.114
146.70.96.66
149.102.224.161
149.102.226.193
149.102.226.225
149.102.235.33
149.102.244.17
149.102.251.97
149.102.254.65
149.34.244.134
149.36.48.129
149.36.48.141
149.88.19.225
149.88.19.238
154.47.16.81
154.47.22.65
154.47.22.77
154.47.22.90
154.47.24.193
154.47.25.129
154.47.25.145
154.47.25.161
154.47.25.193
156.146.45.129
156.146.45.139
156.146.50.5
156.146.51.65
156.146.51.78
156.146.54.97
156.146.55.225
165.231.178.10
169.150.196.100
169.150.196.145
169.150.196.150
169.150.196.65
169.150.196.71
169.150.196.77
169.150.196.83
169.150.196.95
169.150.196.96
169.150.196.97
169.150.196.99
169.150.204.33
169.150.204.44
169.150.218.137
169.150.218.55
169.150.218.70
169.150.218.90
169.150.218.91
169.150.226.161
172.83.40.66
172.98.82.146
178.218.167.210
178.249.212.161
178.249.212.162
178.249.214.65
180.149.229.130
185.107.44.110
185.107.44.169
185.107.44.2
185.107.44.200
185.107.44.220
185.107.44.96
185.107.56.117
185.107.56.130
185.107.56.134
185.107.56.138
185.107.56.143
185.107.56.154
185.107.56.162
185.107.56.212
185.107.56.219
185.107.56.224
185.107.56.229
185.107.56.236
185.107.56.30
185.107.56.45
185.107.56.50
185.107.56.76
185.107.56.85
185.107.56.91
185.107.56.98
185.107.57.7
185.107.80.101
185.107.80.116
185.107.80.190
185.107.80.36
185.156.46.33
185.159.156.113
185.159.156.114
185.159.156.115
185.159.156.116
185.159.156.117
185.159.156.118
185.159.156.119
185.159.156.122
185.159.156.123
185.159.156.27
185.159.156.28
185.159.156.35
185.159.156.37
185.159.156.43
185.159.156.48
185.159.156.49
185.159.156.53
185.159.156.55
185.159.156.56
185.159.156.58
185.159.156.68
185.159.156.72
185.159.156.73
185.159.156.74
185.159.156.75
185.159.156.76
185.159.156.81
185.159.156.82
185.159.156.83
185.159.156.84
185.159.156.85
185.159.156.86
185.159.156.87
185.159.156.88
185.159.156.89
185.159.156.90
185.159.156.91
185.159.156.92
185.159.156.93
185.159.156.94
185.159.156.95
185.159.156.97
185.159.156.98
185.159.156.99
185.159.157.0/24
185.159.157.100
185.159.157.101
185.159.157.102
185.159.157.103
185.159.157.104
185.159.157.105
185.159.157.106
185.159.157.107
185.159.157.110
185.159.157.111
185.159.157.113
185.159.157.117
185.159.157.12
185.159.157.120
185.159.157.121
185.159.157.122
185.159.157.123
185.159.157.124
185.159.157.125
185.159.157.126
185.159.157.127
185.159.157.128
185.159.157.129
185.159.157.13
185.159.157.130
185.159.157.131
185.159.157.132
185.159.157.133
185.159.157.138
185.159.157.139
185.159.157.14
185.159.157.140
185.159.157.141
185.159.157.147
185.159.157.148
185.159.157.149
185.159.157.150
185.159.157.153
185.159.157.16
185.159.157.165
185.159.157.168
185.159.157.176
185.159.157.177
185.159.157.183
185.159.157.184
185.159.157.186
185.159.157.187
185.159.157.188
185.159.157.189
185.159.157.190
185.159.157.191
185.159.157.192
185.159.157.196
185.159.157.197
185.159.157.198
185.159.157.199
185.159.157.208
185.159.157.209
185.159.157.210
185.159.157.211
185.159.157.212
185.159.157.213
185.159.157.214
185.159.157.217
185.159.157.218
185.159.157.219
185.159.157.220
185.159.157.221
185.159.157.222
185.159.157.223
185.159.157.224
185.159.157.225
185.159.157.226
185.159.157.227
185.159.157.228
185.159.157.229
185.159.157.23
185.159.157.230
185.159.157.231
185.159.157.232
185.159.157.234
185.159.157.235
185.159.157.236
185.159.157.237
185.159.157.238
185.159.157.239
185.159.157.24
185.159.157.240
185.159.157.241
185.159.157.242
185.159.157.243
185.159.157.244
185.159.157.245
185.159.157.251
185.159.157.252
185.159.157.253
185.159.157.254
185.159.157.27
185.159.157.31
185.159.157.35
185.159.157.37
185.159.157.43
185.159.157.58
185.159.157.6
185.159.157.60
185.159.157.61
185.159.157.62
185.159.157.65
185.159.157.66
185.159.157.7
185.159.157.77
185.159.157.80
185.159.157.81
185.159.157.82
185.159.157.84
185.159.157.85
185.159.157.88
185.159.157.89
185.159.157.90
185.159.157.91
185.159.157.93
185.159.157.94
185.159.157.95
185.159.157.96
185.159.157.97
185.159.157.98
185.159.158.1
185.159.158.117
185.159.158.118
185.159.158.120
185.159.158.132
185.159.158.138
185.159.158.139
185.159.158.140
185.159.158.144
185.159.158.145
185.159.158.147
185.159.158.148
185.159.158.149
185.159.158.150
185.159.158.151
185.159.158.158
185.159.158.159
185.159.158.160
185.159.158.161
185.159.158.162
185.159.158.163
185.159.158.177
185.159.158.178
185.159.158.179
185.159.158.180
185.159.158.181
185.159.158.182
185.159.158.184
185.159.158.185
185.159.158.186
185.159.158.187
185.159.158.188
185.159.158.189
185.159.158.190
185.159.158.191
185.159.158.192
185.159.158.193
185.159.158.194
185.159.158.195
185.159.158.196
185.159.158.199
185.159.158.2
185.159.158.200
185.159.158.201
185.159.158.202
185.159.158.204
185.159.158.205
185.159.158.206
185.159.158.207
185.159.158.208
185.159.158.209
185.159.158.212
185.159.158.213
185.159.158.214
185.159.158.215
185.159.158.216
185.159.158.217
185.159.158.218
185.159.158.219
185.159.158.220
185.159.158.221
185.159.158.222
185.159.158.223
185.159.158.224
185.159.158.225
185.159.158.226
185.159.158.227
185.159.158.228
185.159.158.229
185.159.158.230
185.159.158.231
185.159.158.55
185.159.158.59
185.159.159.0/24
185.163.44.137
185.177.124.206
185.177.125.173
185.177.125.201
185.177.125.4
185.177.126.133
185.177.126.144
185.177.126.71
185.180.222.89
185.182.193.108
185.182.193.32
185.183.33.11
185.183.33.218
185.183.34.149
185.183.34.165
185.183.34.27
185.185.134.114
185.185.134.146
185.229.25.116
185.230.126.10
185.230.126.146
185.230.126.18
185.236.200.242
185.246.211.193
185.246.211.72
185.247.68.50
185.51.134.194
185.76.11.17
185.76.11.22
185.76.11.27
188.214.106.178
188.214.122.82
188.214.125.162
188.214.152.226
188.215.235.82
188.241.177.226
190.2.131.156
190.2.132.124
190.2.132.139
190.2.146.180
190.2.147.7
190.2.153.215
190.2.155.219
193.148.18.34
193.148.18.66
193.148.18.74
193.148.18.82
193.27.12.250
193.29.107.162
193.29.107.242
193.29.107.98
193.37.254.178
193.37.254.66
194.126.177.0/24
194.126.177.13
194.126.177.14
194.126.177.6
194.126.177.7
194.126.177.8
194.126.177.9
194.34.132.55
195.158.248.226
195.178.172.188
195.178.172.189
195.181.167.193
195.80.150.226
196.196.203.202
196.240.128.66
196.240.54.114
196.245.151.210
212.102.35.244
212.102.44.161
212.102.44.166
212.8.243.129
212.8.243.68
212.8.250.217
212.8.252.66
212.8.253.138
212.8.253.155
217.138.193.98
217.138.196.18
217.23.3.76

5
protonvpn/ipv6.txt Normal file
View File

@ -0,0 +1,5 @@
2a07:b941:e10::/44
2a07:b941:e20::/44
2a07:b941:e40::/44
2a07:b941:f00::/44
2a07:b941:f10::/44