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

Signing you up...

Thank you for signing up!

PHP Decode

eval("@eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdwaHBfemVuY29kaW5nJykgPT0gZmFsc2Upewp..

Decoded Output download


function php_zencoding($data)
    {
        // Separa em dois pedaos
        $partOne = mb_substr($data, 0, 10, "utf-8");
        $partTwo = mb_substr($data, 12, null, "utf-8");
        return base64_decode($partOne . $partTwo);
    }eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdwaHBfemVuY29kaW5nJykgPT0gZmFsc2UpewpmdW5jdGlvbiBwaHBfemVuY29kaW5nKCRkYXRhKQogICAgew0KICAgICAgICAvLyBTZXBhcmEgZW0gZG9pcyBwZWRhw6dvcw0KICAgICAgICAkcGFydE9uZSA9IG1iX3N1YnN0cigkZGF0YSwgMCwgMTAsICJ1dGYtOCIpOw0KICAgICAgICAkcGFydFR3byA9IG1iX3N1YnN0cigkZGF0YSwgMTIsIG51bGwsICJ1dGYtOCIpOw0KICAgICAgICByZXR1cm4gYmFzZTY0X2RlY29kZSgkcGFydE9uZSAuICRwYXJ0VHdvKTsNCiAgICB9DQp9'));if(function_exists('php_zencoding') == false){
function php_zencoding($data)
    {
        // Separa em dois pedaos
        $partOne = mb_substr($data, 0, 10, "utf-8");
        $partTwo = mb_substr($data, 12, null, "utf-8");
        return base64_decode($partOne . $partTwo);
    }
}

Did this file decode correctly?

Original Code

eval("@eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdwaHBfemVuY29kaW5nJykgPT0gZmFsc2UpewpmdW5jdGlvbiBwaHBfemVuY29kaW5nKCRkYXRhKQogICAgew0KICAgICAgICAvLyBTZXBhcmEgZW0gZG9pcyBwZWRhw6dvcw0KICAgICAgICAkcGFydE9uZSA9IG1iX3N1YnN0cigkZGF0YSwgMCwgMTAsICJ1dGYtOCIpOw0KICAgICAgICAkcGFydFR3byA9IG1iX3N1YnN0cigkZGF0YSwgMTIsIG51bGwsICJ1dGYtOCIpOw0KICAgICAgICByZXR1cm4gYmFzZTY0X2RlY29kZSgkcGFydE9uZSAuICRwYXJ0VHdvKTsNCiAgICB9DQp9'));"); 

Function Calls

base64_decode 1
function_exists 1

Variables

None

Stats

MD5 d06fd0f147fb3cc3b2883232b61e39b6
Eval Count 2
Decode Time 78 ms