Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


namespace MiniOrange\IDPSaml\Controller\Actions;

use Psr\Log\LoggerInterface;
class CustomerLoginAction extends BaseAction
{
    private $relayState;
    private $user;
    private $customerSession;
    protected $logger;
    public function __construct(\Magento\Framework\App\Action\Context $FF, \MiniOrange\IDPSaml\Helper\IDPUtility $Ng, LoggerInterface $Na, \Magento\Customer\Model\Session $d9)
    {
        $this->idpUtility->log_debug(" inside CustomerLoginAction : execute(): Logging Customer in ");
        $this->customerSession = $d9;
        parent::__construct($FF, $Ng);
    }
    public function execute()
    {
        $this->customerSession->setCustomerAsLoggedIn($this->user);
        if ($this->idpUtility->isBlank($this->relayState)) {
            goto Nl;
        }
        $this->relayState = "customer/account";
        Nl:
        return $this->idpUtility->getUrl($this->relayState);
    }
    public function setUser($user)
    {
        $this->_logger->info("MO  ::  In the setUser CustomerLoginAction/Actions/Controller");
        $this->user = $user;
        return $this;
    }
    public function setRelayState($u2)
    {
        $this->_logger->info("MO  ::  In the setRelayState CustomerLoginAction/Actions/Controller");
        $this->relayState = $u2;
        return $this;
    }
}



© 2023 Quttera Ltd. All rights reserved.