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 class MiniOrangeAcs { public function processSamlResponse($post, $rF, $sN, $GU..
Decoded Output download
<?php
class MiniOrangeAcs {
public function processSamlResponse($post, $rF, $sN, $GU, $base_url, $Db, $t4, $uI, $CD) {
if (array_key_exists("SAMLResponse", $post)) {
gotoFx;
}
throw new Exception("Missing SAMLRequest or SAMLResponse parameter.");
gotohv;
Fx:
$af = $post["SAMLResponse"];
hv:
if (array_key_exists("RelayState", $post)) {
gotoED;
}
$rV = '';
gotoB_;
ED:
$rV = $post["RelayState"];
B_:
$af = base64_decode($af);
$ho = new DOMDocument();
$ho->loadXML($af);
$L4 = $ho->firstChild;
if (!($rV == "showSamlResponse")) {
gotoNq;
}
Utilities::Print_SAML_Request($af, "displaySamlResponse");
Nq:
$px = $ho->documentElement;
$Be = new DOMXpath($ho);
$Be->registerNamespace("samlp", "urn:oasis:names:tc:SAML:2.0:protocol");
$Be->registerNamespace("saml", "urn:oasis:names:tc:SAML:2.0:assertion");
$JI = $Be->query("/samlp:Response/samlp:Status/samlp:StatusCode", $px);
$Go = $JI->item(0)->getAttribute("Value");
$Zi = '';
if (!($JI->item(0)->firstChild !== null)) {
gotol1;
}
$Zi = $JI->item(0)->firstChild->getAttribute("Value");
l1:
$JI = explode(":", $Go) [7];
if (!($JI != "Success")) {
gotoIx;
}
if (empty($Zi)) {
gotoWU;
}
$JI = explode(":", $Zi) [7];
WU:
$this->show_error_message($JI, $rV);
Ix:
foreach ($sN as $gG => $A3) {
$V4 = XMLSecurityKey::getRawThumbprint($A3);
$dA = preg_replace("/\s+/", '', $V4);
$sN[$gG] = iconv("UTF-8", "CP1252//IGNORE", $dA);
qm:
}
eY:
$af = new SAML2_Response($L4);
$Kx = $af->getSignatureData();
if (empty($Kx)) {
gotor_;
}
$cR = Utilities::processResponse($rF, $sN, $Kx, $af, $rV);
if ($cR) {
gotovi;
}
echo "Invalid Signature in SAML Response";
die;
vi:
r_:
$IF = current($af->getAssertions())->getSignatureData();
if (empty($IF)) {
gotoy5;
}
$cR = Utilities::processResponse($rF, $sN, $IF, $af, $rV);
if ($cR) {
gotouO;
}
echo "Invalid Signature in SAML Assertion";
die;
uO:
y5:
$rF = substr($rF, 0, strpos($rF, "?"));
Utilities::validateIssuerAndAudience($af, $Db, $GU, $base_url, $rV);
$KV = current($af->getAssertions())->getAttributes();
variable_set("miniorange_saml_attrs_list", $KV);
if ($t4 != "NameID") {
gotomK;
}
$O_ = current(current($af->getAssertions())->getNameId());
gotoDQ;
mK:
if (array_key_exists($t4, $KV)) {
gotoFP;
}
$O_ = current(current($af->getAssertions())->getNameId());
gotoVf;
FP:
$O_ = $KV[$t4][0];
Vf:
DQ:
$co = variable_get("miniorange_saml_email_attribute", "NameID");
if ($co == "NameID") {
gotov8;
}
$tO = $KV[$co][0];
gotoJo;
v8:
$tO = current(current($af->getAssertions())->getNameId());
Jo:
variable_set("miniorange_saml_email_id_value", $tO);
$XS = '';
if (!array_key_exists("RelayState", $post)) {
gotoXW;
}
if ($post["RelayState"] == "testValidate") {
gotoFl;
}
$XS = $post["RelayState"];
gotoNT;
Fl:
$this->showTestResults($O_, $KV);
NT:
XW:
$lN = current($af->getAssertions())->getSessionIndex();
$uK = current(current($af->getAssertions())->getNameId());
$bm = array();
$ef = array();
$ef["email"] = isset($tO) ? $tO : '';
$ef["username"] = isset($O_) ? $O_ : '';
$ef["NameID"] = isset($uK) ? $uK : '';
$ef["sessionIndex"] = isset($lN) ? $lN : '';
$ef["customFieldAttributes"] = isset($bm) ? $bm : '';
if (empty($XS)) {
gotoTT;
}
$ef["relay_state"] = $XS;
TT:
return $ef;
}
function show_error_message($KF, $kX) {
if ($kX == "testValidate") {
gototD;
}
if ($KF == "RequestDenied") {
gotoAw;
}
echo "We could not sign you in. Please contact your Administrator.";
die;
gotoHD;
Aw:
echo "You are not allowed to login into the site. Please contact your Administrator.";
die;
HD:
gotov9;
tD:
echo "<div style="font-family:Calibri;padding:0 3%;">";
echo "<div style="color: #a94442;background-color: #f2dede;padding: 15px;margin-bottom: 20px;text-align:center;border:1px solid #E6B3B2;font-size:18pt;"> ERROR</div>
\xa\x9\x9 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong> Invalid SAML Response Status.</p>\xd\xa \x9<p><strong>Causes</strong>: Identity Provider has sent '" . $KF . "' status code in SAML Response. </p>\xd
\x9 \x9\x9 <p><strong>Reason</strong>: " . $this->get_status_message($KF) . "</p><br>\xd
</div>
\xa\x9\x9\x9<div style="margin:3%;display:block;text-align:center;">\xd\xa \x9<div style="margin:3%;display:block;text-align:center;"><input style="padding:1%;width:100px;background: #0091CD none repeat scroll 0% 0%;cursor: pointer;font-size:15px;border-width: 1px;border-style: solid;border-radius: 3px;white-space: nowrap;box-sizing: border-box;border-color: #0073AA;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="button" value="Done" onClick="self.close();"></div>";
die;
v9:
}
function get_status_message($KF) {
switch ($KF) {
case "RequestDenied":
return "You are not allowed to login into the site. Please contact your Administrator.";
gotoVC;
case "Requester":
return "The request could not be performed due to an error on the part of the requester.";
gotoVC;
case "Responder":
return "The request could not be performed due to an error on the part of the SAML responder or SAML authority.";
gotoVC;
case "VersionMismatch":
return "The SAML responder could not process the request because the version of the request message was incorrect.";
gotoVC;
default:
return "Unknown";
}
ER:
VC:
}
public function showTestResults($O_, $KV) {
global $base_url;
$Xg = drupal_get_path("module", "miniorange_saml");
echo "<div style="font-family:Calibri;padding:0 3%;">";
if (!empty($O_)) {
gotoy8;
}
echo "<div style="color: #a94442;background-color: #f2dede;padding: 15px;margin-bottom: 20px;text-align:center;border:1px solid #E6B3B2;font-size:18pt;">TEST FAILED</div>
\xa <div style="color: #a94442;font-size:14pt; margin-bottom:20px;">WARNING: Some Attributes Did Not Match.</div>
\xa <div style="display:block;text-align:center;margin-bottom:4%;"><img style="width:15%;"src="" . $Xg . "includes/images/wrong.png"></div>";
gotoho;
y8:
echo "<div style="color: #3c763d;\xd\xa background-color: #dff0d8; padding:2%;margin-bottom:20px;text-align:center; border:1px solid #AEDB9A; font-size:18pt;">TEST SUCCESSFUL</div>\xd
<div style="display:block;text-align:center;margin-bottom:4%;"><img style="width:15%;"src="" . $Xg . "/includes/images/green_check.png"></div>";
ho:
echo "<span style="font-size:14pt;"><b>Hello</b>, " . $O_ . "</span><br/><p style="font-weight:bold;font-size:14pt;margin-left:1%;">ATTRIBUTES RECEIVED:</p>\xd
<table style="border-collapse:collapse;border-spacing:0; display:table;width:100%; font-size:14pt;background-color:#EDEDED;">
<tr style="text-align:center;"><td style="font-weight:bold;border:2px solid #949090;padding:2%;">ATTRIBUTE NAME</td><td style="font-weight:bold;padding:2%;border:2px solid #949090; word-wrap:break-word;">ATTRIBUTE VALUE</td></tr>";
if (!empty($KV)) {
gotoSA;
}
echo "<tr><td style='font-weight:bold;border:2px solid #949090;padding:2%;'>NameID</td><td style='padding:2%;border:2px solid #949090; word-wrap:break-word;'>" . $O_ . "</td></tr>";
gotoP6;
SA:
echo "<tr><td style='font-weight:bold;border:2px solid #949090;padding:2%;'>NameID</td><td style='padding:2%;border:2px solid #949090; word-wrap:break-word;'>" . $O_ . "</td></tr>";
foreach ($KV as $gG => $A3) {
echo "<tr><td style='font-weight:bold;border:2px solid #949090;padding:2%;'>" . $gG . "</td><td style='padding:2%;border:2px solid #949090; word-wrap:break-word;'>" . implode("<br/>", $A3) . "</td></tr>";
Pu:
}
Pd:
P6:
echo "</table></div>";
echo "<div style="margin:3%;display:block;text-align:center;">\xd
<input style="padding:1%;width:37%;background: #0091CD none repeat scroll 0% 0%;cursor: pointer;font-size:15px;
border-width: 1px;border-style: solid;border-radius: 3px;white-space: nowrap;box-sizing: border-box;border-color: #0073AA;\xd\xa box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="button" value="Configure Attribute/Role Mapping"
\xa onClick="close_and_redirect();">\xd\xa
<input style="padding:1%;width:100px;background: #0091CD none repeat scroll 0% 0%;cursor: pointer;font-size:15px;
border-width: 1px;border-style: solid;border-radius: 3px;white-space: nowrap;box-sizing: border-box;border-color: #0073AA;\xd
box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="button" value="Done" onClick="self.close();">
\xd\xa </div>\xd
<script> \xd
function close_and_redirect(){
\xa window.opener.redirect_to_attribute_mapping();\xd
self.close();
\xa }
\xa \xd\xa </script>";
die;
}
}
?>
Did this file decode correctly?
Original Code
<?php
class MiniOrangeAcs {
public function processSamlResponse($post, $rF, $sN, $GU, $base_url, $Db, $t4, $uI, $CD) {
if (array_key_exists("\123\x41\115\x4c\x52\145\163\160\x6f\156\x73\145", $post)) {
gotoFx;
}
throw new Exception("\115\151\x73\x73\x69\x6e\147\40\123\101\115\114\x52\x65\x71\165\145\x73\x74\x20\x6f\162\40\123\101\x4d\x4c\x52\145\163\160\x6f\x6e\163\x65\x20\160\x61\x72\x61\x6d\x65\164\x65\x72\x2e");
gotohv;
Fx:
$af = $post["\x53\x41\x4d\114\x52\x65\x73\x70\x6f\x6e\163\x65"];
hv:
if (array_key_exists("\x52\145\154\x61\x79\123\x74\141\x74\145", $post)) {
gotoED;
}
$rV = '';
gotoB_;
ED:
$rV = $post["\122\x65\x6c\x61\171\123\164\141\x74\x65"];
B_:
$af = base64_decode($af);
$ho = new DOMDocument();
$ho->loadXML($af);
$L4 = $ho->firstChild;
if (!($rV == "\163\150\157\167\x53\141\x6d\x6c\122\145\x73\160\x6f\x6e\163\x65")) {
gotoNq;
}
Utilities::Print_SAML_Request($af, "\144\151\x73\x70\x6c\x61\171\123\141\155\x6c\x52\x65\x73\x70\157\x6e\x73\x65");
Nq:
$px = $ho->documentElement;
$Be = new DOMXpath($ho);
$Be->registerNamespace("\x73\x61\155\x6c\x70", "\165\x72\156\x3a\157\141\x73\151\x73\x3a\156\x61\155\x65\163\72\164\x63\x3a\123\101\x4d\x4c\x3a\62\x2e\60\72\x70\x72\157\x74\x6f\x63\x6f\x6c");
$Be->registerNamespace("\x73\141\155\154", "\165\x72\156\72\x6f\x61\163\x69\x73\72\x6e\x61\x6d\x65\163\x3a\164\143\72\x53\101\115\x4c\72\62\56\60\x3a\x61\163\x73\145\x72\164\151\157\156");
$JI = $Be->query("\x2f\163\141\155\x6c\x70\x3a\x52\145\163\x70\x6f\156\163\145\x2f\163\141\x6d\154\x70\72\x53\x74\x61\x74\165\x73\57\x73\x61\155\x6c\160\x3a\123\164\141\x74\165\x73\x43\x6f\144\x65", $px);
$Go = $JI->item(0)->getAttribute("\x56\141\x6c\x75\145");
$Zi = '';
if (!($JI->item(0)->firstChild !== null)) {
gotol1;
}
$Zi = $JI->item(0)->firstChild->getAttribute("\126\x61\x6c\x75\x65");
l1:
$JI = explode("\x3a", $Go) [7];
if (!($JI != "\x53\x75\x63\x63\x65\163\163")) {
gotoIx;
}
if (empty($Zi)) {
gotoWU;
}
$JI = explode("\x3a", $Zi) [7];
WU:
$this->show_error_message($JI, $rV);
Ix:
foreach ($sN as $gG => $A3) {
$V4 = XMLSecurityKey::getRawThumbprint($A3);
$dA = preg_replace("\57\134\163\53\57", '', $V4);
$sN[$gG] = iconv("\x55\x54\106\x2d\x38", "\x43\120\61\x32\x35\62\57\57\x49\x47\116\117\x52\105", $dA);
qm:
}
eY:
$af = new SAML2_Response($L4);
$Kx = $af->getSignatureData();
if (empty($Kx)) {
gotor_;
}
$cR = Utilities::processResponse($rF, $sN, $Kx, $af, $rV);
if ($cR) {
gotovi;
}
echo "\x49\156\166\x61\154\151\x64\x20\x53\151\147\156\x61\x74\165\162\145\x20\151\156\40\123\x41\x4d\x4c\x20\122\x65\163\160\x6f\156\163\x65";
die;
vi:
r_:
$IF = current($af->getAssertions())->getSignatureData();
if (empty($IF)) {
gotoy5;
}
$cR = Utilities::processResponse($rF, $sN, $IF, $af, $rV);
if ($cR) {
gotouO;
}
echo "\x49\156\166\x61\x6c\151\x64\40\123\151\x67\156\141\x74\x75\x72\145\40\151\156\40\123\x41\115\114\40\101\x73\x73\x65\162\x74\151\157\156";
die;
uO:
y5:
$rF = substr($rF, 0, strpos($rF, "\77"));
Utilities::validateIssuerAndAudience($af, $Db, $GU, $base_url, $rV);
$KV = current($af->getAssertions())->getAttributes();
variable_set("\x6d\151\156\151\x6f\x72\x61\156\x67\145\x5f\x73\x61\155\154\x5f\x61\164\164\x72\163\137\x6c\x69\163\x74", $KV);
if ($t4 != "\x4e\x61\x6d\x65\x49\104") {
gotomK;
}
$O_ = current(current($af->getAssertions())->getNameId());
gotoDQ;
mK:
if (array_key_exists($t4, $KV)) {
gotoFP;
}
$O_ = current(current($af->getAssertions())->getNameId());
gotoVf;
FP:
$O_ = $KV[$t4][0];
Vf:
DQ:
$co = variable_get("\155\x69\x6e\151\157\162\141\156\x67\x65\x5f\x73\x61\155\154\137\145\x6d\141\151\154\x5f\141\164\x74\162\151\x62\165\x74\x65", "\x4e\x61\155\145\111\104");
if ($co == "\116\x61\155\145\x49\104") {
gotov8;
}
$tO = $KV[$co][0];
gotoJo;
v8:
$tO = current(current($af->getAssertions())->getNameId());
Jo:
variable_set("\155\151\x6e\151\157\162\141\156\x67\x65\x5f\163\x61\x6d\154\137\145\155\x61\x69\154\x5f\151\144\x5f\166\141\154\x75\145", $tO);
$XS = '';
if (!array_key_exists("\x52\x65\154\x61\x79\123\x74\x61\164\x65", $post)) {
gotoXW;
}
if ($post["\122\x65\x6c\x61\x79\123\164\141\x74\145"] == "\x74\x65\163\x74\x56\x61\154\151\x64\141\x74\145") {
gotoFl;
}
$XS = $post["\x52\x65\154\141\171\123\x74\x61\x74\x65"];
gotoNT;
Fl:
$this->showTestResults($O_, $KV);
NT:
XW:
$lN = current($af->getAssertions())->getSessionIndex();
$uK = current(current($af->getAssertions())->getNameId());
$bm = array();
$ef = array();
$ef["\145\x6d\141\151\154"] = isset($tO) ? $tO : '';
$ef["\165\163\x65\162\x6e\141\155\x65"] = isset($O_) ? $O_ : '';
$ef["\116\x61\155\x65\111\x44"] = isset($uK) ? $uK : '';
$ef["\x73\145\163\x73\151\157\x6e\111\x6e\x64\x65\x78"] = isset($lN) ? $lN : '';
$ef["\x63\x75\x73\164\x6f\155\x46\151\145\154\144\101\164\x74\162\x69\x62\165\x74\x65\x73"] = isset($bm) ? $bm : '';
if (empty($XS)) {
gotoTT;
}
$ef["\162\145\154\x61\171\x5f\163\x74\141\x74\145"] = $XS;
TT:
return $ef;
}
function show_error_message($KF, $kX) {
if ($kX == "\x74\145\x73\164\126\x61\x6c\151\x64\x61\x74\145") {
gototD;
}
if ($KF == "\122\x65\x71\165\145\x73\x74\104\x65\x6e\151\145\144") {
gotoAw;
}
echo "\127\145\40\143\x6f\x75\154\x64\x20\156\x6f\x74\40\163\x69\147\x6e\x20\171\x6f\165\x20\x69\x6e\x2e\40\x50\x6c\145\x61\x73\x65\x20\x63\157\x6e\x74\141\x63\164\x20\171\x6f\x75\162\40\x41\144\155\x69\156\x69\163\x74\162\x61\164\157\x72\56";
die;
gotoHD;
Aw:
echo "\x59\157\x75\x20\x61\162\145\x20\x6e\157\164\40\141\x6c\x6c\x6f\x77\x65\144\40\164\x6f\x20\x6c\157\147\x69\156\40\151\x6e\x74\157\x20\164\150\x65\x20\163\x69\x74\145\x2e\40\120\x6c\x65\x61\163\145\x20\x63\x6f\156\x74\141\143\164\x20\171\157\x75\162\40\x41\144\x6d\x69\x6e\151\x73\164\x72\141\x74\157\162\56";
die;
HD:
gotov9;
tD:
echo "\74\x64\151\166\40\x73\x74\171\154\x65\75\42\x66\x6f\156\x74\x2d\x66\x61\x6d\x69\154\171\x3a\103\141\154\151\142\x72\x69\73\160\141\144\144\x69\156\147\x3a\x30\40\x33\45\x3b\42\76";
echo "\74\144\151\x76\x20\x73\x74\x79\154\x65\x3d\x22\x63\x6f\154\157\162\72\40\x23\x61\x39\64\x34\x34\62\73\x62\x61\143\153\147\162\157\165\156\144\x2d\143\157\x6c\x6f\162\72\40\x23\146\x32\x64\145\144\145\73\160\141\144\144\x69\156\147\72\40\61\x35\160\170\x3b\x6d\x61\x72\x67\151\x6e\x2d\142\157\164\x74\x6f\155\x3a\x20\62\x30\x70\x78\x3b\x74\x65\x78\x74\x2d\141\x6c\151\147\x6e\x3a\143\x65\x6e\x74\x65\x72\x3b\142\157\x72\144\145\x72\x3a\61\160\x78\40\163\157\x6c\x69\144\x20\43\105\66\x42\x33\102\x32\73\x66\157\x6e\164\55\163\x69\172\x65\x3a\61\70\x70\x74\73\42\x3e\x20\105\x52\x52\x4f\122\74\x2f\144\x69\x76\x3e\15\xa\x9\x9\11\x3c\x64\x69\166\x20\x73\164\171\x6c\x65\75\42\x63\x6f\154\x6f\162\72\40\43\141\71\x34\64\x34\x32\73\x66\157\156\x74\x2d\163\x69\x7a\145\72\x31\x34\160\x74\x3b\40\155\x61\162\x67\x69\x6e\x2d\x62\157\164\x74\157\x6d\x3a\x32\60\160\170\x3b\42\x3e\74\x70\76\74\x73\164\x72\157\x6e\147\76\x45\x72\162\157\x72\x3a\40\x3c\57\163\x74\x72\x6f\x6e\147\x3e\x20\111\156\166\x61\x6c\151\144\x20\x53\x41\115\114\x20\x52\145\163\x70\157\x6e\163\145\x20\123\164\141\164\x75\163\x2e\x3c\x2f\160\76\xd\xa\11\11\x9\x3c\160\x3e\74\x73\x74\162\x6f\156\147\x3e\103\x61\165\163\145\x73\74\57\x73\164\x72\157\x6e\147\76\x3a\40\111\x64\x65\x6e\x74\x69\x74\x79\40\x50\x72\x6f\166\151\144\x65\162\x20\x68\x61\163\40\163\x65\x6e\164\x20\47" . $KF . "\x27\40\163\164\141\x74\x75\x73\x20\143\x6f\x64\x65\x20\x69\x6e\x20\x53\x41\115\114\40\x52\x65\x73\x70\x6f\156\x73\145\x2e\40\74\x2f\160\76\xd\12\11\11\x9\11\x9\x9\11\74\x70\x3e\x3c\163\164\162\157\x6e\147\x3e\122\145\x61\163\157\156\74\57\x73\164\162\157\x6e\147\x3e\x3a\x20" . $this->get_status_message($KF) . "\x3c\57\160\x3e\74\142\x72\x3e\xd\12\11\11\11\x3c\x2f\144\x69\166\x3e\15\12\15\xa\x9\x9\x9\x3c\x64\151\166\x20\x73\x74\171\x6c\x65\x3d\42\155\x61\162\x67\x69\x6e\x3a\x33\x25\x3b\144\x69\x73\x70\154\141\x79\72\142\154\x6f\143\x6b\x3b\x74\145\170\x74\55\141\154\151\147\156\x3a\143\145\156\x74\x65\x72\x3b\x22\76\xd\xa\11\11\x9\74\144\151\x76\40\163\164\x79\x6c\x65\75\x22\x6d\141\162\x67\x69\156\72\x33\45\73\x64\x69\x73\160\154\x61\x79\72\x62\x6c\157\x63\x6b\x3b\x74\x65\170\164\55\x61\x6c\151\x67\156\x3a\x63\145\x6e\x74\145\162\73\42\x3e\x3c\x69\x6e\160\x75\x74\x20\x73\x74\171\154\145\x3d\x22\160\x61\x64\x64\151\x6e\x67\72\x31\45\x3b\x77\151\x64\x74\150\x3a\61\60\x30\160\170\73\x62\141\x63\153\x67\162\x6f\165\x6e\x64\x3a\40\x23\60\x30\x39\x31\103\104\x20\x6e\157\x6e\145\x20\162\x65\x70\x65\x61\x74\40\x73\143\x72\x6f\x6c\x6c\40\60\x25\x20\x30\45\73\x63\165\162\163\x6f\162\x3a\x20\160\157\151\x6e\x74\x65\x72\x3b\x66\x6f\x6e\x74\55\163\x69\x7a\x65\72\x31\65\x70\x78\73\142\157\x72\x64\x65\162\55\167\x69\x64\164\x68\72\x20\x31\160\170\x3b\142\x6f\162\x64\x65\x72\55\163\164\171\x6c\145\72\x20\163\157\x6c\x69\x64\73\142\157\x72\144\145\x72\55\x72\141\x64\x69\x75\163\72\40\x33\x70\170\73\167\150\x69\x74\x65\x2d\x73\x70\x61\143\x65\72\x20\156\x6f\x77\x72\x61\160\73\x62\157\170\x2d\x73\x69\x7a\151\x6e\147\x3a\x20\142\157\x72\x64\145\x72\x2d\x62\157\x78\73\142\x6f\162\144\145\162\55\143\x6f\x6c\157\x72\x3a\40\43\60\60\67\63\101\x41\73\142\x6f\170\x2d\163\x68\x61\144\157\x77\72\40\x30\x70\170\40\x31\160\170\x20\x30\x70\170\x20\x72\x67\x62\x61\x28\x31\x32\x30\54\40\62\x30\60\54\x20\x32\63\x30\54\40\x30\56\66\51\40\x69\x6e\x73\x65\x74\x3b\143\157\x6c\x6f\162\x3a\x20\43\x46\x46\x46\73\x22\164\x79\x70\145\75\x22\x62\x75\x74\x74\157\x6e\42\40\x76\141\154\x75\145\75\42\104\x6f\156\x65\42\40\157\156\x43\154\x69\143\153\75\42\163\145\x6c\146\56\x63\154\157\163\x65\50\51\x3b\x22\76\74\x2f\x64\x69\166\x3e";
die;
v9:
}
function get_status_message($KF) {
switch ($KF) {
case "\122\145\x71\x75\145\163\164\104\145\156\151\145\x64":
return "\x59\x6f\165\x20\x61\162\x65\40\x6e\157\164\40\x61\154\154\157\x77\145\x64\40\x74\157\x20\x6c\x6f\x67\151\x6e\40\151\156\x74\157\40\164\150\145\x20\x73\151\164\145\x2e\x20\120\154\x65\141\x73\x65\40\143\x6f\x6e\x74\x61\143\x74\x20\x79\x6f\x75\x72\x20\101\144\x6d\x69\156\151\x73\164\162\x61\x74\157\162\x2e";
gotoVC;
case "\x52\x65\x71\x75\145\163\x74\x65\162":
return "\124\150\145\40\x72\x65\x71\x75\x65\x73\x74\x20\x63\x6f\165\154\x64\x20\156\157\164\40\142\145\40\x70\145\162\x66\157\162\x6d\145\144\x20\144\165\x65\x20\x74\x6f\x20\x61\156\40\145\x72\162\157\162\x20\157\x6e\x20\x74\x68\x65\40\160\141\162\164\x20\x6f\x66\40\x74\x68\x65\x20\162\x65\x71\165\x65\x73\164\145\x72\x2e";
gotoVC;
case "\122\x65\163\160\157\156\144\x65\x72":
return "\x54\x68\x65\x20\x72\x65\161\x75\145\x73\x74\x20\x63\x6f\x75\x6c\144\40\156\x6f\164\40\142\x65\x20\160\x65\x72\146\157\x72\155\145\144\x20\x64\165\x65\40\x74\x6f\40\x61\156\40\x65\162\162\157\x72\x20\157\x6e\40\164\x68\x65\x20\x70\x61\162\164\x20\x6f\x66\40\164\150\145\x20\x53\x41\x4d\x4c\x20\x72\145\163\x70\x6f\x6e\144\145\162\x20\157\162\x20\x53\101\x4d\x4c\40\141\165\x74\x68\157\x72\151\x74\x79\x2e";
gotoVC;
case "\126\x65\162\x73\x69\x6f\156\x4d\151\163\x6d\x61\x74\143\x68":
return "\x54\150\x65\x20\123\x41\x4d\x4c\x20\x72\145\163\160\157\x6e\144\x65\162\40\x63\x6f\165\154\x64\x20\156\157\x74\x20\x70\162\x6f\143\x65\x73\163\40\164\150\145\40\x72\x65\x71\x75\x65\163\164\x20\142\x65\143\x61\165\163\145\40\x74\150\145\x20\166\x65\x72\x73\x69\x6f\156\40\x6f\146\40\x74\x68\145\x20\162\x65\161\165\145\163\x74\40\155\x65\163\163\x61\x67\x65\40\x77\141\x73\40\151\x6e\x63\157\162\x72\x65\x63\x74\56";
gotoVC;
default:
return "\x55\156\153\x6e\x6f\x77\156";
}
ER:
VC:
}
public function showTestResults($O_, $KV) {
global $base_url;
$Xg = drupal_get_path("\155\x6f\144\165\x6c\x65", "\x6d\151\156\x69\157\x72\x61\x6e\147\x65\137\163\x61\155\154");
echo "\74\x64\x69\x76\x20\x73\164\171\x6c\145\x3d\x22\146\x6f\156\164\55\146\x61\155\151\x6c\x79\x3a\x43\141\x6c\x69\142\162\151\x3b\160\x61\144\x64\151\156\147\72\x30\40\63\45\x3b\42\76";
if (!empty($O_)) {
gotoy8;
}
echo "\74\x64\x69\166\40\x73\x74\171\154\145\x3d\x22\x63\157\x6c\157\x72\x3a\40\x23\x61\71\x34\64\x34\62\73\142\141\x63\x6b\x67\162\x6f\165\156\144\55\143\x6f\154\x6f\162\x3a\40\43\146\62\x64\x65\144\145\73\160\141\144\144\x69\156\147\x3a\x20\x31\65\x70\x78\73\x6d\141\x72\x67\151\x6e\x2d\x62\x6f\x74\x74\x6f\x6d\x3a\x20\62\x30\x70\170\x3b\x74\x65\x78\x74\x2d\x61\x6c\x69\147\156\72\x63\x65\x6e\x74\x65\162\73\142\157\x72\144\x65\x72\72\x31\x70\x78\40\x73\x6f\x6c\151\x64\x20\x23\105\x36\x42\x33\x42\62\x3b\x66\157\156\x74\55\x73\x69\x7a\145\72\61\x38\x70\164\x3b\x22\x3e\x54\105\123\x54\x20\x46\x41\x49\114\x45\x44\x3c\57\x64\151\x76\76\15\xa\40\x20\x20\x20\40\x20\40\40\x20\x20\74\x64\x69\166\x20\x73\164\x79\154\145\75\x22\x63\157\154\x6f\x72\72\x20\43\x61\x39\64\x34\64\x32\x3b\x66\157\156\x74\x2d\163\x69\172\145\72\x31\64\x70\x74\x3b\x20\x6d\141\x72\x67\x69\156\55\x62\x6f\164\x74\157\x6d\x3a\x32\60\x70\170\73\42\x3e\x57\x41\x52\x4e\111\116\x47\x3a\x20\123\157\x6d\x65\40\x41\164\164\162\x69\x62\x75\164\145\163\40\x44\x69\144\40\116\157\164\40\115\141\x74\143\x68\x2e\74\x2f\144\x69\x76\76\15\xa\40\x20\40\x20\x20\x20\40\40\40\40\x3c\x64\x69\166\x20\x73\x74\171\154\145\x3d\42\x64\x69\163\x70\x6c\141\171\x3a\142\154\x6f\x63\x6b\x3b\x74\145\170\164\x2d\x61\154\x69\x67\x6e\x3a\x63\145\156\x74\x65\162\73\x6d\141\162\x67\x69\156\x2d\142\x6f\164\164\157\x6d\72\x34\x25\x3b\42\76\x3c\x69\x6d\x67\x20\163\164\x79\154\145\75\42\x77\x69\144\164\150\x3a\61\65\x25\73\x22\x73\162\143\75\42" . $Xg . "\x69\x6e\x63\154\x75\144\x65\x73\57\x69\x6d\141\147\x65\x73\57\x77\162\157\156\147\x2e\160\x6e\x67\x22\x3e\74\57\x64\x69\166\76";
gotoho;
y8:
echo "\x3c\144\x69\x76\40\163\164\171\x6c\x65\75\x22\143\x6f\x6c\x6f\x72\x3a\40\43\63\143\x37\x36\x33\144\73\xd\xa\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x62\x61\143\x6b\x67\162\157\165\156\144\x2d\x63\x6f\x6c\x6f\162\72\x20\43\x64\x66\x66\60\x64\70\x3b\40\x70\141\144\144\151\x6e\x67\x3a\x32\45\x3b\155\x61\162\x67\x69\156\55\x62\157\x74\164\x6f\155\72\x32\x30\x70\x78\x3b\164\x65\x78\x74\55\141\x6c\151\147\156\72\143\x65\x6e\164\145\x72\x3b\x20\142\157\x72\144\x65\162\72\61\160\x78\40\163\x6f\154\151\x64\x20\43\101\105\104\x42\x39\101\73\x20\x66\157\x6e\x74\55\x73\151\x7a\x65\72\61\70\160\x74\x3b\x22\76\x54\x45\123\124\40\123\125\x43\103\105\x53\x53\x46\x55\x4c\74\x2f\x64\x69\166\76\xd\12\40\x20\40\40\40\x20\x20\40\40\40\x3c\144\151\x76\x20\x73\164\x79\154\145\x3d\x22\x64\x69\x73\x70\154\141\171\x3a\x62\x6c\157\x63\153\x3b\164\x65\170\164\55\141\154\151\x67\156\72\x63\x65\x6e\164\145\x72\x3b\155\141\x72\147\x69\x6e\55\142\157\x74\x74\157\155\72\64\45\x3b\x22\76\x3c\151\x6d\x67\x20\x73\164\171\154\145\x3d\42\167\x69\144\x74\x68\x3a\61\x35\x25\73\42\163\x72\143\x3d\x22" . $Xg . "\57\151\156\x63\154\x75\x64\x65\x73\x2f\x69\155\141\147\145\163\x2f\x67\x72\145\145\156\137\x63\150\x65\143\153\56\160\156\147\x22\76\x3c\57\x64\151\x76\76";
ho:
echo "\x3c\163\x70\x61\156\40\x73\x74\x79\154\x65\75\42\146\x6f\156\164\x2d\163\x69\x7a\145\72\61\64\160\164\73\x22\x3e\74\x62\x3e\x48\145\x6c\154\x6f\x3c\x2f\x62\76\x2c\40" . $O_ . "\x3c\x2f\163\160\x61\156\76\74\x62\x72\57\76\x3c\x70\40\x73\x74\x79\154\x65\75\x22\146\157\x6e\164\55\x77\x65\x69\147\x68\x74\72\x62\157\154\144\73\146\157\156\164\55\163\151\x7a\x65\x3a\61\x34\160\164\73\155\141\162\147\151\156\55\x6c\x65\146\164\72\61\x25\x3b\x22\76\x41\x54\x54\122\x49\x42\125\124\x45\123\40\122\105\103\x45\111\x56\105\104\72\74\x2f\160\76\xd\12\40\40\x20\x20\x20\x20\40\40\74\164\x61\142\154\x65\40\163\x74\171\154\x65\75\x22\142\x6f\162\x64\145\162\x2d\143\x6f\x6c\154\x61\x70\x73\x65\x3a\143\157\x6c\x6c\141\x70\163\x65\x3b\142\x6f\162\144\145\162\55\x73\x70\x61\x63\151\156\147\x3a\x30\x3b\40\x64\151\x73\160\x6c\x61\x79\72\164\x61\x62\x6c\x65\x3b\167\x69\x64\x74\150\x3a\x31\x30\60\45\x3b\x20\146\x6f\156\164\55\x73\x69\172\145\72\61\64\x70\164\x3b\142\141\143\x6b\147\162\x6f\165\x6e\144\55\x63\x6f\x6c\157\162\72\x23\x45\x44\x45\104\105\x44\73\x22\x3e\15\12\40\40\x20\x20\40\x20\40\x20\x3c\164\162\40\163\x74\171\x6c\145\75\42\x74\x65\170\x74\55\141\x6c\x69\x67\x6e\x3a\143\145\156\x74\145\162\73\x22\x3e\74\x74\x64\40\x73\164\x79\154\x65\75\42\146\x6f\x6e\164\55\167\145\x69\147\150\x74\72\142\x6f\x6c\x64\73\142\157\x72\x64\145\162\x3a\62\160\170\40\x73\x6f\x6c\151\x64\40\43\71\64\71\60\x39\60\73\160\x61\x64\144\151\156\147\x3a\x32\x25\x3b\x22\76\x41\x54\x54\122\111\102\125\x54\105\40\x4e\101\x4d\105\74\57\164\x64\76\x3c\164\144\x20\x73\164\171\154\x65\75\42\146\157\156\x74\x2d\167\x65\x69\147\x68\x74\72\142\157\x6c\x64\x3b\160\x61\144\144\151\156\147\x3a\x32\x25\x3b\142\157\x72\144\145\162\x3a\x32\x70\170\x20\163\157\154\x69\144\40\x23\71\x34\71\60\71\60\73\x20\167\x6f\x72\144\55\x77\x72\x61\160\x3a\x62\162\145\141\x6b\55\x77\157\162\x64\73\x22\76\x41\124\x54\x52\x49\102\x55\x54\105\x20\x56\101\x4c\125\105\74\x2f\164\144\x3e\x3c\x2f\x74\x72\x3e";
if (!empty($KV)) {
gotoSA;
}
echo "\74\x74\162\x3e\74\x74\144\x20\x73\164\x79\154\145\x3d\47\x66\x6f\x6e\x74\x2d\167\145\x69\147\150\x74\72\142\157\x6c\x64\x3b\142\157\162\x64\x65\162\72\x32\x70\170\x20\x73\x6f\x6c\x69\144\x20\43\x39\64\71\60\71\60\x3b\160\x61\144\144\151\156\x67\x3a\62\x25\73\47\x3e\x4e\x61\155\x65\111\x44\74\57\164\144\76\x3c\x74\144\x20\163\x74\x79\x6c\x65\x3d\x27\160\141\x64\x64\151\x6e\147\x3a\x32\x25\73\142\x6f\x72\x64\x65\162\72\x32\x70\x78\x20\163\157\154\151\x64\x20\43\71\64\71\60\71\60\x3b\x20\x77\157\x72\x64\55\x77\x72\x61\x70\72\x62\x72\x65\x61\x6b\x2d\x77\157\x72\x64\73\x27\x3e" . $O_ . "\74\x2f\x74\x64\x3e\x3c\x2f\x74\x72\x3e";
gotoP6;
SA:
echo "\74\x74\162\76\x3c\x74\x64\x20\163\x74\x79\x6c\x65\x3d\47\x66\157\x6e\x74\55\167\x65\x69\x67\x68\x74\72\142\x6f\x6c\144\73\x62\x6f\x72\x64\145\162\72\62\x70\170\40\163\x6f\x6c\x69\144\40\x23\x39\x34\71\x30\x39\x30\x3b\x70\x61\144\144\x69\156\x67\72\62\45\x3b\x27\76\116\141\x6d\x65\111\104\74\57\x74\x64\x3e\74\x74\x64\x20\x73\x74\x79\154\x65\75\x27\x70\x61\144\x64\151\156\x67\x3a\62\x25\x3b\x62\157\162\144\x65\x72\72\62\x70\x78\x20\163\157\154\151\x64\40\x23\x39\x34\x39\60\71\60\73\x20\167\157\162\144\x2d\167\162\141\x70\x3a\x62\x72\x65\141\153\55\167\x6f\x72\144\73\47\76" . $O_ . "\x3c\x2f\164\144\x3e\74\x2f\164\x72\76";
foreach ($KV as $gG => $A3) {
echo "\74\x74\x72\x3e\74\x74\x64\40\163\164\171\x6c\145\75\47\x66\x6f\156\164\55\167\x65\x69\x67\150\x74\x3a\142\x6f\154\144\x3b\x62\157\162\144\x65\162\x3a\x32\160\x78\x20\x73\157\154\x69\144\x20\x23\71\x34\x39\60\x39\60\x3b\x70\x61\x64\x64\151\x6e\147\72\62\x25\x3b\47\76" . $gG . "\x3c\57\164\144\x3e\74\164\144\40\x73\164\x79\x6c\x65\75\47\x70\141\144\144\151\x6e\x67\x3a\62\x25\x3b\142\x6f\162\x64\x65\x72\x3a\62\160\x78\x20\163\x6f\154\x69\x64\x20\x23\x39\x34\x39\x30\x39\60\73\40\167\157\x72\144\x2d\x77\162\141\x70\x3a\x62\162\145\x61\x6b\55\167\157\162\x64\x3b\47\x3e" . implode("\74\x62\x72\57\x3e", $A3) . "\74\57\164\x64\76\x3c\57\x74\x72\76";
Pu:
}
Pd:
P6:
echo "\x3c\x2f\x74\x61\142\154\x65\76\x3c\57\x64\151\x76\x3e";
echo "\x3c\x64\x69\x76\40\163\x74\171\154\145\75\x22\155\141\x72\147\x69\x6e\x3a\x33\45\73\x64\151\x73\160\x6c\x61\x79\72\142\x6c\157\x63\153\x3b\x74\x65\x78\x74\x2d\x61\154\x69\x67\x6e\72\x63\145\x6e\164\145\162\x3b\42\x3e\xd\12\x20\x20\40\x20\x20\40\40\40\x20\40\40\x20\74\x69\156\x70\165\x74\40\163\164\x79\x6c\145\x3d\x22\x70\141\x64\144\151\x6e\x67\72\61\x25\x3b\167\151\x64\164\x68\x3a\63\67\x25\x3b\142\x61\143\x6b\x67\x72\x6f\x75\156\x64\x3a\40\43\x30\x30\71\x31\x43\104\x20\156\x6f\156\145\40\x72\145\x70\x65\x61\x74\x20\163\143\162\157\x6c\x6c\40\x30\x25\x20\60\x25\73\143\x75\162\163\157\162\x3a\40\160\x6f\x69\156\x74\145\x72\x3b\x66\157\156\164\55\163\x69\172\145\72\x31\65\160\x78\x3b\15\12\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\x62\157\162\x64\x65\162\55\x77\151\x64\164\150\x3a\x20\x31\160\x78\73\142\157\x72\x64\x65\x72\55\163\x74\x79\154\x65\72\x20\x73\x6f\x6c\151\144\x3b\x62\157\x72\144\145\162\55\x72\141\x64\x69\x75\x73\x3a\x20\63\160\x78\x3b\167\x68\151\x74\145\x2d\163\x70\x61\143\x65\x3a\x20\x6e\157\167\x72\141\x70\73\x62\x6f\x78\55\163\x69\x7a\151\156\147\x3a\x20\x62\x6f\162\x64\x65\162\x2d\x62\157\170\73\142\x6f\x72\x64\145\162\55\143\x6f\154\x6f\x72\72\x20\x23\60\60\x37\63\x41\101\73\xd\xa\40\x20\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\x20\40\x62\x6f\x78\x2d\x73\150\141\x64\x6f\167\x3a\x20\60\x70\x78\40\x31\x70\x78\x20\x30\x70\170\x20\162\147\x62\x61\50\61\x32\60\x2c\x20\x32\60\60\x2c\x20\x32\63\x30\54\x20\x30\x2e\66\51\40\x69\156\x73\145\164\x3b\x63\157\154\157\x72\x3a\40\43\x46\x46\106\x3b\42\164\171\x70\x65\x3d\x22\x62\165\x74\x74\157\156\x22\40\166\141\154\x75\145\75\42\x43\x6f\156\x66\151\147\165\x72\x65\40\101\x74\x74\x72\x69\x62\x75\x74\x65\x2f\122\x6f\x6c\x65\x20\115\x61\160\x70\151\156\x67\42\x20\15\xa\40\40\40\x20\40\x20\40\40\40\40\40\40\40\40\40\x20\x6f\x6e\103\x6c\151\x63\x6b\x3d\x22\x63\154\x6f\163\145\137\x61\156\x64\137\162\x65\144\x69\x72\x65\143\164\50\51\x3b\x22\76\xd\xa\40\40\40\40\40\40\x20\40\40\x20\40\x20\40\40\40\40\15\12\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\74\x69\156\x70\x75\x74\x20\x73\164\x79\154\145\x3d\42\160\141\144\144\151\156\147\72\x31\45\73\167\x69\x64\164\x68\72\61\x30\x30\160\170\73\142\141\x63\153\147\162\x6f\165\x6e\x64\x3a\x20\x23\60\x30\x39\x31\103\x44\40\x6e\x6f\x6e\x65\x20\x72\x65\x70\x65\141\x74\40\x73\x63\x72\157\x6c\x6c\x20\60\45\40\x30\45\x3b\x63\x75\x72\163\157\x72\x3a\40\x70\x6f\151\x6e\x74\145\x72\x3b\146\x6f\x6e\164\55\163\151\x7a\x65\x3a\x31\65\160\x78\73\15\12\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\142\x6f\162\144\x65\x72\x2d\167\151\x64\164\x68\72\40\61\160\x78\x3b\x62\157\x72\x64\145\x72\55\163\x74\171\x6c\x65\72\40\163\157\x6c\151\144\x3b\x62\x6f\x72\144\145\x72\x2d\x72\141\x64\151\x75\163\x3a\40\63\160\170\73\x77\x68\151\x74\145\55\x73\160\141\143\145\x3a\40\x6e\x6f\x77\x72\141\160\x3b\x62\x6f\170\x2d\x73\151\172\151\156\147\x3a\40\142\157\162\144\x65\x72\x2d\142\157\170\x3b\x62\157\x72\x64\145\x72\55\143\x6f\x6c\157\x72\72\40\x23\x30\x30\67\x33\101\101\73\xd\12\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\142\x6f\x78\55\x73\150\141\x64\157\167\x3a\x20\x30\x70\170\40\x31\160\x78\40\x30\x70\x78\40\x72\147\x62\141\x28\x31\62\x30\54\x20\x32\x30\x30\54\40\x32\x33\x30\x2c\x20\x30\x2e\x36\x29\x20\151\156\x73\x65\164\73\x63\x6f\x6c\x6f\x72\x3a\40\43\x46\106\106\73\42\164\171\x70\x65\75\42\142\165\x74\x74\x6f\x6e\42\40\x76\x61\x6c\165\x65\75\x22\x44\x6f\x6e\x65\42\x20\x6f\156\103\154\x69\143\x6b\75\42\163\x65\x6c\146\x2e\143\x6c\x6f\163\x65\50\51\73\42\x3e\15\12\40\40\40\40\40\40\40\x20\x20\x20\40\40\xd\xa\x20\x20\x20\40\x20\40\x20\40\40\x20\74\x2f\x64\151\166\76\xd\12\40\40\x20\x20\40\x20\40\40\x20\40\x3c\x73\143\162\x69\x70\164\76\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\xd\12\x20\x20\40\40\40\x20\40\x20\40\40\40\40\40\40\x66\x75\156\x63\164\x69\157\x6e\x20\143\x6c\157\163\x65\137\141\156\144\x5f\x72\145\x64\151\162\x65\143\x74\50\x29\x7b\15\xa\x20\40\x20\40\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x77\x69\x6e\144\157\x77\56\x6f\160\145\x6e\x65\162\56\x72\x65\144\151\x72\145\x63\164\137\x74\x6f\x5f\141\164\x74\x72\151\x62\x75\164\x65\x5f\x6d\x61\x70\x70\151\156\x67\50\x29\x3b\xd\12\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\x73\x65\x6c\146\x2e\x63\154\157\x73\x65\50\x29\73\15\xa\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\x7d\40\x20\15\xa\x20\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\x20\xd\xa\x20\40\x20\40\x20\40\40\40\40\x20\74\x2f\x73\x63\162\151\x70\164\x3e";
die;
}
}
Function Calls
None |
Stats
MD5 | c075d7102e09da4fbc253fb7603b627b |
Eval Count | 0 |
Decode Time | 90 ms |