Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
namespace MiniOrange\SP\Helper; class SPUtility extends Data { protected $adminSe..
Decoded Output download
<? namespace MiniOrange\SP\Helper;
class SPUtility extends Data
{
protected $adminSession;
protected $customerSession;
protected $authSession;
protected $cacheTypeList;
protected $cacheFrontendPool;
protected $fileSystem;
protected $reinitableConfig;
protected $logger;
public $_storeManager;
protected $websiteModel;
protected $websiteRepository;
protected $resource;
protected $userFactory;
public $customerRepository;
public $resultFactory;
public $messageManager;
public $backendHelper;
public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $Ts, \Magento\User\Model\UserFactory $wt, \Magento\Customer\Model\CustomerFactory $s6, \Magento\Framework\UrlInterface $nD, \Magento\Framework\App\Config\Storage\WriterInterface $uy, \Magento\Framework\View\Asset\Repository $Rb, \Magento\Backend\Helper\Data $ca, \Magento\Framework\Url $Fv, \Magento\Backend\Model\Session $LX, Session $dt, \Magento\Backend\Model\Auth\Session $zV, \Magento\Framework\App\Cache\TypeListInterface $ce, \Magento\Framework\App\Cache\Frontend\Pool $VG, \Magento\Framework\Filesystem\Driver\File $E6, \Psr\Log\LoggerInterface $Ej, \Magento\Framework\App\Config\ReinitableConfigInterface $cT, \Magento\Store\Model\StoreManagerInterface $ij, \Magento\Customer\Api\CustomerRepositoryInterface $Hv, \Magento\Store\Model\Website $Wd, \Magento\Store\Api\WebsiteRepositoryInterface $rw, \Magento\Framework\App\ResourceConnection $wo, ResultFactory $UG, \Magento\User\Model\UserFactory $NZ, \Magento\Backend\Helper\Data $uq, \Magento\Framework\Message\ManagerInterface $KZ, \MiniOrange\SP\Model\MiniorangeSamlIDPsFactory $zg)
{
$this->adminSession = $LX;
$this->customerSession = $dt;
$this->authSession = $zV;
$this->cacheTypeList = $ce;
$this->cacheFrontendPool = $VG;
$this->fileSystem = $E6;
$this->logger = $Ej;
$this->userFactory = $NZ;
$this->websiteRepository = $rw;
$this->websiteModel = $Wd;
$this->_storeManager = $ij;
$this->resultFactory = $UG;
$this->customerRepository = $Hv;
$this->reinitableConfig = $cT;
$this->resource = $wo;
$this->messageManager = $KZ;
$this->backendHelper = $uq;
parent::__construct($Ts, $wt, $s6, $nD, $uy, $Rb, $ca, $Fv, $zg);
}
public function getHiddenPhone($KR)
{
$ZL = "xxxxxxx" . substr($KR, strlen($KR) - 3);
return $ZL;
}
public function isBlank($oy)
{
if (!(!isset($oy) || empty($oy))) {
goto fu;
}
return TRUE;
fu:
return FALSE;
}
public function isCurlInstalled()
{
if (in_array("curl", get_loaded_extensions())) {
goto b6;
}
return 0;
goto kN;
b6:
return 1;
kN:
}
public function validatePhoneNumber($KR)
{
if (!preg_match(MoIDPConstants::PATTERN_PHONE, $KR, $TF)) {
goto JV;
}
return TRUE;
goto SS;
JV:
return FALSE;
SS:
}
public function getHiddenEmail($Lm)
{
if (!(!isset($Lm) || trim($Lm) === '')) {
goto yc;
}
return '';
yc:
$Ev = strlen($Lm);
$Vh = substr($Lm, 0, 1);
$Ux = strrpos($Lm, "@");
$Z9 = substr($Lm, $Ux - 1, $Ev);
$p6 = 1;
Se:
if (!($p6 < $Ux)) {
goto p2;
}
$Vh = $Vh . "x";
Iq:
$p6++;
goto Se;
p2:
$iY = $Vh . $Z9;
return $iY;
}
public function setAdminSessionData($TZ, $oy)
{
return $this->adminSession->setData($TZ, $oy);
}
public function getAdminSessionData($TZ, $iO = false)
{
return $this->adminSession->getData($TZ, $iO);
}
public function setSessionData($TZ, $oy)
{
return $this->customerSession->setData($TZ, $oy);
}
public function getSessionData($TZ, $iO = false)
{
return $this->customerSession->getData($TZ, $iO);
}
public function setSessionDataForCurrentUser($TZ, $oy)
{
if ($this->customerSession->isLoggedIn()) {
goto Ye;
}
if ($this->authSession->isLoggedIn()) {
goto Fw;
}
goto N2;
Ye:
$this->setSessionData($TZ, $oy);
goto N2;
Fw:
$this->setAdminSessionData($TZ, $oy);
N2:
}
public function isSPConfigured()
{
$RE = $this->getStoreConfig(SPConstants::SAML_SSO_URL);
return $this->isBlank($RE) ? FALSE : TRUE;
}
public function micr()
{
$Lm = $this->getStoreConfig(SPConstants::SAMLSP_EMAIL);
$TZ = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
return !$this->isBlank($Lm) && !$this->isBlank($TZ) ? TRUE : FALSE;
}
public function isUserLoggedIn()
{
return $this->customerSession->isLoggedIn() || $this->authSession->isLoggedIn();
}
public function getCurrentAdminUser()
{
return $this->authSession->getUser();
}
public function getCurrentUser()
{
return $this->customerSession->getCustomer();
}
public function getAdminLoginUrl()
{
return $this->getAdminUrl("adminhtml/auth/login");
}
public function getCustomerLoginUrl()
{
return $this->getUrl("customer/account/login");
}
public function desanitizeCert($za)
{
return SAML2Utilities::desanitize_certificate($za);
}
public function sanitizeCert($za)
{
return SAML2Utilities::sanitize_certificate($za);
}
public function flushCache()
{
$EN = array("db_ddl");
foreach ($EN as $Ew) {
$this->cacheTypeList->cleanType($Ew);
mL:
}
KS:
foreach ($this->cacheFrontendPool as $HT) {
$HT->getBackend()->clean();
f8:
}
Kg:
}
public function getFileContents($zt)
{
return $this->fileSystem->fileGetContents($zt);
}
public function putFileContents($zt, $ru)
{
$this->fileSystem->filePutContents($zt, $ru);
}
public function getLogoutUrl()
{
if (!$this->customerSession->isLoggedIn()) {
goto A9;
}
return $this->getUrl("customer/account/logout");
A9:
if (!$this->authSession->isLoggedIn()) {
goto j3;
}
return $this->getAdminUrl("adminhtml/auth/logout");
j3:
return "/";
}
public function reinitConfig()
{
$this->reinitableConfig->reinit();
}
public function mclv()
{
$jw = $this->getStoreConfig(SPConstants::TOKEN);
$NU = AESEncryption::decrypt_data($this->getStoreConfig(SPConstants::SAMLSP_CKL), $jw);
$bB = $this->getStoreConfig(SPConstants::SAMLSP_LK);
return $NU == "true" && !$this->isBlank($bB) ? TRUE : FALSE;
}
public function ccl()
{
$tp = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
$PX = $this->getStoreConfig(SPConstants::API_KEY);
$BI = Curl::ccl($tp, $PX);
return $BI;
}
public function vml($f5)
{
$tp = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
$PX = $this->getStoreConfig(SPConstants::API_KEY);
$BI = Curl::vml($tp, $PX, $f5, $this->getBaseUrl());
return $BI;
}
public function mius()
{
$tp = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
$PX = $this->getStoreConfig(SPConstants::API_KEY);
$jw = $this->getStoreConfig(SPConstants::TOKEN);
$f5 = AESEncryption::decrypt_data($this->getStoreConfig(SPConstants::SAMLSP_LK), $jw);
$BI = Curl::mius($tp, $PX, trim($f5));
return $BI;
}
public function getB2bStoreUrl()
{
$tf = $this->getStoreConfig(SPConstants::B2B_STORE_URL);
return !$this->isBlank($tf) ? $tf : '';
}
public function getB2cStoreUrl()
{
$Qd = $this->getStoreConfig(SPConstants::B2C_STORE_URL);
return !$this->isBlank($Qd) ? $Qd : '';
}
public function getAutoCreateAdmin()
{
return $this->getStoreConfig(SPConstants::AUTO_CREATE_ADMIN);
}
public function getAutoCreateCustomer()
{
return $this->getStoreConfig(SPConstants::AUTO_CREATE_CUSTOMER);
}
public function getDisableB2C()
{
return $this->getStoreConfig(SPConstants::DISABLE_B2C);
}
public function isSLOConfigured()
{
$T_ = $this->getStoreConfig(SPConstants::SAML_SLO_URL);
return $this->isBlank($T_) ? FALSE : TRUE;
}
public function log_debug($VM, $SD = null)
{
if (!(!is_object($VM) && !is_array($VM))) {
goto on;
}
$this->logger->debug("MO_SAML_MultiStore_Premium:" . $VM);
on:
if (!(null !== $SD)) {
goto I7;
}
if (is_object($SD) || is_array($SD)) {
goto hh;
}
$this->logger->info($SD);
goto yl;
hh:
$this->logger->info(print_r($SD, true));
yl:
I7:
}
public function getCustomer($Hr)
{
return $this->customerRepository->getById($Hr);
}
public function getAdminUserById($Hr)
{
$user = $this->userFactory->create()->load($Hr);
return $user;
}
public function getStoreIdFromUrl($M_)
{
$zJ = $this->_storeManager->getStores();
$this->log_debug(" spUtility: getStoreIdFromUrl(): start ");
foreach ($zJ as $es) {
$hv = $es->getBaseUrl();
$Zb = strpos($M_, $hv);
if (!($Zb !== false)) {
goto GF;
}
$this->log_debug(" getStoreIdFromUrl: storeId - " . $es->getId());
$this->log_debug(" getStoreIdFromUrl: storeName - " . $es->getName());
$this->log_debug("getStoreIdFromUrl : storeBaseUrl. " . $es->getBaseUrl());
return $es->getId();
GF:
p6:
}
k1:
}
public function getBaseUrlFromUrl($M_)
{
$this->log_debug(" SpUtility: getBaseUrlFromUrl() for:" . $M_);
$zJ = $this->_storeManager->getStores();
foreach ($zJ as $es) {
$hv = $es->getBaseUrl();
$Zb = strpos($M_, $hv);
if (!($Zb !== false)) {
goto wd;
}
$this->log_debug("SpUtility : getBaseUrlFromUrl(). " . $hv);
return $hv;
wd:
td:
}
f2:
$M_ = parse_url($M_, PHP_URL_HOST);
$this->log_debug("SpUtility: getBaseUrlFromUrl():" . $M_ . "/");
return $M_;
}
public function getWebsiteIdFromUrl($M_)
{
$zJ = $this->_storeManager->getStores();
$this->log_debug(" spUtility: getStoreIdFromUrl(): start ");
foreach ($zJ as $es) {
$hv = $es->getBaseUrl();
$Zb = strpos($M_, $hv);
if (!($Zb !== false)) {
goto XB;
}
$this->log_debug(" getStoreIdFromUrl: storeId - " . $es->getWebsiteId());
return $es->getWebsiteId();
XB:
QY:
}
b2:
}
public function getStoreById($Hr)
{
return $this->_storeManager->getStore($Hr);
}
public function getStoreUrl($Hr)
{
return $this->_storeManager->getStore($Hr)->getBaseUrl();
}
public function getWebsiteName($l_)
{
$R8 = $this->_websiteModel->load($l_, "website_id");
$Fe = $R8->getData();
return $Fe[0]["name"];
}
public function getWebsiteById($Hr)
{
return $this->websiteRepository->getById($Hr);
}
public function getUrl($hv, $ui = array())
{
return parent::getUrl($hv, $ui);
}
public function insertRowInTable($y8, $ru)
{
$this->resource->getConnection()->insertMultiple($y8, $ru);
}
public function updateColumnInTable($y8, $hI, $L9, $ww, $GN)
{
$this->log_debug("updateColumnInTable" . $hI);
$S4 = $this->resource->getConnection();
if (!($S4->tableColumnExists($y8, $hI) === false)) {
goto gV;
}
$S4->addColumn($y8, $hI, array("type" => "text", "nullable" => false, "length" => 255, "after" => null, "comment" => $hI));
gV:
$this->resource->getConnection()->update($y8, [$hI => $L9], [$ww . " = ?" => $GN]);
}
public function updateRowInTable($y8, $FV, $ww, $GN)
{
$this->log_debug("updateRowInTable");
$this->resource->getConnection()->update($y8, $FV, [$ww . " = ?" => $GN]);
}
public function getValueFromTableSQL($y8, $Uz, $ww, $GN)
{
$S4 = $this->resource->getConnection();
$Yw = "SELECT " . $Uz . " FROM " . $y8 . " WHERE " . $ww . " = " . $GN;
$this->log_debug("SQL: " . $Yw);
$y0 = $S4->fetchOne($Yw);
$this->log_debug("result sql: " . $y0);
return $y0;
}
public function checkIfFlowStartedFromBackend($g6)
{
$xZ = $this->getAdminBaseUrl();
$zY = strpos($g6, $xZ);
$PR = strpos($xZ, $g6);
if (!($PR !== false || $zY !== false)) {
goto hH;
}
$this->log_debug("checkIfFlowStartedFromBackend: true");
return true;
hH:
$this->log_debug("checkIfFlowStartedFromBackend: false");
return false;
}
public function handle_upload_metadata($zt, $hv, $ui)
{
$this->log_debug("In handle upload metadata function");
if (!(isset($zt) || isset($hv))) {
goto ix;
}
if (!empty($zt["tmp_name"])) {
goto p1;
}
$hv = filter_var($hv, FILTER_SANITIZE_URL);
$K5 = array("ssl" => array("verify_peer" => false, "verify_peer_name" => false));
if (empty($hv)) {
goto g8;
}
$zt = file_get_contents($hv, false, stream_context_create($K5));
goto zB;
g8:
return;
zB:
goto Ig;
p1:
$zt = @file_get_contents($zt["tmp_name"]);
Ig:
$this->upload_metadata($zt, $ui);
ix:
}
public function upload_metadata($zt, $ui)
{
$this->log_debug("In upload metadata function");
$Dk = new DOMDocument();
$Dk->loadXML($zt);
restore_error_handler();
$Kx = $Dk->firstChild;
if (!empty($Kx)) {
goto EX;
}
return;
goto o8;
EX:
$iR = new IDPMetadataReader($Dk);
$dd = $iR->getIdentityProviders();
if (!empty($dd)) {
goto CX;
}
return;
CX:
foreach ($dd as $TZ => $ZT) {
$zf = $ZT->getLoginURL("HTTP-Redirect");
$z1 = $ZT->getEntityID();
$me = $ZT->getSigningCertificate();
$yn = "saml";
$SQ = array("samlIssuer" => isset($z1) ? $z1 : 0, "ssourl" => isset($zf) ? $zf : 0, "loginBindingType" => "HttpRedirect", "certificate" => isset($me) ? $me[0] : 0);
$this->generic_update_query($yn, $SQ, $ui);
goto PZ;
ZL:
}
PZ:
return;
o8:
}
public function generic_update_query($yn, $SQ, $ui)
{
$this->log_debug("In generic_update_query function");
$u6 = json_encode($SQ);
if (isset($ui["saml_identity_name"])) {
goto cC;
}
$ui["saml_identity_name"] = $ui["selected_provider"];
cC:
$T6 = trim($ui["saml_identity_name"]);
$R8 = $this->getIDPApps();
$zo = null;
foreach ($R8 as $GK) {
if (!($GK->getData()["idp_name"] === $T6)) {
goto mM;
}
$zo = $GK->getData();
mM:
B8:
}
X9:
foreach ($SQ as $TZ => $oy) {
if (!($TZ == "samlIssuer")) {
goto V8;
}
$M2 = trim($oy);
V8:
if (!($TZ == "ssourl")) {
goto HJ;
}
$nz = trim($oy);
HJ:
if (!($TZ == "loginBindingType")) {
goto nv;
}
$ZU = trim($oy);
nv:
if (!($TZ == "certificate")) {
goto hM;
}
$vC = SAML2Utilities::sanitize_certificate(trim($oy));
hM:
cU:
}
BU:
$JA = isset($ui["saml_logout_url"]) ? trim($ui["saml_logout_url"]) : '';
$Oy = "HttpRedirect";
$XZ = isset($ui["saml_response_signed"]) && $ui["saml_response_signed"] == "Yes" ? 1 : 0;
$Mc = isset($ui["saml_assertion_signed"]) && $ui["saml_assertion_signed"] == "Yes" ? 1 : 0;
$Wt = isset($zo["show_admin_link"]) && $zo["show_admin_link"] == true ? 1 : 0;
$NJ = isset($zo["show_customer_link"]) && $zo["show_customer_link"] == true ? 1 : 0;
$RQ = isset($zo["auto_create_admin_users"]) && $zo["auto_create_admin_users"] == true ? 1 : 0;
$Np = isset($zo["auto_create_customers"]) && $zo["auto_create_customers"] == true ? 1 : 0;
$hd = isset($zo["disable_b2c"]) && $zo["disable_b2c"] == true ? 1 : 0;
$jW = isset($zo["force_authentication_with_idp"]) && $zo["force_authentication_with_idp"] == true ? 1 : 0;
$Fw = isset($zo["auto_redirect_to_idp"]) && $zo["auto_redirect_to_idp"] == true ? 1 : 0;
$ha = isset($zo["link_to_initiate_sso"]) && $zo["link_to_initiate_sso"] == true ? 1 : 0;
$fc = isset($zo["update_attributes_on_login"]) ? $zo["update_attributes_on_login"] : "unchecked";
$NX = isset($zo["create_magento_account_by"]) ? $zo["create_magento_account_by"] : '';
$nx = isset($zo["email_attribute"]) ? $zo["email_attribute"] : '';
$cS = isset($zo["username_attribute"]) ? $zo["username_attribute"] : '';
$tR = isset($zo["firstname_attribute"]) ? $zo["firstname_attribute"] : '';
$TB = isset($zo["lastname_attribute"]) ? $zo["lastname_attribute"] : '';
$U4 = isset($zo["group_attribute"]) ? $zo["group_attribute"] : '';
$JU = isset($zo["city_attribute"]) ? $zo["city_attribute"] : '';
$KV = isset($zo["state_attribute"]) ? $zo["state_attribute"] : '';
$Cq = isset($zo["country_attribute"]) ? $zo["country_attribute"] : '';
$KS = isset($zo["address_attribute"]) ? $zo["address_attribute"] : '';
$QJ = isset($zo["phone_attribute"]) ? $zo["phone_attribute"] : '';
$Z5 = isset($zo["zip_attribute"]) ? $zo["zip_attribute"] : '';
$zw = isset($zo["b2b_attribute"]) ? $zo["b2b_attribute"] : '';
$YP = isset($zo["custom_tablename"]) ? $zo["custom_tablename"] : '';
$mZ = isset($zo["custom_attributes"]) ? $zo["custom_attributes"] : '';
$B8 = isset($zo["do_not_autocreate_if_roles_not_mapped"]) && $zo["do_not_autocreate_if_roles_not_mapped"] == true ? 1 : 0;
$hL = isset($zo["update_backend_roles_on_sso"]) && $zo["update_backend_roles_on_sso"] == true ? 1 : 0;
$gC = isset($zo["update_frontend_groups_on_sso"]) && $zo["update_frontend_groups_on_sso"] == true ? 1 : 0;
$R2 = isset($zo["default_group"]) ? $zo["default_group"] : '';
$uZ = isset($zo["default_role"]) ? $zo["default_role"] : '';
$DS = isset($zo["groups_mapped"]) ? $zo["groups_mapped"] : '';
$v4 = isset($zo["roles_mapped"]) ? $zo["roles_mapped"] : '';
if (is_null($zo)) {
goto R_;
}
$this->deleteIDPApps((int) $zo["id"]);
R_:
if (empty($T6)) {
goto Hz;
}
$this->setIDPApps($T6, $M2, $nz, $ZU, $JA, $Oy, $vC, $XZ, $Mc, $Wt, $NJ, $RQ, $Np, $hd, $jW, $Fw, $ha, $fc, $NX, $nx, $cS, $tR, $TB, $U4, $JU, $KV, $Cq, $KS, $QJ, $Z5, $zw, $YP, $mZ, $B8, $hL, $gC, $R2, $uZ, $DS, $v4);
Hz:
$this->setStoreConfig(SPConstants::DEFAULT_PROVIDER, $T6);
$this->reinitConfig();
}
}
?>
Did this file decode correctly?
Original Code
namespace MiniOrange\SP\Helper;
class SPUtility extends Data
{
protected $adminSession;
protected $customerSession;
protected $authSession;
protected $cacheTypeList;
protected $cacheFrontendPool;
protected $fileSystem;
protected $reinitableConfig;
protected $logger;
public $_storeManager;
protected $websiteModel;
protected $websiteRepository;
protected $resource;
protected $userFactory;
public $customerRepository;
public $resultFactory;
public $messageManager;
public $backendHelper;
public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $Ts, \Magento\User\Model\UserFactory $wt, \Magento\Customer\Model\CustomerFactory $s6, \Magento\Framework\UrlInterface $nD, \Magento\Framework\App\Config\Storage\WriterInterface $uy, \Magento\Framework\View\Asset\Repository $Rb, \Magento\Backend\Helper\Data $ca, \Magento\Framework\Url $Fv, \Magento\Backend\Model\Session $LX, Session $dt, \Magento\Backend\Model\Auth\Session $zV, \Magento\Framework\App\Cache\TypeListInterface $ce, \Magento\Framework\App\Cache\Frontend\Pool $VG, \Magento\Framework\Filesystem\Driver\File $E6, \Psr\Log\LoggerInterface $Ej, \Magento\Framework\App\Config\ReinitableConfigInterface $cT, \Magento\Store\Model\StoreManagerInterface $ij, \Magento\Customer\Api\CustomerRepositoryInterface $Hv, \Magento\Store\Model\Website $Wd, \Magento\Store\Api\WebsiteRepositoryInterface $rw, \Magento\Framework\App\ResourceConnection $wo, ResultFactory $UG, \Magento\User\Model\UserFactory $NZ, \Magento\Backend\Helper\Data $uq, \Magento\Framework\Message\ManagerInterface $KZ, \MiniOrange\SP\Model\MiniorangeSamlIDPsFactory $zg)
{
$this->adminSession = $LX;
$this->customerSession = $dt;
$this->authSession = $zV;
$this->cacheTypeList = $ce;
$this->cacheFrontendPool = $VG;
$this->fileSystem = $E6;
$this->logger = $Ej;
$this->userFactory = $NZ;
$this->websiteRepository = $rw;
$this->websiteModel = $Wd;
$this->_storeManager = $ij;
$this->resultFactory = $UG;
$this->customerRepository = $Hv;
$this->reinitableConfig = $cT;
$this->resource = $wo;
$this->messageManager = $KZ;
$this->backendHelper = $uq;
parent::__construct($Ts, $wt, $s6, $nD, $uy, $Rb, $ca, $Fv, $zg);
}
public function getHiddenPhone($KR)
{
$ZL = "\x78\x78\x78\x78\x78\170\x78" . substr($KR, strlen($KR) - 3);
return $ZL;
}
public function isBlank($oy)
{
if (!(!isset($oy) || empty($oy))) {
goto fu;
}
return TRUE;
fu:
return FALSE;
}
public function isCurlInstalled()
{
if (in_array("\x63\x75\162\154", get_loaded_extensions())) {
goto b6;
}
return 0;
goto kN;
b6:
return 1;
kN:
}
public function validatePhoneNumber($KR)
{
if (!preg_match(MoIDPConstants::PATTERN_PHONE, $KR, $TF)) {
goto JV;
}
return TRUE;
goto SS;
JV:
return FALSE;
SS:
}
public function getHiddenEmail($Lm)
{
if (!(!isset($Lm) || trim($Lm) === '')) {
goto yc;
}
return '';
yc:
$Ev = strlen($Lm);
$Vh = substr($Lm, 0, 1);
$Ux = strrpos($Lm, "\100");
$Z9 = substr($Lm, $Ux - 1, $Ev);
$p6 = 1;
Se:
if (!($p6 < $Ux)) {
goto p2;
}
$Vh = $Vh . "\x78";
Iq:
$p6++;
goto Se;
p2:
$iY = $Vh . $Z9;
return $iY;
}
public function setAdminSessionData($TZ, $oy)
{
return $this->adminSession->setData($TZ, $oy);
}
public function getAdminSessionData($TZ, $iO = false)
{
return $this->adminSession->getData($TZ, $iO);
}
public function setSessionData($TZ, $oy)
{
return $this->customerSession->setData($TZ, $oy);
}
public function getSessionData($TZ, $iO = false)
{
return $this->customerSession->getData($TZ, $iO);
}
public function setSessionDataForCurrentUser($TZ, $oy)
{
if ($this->customerSession->isLoggedIn()) {
goto Ye;
}
if ($this->authSession->isLoggedIn()) {
goto Fw;
}
goto N2;
Ye:
$this->setSessionData($TZ, $oy);
goto N2;
Fw:
$this->setAdminSessionData($TZ, $oy);
N2:
}
public function isSPConfigured()
{
$RE = $this->getStoreConfig(SPConstants::SAML_SSO_URL);
return $this->isBlank($RE) ? FALSE : TRUE;
}
public function micr()
{
$Lm = $this->getStoreConfig(SPConstants::SAMLSP_EMAIL);
$TZ = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
return !$this->isBlank($Lm) && !$this->isBlank($TZ) ? TRUE : FALSE;
}
public function isUserLoggedIn()
{
return $this->customerSession->isLoggedIn() || $this->authSession->isLoggedIn();
}
public function getCurrentAdminUser()
{
return $this->authSession->getUser();
}
public function getCurrentUser()
{
return $this->customerSession->getCustomer();
}
public function getAdminLoginUrl()
{
return $this->getAdminUrl("\141\x64\x6d\x69\156\150\x74\155\154\x2f\x61\x75\x74\x68\57\154\157\x67\x69\x6e");
}
public function getCustomerLoginUrl()
{
return $this->getUrl("\x63\x75\x73\164\157\155\x65\162\57\x61\x63\143\x6f\x75\x6e\x74\x2f\x6c\x6f\x67\x69\156");
}
public function desanitizeCert($za)
{
return SAML2Utilities::desanitize_certificate($za);
}
public function sanitizeCert($za)
{
return SAML2Utilities::sanitize_certificate($za);
}
public function flushCache()
{
$EN = array("\144\142\x5f\x64\x64\154");
foreach ($EN as $Ew) {
$this->cacheTypeList->cleanType($Ew);
mL:
}
KS:
foreach ($this->cacheFrontendPool as $HT) {
$HT->getBackend()->clean();
f8:
}
Kg:
}
public function getFileContents($zt)
{
return $this->fileSystem->fileGetContents($zt);
}
public function putFileContents($zt, $ru)
{
$this->fileSystem->filePutContents($zt, $ru);
}
public function getLogoutUrl()
{
if (!$this->customerSession->isLoggedIn()) {
goto A9;
}
return $this->getUrl("\x63\165\163\x74\157\155\x65\x72\x2f\x61\x63\x63\157\165\156\164\57\154\157\x67\x6f\x75\164");
A9:
if (!$this->authSession->isLoggedIn()) {
goto j3;
}
return $this->getAdminUrl("\x61\x64\155\x69\x6e\150\x74\x6d\154\57\141\x75\164\150\57\154\157\x67\x6f\x75\x74");
j3:
return "\x2f";
}
public function reinitConfig()
{
$this->reinitableConfig->reinit();
}
public function mclv()
{
$jw = $this->getStoreConfig(SPConstants::TOKEN);
$NU = AESEncryption::decrypt_data($this->getStoreConfig(SPConstants::SAMLSP_CKL), $jw);
$bB = $this->getStoreConfig(SPConstants::SAMLSP_LK);
return $NU == "\x74\x72\x75\x65" && !$this->isBlank($bB) ? TRUE : FALSE;
}
public function ccl()
{
$tp = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
$PX = $this->getStoreConfig(SPConstants::API_KEY);
$BI = Curl::ccl($tp, $PX);
return $BI;
}
public function vml($f5)
{
$tp = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
$PX = $this->getStoreConfig(SPConstants::API_KEY);
$BI = Curl::vml($tp, $PX, $f5, $this->getBaseUrl());
return $BI;
}
public function mius()
{
$tp = $this->getStoreConfig(SPConstants::SAMLSP_KEY);
$PX = $this->getStoreConfig(SPConstants::API_KEY);
$jw = $this->getStoreConfig(SPConstants::TOKEN);
$f5 = AESEncryption::decrypt_data($this->getStoreConfig(SPConstants::SAMLSP_LK), $jw);
$BI = Curl::mius($tp, $PX, trim($f5));
return $BI;
}
public function getB2bStoreUrl()
{
$tf = $this->getStoreConfig(SPConstants::B2B_STORE_URL);
return !$this->isBlank($tf) ? $tf : '';
}
public function getB2cStoreUrl()
{
$Qd = $this->getStoreConfig(SPConstants::B2C_STORE_URL);
return !$this->isBlank($Qd) ? $Qd : '';
}
public function getAutoCreateAdmin()
{
return $this->getStoreConfig(SPConstants::AUTO_CREATE_ADMIN);
}
public function getAutoCreateCustomer()
{
return $this->getStoreConfig(SPConstants::AUTO_CREATE_CUSTOMER);
}
public function getDisableB2C()
{
return $this->getStoreConfig(SPConstants::DISABLE_B2C);
}
public function isSLOConfigured()
{
$T_ = $this->getStoreConfig(SPConstants::SAML_SLO_URL);
return $this->isBlank($T_) ? FALSE : TRUE;
}
public function log_debug($VM, $SD = null)
{
if (!(!is_object($VM) && !is_array($VM))) {
goto on;
}
$this->logger->debug("\x4d\x4f\x5f\x53\101\115\114\x5f\115\165\154\164\151\123\164\157\162\145\x5f\x50\162\x65\x6d\151\x75\x6d\72" . $VM);
on:
if (!(null !== $SD)) {
goto I7;
}
if (is_object($SD) || is_array($SD)) {
goto hh;
}
$this->logger->info($SD);
goto yl;
hh:
$this->logger->info(print_r($SD, true));
yl:
I7:
}
public function getCustomer($Hr)
{
return $this->customerRepository->getById($Hr);
}
public function getAdminUserById($Hr)
{
$user = $this->userFactory->create()->load($Hr);
return $user;
}
public function getStoreIdFromUrl($M_)
{
$zJ = $this->_storeManager->getStores();
$this->log_debug("\40\163\x70\125\164\151\x6c\151\164\171\x3a\40\147\145\x74\123\164\x6f\162\145\x49\144\106\162\x6f\x6d\x55\x72\154\50\51\72\40\163\164\141\x72\164\40");
foreach ($zJ as $es) {
$hv = $es->getBaseUrl();
$Zb = strpos($M_, $hv);
if (!($Zb !== false)) {
goto GF;
}
$this->log_debug("\40\147\x65\x74\x53\164\x6f\x72\145\111\x64\106\162\157\155\125\x72\154\72\x20\x73\164\157\162\x65\x49\144\x20\x2d\40" . $es->getId());
$this->log_debug("\x20\147\145\x74\123\164\157\162\145\x49\x64\106\x72\x6f\x6d\x55\x72\154\72\40\163\x74\157\x72\x65\x4e\141\155\145\x20\55\40" . $es->getName());
$this->log_debug("\x67\145\164\x53\164\x6f\x72\145\111\144\x46\x72\157\155\125\162\154\40\72\x20\x73\164\157\162\145\102\x61\163\x65\125\x72\154\x2e\x20" . $es->getBaseUrl());
return $es->getId();
GF:
p6:
}
k1:
}
public function getBaseUrlFromUrl($M_)
{
$this->log_debug("\40\x53\160\125\164\x69\x6c\151\x74\171\x3a\x20\x67\145\x74\102\141\x73\145\125\162\x6c\106\162\x6f\x6d\x55\162\154\50\51\x20\146\x6f\x72\72" . $M_);
$zJ = $this->_storeManager->getStores();
foreach ($zJ as $es) {
$hv = $es->getBaseUrl();
$Zb = strpos($M_, $hv);
if (!($Zb !== false)) {
goto wd;
}
$this->log_debug("\x53\160\x55\164\151\x6c\x69\x74\x79\40\72\x20\147\145\164\x42\141\x73\145\x55\162\154\x46\x72\157\155\125\162\154\x28\51\x2e\x20" . $hv);
return $hv;
wd:
td:
}
f2:
$M_ = parse_url($M_, PHP_URL_HOST);
$this->log_debug("\123\160\x55\x74\151\154\151\x74\171\72\x20\147\145\x74\x42\x61\x73\145\125\162\x6c\x46\162\157\155\125\x72\x6c\x28\x29\72" . $M_ . "\x2f");
return $M_;
}
public function getWebsiteIdFromUrl($M_)
{
$zJ = $this->_storeManager->getStores();
$this->log_debug("\40\x73\160\x55\x74\151\x6c\151\164\171\72\40\147\x65\164\123\164\x6f\x72\145\111\x64\106\162\157\x6d\125\x72\x6c\x28\51\72\40\x73\x74\141\162\164\x20");
foreach ($zJ as $es) {
$hv = $es->getBaseUrl();
$Zb = strpos($M_, $hv);
if (!($Zb !== false)) {
goto XB;
}
$this->log_debug("\x20\x67\145\x74\x53\x74\x6f\162\x65\x49\x64\106\x72\x6f\x6d\x55\x72\154\72\40\163\x74\157\x72\x65\111\144\40\x2d\40" . $es->getWebsiteId());
return $es->getWebsiteId();
XB:
QY:
}
b2:
}
public function getStoreById($Hr)
{
return $this->_storeManager->getStore($Hr);
}
public function getStoreUrl($Hr)
{
return $this->_storeManager->getStore($Hr)->getBaseUrl();
}
public function getWebsiteName($l_)
{
$R8 = $this->_websiteModel->load($l_, "\167\145\142\163\x69\164\145\x5f\151\144");
$Fe = $R8->getData();
return $Fe[0]["\156\x61\x6d\x65"];
}
public function getWebsiteById($Hr)
{
return $this->websiteRepository->getById($Hr);
}
public function getUrl($hv, $ui = array())
{
return parent::getUrl($hv, $ui);
}
public function insertRowInTable($y8, $ru)
{
$this->resource->getConnection()->insertMultiple($y8, $ru);
}
public function updateColumnInTable($y8, $hI, $L9, $ww, $GN)
{
$this->log_debug("\x75\x70\x64\141\164\x65\103\x6f\x6c\165\155\x6e\111\x6e\124\141\142\x6c\145" . $hI);
$S4 = $this->resource->getConnection();
if (!($S4->tableColumnExists($y8, $hI) === false)) {
goto gV;
}
$S4->addColumn($y8, $hI, array("\164\171\x70\145" => "\x74\145\170\164", "\x6e\x75\x6c\154\141\142\x6c\x65" => false, "\154\x65\x6e\147\164\150" => 255, "\x61\146\164\145\162" => null, "\143\157\x6d\x6d\x65\156\164" => $hI));
gV:
$this->resource->getConnection()->update($y8, [$hI => $L9], [$ww . "\40\x3d\40\x3f" => $GN]);
}
public function updateRowInTable($y8, $FV, $ww, $GN)
{
$this->log_debug("\165\160\x64\x61\x74\145\x52\x6f\167\x49\156\x54\x61\142\154\x65");
$this->resource->getConnection()->update($y8, $FV, [$ww . "\x20\75\x20\x3f" => $GN]);
}
public function getValueFromTableSQL($y8, $Uz, $ww, $GN)
{
$S4 = $this->resource->getConnection();
$Yw = "\123\105\114\x45\x43\x54\x20" . $Uz . "\40\106\122\x4f\x4d\40" . $y8 . "\40\127\x48\x45\122\105\40" . $ww . "\40\75\40" . $GN;
$this->log_debug("\x53\x51\x4c\72\40" . $Yw);
$y0 = $S4->fetchOne($Yw);
$this->log_debug("\162\145\163\165\154\164\x20\x73\161\154\x3a\x20" . $y0);
return $y0;
}
public function checkIfFlowStartedFromBackend($g6)
{
$xZ = $this->getAdminBaseUrl();
$zY = strpos($g6, $xZ);
$PR = strpos($xZ, $g6);
if (!($PR !== false || $zY !== false)) {
goto hH;
}
$this->log_debug("\143\x68\x65\x63\x6b\x49\x66\106\154\157\167\123\x74\x61\x72\164\x65\144\106\x72\x6f\155\102\141\x63\153\145\x6e\144\x3a\40\x74\x72\x75\145");
return true;
hH:
$this->log_debug("\x63\150\x65\143\153\x49\x66\x46\154\x6f\x77\123\x74\141\162\x74\x65\x64\106\x72\x6f\x6d\x42\x61\143\153\145\156\144\x3a\40\146\141\154\163\x65");
return false;
}
public function handle_upload_metadata($zt, $hv, $ui)
{
$this->log_debug("\x49\156\x20\150\141\156\x64\154\145\x20\165\x70\x6c\x6f\141\x64\x20\155\145\x74\141\x64\x61\164\x61\40\146\165\156\x63\164\x69\x6f\156");
if (!(isset($zt) || isset($hv))) {
goto ix;
}
if (!empty($zt["\164\x6d\x70\137\x6e\141\x6d\145"])) {
goto p1;
}
$hv = filter_var($hv, FILTER_SANITIZE_URL);
$K5 = array("\163\x73\154" => array("\166\x65\162\x69\x66\x79\x5f\x70\x65\x65\x72" => false, "\166\x65\x72\151\x66\171\137\160\145\x65\162\x5f\x6e\x61\155\x65" => false));
if (empty($hv)) {
goto g8;
}
$zt = file_get_contents($hv, false, stream_context_create($K5));
goto zB;
g8:
return;
zB:
goto Ig;
p1:
$zt = @file_get_contents($zt["\x74\x6d\160\137\156\x61\x6d\145"]);
Ig:
$this->upload_metadata($zt, $ui);
ix:
}
public function upload_metadata($zt, $ui)
{
$this->log_debug("\111\156\40\165\x70\x6c\157\x61\144\40\155\x65\164\x61\x64\x61\164\x61\40\x66\165\156\143\164\151\157\x6e");
$Dk = new DOMDocument();
$Dk->loadXML($zt);
restore_error_handler();
$Kx = $Dk->firstChild;
if (!empty($Kx)) {
goto EX;
}
return;
goto o8;
EX:
$iR = new IDPMetadataReader($Dk);
$dd = $iR->getIdentityProviders();
if (!empty($dd)) {
goto CX;
}
return;
CX:
foreach ($dd as $TZ => $ZT) {
$zf = $ZT->getLoginURL("\x48\x54\x54\120\55\x52\x65\x64\151\162\x65\x63\164");
$z1 = $ZT->getEntityID();
$me = $ZT->getSigningCertificate();
$yn = "\163\x61\x6d\x6c";
$SQ = array("\163\x61\155\x6c\111\163\x73\x75\x65\x72" => isset($z1) ? $z1 : 0, "\163\163\157\165\162\154" => isset($zf) ? $zf : 0, "\x6c\157\x67\x69\x6e\x42\151\x6e\144\151\156\147\124\171\x70\x65" => "\110\x74\164\x70\122\145\x64\x69\x72\145\143\164", "\x63\145\x72\164\x69\x66\151\143\x61\164\145" => isset($me) ? $me[0] : 0);
$this->generic_update_query($yn, $SQ, $ui);
goto PZ;
ZL:
}
PZ:
return;
o8:
}
public function generic_update_query($yn, $SQ, $ui)
{
$this->log_debug("\111\x6e\40\147\145\156\x65\x72\x69\x63\137\165\160\x64\x61\164\145\137\161\165\145\x72\171\x20\146\165\x6e\143\164\x69\x6f\156");
$u6 = json_encode($SQ);
if (isset($ui["\163\141\155\x6c\x5f\x69\144\145\156\164\x69\x74\x79\137\x6e\141\x6d\145"])) {
goto cC;
}
$ui["\x73\x61\x6d\154\x5f\x69\144\145\x6e\x74\151\x74\x79\x5f\x6e\x61\x6d\145"] = $ui["\163\145\154\145\x63\x74\145\144\x5f\x70\162\157\x76\x69\x64\145\162"];
cC:
$T6 = trim($ui["\163\x61\155\154\137\x69\x64\x65\x6e\164\151\164\171\x5f\x6e\x61\155\145"]);
$R8 = $this->getIDPApps();
$zo = null;
foreach ($R8 as $GK) {
if (!($GK->getData()["\x69\144\160\x5f\156\x61\155\x65"] === $T6)) {
goto mM;
}
$zo = $GK->getData();
mM:
B8:
}
X9:
foreach ($SQ as $TZ => $oy) {
if (!($TZ == "\163\x61\155\x6c\111\163\x73\x75\145\162")) {
goto V8;
}
$M2 = trim($oy);
V8:
if (!($TZ == "\x73\163\x6f\165\162\x6c")) {
goto HJ;
}
$nz = trim($oy);
HJ:
if (!($TZ == "\154\x6f\x67\151\x6e\x42\151\156\144\x69\156\147\x54\171\160\x65")) {
goto nv;
}
$ZU = trim($oy);
nv:
if (!($TZ == "\143\145\x72\164\151\146\151\143\x61\x74\x65")) {
goto hM;
}
$vC = SAML2Utilities::sanitize_certificate(trim($oy));
hM:
cU:
}
BU:
$JA = isset($ui["\x73\141\x6d\x6c\x5f\154\157\147\x6f\x75\x74\x5f\165\162\x6c"]) ? trim($ui["\x73\x61\155\x6c\x5f\x6c\157\147\x6f\x75\x74\x5f\165\162\x6c"]) : '';
$Oy = "\x48\x74\x74\160\x52\145\x64\151\x72\x65\143\164";
$XZ = isset($ui["\163\141\155\154\x5f\x72\145\x73\x70\x6f\x6e\163\x65\137\163\151\x67\x6e\145\144"]) && $ui["\163\141\x6d\154\x5f\x72\145\163\x70\x6f\x6e\163\x65\137\x73\x69\x67\x6e\x65\144"] == "\x59\145\163" ? 1 : 0;
$Mc = isset($ui["\x73\x61\155\x6c\x5f\x61\163\x73\x65\x72\164\151\157\156\x5f\163\x69\x67\x6e\x65\144"]) && $ui["\163\141\x6d\x6c\x5f\x61\163\x73\145\x72\164\151\157\x6e\137\x73\x69\x67\x6e\145\144"] == "\131\x65\x73" ? 1 : 0;
$Wt = isset($zo["\163\150\x6f\x77\137\x61\144\155\151\x6e\137\x6c\151\x6e\x6b"]) && $zo["\x73\x68\157\x77\137\x61\144\155\151\156\137\154\x69\x6e\x6b"] == true ? 1 : 0;
$NJ = isset($zo["\x73\x68\157\x77\137\x63\165\163\x74\157\x6d\x65\x72\x5f\x6c\x69\x6e\153"]) && $zo["\163\150\157\x77\x5f\143\165\163\164\157\x6d\x65\162\137\x6c\x69\x6e\153"] == true ? 1 : 0;
$RQ = isset($zo["\x61\165\164\157\137\x63\162\x65\141\x74\x65\x5f\x61\x64\155\x69\x6e\x5f\165\x73\145\x72\163"]) && $zo["\x61\165\164\x6f\x5f\x63\162\x65\x61\164\145\137\141\144\155\x69\x6e\137\165\163\x65\162\x73"] == true ? 1 : 0;
$Np = isset($zo["\141\x75\164\x6f\x5f\143\x72\x65\x61\x74\145\x5f\143\165\x73\164\x6f\x6d\x65\x72\x73"]) && $zo["\141\x75\164\157\x5f\143\x72\145\141\x74\x65\x5f\143\165\x73\x74\157\x6d\x65\x72\163"] == true ? 1 : 0;
$hd = isset($zo["\144\x69\163\x61\x62\x6c\x65\x5f\142\x32\143"]) && $zo["\144\151\163\141\142\154\x65\137\142\62\x63"] == true ? 1 : 0;
$jW = isset($zo["\146\x6f\162\x63\x65\x5f\x61\x75\x74\x68\145\x6e\164\151\x63\x61\164\x69\x6f\156\137\x77\151\x74\150\x5f\x69\144\x70"]) && $zo["\146\157\162\x63\x65\x5f\x61\x75\164\x68\x65\x6e\164\x69\x63\x61\164\x69\157\156\x5f\167\151\164\x68\x5f\151\144\x70"] == true ? 1 : 0;
$Fw = isset($zo["\x61\x75\x74\157\x5f\162\x65\144\x69\x72\x65\143\164\137\x74\157\137\x69\x64\160"]) && $zo["\141\165\164\157\137\162\x65\144\151\162\x65\143\x74\x5f\x74\157\x5f\x69\144\x70"] == true ? 1 : 0;
$ha = isset($zo["\154\x69\x6e\153\x5f\164\157\137\x69\x6e\151\164\x69\x61\164\145\x5f\x73\163\x6f"]) && $zo["\154\151\x6e\153\x5f\x74\x6f\x5f\x69\x6e\151\164\x69\141\x74\x65\x5f\163\163\x6f"] == true ? 1 : 0;
$fc = isset($zo["\165\160\x64\141\x74\x65\137\x61\x74\164\162\151\142\165\x74\x65\163\137\x6f\156\x5f\x6c\157\147\151\x6e"]) ? $zo["\x75\160\x64\x61\x74\x65\x5f\x61\x74\164\162\x69\x62\x75\164\145\x73\x5f\x6f\156\137\154\157\x67\151\156"] : "\165\156\x63\150\145\x63\153\x65\144";
$NX = isset($zo["\x63\x72\145\141\x74\x65\x5f\x6d\x61\147\145\x6e\x74\157\x5f\141\x63\x63\x6f\x75\x6e\164\137\x62\171"]) ? $zo["\143\x72\145\141\164\145\x5f\x6d\141\x67\145\x6e\164\157\x5f\141\143\x63\157\165\156\x74\x5f\142\171"] : '';
$nx = isset($zo["\145\155\141\x69\x6c\x5f\141\x74\x74\x72\151\142\x75\x74\145"]) ? $zo["\x65\155\x61\151\x6c\137\x61\x74\x74\x72\151\x62\165\x74\145"] : '';
$cS = isset($zo["\x75\x73\145\x72\x6e\141\x6d\x65\x5f\141\164\164\162\151\142\x75\164\145"]) ? $zo["\165\x73\x65\162\x6e\141\155\x65\137\141\164\x74\162\151\142\165\x74\x65"] : '';
$tR = isset($zo["\146\151\162\x73\164\156\141\x6d\145\x5f\141\x74\164\162\151\x62\165\164\x65"]) ? $zo["\146\151\162\163\x74\x6e\x61\x6d\x65\137\141\164\164\162\x69\x62\x75\164\145"] : '';
$TB = isset($zo["\154\141\x73\x74\156\x61\155\145\x5f\141\164\x74\162\x69\x62\x75\x74\145"]) ? $zo["\154\141\163\x74\156\141\x6d\145\x5f\141\x74\164\162\151\x62\165\x74\x65"] : '';
$U4 = isset($zo["\147\162\157\165\x70\x5f\141\x74\164\x72\x69\x62\165\x74\x65"]) ? $zo["\147\x72\157\165\x70\137\141\164\164\162\x69\142\165\x74\145"] : '';
$JU = isset($zo["\x63\x69\x74\x79\137\141\x74\x74\x72\151\142\x75\164\145"]) ? $zo["\x63\151\x74\x79\137\141\164\x74\x72\x69\x62\x75\x74\x65"] : '';
$KV = isset($zo["\163\x74\141\x74\145\137\x61\164\x74\162\151\142\165\164\x65"]) ? $zo["\x73\x74\x61\x74\x65\137\x61\x74\164\x72\151\142\x75\164\x65"] : '';
$Cq = isset($zo["\x63\157\165\x6e\x74\x72\x79\x5f\141\164\164\x72\151\x62\x75\x74\145"]) ? $zo["\143\157\165\x6e\164\162\171\x5f\141\x74\x74\162\x69\142\x75\164\x65"] : '';
$KS = isset($zo["\141\144\x64\162\x65\x73\x73\137\141\x74\x74\162\151\x62\165\164\145"]) ? $zo["\141\x64\144\x72\x65\x73\163\137\141\x74\x74\162\151\x62\165\164\145"] : '';
$QJ = isset($zo["\x70\x68\x6f\x6e\x65\137\141\x74\x74\162\x69\x62\x75\x74\x65"]) ? $zo["\160\150\157\156\x65\x5f\141\164\x74\x72\151\x62\x75\x74\145"] : '';
$Z5 = isset($zo["\x7a\x69\160\137\x61\x74\x74\162\x69\x62\x75\164\x65"]) ? $zo["\172\151\x70\x5f\x61\164\164\x72\x69\142\165\x74\x65"] : '';
$zw = isset($zo["\142\x32\x62\137\x61\164\164\x72\x69\142\165\x74\x65"]) ? $zo["\x62\62\142\137\x61\x74\x74\162\151\x62\x75\x74\145"] : '';
$YP = isset($zo["\x63\165\x73\x74\x6f\x6d\137\x74\141\x62\x6c\x65\x6e\x61\155\145"]) ? $zo["\143\165\x73\164\x6f\x6d\137\164\x61\x62\154\x65\x6e\141\155\145"] : '';
$mZ = isset($zo["\143\165\163\x74\157\x6d\x5f\141\164\x74\162\151\142\165\164\x65\163"]) ? $zo["\143\x75\x73\x74\x6f\155\x5f\x61\164\x74\162\x69\142\165\164\x65\x73"] : '';
$B8 = isset($zo["\x64\x6f\x5f\x6e\x6f\x74\x5f\141\165\164\x6f\x63\x72\x65\x61\164\x65\137\x69\146\x5f\x72\157\x6c\145\163\137\156\x6f\x74\x5f\x6d\x61\160\160\x65\144"]) && $zo["\x64\157\137\x6e\x6f\164\137\x61\x75\x74\x6f\x63\x72\x65\x61\164\x65\137\x69\x66\137\162\x6f\154\145\163\137\x6e\x6f\x74\137\x6d\x61\x70\x70\145\x64"] == true ? 1 : 0;
$hL = isset($zo["\x75\160\x64\141\x74\145\x5f\142\141\x63\153\145\156\x64\x5f\162\x6f\154\145\x73\x5f\157\156\137\x73\163\x6f"]) && $zo["\x75\160\x64\141\164\145\x5f\x62\141\143\x6b\145\x6e\144\137\162\157\154\x65\x73\x5f\x6f\156\137\x73\163\x6f"] == true ? 1 : 0;
$gC = isset($zo["\165\x70\x64\141\164\x65\x5f\x66\x72\157\x6e\164\145\x6e\144\x5f\x67\162\157\165\160\x73\137\x6f\x6e\137\163\x73\x6f"]) && $zo["\165\x70\x64\141\164\145\x5f\146\x72\157\156\164\145\x6e\144\x5f\147\x72\157\165\160\163\137\x6f\156\x5f\x73\163\x6f"] == true ? 1 : 0;
$R2 = isset($zo["\x64\x65\146\141\x75\154\164\x5f\x67\162\x6f\x75\160"]) ? $zo["\144\x65\146\x61\165\154\x74\x5f\147\162\157\x75\160"] : '';
$uZ = isset($zo["\x64\x65\146\x61\x75\154\x74\x5f\x72\157\x6c\x65"]) ? $zo["\144\x65\x66\141\165\x6c\164\x5f\162\157\154\145"] : '';
$DS = isset($zo["\x67\x72\x6f\165\160\163\x5f\155\141\x70\160\145\x64"]) ? $zo["\147\162\157\165\160\x73\x5f\155\x61\160\x70\145\x64"] : '';
$v4 = isset($zo["\162\157\154\x65\163\x5f\x6d\141\x70\160\x65\144"]) ? $zo["\x72\157\154\145\x73\x5f\155\x61\160\160\x65\144"] : '';
if (is_null($zo)) {
goto R_;
}
$this->deleteIDPApps((int) $zo["\151\144"]);
R_:
if (empty($T6)) {
goto Hz;
}
$this->setIDPApps($T6, $M2, $nz, $ZU, $JA, $Oy, $vC, $XZ, $Mc, $Wt, $NJ, $RQ, $Np, $hd, $jW, $Fw, $ha, $fc, $NX, $nx, $cS, $tR, $TB, $U4, $JU, $KV, $Cq, $KS, $QJ, $Z5, $zw, $YP, $mZ, $B8, $hL, $gC, $R2, $uZ, $DS, $v4);
Hz:
$this->setStoreConfig(SPConstants::DEFAULT_PROVIDER, $T6);
$this->reinitConfig();
}
}
Function Calls
| None |
Stats
| MD5 | 1fed82c7bb59419e6bfe34a3fa9ee6db |
| Eval Count | 0 |
| Decode Time | 61 ms |