Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
public function logout($l6, $Ai) { $VY = $this->idpObject[Constants::IDP_LOG..
Decoded Output download
<? public function logout($l6, $Ai)
{
$VY = $this->idpObject[Constants::IDP_LOGOUT_URL];
$lK = $this->idpObject[Constants::IDP_BINDING_TYPE];
if (!empty($VY)) {
goto sx;
}
$QM->fe_user->logoff();
unset($_SESSION["email"]);
unset($_SESSION["id"]);
unset($_SESSION["sessionIndex"]);
setcookie(Constants::FE_USER_EMAIL, '', time() - 3600);
setcookie(Constants::FEUSER_TYPO3_SES_INDEX, '', time() - 3600);
setcookie(Constants::FEUSER_IDP_SESSION_INDEX, '', time() - 3600);
$e0 = $this->spObject[Constants::SAML_LOGOUT_URL] . "#success";
goto X2;
sx:
$Qh = $this->ssoemail;
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($object);
die();
if (!(null == $Qh)) {
goto qg;
}
$Qh = $_COOKIE[Constants::FE_USER_EMAIL];
qg:
$gF = $this->sp_entity_id;
$Af = $VY;
$ro = $Af;
$wz = $VY;
$Md = SAMLUtilities::createLogoutRequest($Qh, $Ai, $gF, $ro, $lK);
if (empty($this->bindingType) || $this->bindingType == Constants::HTTP_REDIRECT) {
goto Ja;
}
SAMLUtilities::sendHTTPPostRequest($Md, $wz, $Af);
goto VM;
Ja:
SAMLUtilities::sendHTTPRedirectRequest($Md, $wz, $Af);
VM:
X2:
return $e0;
} ?>
Did this file decode correctly?
Original Code
public function logout($l6, $Ai)
{
$VY = $this->idpObject[Constants::IDP_LOGOUT_URL];
$lK = $this->idpObject[Constants::IDP_BINDING_TYPE];
if (!empty($VY)) {
goto sx;
}
$QM->fe_user->logoff();
unset($_SESSION["\x65\155\x61\151\x6c"]);
unset($_SESSION["\x69\144"]);
unset($_SESSION["\x73\x65\163\x73\x69\x6f\156\x49\156\144\x65\x78"]);
setcookie(Constants::FE_USER_EMAIL, '', time() - 3600);
setcookie(Constants::FEUSER_TYPO3_SES_INDEX, '', time() - 3600);
setcookie(Constants::FEUSER_IDP_SESSION_INDEX, '', time() - 3600);
$e0 = $this->spObject[Constants::SAML_LOGOUT_URL] . "\43\x73\165\x63\143\x65\x73\163";
goto X2;
sx:
$Qh = $this->ssoemail;
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($object);
die();
if (!(null == $Qh)) {
goto qg;
}
$Qh = $_COOKIE[Constants::FE_USER_EMAIL];
qg:
$gF = $this->sp_entity_id;
$Af = $VY;
$ro = $Af;
$wz = $VY;
$Md = SAMLUtilities::createLogoutRequest($Qh, $Ai, $gF, $ro, $lK);
if (empty($this->bindingType) || $this->bindingType == Constants::HTTP_REDIRECT) {
goto Ja;
}
SAMLUtilities::sendHTTPPostRequest($Md, $wz, $Af);
goto VM;
Ja:
SAMLUtilities::sendHTTPRedirectRequest($Md, $wz, $Af);
VM:
X2:
return $e0;
}
Function Calls
None |
Stats
MD5 | 6c9a9b4017eeaebfa0b6944f1612b91d |
Eval Count | 0 |
Decode Time | 43 ms |