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

Signing you up...

Thank you for signing up!

PHP Decode

private function handle_error($zI, $W0) { global $ya; $x5 = $ya->m..

Decoded Output download

<?   private function handle_error($zI, $W0) 
    { 
        global $ya; 
        $x5 = $ya->mo_oauth_client_get_option("mo_oauth_error_redire\ 
ction_url"); 
        if (!($W0["grant_type"] === "password")) { 
            goto Px; 
        } 
        $EH = site_url(); 
        $EH = "?option=errormanager&error=" . ase64\ 
_encode($zI); 
        $ya->redirect_user($EH); 
        die; 
        Px: 
        if (!(boolval($x5) && !empty($x5))) { 
            goto gP; 
        } 
        $x5 .= strpos($x5, "?") !== false ? "&" : "?"; 
        $x5 .= "error_message=" . urlencode($zI); 
        $ya->redirect_user($x5); 
        gP: 
        die($zI); 
    } 
 ?>

Did this file decode correctly?

Original Code

 private function handle_error($zI, $W0)
    {
        global $ya;
        $x5 = $ya->mo_oauth_client_get_option("\x6d\x6f\x5f\x6f\141\x75\x74\x68\x5f\x65\162\162\157\162\137\x72\145\144\x69\x72\145\
\x63\164\151\x6f\x6e\x5f\x75\162\x6c");
        if (!($W0["\147\162\x61\x6e\x74\x5f\164\171\160\145"] === "\160\141\x73\x73\167\x6f\x72\144")) {
            goto Px;
        }
        $EH = site_url();
        $EH = "\77\157\160\164\x69\157\156\x3d\145\x72\162\157\x72\x6d\x61\156\141\x67\x65\x72\46\145\x72\162\157\162\75" . \base64\
_encode($zI);
        $ya->redirect_user($EH);
        die;
        Px:
        if (!(boolval($x5) && !empty($x5))) {
            goto gP;
        }
        $x5 .= strpos($x5, "\x3f") !== false ? "\46" : "\x3f";
        $x5 .= "\145\162\162\x6f\162\x5f\155\145\x73\163\141\x67\145\75" . urlencode($zI);
        $ya->redirect_user($x5);
        gP:
        die($zI);
    }

Function Calls

None

Variables

None

Stats

MD5 d9d930b385b1e18c50b98f4e04c3bd2c
Eval Count 0
Decode Time 91 ms