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_acs_url_save_option() { if (!isset($_POST["\157\160\x74\x6..

Decoded Output download

<?   
    function mo_acs_url_save_option() 
    { 
        if (!isset($_POST["option"])) { 
            goto Tj; 
        } 
        if (!($_POST["option"] == "mo_saml_acs_url_idp_name")) { 
            goto IY; 
        } 
        $Lp = sanitize_text_field($_POST["mo_saml_multiple_acs_url"]); 
        $yH = sanitize_text_field($_POST["mo_saml_idp_name"]); 
        $Nt = get_option("mo_saml_acs_url_idp_name") ?? array(); 
        $Nt[$yH] = $Lp; 
        update_option("mo_saml_multiple_acs_url", $Lp); 
        update_option("mo_saml_idp_name", $yH); 
        update_option("mo_saml_acs_url_idp_name", $Nt); 
        update_option("mo_local_message", "URL saved Successfully"); 
        $this->show_success_message(); 
        IY: 
        Tj: 
    } ?>

Did this file decode correctly?

Original Code


    function mo_acs_url_save_option()
    {
        if (!isset($_POST["\157\160\x74\x69\x6f\x6e"])) {
            goto Tj;
        }
        if (!($_POST["\157\x70\x74\x69\157\156"] == "\155\157\x5f\x73\141\155\x6c\137\x61\143\163\x5f\x75\162\x6c\x5f\x69\x64\160\x5f\156\x61\x6d\145")) {
            goto IY;
        }
        $Lp = sanitize_text_field($_POST["\155\157\x5f\163\x61\x6d\154\137\155\x75\154\x74\151\160\x6c\x65\137\141\143\163\137\x75\x72\154"]);
        $yH = sanitize_text_field($_POST["\155\157\137\x73\x61\x6d\x6c\x5f\x69\x64\x70\137\x6e\141\x6d\x65"]);
        $Nt = get_option("\x6d\157\137\x73\x61\155\x6c\x5f\x61\x63\x73\137\x75\162\154\137\x69\x64\x70\x5f\156\x61\x6d\145") ?? array();
        $Nt[$yH] = $Lp;
        update_option("\x6d\x6f\137\163\141\155\x6c\137\x6d\x75\x6c\x74\x69\x70\x6c\x65\x5f\141\x63\x73\137\x75\162\154", $Lp);
        update_option("\155\x6f\x5f\163\141\x6d\154\137\151\144\160\x5f\156\x61\x6d\x65", $yH);
        update_option("\x6d\x6f\x5f\x73\x61\155\154\137\141\143\163\x5f\165\x72\x6c\x5f\151\x64\x70\137\x6e\141\155\145", $Nt);
        update_option("\155\x6f\x5f\x6c\157\x63\x61\x6c\x5f\155\x65\163\163\141\147\145", "\x55\x52\x4c\x20\163\141\166\x65\144\40\123\x75\143\143\x65\163\x73\146\165\x6c\x6c\x79");
        $this->show_success_message();
        IY:
        Tj:
    }

Function Calls

None

Variables

None

Stats

MD5 e6bba1f469892e771e349d72be3a8e7f
Eval Count 0
Decode Time 65 ms