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

Signing you up...

Thank you for signing up!

PHP Decode

function mo_openid_login_redirect($aY = '', $user = NULL) { mo_openid_start_session(..

Decoded Output download

<?  function mo_openid_login_redirect($aY = '', $user = NULL) 
{ 
    mo_openid_start_session(); 
    if (!(is_string($aY) && $aY && is_object($user) && !empty($user->ID) && ($zw = $user->ID) && isset($_SESSION["mo_login"]) && $_SESSION["mo_login"])) { 
        goto fG; 
    } 
    $_SESSION["mo_login"] = false; 
    wp_set_auth_cookie($zw, true); 
    if ($_SESSION["registered_user"] == "1" && get_option("mo_openid_enable_registration_redirect") == "1") { 
        goto MA; 
    } 
    $zt = mo_openid_get_redirect_url(); 
    wp_redirect($zt); 
    goto j6; 
    MA: 
    $iR = mo_openid_get_registration_redirect_url(); 
    wp_redirect($iR); 
    $_SESSION["registered_user"] = "0"; 
    j6: 
    exit; 
    fG: 
} ?>

Did this file decode correctly?

Original Code

function mo_openid_login_redirect($aY = '', $user = NULL)
{
    mo_openid_start_session();
    if (!(is_string($aY) && $aY && is_object($user) && !empty($user->ID) && ($zw = $user->ID) && isset($_SESSION["\x6d\157\137\x6c\157\147\151\156"]) && $_SESSION["\155\157\x5f\x6c\x6f\147\151\x6e"])) {
        goto fG;
    }
    $_SESSION["\x6d\157\x5f\x6c\x6f\147\x69\156"] = false;
    wp_set_auth_cookie($zw, true);
    if ($_SESSION["\162\145\147\151\163\164\145\162\145\144\x5f\x75\x73\145\x72"] == "\61" && get_option("\x6d\157\x5f\157\x70\x65\x6e\151\x64\x5f\x65\156\141\x62\x6c\145\137\162\145\147\151\x73\164\162\x61\x74\151\x6f\156\x5f\162\145\144\x69\x72\x65\143\x74") == "\x31") {
        goto MA;
    }
    $zt = mo_openid_get_redirect_url();
    wp_redirect($zt);
    goto j6;
    MA:
    $iR = mo_openid_get_registration_redirect_url();
    wp_redirect($iR);
    $_SESSION["\x72\145\x67\x69\163\164\x65\162\x65\144\137\165\x73\x65\x72"] = "\x30";
    j6:
    exit;
    fG:
}

Function Calls

None

Variables

None

Stats

MD5 c8eb2111bd40de135db07f06b6135637
Eval Count 0
Decode Time 42 ms