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 2023-07-19 12:20:11              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 
$yR = \Magento\Framework\App\ObjectManager::getInstance(); 
$gB = $yR->create("Magento\Customer\Model\Session"); 
$sn = $yR->get("Psr\Log\LoggerInterface"); 
if ($gB->isLoggedIn()) { 
    goto F6; 
} 
$bu = $this->getRequest()->getParams(); 
$bg = isset($bu["saml_sso"]) ? $bu["saml_sso"] : 1; 
if (!($this->isAllPageAutoRedirectEnabled_action() && $this->isSiteEnable())) { 
    goto hK; 
} 
$sn->debug("Customer not logged in: Redirecting To IDP"); 
$b_ = $this->getCurrentUrl(); 
$sn->debug("CurrentURL: " . $b_); 
$KH = $yR->get("\Magento\Framework\App\Response\Http"); 
$qk = $this->getAutoRedirect_AppName(); 
$KH->setRedirect($this->getSPInitiatedUrl($b_) . $qk); 
hK: 
F6: 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2023-07-19 12:20:11              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/

$yR = \Magento\Framework\App\ObjectManager::getInstance();
$gB = $yR->create("\x4d\x61\147\x65\x6e\x74\x6f\134\x43\165\163\x74\157\x6d\x65\x72\134\x4d\x6f\144\x65\x6c\134\123\145\163\163\x69\x6f\156");
$sn = $yR->get("\120\163\162\134\114\x6f\147\x5c\114\157\147\x67\145\x72\x49\x6e\x74\145\162\x66\x61\x63\145");
if ($gB->isLoggedIn()) {
    goto F6;
}
$bu = $this->getRequest()->getParams();
$bg = isset($bu["\163\x61\155\154\x5f\163\x73\157"]) ? $bu["\x73\x61\155\154\137\x73\163\157"] : 1;
if (!($this->isAllPageAutoRedirectEnabled_action() && $this->isSiteEnable())) {
    goto hK;
}
$sn->debug("\x43\165\163\x74\x6f\x6d\145\162\40\156\x6f\x74\40\x6c\157\x67\x67\x65\x64\40\x69\156\x3a\40\x52\x65\144\151\162\x65\x63\x74\151\x6e\x67\x20\x54\x6f\40\111\x44\x50");
$b_ = $this->getCurrentUrl();
$sn->debug("\x43\x75\162\x72\145\156\x74\125\x52\114\72\x20" . $b_);
$KH = $yR->get("\134\x4d\x61\147\145\156\x74\x6f\x5c\x46\x72\x61\x6d\145\167\157\x72\x6b\134\x41\160\x70\134\122\145\163\160\x6f\x6e\163\x65\134\110\164\x74\x70");
$qk = $this->getAutoRedirect_AppName();
$KH->setRedirect($this->getSPInitiatedUrl($b_) . $qk);
hK:
F6:

Function Calls

None

Variables

None

Stats

MD5 f71849aeaa860b4391f9fb173b08742c
Eval Count 0
Decode Time 48 ms