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_azos_check_customer_ln() { $wS = pluginConstants::HOSTNAME ...

Decoded Output download

<?      function mo_azos_check_customer_ln() 
    { 
        $wS = pluginConstants::HOSTNAME . "/moas/rest/customer/license"; 
        $Hi = get_option("mo_saml_admin_customer_key"); 
        $EB = get_option("mo_saml_admin_api_key"); 
        $ak = round(microtime(true) * 1000); 
        $Kq = $Hi . number_format($ak, 0, '', '') . $EB; 
        $Ry = hash("sha512", $Kq); 
        $ak = number_format($ak, 0, '', ''); 
        $Y4 = ''; 
        $Y4 = array("customerId" => $Hi, "applicationName" => "wp_power_bi_enterprise_plan"); 
        $hB = json_encode($Y4); 
        $m8 = array("Content-Type" => "application/json", "Customer-Key" => $Hi, "Timestamp" => $ak, "Authorization" => $Ry); 
        $LQ = array("method" => "POST", "body" => $hB, "timeout" => "5", "redirection" => "5", "httpversion" => "1.0", "blocking" => true, "headers" => $m8); 
        $mC = $this->mo_api_wp_remote_call($wS, $LQ); 
        return $mC; 
    } ?>

Did this file decode correctly?

Original Code

    function mo_azos_check_customer_ln()
    {
        $wS = pluginConstants::HOSTNAME . "\x2f\x6d\x6f\141\x73\57\x72\x65\163\164\57\x63\x75\163\164\157\x6d\145\x72\57\154\151\x63\145\156\x73\145";
        $Hi = get_option("\155\x6f\137\163\x61\155\x6c\x5f\x61\x64\155\151\x6e\x5f\x63\165\163\164\x6f\155\145\x72\x5f\x6b\145\171");
        $EB = get_option("\155\x6f\x5f\163\141\x6d\154\x5f\x61\144\x6d\151\x6e\137\141\160\151\137\x6b\x65\171");
        $ak = round(microtime(true) * 1000);
        $Kq = $Hi . number_format($ak, 0, '', '') . $EB;
        $Ry = hash("\163\150\x61\65\61\62", $Kq);
        $ak = number_format($ak, 0, '', '');
        $Y4 = '';
        $Y4 = array("\x63\165\163\164\157\x6d\x65\162\x49\x64" => $Hi, "\141\160\160\x6c\x69\143\141\x74\x69\157\156\116\x61\155\x65" => "wp_power_bi_enterprise_plan");
        $hB = json_encode($Y4);
        $m8 = array("\103\157\156\x74\145\156\x74\x2d\x54\x79\160\145" => "\141\160\160\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\152\x73\x6f\156", "\x43\x75\163\164\157\155\x65\162\55\x4b\145\171" => $Hi, "\124\151\x6d\145\163\x74\141\155\x70" => $ak, "\101\165\x74\150\157\162\x69\172\141\164\151\157\156" => $Ry);
        $LQ = array("\155\x65\x74\150\157\x64" => "\x50\x4f\123\124", "\142\157\144\171" => $hB, "\x74\151\x6d\x65\x6f\165\164" => "\x35", "\162\145\x64\x69\162\x65\143\164\151\x6f\x6e" => "\65", "\150\164\x74\x70\x76\x65\162\x73\151\x6f\x6e" => "\x31\56\60", "\142\x6c\x6f\143\153\x69\156\147" => true, "\150\x65\x61\x64\145\162\163" => $m8);
        $mC = $this->mo_api_wp_remote_call($wS, $LQ);
        return $mC;
    }

Function Calls

None

Variables

None

Stats

MD5 b40293fdab98a5dffbca9bd82d89dc55
Eval Count 0
Decode Time 56 ms