Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
if (!($this->oUit->getStoreConfig(OAuthConstants::AUTO_REDIRECT) && (str_contains($this->g..
Decoded Output download
<? if (!($this->oUit->getStoreConfig(OAuthConstants::AUTO_REDIRECT) && (str_contains($this->getCurrentUrl(), "customer/account/login") || str_contains($this->getCurrentUrl(), "customer/account/create")))) {
goto RVD;
}
if (!($this->oUit->getStoreConfig(OAuthConstants::AUTO_REDIRECT) != "1" || $this->oUit->isUserLoggedIn())) {
goto ezc;
}
return false;
ezc:
if (!($this->oUit->getStoreConfig(OAuthConstants::BACKDOOR) == "1" && array_key_exists(OAuthConstants::OAuth_SSO_FALSE, $this->request->getParams()))) {
goto GIb;
}
return false;
GIb:
$za = array_key_exists($this->currentControllerName, $this->controllerActionPair) ? $this->controllerActionPair[$this->currentControllerName] : null;
return !is_null($za) && is_array($za) ? in_array($this->currentActionName, $za) : false;
RVD:
if (!($this->oUit->getStoreConfig(OAuthConstants::B2B_AUTO_REDIRECT) && (str_contains($this->getCurrentUrl(), "customer/account/login") || !str_contains($this->getCurrentUrl(), "customer/account/create")))) {
goto U0Q;
}
if (!($this->oUit->getStoreConfig(OAuthConstants::B2B_AUTO_REDIRECT) != "1" || $this->oUit->isUserLoggedIn())) {
goto q7e;
}
return false;
q7e:
if (!($this->oUit->getStoreConfig(OAuthConstants::BACKDOOR) == "1" && array_key_exists(OAuthConstants::OAuth_SSO_FALSE, $this->request->getParams()))) {
goto LI5;
}
return false;
LI5:
$za = array_key_exists($this->currentControllerName, $this->controllerActionPair) ? $this->controllerActionPair[$this->currentControllerName] : null;
return !is_null($za) && is_array($za) ? in_array($this->currentActionName, $za) : false;
U0Q:
return false; ?>
Did this file decode correctly?
Original Code
if (!($this->oUit->getStoreConfig(OAuthConstants::AUTO_REDIRECT) && (str_contains($this->getCurrentUrl(), "\143\x75\x73\x74\157\155\x65\x72\57\x61\143\x63\x6f\x75\x6e\164\57\x6c\x6f\147\151\156") || str_contains($this->getCurrentUrl(), "\x63\x75\x73\x74\x6f\155\x65\x72\57\x61\x63\143\x6f\x75\156\164\x2f\x63\162\145\141\x74\x65")))) {
goto RVD;
}
if (!($this->oUit->getStoreConfig(OAuthConstants::AUTO_REDIRECT) != "\x31" || $this->oUit->isUserLoggedIn())) {
goto ezc;
}
return false;
ezc:
if (!($this->oUit->getStoreConfig(OAuthConstants::BACKDOOR) == "\61" && array_key_exists(OAuthConstants::OAuth_SSO_FALSE, $this->request->getParams()))) {
goto GIb;
}
return false;
GIb:
$za = array_key_exists($this->currentControllerName, $this->controllerActionPair) ? $this->controllerActionPair[$this->currentControllerName] : null;
return !is_null($za) && is_array($za) ? in_array($this->currentActionName, $za) : false;
RVD:
if (!($this->oUit->getStoreConfig(OAuthConstants::B2B_AUTO_REDIRECT) && (str_contains($this->getCurrentUrl(), "\x63\165\x73\x74\x6f\x6d\x65\162\x2f\141\x63\143\157\x75\156\x74\x2f\x6c\x6f\147\x69\156") || !str_contains($this->getCurrentUrl(), "\143\x75\x73\164\157\155\145\x72\57\141\x63\x63\157\165\156\x74\57\x63\x72\145\x61\164\145")))) {
goto U0Q;
}
if (!($this->oUit->getStoreConfig(OAuthConstants::B2B_AUTO_REDIRECT) != "\61" || $this->oUit->isUserLoggedIn())) {
goto q7e;
}
return false;
q7e:
if (!($this->oUit->getStoreConfig(OAuthConstants::BACKDOOR) == "\61" && array_key_exists(OAuthConstants::OAuth_SSO_FALSE, $this->request->getParams()))) {
goto LI5;
}
return false;
LI5:
$za = array_key_exists($this->currentControllerName, $this->controllerActionPair) ? $this->controllerActionPair[$this->currentControllerName] : null;
return !is_null($za) && is_array($za) ? in_array($this->currentActionName, $za) : false;
U0Q:
return false;
Function Calls
None |
Stats
MD5 | 09e116b20ab39e13d27d2319a0ce08e8 |
Eval Count | 0 |
Decode Time | 58 ms |