Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
GeneralUtility::makeInstance(\TYPO3\CMS\Core\Cache\CacheManager::class)->flushCaches(); ..
Decoded Output download
<? GeneralUtility::makeInstance(\TYPO3\CMS\Core\Cache\CacheManager::class)->flushCaches();
$ja = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable("saml");
$VY = $ja->select("slo_url")->from("saml")->where($ja->expr()->eq("uid", $ja->createNamedParameter(1, \PDO::PARAM_INT)))->execute()->fetchColumn(0);
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($ja);
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($VY);
die();
if (!isset($_REQUEST["SAMLResponse"])) {
goto Xm;
}
$Uy = $_REQUEST["SAMLResponse"];
$Uy = base64_decode($Uy);
if (!(array_key_exists("SAMLResponse", $_GET) && !empty($_GET["SAMLResponse"]))) {
goto O_;
}
$Uy = gzinflate($Uy);
O_:
$Tz = new \DOMDocument();
$Tz->loadXML($Uy);
$Ft = $Tz->firstChild;
$M4 = $Tz->documentElement;
error_log(print_r($Ft, true));
if (!($Ft->localName == "LogoutResponse")) {
goto Di;
}
header("Location: " . $VY . "?slo=success");
die;
Di:
Xm: ?>
Did this file decode correctly?
Original Code
GeneralUtility::makeInstance(\TYPO3\CMS\Core\Cache\CacheManager::class)->flushCaches();
$ja = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable("\x73\x61\155\154");
$VY = $ja->select("\x73\154\157\x5f\x75\x72\154")->from("\163\141\155\154")->where($ja->expr()->eq("\165\x69\x64", $ja->createNamedParameter(1, \PDO::PARAM_INT)))->execute()->fetchColumn(0);
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($ja);
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($VY);
die();
if (!isset($_REQUEST["\123\101\x4d\x4c\122\x65\x73\160\x6f\156\163\145"])) {
goto Xm;
}
$Uy = $_REQUEST["\123\x41\x4d\114\x52\145\x73\x70\157\x6e\163\145"];
$Uy = base64_decode($Uy);
if (!(array_key_exists("\x53\x41\x4d\x4c\x52\145\163\160\x6f\156\163\x65", $_GET) && !empty($_GET["\123\101\115\114\122\145\163\x70\x6f\x6e\x73\145"]))) {
goto O_;
}
$Uy = gzinflate($Uy);
O_:
$Tz = new \DOMDocument();
$Tz->loadXML($Uy);
$Ft = $Tz->firstChild;
$M4 = $Tz->documentElement;
error_log(print_r($Ft, true));
if (!($Ft->localName == "\x4c\157\147\157\165\164\x52\145\x73\160\157\x6e\x73\145")) {
goto Di;
}
header("\x4c\157\143\x61\164\151\157\156\72\40" . $VY . "\x3f\163\154\157\75\x73\165\x63\x63\x65\163\163");
die;
Di:
Xm:
Function Calls
None |
Stats
MD5 | f9cd3b8588d532c281c95bfe96e7b47b |
Eval Count | 0 |
Decode Time | 58 ms |