<?php
function ipInCIDRNetwork($cidr_network, $ip) {
if (empty($ip)) { return false; }
list ($base, $bits) = explode('/', $cidr_network);
if ($bits < 8 || $bits > 32) {
throw new Exception("Error: Invalid CIDR mask specified.");
}
list ($a, $b, $c, $d) = explode('.', $base);
$i = ($a << 24) + ($b << 16) + ($c << 8) + $d;
$mask = $bits == 0 ? 0 : (~0 << (32 - $bits));
$low = $i & $mask;
$high = $i | (~$mask & 0xFFFFFFFF);
list ($a, $b, $c, $d) = explode('.', $ip);
$check = ($a << 24) + ($b << 16) + ($c << 8) + $d;
if ($check >= $low && $check <= $high)
return true;
return false;
}
$networks = array(
'79.141.162.0/24',
'95.141.27.0/24',
'67.213.218.0/24',
'50.2.0.0/15',
'96.44.151.0/26',
'173.254.206.0/24',
'217.13.192.0/20',
'173.254.206.0/24',
'173.254.219.0/24',
'173.254.245.0/25',
'204.152.206.128/25',
'208.167.231.128/25',
'5.102.170.0/23',
'66.212.24.64/26',
'91.238.214.0/23',
'94.46.8.128/26',
'96.44.151.0/26',
'93.182.128.0/18',
'41.208.186.0/24',
'77.94.48.5/32',
'69.22.185.184/32',
'209.73.132.117/32',
'209.73.132.0/24',
'213.131.53.54/32',
'208.68.36.0/22',
'222.73.233.146/32',
'217.150.82.14/32',
//
'69.197.132.68/32',
'199.15.248.179/32',
'84.223.98.40/32',
'217.115.10.128/28',
'79.141.164.0/24',
'192.157.192.0/18',
'209.188.113.101/32',
'209.90.238.252/32',
'216.119.149.174/32',
'216.119.144.0/20',
'173.203.0.0/17',
'91.229.20.159/32',
'192.162.102.0/23',
'54.241.192.0/18',
'66.175.208.0/21',
'37.221.160.0/21',
'74.3.165.39/32',
'192.73.232.0/21',
'93.114.40.0/21',
'77.97.32.95/32',
'113.10.222.6/32',
'81.2.197.0/24',
'221.176.14.6/32',
'46.32.224.0/19',
/* egi hosting start */
'173.245.220.0/22',
'173.245.64.0/19',
'205.164.0.0/18',
'216.151.183.0/24',
'69.46.64.0/19',
'23.27.0.0/16',
'31.193.7.160/27',
'69.46.64.0/19',
/* egi hosting end */
'206.225.80.0/21',
'206.225.92.0/22',
'216.55.160.0/21',
'216.55.168.0/22',
'216.55.176.0/21',
'216.55.184.0/22',
'14.136.236.172/32',
'95.170.86.0/24',
'198.74.96.0/19',
'115.25.216.6/32',
'212.186.0.0/18',
'86.1.77.110/32',
'176.31.180.0/22',
'96.44.188.0/22',
'31.172.0.0/17',
'78.142.128.0/18',
'5.9.0.0/16',
'79.141.172.0/24',
'82.221.96.0/19',
'109.187.36.216/32',
'74.120.15.0/24',
'171.25.193.0/24',
'23.30.140.221/32',
'209.17.191.117/32',
'91.121.0.0/17',
'80.250.96.0/20',
'85.237.192.0/19',
'218.188.13.237/32',
'5.135.0.0/16',
'95.154.192.0/18',
'78.129.128.0/17',
'93.174.88.0/21',
'178.209.96.0/19',
'176.116.153.18/32',
'95.141.27.41/32',
'200.113.174.211/32',
'37.247.48.0/21',
'82.196.0.0/20',
'96.47.226.16/29',
'128.6.224.107/32',
'74.117.56.0/21',
'199.48.147.36/32',
'65.49.0.0/17',
'50.59.161.34/32',
'66.92.44.0/24',
'50.56.0.0/17',
'68.234.25.12/32',
'198.211.96.0/19',
'65.181.123.254/32',
'204.93.60.186/32',
'91.228.52.0/23',
/* ovh start */
'142.4.192.0/19',
'176.31.0.0/16',
'176.31.96.0/19',
'178.32.0.0/15',
'178.33.40.0/21',
'188.165.0.0/16',
'192.95.0.0/18',
'198.27.64.0/18',
'37.59.0.0/16',
'46.105.0.0/16',
'46.105.32.0/19',
'46.105.96.0/19',
'5.39.0.0/17',
'87.98.128.0/18',
'91.121.0.0/19',
'91.121.136.0/21',
'91.121.160.0/19',
'91.121.192.0/20',
'91.121.208.0/21',
'91.121.220.0/22',
'91.121.32.0/19',
'91.121.64.0/18',
'94.23.0.0/16',
'94.23.192.0/18',
/* ovh end */
/* volumedrive start */
'142.0.32.0/20',
'173.242.112.0/20',
'199.115.228.0/22',
'199.168.136.0/21',
'199.180.112.0/21',
'199.19.104.0/21',
'204.124.180.0/22',
'74.118.192.0/22',
'199.115.231.51/32',
/* volumedrive end */
/* hetzner start */
'176.9.0.0/16' ,
'178.63.0.0/16',
'178.63.103.0/26',
'178.63.46.128/26',
'188.40.0.0/16',
'213.239.192.0/18',
'46.4.0.0/16',
'5.9.0.0/16',
'78.46.0.0/15',
'78.47.145.144/28',
'85.10.192.0/20',
'88.198.0.0/16',
/* hetzner end */
'184.172.0.0/15',
/* singlehop start */
'108.163.192.0/18',
'108.178.0.0/18',
'173.236.0.0/17',
'184.154.0.0/16',
'198.143.128.0/18',
'198.143.128.32/27',
'198.20.64.0/18',
'65.60.0.0/18',
'69.175.0.0/17',
'96.127.128.0/18',
'99.198.96.0/19',
/* singlehop end */
'208.67.16.0/21',
/* burstnet/hostnoc start */
'173.212.192.0/18',
'178.238.128.0/20',
'184.22.0.0/16',
'184.22.151.64/27',
'184.82.0.0/16',
'31.193.0.0/20',
'31.193.7.192/26',
'46.37.160.0/19',
'46.37.179.128/26',
'64.120.128.0/17',
'64.191.0.0/17',
'66.197.128.0/17',
'66.96.192.0/18',
'66.96.212.16/28',
'96.9.128.0/18',
/* burstnet end */
'204.93.32.0/19',
/* proxy51 */
'142.54.171.0/24',
'173.232.86.0/24',
'199.116.84.0/24',
'199.116.85.0/24',
'199.116.86.0/24',
'199.116.87.0/24',
'216.172.139.0/25',
'216.172.141.0/24',
'23.29.55.0/24',
'23.29.56.0/24',
'23.29.57.0/24',
'23.29.58.0/24',
'38.87.64.0/20',
'50.117.0.0/17',
'50.117.64.0/21',
'50.117.64.0/24',
'50.117.69.0/24',
'50.117.73.0/24',
'69.46.81.0/24',
/* proxy51 end */
'23.30.140.221/32',
'216.119.144.0/20',
'95.211.99.0/24',
'95.211.100.0/23',
'204.14.72.0/21',
'85.17.122.0/24',
'85.17.0.0/16',
'199.58.84.0/22',
'81.19.32.0/22',
'86.104.14.0/24',
'79.141.166.0/24',
'74.221.208.0/20',
'31.31.72.0/21',
'194.14.179.0/24',
'193.183.98.0/23',
'192.211.48.0/20',
'37.235.54.0/24',
'91.108.178.0/24',
'176.53.69.14/32',
'109.73.77.248/29',
'95.141.20.0/24',
'198.50.128.0/17',
'95.141.31.0/24',
'208.110.64.0/19',
'79.141.160.0/20',
'198.102.28.0/24',
'198.102.29.0/24',
'198.102.30.0/24',
'198.102.31.0/24',
'216.177.128.0/20',
'69.22.169.117/32',
'95.141.29.48/28',
'209.73.148.0/24',
'213.251.128.0/18',
'162.216.45.0/24',
'5.199.128.0/20',
'162.210.196.160/27',
'37.221.172.0/23',
'77.247.181.160/28',
'216.218.128.0/17',
'66.45.252.88/29',
'74.63.64.0/18',
'209.239.112.0/20',
'212.111.205.0/24',
'198.143.1.0/24',
'95.141.27.0/24',
'209.239.96.0/19',
'184.171.160.0/20',
'79.141.172.0/24',
'82.221.96.0/19',
'67.221.255.0/24',
'67.86.96.85/32',
'74.115.0.0/21',
'199.255.208.0/21',
'162.220.8.0/21',
'66.90.64.0/18',
'198.245.48.0/20',
'12.107.206.114/32',
'95.141.28.0/24',
'50.62.0.0/15',
'192.3.16.0/22',
'188.132.188.0/24',
'162.243.0.0/16',
'162.210.196.160/27',
'67.221.255.0/24',
'79.141.160.0/21',
'79.141.169.0/24',
'79.141.170.0/23',
'79.141.172.0/22',
'95.141.16.0/20',
'185.18.104.0/23',
'185.18.106.0/24',
'192.121.66.0/24',
'192.121.68.0/24',
'193.34.48.0/22',
'193.142.97.0/24',
'193.180.174.0/24',
'194.124.229.0/24',
'195.13.60.0/22',
'195.78.240.0/22',
'46.16.32.0/22',
'46.16.36.0/22',
'50.117.49.0/24',
'50.117.61.0/24',
'50.117.72.0/24',
'69.22.129.0/24',
'69.22.168.0/24',
'69.22.170.0/24',
'69.22.172.0/24',
'69.22.179.0/24',
'69.22.185.0/24',
'69.22.187.0/24',
'69.31.50.0/23',
'176.56.174.0/24',
'198.144.106.0/23',
'199.101.192.0/24',
'199.101.196.0/24',
'199.255.210.0/24',
'199.255.213.0/24',
'204.93.60.0/24',
'209.73.141.0/24',
'209.73.148.0/24',
'216.172.147.0/24',
'69.22.174.0/24',
'188.211.239.0/24',
'37.221.172.0/23',
'178.18.16.0/22',
'46.20.32.0/20',
'5.79.64.0/18',
'212.83.128.0/19',
'192.99.0.0/16',
'109.169.0.0/18',
'209.107.208.0/24',
'69.31.68.0/22',
'198.199.64.0/19',
'174.142.0.0/16',
'64.62.201.0/24',
'199.58.84.0/24',
'50.116.5.0/24',
'23.92.16.0/21',
'162.210.196.0/24',
'192.96.203.0/24',
'199.58.84.0/24',
'63.141.198.0/23',
'50.117.45.0/24',
'216.172.135.0/24',
'216.172.142.0/24',
'199.188.236.0/24',
/* digitalocean start */
'37.139.0.0/19',
'38.74.208.0/20',
'69.55.48.0/20',
'82.196.0.0/20',
'141.0.168.0/21',
'146.185.128.0/18',
'154.27.0.0/19',
'185.14.184.0/22',
'192.34.56.0/21',
'192.81.208.0/20',
'192.241.128.0/19',
'198.199.64.0/18',
'198.211.96.0/19',
'208.68.36.0/22',
/* digitalocean end */
/* linode/netaccess */
'23.92.16.0/21',
'23.239.8.0/21',
'31.220.8.0/22',
'31.220.32.0/21',
'50.116.48.0/20',
'62.28.0.0/18',
'64.21.0.0/17',
'64.21.128.0/18',
'64.212.170.0/23',
'64.247.0.0/18',
'65.77.140.0/24',
'66.29.0.0/17',
'66.175.208.0/21',
'66.228.32.0/20',
'66.241.105.0/24',
'66.246.0.0/16',
'67.196.0.0/16',
'67.219.128.0/20',
'69.164.208.0/20',
'70.47.0.0/16',
'74.91.32.0/20',
'77.67.101.0/24',
'82.146.48.0/21',
'96.126.104.0/21',
'97.107.128.0/20',
'146.20.20.0/24',
'146.20.33.0/24',
'162.208.28.0/23',
'162.216.16.0/22',
'173.255.224.0/19',
'179.42.0.0/18',
'179.63.64.0/20',
'181.233.0.0/18',
'190.112.192.0/22',
'190.112.200.0/23',
'190.112.203.0/24',
'192.155.88.0/22',
'198.74.56.0/21',
'198.175.9.0/24',
'198.182.247.0/24',
'199.79.133.0/24',
'199.127.148.0/22',
'199.201.233.0/24',
'200.35.152.0/24',
'200.35.154.0/23',
'204.17.128.0/23',
'204.68.168.0/24',
'207.99.0.0/17',
'207.166.146.0/24',
'207.192.64.0/18',
'208.90.144.0/22',
'209.66.0.0/24',
'209.66.16.0/24',
'209.66.50.0/24',
'209.123.0.0/16',
'216.44.114.0/23',
'216.118.64.0/18',
'216.146.44.0/23',
'216.169.208.0/20',
/* linode/netaccess end */
/* leaseweb start */
'5.44.144.0/22',
'5.61.32.0/20',
'5.79.64.0/18',
'31.31.32.0/21',
'31.186.168.0/22',
'31.186.172.0/23',
'37.1.144.0/22',
'37.1.192.0/21',
'37.1.216.0/21',
'37.48.64.0/18',
'37.49.224.0/23',
'37.58.48.0/20',
'37.75.152.0/21',
'41.242.144.0/21',
'46.17.0.0/21',
'46.102.240.0/21',
'46.165.192.0/18',
'46.182.120.0/21',
'46.182.176.0/22',
'46.226.192.0/21',
'46.243.0.0/21',
'62.84.240.0/22',
'62.212.64.0/19',
'77.81.240.0/21',
'77.223.144.0/23',
'77.235.32.0/19',
'78.159.96.0/19',
'79.172.198.0/24',
'80.65.32.0/20',
'80.253.248.0/22',
'82.150.152.0/24',
'82.192.64.0/19',
'83.149.64.0/18',
'83.223.32.0/20',
'84.16.224.0/19',
'84.247.62.0/24',
'85.17.0.0/16',
'85.234.224.0/19',
'87.236.96.0/21',
'88.208.43.0/24',
'88.208.44.0/23',
'88.208.50.0/23',
'88.208.52.0/22',
'88.208.57.0/24',
'88.208.58.0/23',
'88.208.60.0/22',
'89.149.192.0/18',
'90.156.224.0/20',
'91.109.16.0/20',
'91.184.46.0/23',
'91.184.48.0/20',
'91.191.160.0/21',
'91.195.118.0/23',
'91.215.156.0/22',
'91.220.176.0/24',
'91.224.38.0/23',
'91.242.214.0/23',
'92.114.86.0/23',
'93.176.128.0/23',
'93.188.64.0/21',
'93.190.220.0/22',
'94.75.192.0/18',
'94.124.56.0/21',
'94.177.98.0/23',
'94.177.146.0/24',
'95.168.160.0/19',
'95.211.0.0/16',
'103.252.220.0/24',
'108.59.0.0/20',
'109.69.56.0/22',
'109.70.0.0/21',
'109.70.9.0/24',
'109.70.10.0/23',
'109.70.12.0/22',
'109.234.33.0/24',
'128.140.216.0/22',
'145.255.128.0/21',
'146.185.210.0/23',
'159.255.192.0/22',
'162.210.192.0/21',
'162.219.212.0/22',
'178.18.20.0/22',
'178.18.24.0/23',
'178.18.30.0/23',
'178.22.122.0/24',
'178.162.128.0/17',
'178.208.94.0/24',
'185.16.84.0/24',
'185.17.120.0/22',
'185.17.144.0/22',
'185.17.184.0/22',
'185.19.212.0/22',
'185.22.4.0/22',
'185.23.16.0/23',
'185.24.172.0/23',
'185.24.175.0/24',
'185.24.240.0/24',
'185.27.140.0/22',
'185.28.68.0/22',
'185.30.232.0/22',
'185.31.195.0/24',
'185.32.14.0/23',
'185.34.68.0/22',
'188.0.224.0/23',
'188.72.192.0/18',
'188.211.239.0/24',
'188.241.65.0/24',
'190.105.193.0/24',
'190.105.195.0/24',
'192.96.200.0/21',
'192.162.136.0/22',
'193.27.72.0/23',
'193.43.92.0/24',
'193.104.219.0/24',
'193.107.18.0/24',
'193.151.89.0/24',
'193.151.90.0/24',
'193.239.6.0/23',
'193.242.108.0/24',
'194.0.197.0/24',
'194.60.71.0/24',
'195.14.21.0/24',
'195.42.134.0/23',
'195.130.208.0/24',
'195.140.240.0/22',
'195.200.82.0/23',
'195.242.98.0/23',
'198.7.56.0/21',
'199.58.84.0/22',
'199.115.112.0/21',
'201.218.160.0/19',
'207.244.64.0/18',
'208.64.45.0/24',
'209.58.128.0/18',
'209.192.128.0/17',
'212.7.192.0/21',
'212.7.200.0/24',
'212.7.204.0/22',
'212.7.208.0/21',
'212.95.32.0/19',
'213.142.136.0/21',
'213.142.144.0/22',
'216.59.55.0/24',
'217.19.1.0/24',
'217.20.112.0/20',
'217.73.56.0/21',
/* leaseweb end */
'193.111.136.0/21',
'217.174.240.0/20',
'5.63.144.0/21',
'185.2.136.0/22',
'85.159.232.0/21',
'198.72.96.0/19',
'81.89.96.0/20',
'31.170.164.0/23',
'37.57.200.0/21',
'31.184.238.0/24',
'94.153.0.0/18',
'193.105.210.0/24',
'91.200.12.0/22',
'37.57.231.0/24',
'89.169.0.0/18',
'91.197.128.0/23',
'80.93.16.0/20',
'178.137.80.0/20',
'5.248.0.0/16',
'221.236.0.0/15',
'221.232.0.0/14',
'176.53.192.0/18',
'92.54.64.0/18',
'216.244.64.0/19',
'69.30.192.0/18',
'67.55.71.208/32',
'67.55.71.0/24',
'94.19.128.0/18',
'91.207.6.0/24',
'134.249.0.0/16',
'217.195.202.0/24',
'82.193.96.0/19',
'67.159.0.0/18',
'192.210.128.0/17',
'173.208.216.0/24',
'103.13.103.0/24',
'68.233.224.0/19',
'74.121.184.0/21',
'204.45.0.0/16',
'76.73.41.0/24',
'66.232.96.0/19',
'173.193.192.0/18',
'69.64.32.0/19',
'199.21.112.0/22',
'199.217.112.0/21',
'178.137.16.0/22',
/* ramnode */
'23.226.224.0/21',
'23.226.232.0/21',
'107.161.16.0/22',
'107.161.19.0/24',
'192.30.32.0/22',
'192.73.232.0/21',
'192.184.80.0/21',
'192.184.88.0/21',
'192.184.93.0/24',
'192.249.56.0/22',
'192.249.60.0/22',
'199.241.28.0/22',
/* ramnode end */
'50.7.0.0/16', //fdc servers
'67.23.160.0/19', //net triplex
'62.83.128.0/17', // ES hosting proxy
'46.226.104.0/21', //gandi hosting
'37.115.0.0/16', //kiyvstar gsm
'78.90.196.0/23', //bg proxy
'149.210.128.0/17', //trans IP NL
'188.132.242.0/24', //marsglobal TR
'199.68.218.0/24', //us equinix
//'184.164.66.192/26', //freeproxies, ioflood US
/* ioflood US start */
'23.226.64.0/20',
'23.226.64.0/22',
'23.226.71.0/24',
'23.226.72.0/21',
'107.167.64.0/19',
'107.167.64.0/20',
'107.167.91.0/24',
'107.178.64.0/18',
'107.178.64.0/19',
'162.213.208.0/22',
'162.213.208.0/24',
'162.218.112.0/21',
'162.218.112.0/24',
'162.218.113.0/24',
'162.218.117.0/24',
'162.218.118.0/24',
'162.218.119.0/24',
'162.220.218.0/24',
'184.164.64.0/19',
'184.164.64.0/21',
'184.164.78.0/23',
'184.164.80.0/21',
'184.164.88.0/21',
'184.164.66.192/26', //freeproxies, ioflood US
'192.30.136.0/22',
'192.30.136.0/24',
'192.30.137.0/24',
'192.110.160.0/21',
'192.110.162.0/24',
'192.110.163.0/24',
'192.110.165.0/24',
'192.110.166.0/24',
'192.110.167.0/24',
'192.243.112.0/22',
'199.30.48.0/21',
'199.167.132.0/22',
'199.167.132.0/23',
'199.231.84.0/22',
'199.231.86.0/24',
'199.231.87.0/24',
/* ioflood end */
'193.200.150.0/24', //anonymouse.org
'212.227.0.0/16', //1and1 internet de
'62.75.128.0/17', //plusserver AG de
'85.25.0.0/16', //plusserver ag
'198.50.24.0/21', //continuum datacenters us
'217.79.176.0/20', //fiber one netwroks de
'46.119.112.0/20', //kyivstar UA
/* hivelocity US hosting */
'38.112.194.0/24',
'66.96.80.0/20',
'66.232.96.0/19',
'68.233.224.0/19',
'69.46.0.0/19',
'74.50.96.0/19',
'91.209.57.0/24',
'96.31.64.0/19',
'162.216.4.0/24',
'162.216.5.0/24',
'162.216.6.0/24',
'162.216.7.0/24',
'162.220.56.0/24',
'162.220.57.0/24',
'162.220.58.0/24',
'162.220.59.0/24',
'162.220.60.0/24',
'162.220.61.0/24',
'162.220.62.0/24',
'162.220.63.0/24',
'162.252.80.0/24',
'162.252.81.0/24',
'162.252.82.0/24',
'179.61.12.0/24',
'179.61.13.0/24',
'179.61.14.0/24',
'179.63.112.0/20',
'190.115.96.0/20',
'198.178.120.0/21',
'199.47.150.0/24',
'199.47.151.0/24',
'199.59.144.0/24',
'199.59.145.0/24',
'199.59.146.0/24',
'199.59.147.0/24',
'199.119.100.0/22',
'199.167.144.0/21',
'199.193.112.0/21',
'204.78.16.0/20',
'206.51.224.0/21',
'206.51.232.0/21',
'216.109.224.0/20',
/* hivelocity end */
'172.245.0.0/16',
'192.111.144.0/20',
'213.238.168.0/21',
'144.76.0.0/16',
'37.220.96.0/21',
'46.231.112.0/21',
'31.172.240.0/20',
'78.40.32.0/21',
'62.141.32.0/20',
'91.238.72.0/23',
'198.204.224.0/19',
'46.118.0.0/16',
'46.119.112.0/20',
'176.8.0.0/16',
'91.207.4.0/24',
'91.207.7.0/24',
'91.207.5.0/24',
'109.86.15.0/24',
'78.30.192.0/18',
'89.22.240.0/20',
'178.137.128.0/17',
'31.41.216.0/21',
'95.158.32.0/19',
'176.112.0.0/19',
'85.198.174.0/24',
'80.82.208.0/20',
'183.192.0.0/11',
'175.44.0.0/16',
'112.111.0.0/16',
'107.170.0.0/17',
'162.252.85.0/24',
'64.111.126.0/24',
'94.197.122.86/32',
'50.28.0.0/18',
'62.210.0.0/16',
'89.187.128.0/19',
'107.170.192.0/18',
'95.130.8.0/21',
'67.158.64.0/20',
'141.212.0.0/16',
'209.141.32.0/19',
'46.38.48.0/21',
'193.26.217.0/24',
'188.241.140.0/23',
'204.44.64.0/18',
'87.106.0.0/16',
'199.233.244.0/22',
'68.168.96.0/20',
'50.115.173.0/24',
'185.36.76.0/22',
'31.170.166.0/23',
'107.150.61.144/29',
'107.150.32.0/19',
'142.54.160.0/19',
'63.141.224.0/19',
'74.91.16.0/20',
'192.151.144.0/20',
'192.187.96.0/19',
'199.168.96.0/21',
'50.87.0.0/16',
'218.241.31.2/32',
'108.175.144.0/20',
'212.83.160.0/19',
'178.218.160.0/21',
'206.190.158.0/24',
'206.190.157.0/24',
'79.143.80.0/22',
'23.22.0.0/15',
'82.76.0.0/14',
'79.170.40.0/21',
'23.227.170.0/24',
'198.8.60.0/22',
'141.105.124.0/23',
'54.80.0.0/14',
'192.64.80.0/21',
'198.56.192.0/19',
'121.32.0.0/14',
'91.207.8.0/24',
'192.74.224.0/19',
'142.0.128.0/20',
'137.175.0.0/17',
'199.180.100.0/22',
'199.188.104.0/21',
'142.4.96.0/19',
'198.200.32.0/19',
'198.2.192.0/18',
'108.186.0.0/16',
'107.148.0.0/15',
'108.186.0.0/16',
'198.57.128.0/17',
'193.202.110.0/24',
'192.99.0.0/16',
'94.23.0.0/16',
'159.224.160.0/24',
'14.144.0.0/12',
'46.161.41.0/24',
'94.188.16.0/20',
'188.123.224.0/19',
'199.15.232.0/21',
'121.32.0.0/14',
'72.46.133.0/24',
'221.12.128.0/18',
'91.236.74.0/23',
'146.185.232.0/24',
'31.204.128.0/19',
'193.201.224.0/22',
'79.105.0.0/17',
'91.240.163.0/24',
'218.206.0.0/15',
'195.211.152.0/22',
'36.248.0.0/14',
'178.125.0.0/16',
'110.85.75.117/32',
'27.153.237.31/32',
'117.26.194.0/32',
'68.64.160.0/21',
'173.208.194.0/24',
'173.208.203.208/29',
'122.96.0.0/15',
'210.73.208.0/20',
'199.33.120.0/21',
'66.117.0.0/20',
'120.37.237.75/32',
'221.130.125.29/32',
'111.39.240.101/32',
'91.219.140.0/22',
'12.26.128.0/19',
'31.41.216.0/21',
'146.185.232.0/24',
'193.201.224.0/22',
'194.28.172.0/22',
'195.248.234.0/23',
'46.119.112.0/20',
);
$ips = array('213.159.50.59', '213.159.50.51' );
$bad_proxy = false;
$bad_ip = implode(', ', $ips);
if (!$bad_proxy) {
foreach ($ips as $ip) {
foreach ($networks as $network) {
if (ipInCIDRNetwork($network, $ip) && !in_array($ip, $whitelist, true)) {
$proxy = $network;
$bad_proxy = true;
$bad_ip = $ip;
$_SESSION['_proxy'] = $proxy;
break;
}
}
}
}
- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- Output for 4.4.2 - 4.4.9
- Parse error: syntax error, unexpected T_NEW in /in/ZCWAE on line 6
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
- Parse error: parse error, unexpected T_NEW in /in/ZCWAE on line 6
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/ZCWAE on line 6
Process exited with code 255.
preferences:
282.61 ms | 401 KiB | 456 Q