Работа
-Блокировка WhatsApp на предприятии
Появилась необходимость блокировать WhatsApp на определенное время, далее реализация получения IP...
Приложение c iPhone под WinHex
e1.whatsapp.net
e2.whatsapp.net
e3.whatsapp.net
e4.whatsapp.net
e5.whatsapp.net
e6.whatsapp.net
e7.whatsapp.net
e8.whatsapp.net
e9.whatsapp.net
e10.whatsapp.net
e11.whatsapp.net
e12.whatsapp.net
e13.whatsapp.net
e14.whatsapp.net
e15.whatsapp.net
e16.whatsapp.net
Далее, для резолва IP пару bash строк:
echo -e "e1.whatsapp.netne2.whatsapp.netne3.whatsapp.netne4.whatsapp.netne5.whatsapp.netne6.whatsapp.netne7.whatsapp.netne8.whatsapp.netne9.whatsapp.netne10.whatsapp.netne11.whatsapp.netne12.whatsapp.netne13.whatsapp.netne14.whatsapp.netne15.whatsapp.netne16.whatsapp.net" > ips.txt
cat ips.txt | while read IPS ; do nslookup $IPS ; done | grep -oE "b([0-9]{1,3}.){3}[0-9]{1,3}b" | grep -v 8.8.8.8[/code]
Результат:
173.192.222.173
173.192.222.172
174.37.231.78
173.192.222.169
173.192.222.170
173.192.222.177
173.192.222.168
173.192.222.171
173.192.222.174
174.37.231.93
173.192.222.176
173.192.222.175
174.36.210.46
174.37.231.79
173.192.222.181
173.192.222.179
173.192.222.178
173.192.222.187
173.192.222.184
173.192.222.185
174.36.210.51
173.192.222.186
174.37.231.92
173.192.222.182
173.192.222.183
173.192.222.180
50.22.225.68
173.192.222.190
174.37.231.81
174.36.210.50
174.37.231.94
50.22.225.69
173.192.222.189
50.22.225.70
50.22.225.87
173.192.222.188
50.22.225.71
50.22.225.67
50.22.225.66
50.22.225.82
174.36.210.53
50.22.225.76
174.36.210.35
50.22.225.83
50.22.225.73
50.22.225.77
174.37.231.80
50.22.225.74
50.22.225.84
50.22.225.75
50.22.225.72
50.22.225.85
173.193.230.115
50.22.225.80
173.193.230.116
208.43.122.147
50.22.225.79
50.22.225.81
174.36.210.55
50.22.225.78
174.36.210.37
50.22.225.86
174.37.231.84
208.43.122.145
50.22.225.90
174.36.210.36
184.173.147.58
184.173.147.54
184.173.147.59
184.173.147.55
208.43.122.149
174.37.231.86
184.173.147.53
184.173.147.35
184.173.147.52
174.36.210.54
184.173.147.37
208.43.122.151
208.43.122.143
184.173.161.163
174.37.231.83
184.173.147.60
174.36.210.52
184.173.147.61
208.43.122.144
184.173.147.62
208.43.122.131
184.173.161.162
184.173.147.56
184.173.147.57
174.36.210.38
184.173.161.167
174.36.210.56
184.173.161.168
184.173.161.171
184.173.161.173
174.37.231.82
184.173.161.165
174.36.210.39
184.173.161.170
184.173.161.174
184.173.161.169
184.173.161.166
184.173.161.164
108.168.176.236
108.168.176.228
108.168.176.232
174.37.231.85
108.168.176.233
174.36.210.40
108.168.176.229
108.168.176.235
108.168.176.234
108.168.176.230
108.168.176.226
108.168.176.227
108.168.176.248
108.168.176.241
108.168.176.244
108.168.176.238
108.168.176.239
108.168.176.242
174.36.210.43
108.168.176.243
108.168.176.247
108.168.176.240
108.168.176.249
174.36.210.41
108.168.176.251
108.168.176.196
108.168.176.195
108.168.176.245
108.168.176.254
108.168.176.253
108.168.176.250
108.168.176.246
108.168.176.194
174.37.231.88
174.36.210.42
108.168.176.252
184.173.179.45
184.173.179.47
174.36.210.44
184.173.179.35
184.173.179.34
208.43.122.142
184.173.179.44
184.173.179.48
108.168.176.198
108.168.176.197
184.173.179.46
174.37.231.87
174.36.210.45
184.173.179.42
184.173.179.39
184.173.179.36
184.173.179.40
184.173.179.37
108.168.180.105
184.173.179.49
184.173.179.41
174.37.231.89
108.168.180.104
184.173.179.38
174.37.231.90
108.168.180.115
108.168.180.112
108.168.180.113
108.168.180.106
108.168.180.111
108.168.180.114
174.36.210.48
108.168.180.109
108.168.180.108
108.168.180.110
108.168.180.107
108.168.180.119
108.168.180.122
174.36.210.47
108.168.180.125
108.168.180.117
108.168.180.120
108.168.180.124
108.168.180.121
174.36.210.34
108.168.180.116
108.168.180.118
108.168.180.123
50.22.240.164
50.22.240.162
50.22.240.169
108.168.180.126
50.22.240.166
174.36.210.49
50.22.240.168
108.168.180.98
50.22.240.163
50.22.240.165
50.22.240.167
174.37.231.91