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

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  | 
    |              on 2024-08-07 05:38:04              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 
echo "<!--
\xa        This template shows a SSO box on the customer frontend pages
        Use this if you want to show a sso button on your frontend pages
    -->\xd
"; 
$yW = $this->getCurrentWebsite(); 
$sy = $this->getWebsiteIds(); 
$xY = $this->getAllIdpConfiguration(); 
$rd = $this->oauthUtility->isBlank($sy) ? array() : json_decode($sy); 
if ($this->oauthUtility->isBlank($rd)) { 
    goto cVi; 
} 
foreach ($rd as $xA => $w8) { 
    if (!($yW == $xA)) { 
        goto o0K; 
    } 
    foreach ($xY as $B3) { 
        if (!($B3->getData()["show_customer_link"] == 1)) { 
            goto fK_; 
        } 
        print_r("
                    <div style="text-align:left;width:100%;">
                            <svg height="5" width="215">
\xa                                <line x1="0" y1="0" x2="210" y2="0" style="stroke:#969393;stroke-width:3">
                            </svg>OR\xd
                            <svg height="5" width="210">
\xa                                <line x1="0" y1="0" x2="210" y2="0" style="stroke:#969393;stroke-width:3">\xd\xa                            </svg>
                            <div class="card" style="margin-top:1%;">\xd
                        <div class="primary">
\xa                            <a href="" . $this->getSPInitiatedUrl(null, $B3->getData()["app_name"]) . "" class="action login primary" style="padding: 1% 14%;">
\xa                                <span>Login with " . $B3->getData()["app_name"] . "</span>
                            </a>
                        </div>\xd\xa                    </div>
\xa                    </div>"); 
        fK_: 
        vfn: 
    } 
    mG_: 
    o0K: 
    e5U: 
} 
Eln: 
cVi: 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2024-08-07 05:38:04              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/

echo "\x3c\41\x2d\55\15\xa\40\40\x20\x20\40\40\40\x20\x54\150\x69\163\40\164\x65\x6d\x70\154\x61\x74\145\40\163\x68\x6f\167\163\40\x61\x20\x53\x53\x4f\40\x62\157\x78\40\157\x6e\40\164\150\x65\40\x63\x75\163\x74\x6f\x6d\145\x72\x20\146\162\157\x6e\x74\145\156\x64\x20\x70\x61\147\x65\163\15\12\40\40\x20\40\40\x20\x20\x20\x55\x73\x65\x20\164\x68\x69\x73\40\x69\x66\40\171\x6f\x75\40\x77\x61\x6e\164\x20\164\157\40\x73\150\157\x77\x20\x61\40\x73\163\x6f\x20\x62\x75\x74\x74\x6f\x6e\40\x6f\x6e\40\x79\x6f\x75\x72\x20\x66\x72\x6f\156\x74\x65\156\144\x20\x70\x61\147\x65\163\15\12\x20\40\40\40\x2d\55\76\xd\12";
$yW = $this->getCurrentWebsite();
$sy = $this->getWebsiteIds();
$xY = $this->getAllIdpConfiguration();
$rd = $this->oauthUtility->isBlank($sy) ? array() : json_decode($sy);
if ($this->oauthUtility->isBlank($rd)) {
    goto cVi;
}
foreach ($rd as $xA => $w8) {
    if (!($yW == $xA)) {
        goto o0K;
    }
    foreach ($xY as $B3) {
        if (!($B3->getData()["\163\x68\157\x77\137\x63\165\x73\164\157\155\x65\x72\137\x6c\151\156\153"] == 1)) {
            goto fK_;
        }
        print_r("\15\12\40\40\40\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\74\144\x69\x76\40\x73\x74\x79\154\x65\x3d\42\164\x65\x78\164\x2d\141\154\151\147\156\x3a\154\x65\x66\x74\x3b\x77\151\x64\164\150\x3a\x31\60\x30\x25\73\42\76\15\12\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\x20\40\x20\40\x20\40\74\163\166\147\40\x68\145\151\x67\x68\x74\75\42\x35\42\x20\167\x69\144\x74\x68\x3d\x22\x32\x31\x35\x22\76\15\xa\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\40\40\40\40\40\40\40\40\x20\40\40\40\40\74\x6c\151\x6e\x65\40\x78\x31\75\x22\60\42\x20\x79\61\x3d\x22\60\x22\40\170\x32\x3d\42\62\61\60\42\x20\171\62\x3d\x22\x30\42\x20\163\164\171\154\145\75\x22\163\164\x72\x6f\x6b\x65\x3a\x23\71\66\x39\63\x39\63\x3b\x73\x74\x72\157\153\145\x2d\x77\151\x64\x74\150\72\x33\42\x3e\15\12\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\40\40\74\x2f\163\166\147\x3e\x4f\122\xd\12\40\x20\40\40\40\40\x20\40\40\40\40\40\x20\x20\40\x20\40\40\x20\40\40\x20\40\40\40\40\x20\x20\74\x73\x76\x67\x20\x68\x65\151\x67\150\x74\x3d\x22\x35\42\40\x77\x69\x64\164\150\75\42\x32\x31\x30\x22\x3e\15\xa\x20\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\40\40\40\74\154\151\x6e\145\x20\170\61\75\x22\60\42\x20\171\x31\75\42\x30\42\40\170\x32\75\42\62\x31\60\42\x20\171\62\x3d\x22\60\42\x20\x73\x74\x79\x6c\x65\x3d\42\x73\x74\162\157\153\x65\x3a\x23\x39\66\71\x33\71\x33\x3b\x73\164\x72\x6f\x6b\x65\x2d\167\151\x64\x74\150\72\x33\42\x3e\xd\xa\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\40\x3c\x2f\163\166\147\76\15\12\x20\40\40\x20\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\40\40\40\40\x20\x20\40\x20\40\40\x20\x3c\x64\x69\x76\x20\143\x6c\141\x73\x73\75\x22\x63\x61\x72\x64\42\x20\x73\164\171\x6c\x65\75\x22\155\x61\x72\x67\151\x6e\x2d\164\157\x70\x3a\61\45\73\42\x3e\xd\12\x20\40\x20\40\40\x20\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\40\40\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\141\163\163\75\x22\x70\x72\151\x6d\x61\x72\x79\42\x3e\15\xa\40\x20\40\40\x20\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\x20\x20\x20\40\40\40\74\141\x20\150\162\x65\x66\75\42" . $this->getSPInitiatedUrl(null, $B3->getData()["\141\x70\160\x5f\156\x61\x6d\145"]) . "\x22\40\143\x6c\141\163\x73\x3d\x22\x61\143\164\151\157\x6e\x20\x6c\x6f\x67\x69\156\x20\x70\162\151\x6d\141\x72\x79\x22\x20\x73\x74\x79\154\x65\x3d\42\160\141\x64\144\151\x6e\x67\72\x20\61\x25\40\x31\64\45\73\42\76\15\xa\x20\40\x20\40\40\40\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\40\40\40\x20\x20\x20\x20\74\x73\160\141\x6e\76\114\x6f\147\x69\156\x20\167\151\164\x68\40" . $B3->getData()["\141\160\x70\137\156\141\x6d\145"] . "\x3c\57\163\160\141\156\x3e\15\12\x20\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\74\x2f\x61\76\15\12\x20\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\40\40\40\40\x20\x3c\x2f\144\x69\x76\76\xd\xa\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\x20\40\40\40\x20\40\x3c\57\x64\151\166\76\15\xa\x20\x20\40\40\40\40\40\40\x20\40\x20\40\40\40\x20\40\40\x20\40\x20\x3c\x2f\144\x69\x76\x3e");
        fK_:
        vfn:
    }
    mG_:
    o0K:
    e5U:
}
Eln:
cVi:

Function Calls

None

Variables

None

Stats

MD5 34de5c99e5ca4b2cbe328f9bfc18af56
Eval Count 0
Decode Time 70 ms