Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * This file is a part of the miniorange-saml-20-single-sign-on plugin. * ..
Decoded Output download
<?php
/**
* This file is a part of the miniorange-saml-20-single-sign-on plugin.
*
* @link https://plugins.miniorange.com/
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
include 'Assertion.php';
class SAML2_Response
{
private $assertions;
private $destination;
private $certificates;
private $signatureData;
public function __construct(DOMElement $RO = NULL, $P7)
{
$this->assertions = array();
$this->certificates = array();
if (!($RO === NULL)) {
goto EuL;
}
return;
EuL:
$oK = Utilities::validateElement($RO);
if (!($oK !== FALSE)) {
goto PAe;
}
$this->certificates = $oK["Certificates"];
$this->signatureData = $oK;
PAe:
if (!$RO->hasAttribute("Destination")) {
goto wGL;
}
$this->destination = $RO->getAttribute("Destination");
wGL:
$c4 = $RO->firstChild;
krp:
if (!($c4 !== NULL)) {
goto mhq;
}
if (!($c4->namespaceURI !== "urn:oasis:names:tc:SAML:2.0:assertion")) {
goto oRJ;
}
goto jR0;
oRJ:
if (!($c4->localName === "Assertion" || $c4->localName === "EncryptedAssertion")) {
goto pJR;
}
$this->assertions[] = new SAML2_Assertion($c4, $P7);
pJR:
jR0:
$c4 = $c4->nextSibling;
goto krp;
mhq:
}
public function getAssertions()
{
return $this->assertions;
}
public function setAssertions(array $Gc)
{
$this->assertions = $Gc;
}
public function getDestination()
{
return $this->destination;
}
public function getCertificates()
{
return $this->certificates;
}
public function getSignatureData()
{
return $this->signatureData;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file is a part of the miniorange-saml-20-single-sign-on plugin.
*
* @link https://plugins.miniorange.com/
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
include 'Assertion.php';
class SAML2_Response
{
private $assertions;
private $destination;
private $certificates;
private $signatureData;
public function __construct(DOMElement $RO = NULL, $P7)
{
$this->assertions = array();
$this->certificates = array();
if (!($RO === NULL)) {
goto EuL;
}
return;
EuL:
$oK = Utilities::validateElement($RO);
if (!($oK !== FALSE)) {
goto PAe;
}
$this->certificates = $oK["\x43\x65\162\164\151\x66\x69\143\x61\x74\x65\163"];
$this->signatureData = $oK;
PAe:
if (!$RO->hasAttribute("\x44\x65\163\164\151\x6e\141\x74\151\x6f\x6e")) {
goto wGL;
}
$this->destination = $RO->getAttribute("\x44\145\163\x74\x69\x6e\141\164\x69\157\156");
wGL:
$c4 = $RO->firstChild;
krp:
if (!($c4 !== NULL)) {
goto mhq;
}
if (!($c4->namespaceURI !== "\x75\162\x6e\x3a\157\x61\163\x69\163\72\x6e\x61\x6d\x65\163\72\x74\143\72\x53\x41\x4d\x4c\72\62\x2e\x30\72\141\163\163\145\x72\x74\x69\x6f\x6e")) {
goto oRJ;
}
goto jR0;
oRJ:
if (!($c4->localName === "\101\x73\163\145\x72\164\x69\157\156" || $c4->localName === "\105\x6e\x63\x72\x79\160\164\145\144\101\163\163\145\x72\164\151\157\x6e")) {
goto pJR;
}
$this->assertions[] = new SAML2_Assertion($c4, $P7);
pJR:
jR0:
$c4 = $c4->nextSibling;
goto krp;
mhq:
}
public function getAssertions()
{
return $this->assertions;
}
public function setAssertions(array $Gc)
{
$this->assertions = $Gc;
}
public function getDestination()
{
return $this->destination;
}
public function getCertificates()
{
return $this->certificates;
}
public function getSignatureData()
{
return $this->signatureData;
}
}
Function Calls
| None |
Stats
| MD5 | 93cdcfacaeb967d79b2fc6f7a8d7b1de |
| Eval Count | 0 |
| Decode Time | 187 ms |