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 namespace Drupal\miniorange_oauth_client\Controller; use Drupal\user\Entity\..
Decoded Output download
<?php
namespace Drupal\miniorange_oauth_client\Controller;
use Drupal\user\Entity\User;
use Drupal\Component\Utility\Html;
use Drupal\Core\Controller\ControllerBase;
use Drupal\miniorange_oauth_client\Utilities;
use Symfony\Component\HttpFoundation\Response;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\Component\Utility\Unicode;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Drupal\miniorange_oauth_client\Crypt_RSA;
use Drupal\miniorange_oauth_client\Math_BigInteger;
use Drupal\Core\Session\SessionManager;
class miniorange_oauth_clientController extends ControllerBase
{
public static function miniorange_oauth_client_mo_login()
{
global $base_url;
$pE = isset($_GET["code"]) ? $_GET["code"] : '';
$pE = Html::escape($pE);
$rd = isset($_GET["state"]) ? $_GET["state"] : '';
$rd = Html::escape($rd);
if (!(isset($pE) && isset($rd))) {
goto yV;
}
if (!(session_id() == '' || !isset($_SESSION))) {
goto XN;
}
session_start();
XN:
if (!isset($pE)) {
goto VN;
}
$pg = '';
if (isset($_SESSION["appname"]) && !empty($_SESSION["appname"])) {
goto Xe;
}
if (!(isset($rd) && !empty($rd))) {
goto Wd;
}
$pg = base64_decode($rd);
Wd:
goto JF;
Xe:
$pg = $_SESSION["appname"];
JF:
if (!empty($pg)) {
goto E2;
}
exit("No request found for this application.");
E2:
goto KF;
VN:
if (isset($_GET["error_description"])) {
goto bz;
}
if (!isset($_GET["error"])) {
goto uK;
}
exit($_GET["error"]);
uK:
goto zQ;
bz:
exit($_GET["error_description"]);
zQ:
exit("Invalid response");
KF:
yV:
$fL = '';
$yO = array();
$yO = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_appval");
$fL = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_app");
$Kl = '';
$K2 = '';
$BC = '';
$y7 = '';
if (!isset($yO["miniorange_oauth_client_email_attr"])) {
goto B3;
}
$K2 = $yO["miniorange_oauth_client_email_attr"];
B3:
if (!isset($yO["miniorange_oauth_client_name_attr"])) {
goto U3;
}
$Kl = $yO["miniorange_oauth_client_name_attr"];
U3:
$l3 = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_send_with_header_oauth");
$MQ = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_send_with_body_oauth");
if (!(!$l3 == TRUE || !$l3 == 1)) {
goto tg;
}
$l3 = false;
tg:
if (!(!$MQ == TRUE || !$MQ == 1)) {
goto C6;
}
$MQ = false;
C6:
if ($fL == "Custom_Open_id" || $fL == "Azure AD B2C" || $fL == "AWS Cognito" || $fL == "miniOrange" || $fL == "Onelogin" || $fL == "Okta_openid") {
goto ts;
}
$ld = self::getAccessToken($yO["access_token_ep"], "authorization_code", $yO["client_id"], $yO["client_secret"], $pE, $yO["callback_uri"], $l3, $MQ);
if ($ld) {
goto Hs;
}
print_r("Invalid token received.");
exit;
Hs:
$JP = $yO["user_info_ep"];
if (!(substr($JP, -1) == "=")) {
goto JD;
}
$JP .= $ld;
JD:
$ni = self::getResourceOwner($JP, $ld);
goto Sd;
ts:
$Fm = self::getIdToken($yO["access_token_ep"], "authorization_code", $yO["client_id"], $yO["client_secret"], $_GET["code"], $yO["callback_uri"], $l3, $MQ);
$YJ = isset($yO["jkws_uri"]) ? $yO["jkws_uri"] : '';
\Drupal::logger("access_token")->notice("<pre><code>" . print_r($Fm, TRUE) . "</code></pre>");
$K5 = empty($YJ) ? '' : file_get_contents($YJ);
$KH = json_decode($K5);
$d3 = $Fm["id_token"];
if (!isset($Fm["access_token"])) {
goto wc;
}
setrawcookie("Drupal.visitor." . "access_token", $Fm["access_token"], \Drupal::time()->getRequestTime() + 3600, "/");
wc:
if (!isset($Fm["refresh_token"])) {
goto ct;
}
setrawcookie("Drupal.visitor." . "refresh_token", $Fm["refresh_token"], \Drupal::time()->getRequestTime() + 3600, "/");
ct:
if (!isset($Fm["id_token"])) {
goto nk;
}
setrawcookie("Drupal.visitor." . "id_token", $Fm["id_token"], \Drupal::time()->getRequestTime() + 3600, "/");
nk:
if (!($yO["jkws_uri"] != '')) {
goto HP;
}
$xL = '';
$cu = '';
$RD = explode(".", $d3);
$TB = $RD[0] . "." . $RD[1];
$W4 = str_replace(["-", "_"], ["+", "/"], $RD[2]);
$W4 = base64_decode($W4);
$Tg = json_decode(base64_decode(str_replace(["-", "_"], ["+", "/"], $RD[0])), true);
$x6 = $Tg["alg"];
$bd = $Tg["kid"];
if ($KH->keys) {
goto SS;
}
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 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>Invalid JWKS URI format.</p>\xa <p>Please Verify the format of the JWKS URI.</p>\xa <p><strong>Possible Cause: </strong>Format of the JWKT URI Value is incorrect.</p>\xa </div>\xa <div style="margin:3%;display:block;text-align:center;"></div>
<div style="margin:3%;display:block;text-align:center;">
<form method="POST" action ="" . $base_url . "">
<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="submit" value="Done" ">\xa </form>
</div>";
exit;
goto N3;
SS:
$iX = false;
$m1 = $KH->keys;
foreach ($m1 as $TK => $VY) {
$JD = "false";
if ($VY->kid == $bd) {
goto l1;
}
$JD = "false";
goto I6;
l1:
$JD = "true";
$Ev = $VY->n;
$Ev = str_replace(["-", "_"], ["+", "/"], $Ev);
$Ev = base64_decode($Ev);
$kV = $VY->e;
$kV = base64_decode($kV);
$yN = new Crypt_RSA();
$yN->loadKey(["n" => new Math_BigInteger($Ev, 256), "e" => new Math_BigInteger($kV, 256)]);
$yN->setHash("sha256");
$yN->setSignatureMode(CRYPT_RSA_SIGNATURE_PKCS1);
if (!$yN->verify($TB, $W4)) {
goto hx;
}
$iX = true;
hx:
goto ap;
I6:
T4:
}
ap:
if (!($JD == "false")) {
goto hM;
}
echo "Incorrect keys! Verify if you are entering correct JWKS URI!!!";
exit;
hM:
N3:
HP:
if ($d3) {
goto OP;
}
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 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>Invalid token received.</p>
<p>Please try to login again.</p>\xa <p><strong>Possible Cause: </strong>Value of token received is either null or wrong.</p>
</div>
<div style="margin:3%;display:block;text-align:center;"></div>\xa <div style="margin:3%;display:block;text-align:center;">\xa <form method="POST" action ="" . $base_url . "">\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;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done" ">\xa </form>\xa </div>";
exit;
OP:
if (!($YJ != '' && $iX == "true" || $YJ == '')) {
goto Nt;
}
$ni = self::getResourceOwnerFromIdToken($d3);
Nt:
Sd:
if (!(isset($_COOKIE["Drupal_visitor_mo_oauth_test"]) && $_COOKIE["Drupal_visitor_mo_oauth_test"] == true)) {
goto cN;
}
$XP = drupal_get_path("module", "miniorange_oauth_client");
user_cookie_save(array("mo_oauth_test" => false));
$B0 = isset($ni["email"]) ? $ni["email"] : "User";
echo "<div style="font-family:Calibri;padding:0 3%;">";
echo "<div style="color: #3c763d;background-color: #dff0d8; padding:2%;margin-bottom:20px;text-align:center; border:1px solid #AEDB9A;\xa font-size:15pt;">
TEST SUCCESSFUL\xa </div>\xa <div style="display:block;text-align:center;margin-bottom:4%;">
<img style="width:15%;"src="" . $XP . "/assets/img/green_check.png">
</div>";
echo "<span style="font-size:13pt;"><b>Hello</b>, " . $B0 . "</span><br/>
<p style="font-weight:bold;font-size:13pt;margin-left:1%;">ATTRIBUTES RECEIVED:</p>\xa <table style="border-collapse:collapse;border-spacing:0; display:table;width:100%; font-size:13pt;background-color:#EDEDED;">
<tr style="text-align:center;">\xa <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>\xa </tr>";
self::testattrmappingconfig('', $ni);
echo "</table></div>";
echo "<div style="margin:3%;display:block;text-align:center;">
<input style="padding:1%;width:37%;background: #0091CD none repeat scroll 0% 0%;cursor: pointer;font-size:15px;\xa 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="Configure Attribute/Role Mapping"
onClick="close_and_redirect();">\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;
box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="button" value="Done" onClick="self.close();">\xa </div>
<script>
function close_and_redirect(){
window.opener.location.href = "admin/config/people/miniorange_oauth_client/mapping";
self.close();
}
</script>";
exit;
return new Response();
cN:
if (empty($K2)) {
goto vR;
}
$y7 = self::getnestedattribute($ni, $K2);
vR:
if (empty($Kl)) {
goto H1;
}
if (strpos($Kl, ";") !== false) {
goto MR;
}
$BC = self::getnestedattribute($ni, $Kl);
goto Eu;
MR:
$ZV = explode(";", $Kl);
$mV = '';
foreach ($ZV as $cW) {
$mV .= self::getnestedattribute($ni, $cW) . " ";
Ef:
}
FP:
$BC = trim($mV);
Eu:
H1:
global $base_url;
if (!empty(\Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_base_url"))) {
goto z0;
}
$nQ = $base_url;
goto Oz;
z0:
$nQ = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_base_url");
Oz:
if (!empty($y7)) {
goto ka;
}
Utilities::save_SSO_report_data("FAILURE. Email not mapped", $BC ? $BC : "-", "-");
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 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>Email address does not received.</p>\xa <p>Check your <b>Attribute Mapping</b> configuration.</p>\xa <p><strong>Possible Cause: </strong>Email Attribute field is not configured.</p>\xa </div>
<div style="margin:3%;display:block;text-align:center;"></div>\xa <div style="margin:3%;display:block;text-align:center;">\xa <form action="" . $nQ . "" method ="post">\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;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done">
</form>
</div>";
exit;
return new Response();
ka:
$Ow = Utilities::Is_Restricted_Domain($y7);
if (!$Ow) {
goto Fe;
}
Utilities::save_SSO_report_data("FAILURE. Domain Restricted", $BC ? $BC : "-", $y7);
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>
<div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>Domain restriction is enabled.</p>\xa <p>Please contact your administrator.</p>\xa <p><strong>Possible Cause: </strong>Your domain is not allowed to login.</p>
</div>
<div style="margin:3%;display:block;text-align:center;"></div>
<div style="margin:3%;display:block;text-align:center;">\xa <form action="" . $nQ . "" method ="post">\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;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done">\xa </form></div>";
exit;
return new Response();
Fe:
$pc = user_load_by_mail($y7);
$wk = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_enable_role_mapping");
$pz = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_auto_create_users");
$UR = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_default_role");
if (!empty($BC)) {
goto Dg;
}
$BC = $y7;
Dg:
$f_ = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_require_profile_field");
if (isset($pc->uid)) {
goto cR;
}
if ($pz) {
goto sS;
}
Utilities::save_SSO_report_data("FAILURE. Registration Disabled", $BC, $y7);
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 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>Account does not exist with your username.</p>\xa <p>Please Contact your administrator</p>
<p><strong>Possible Cause: </strong>Auto creation of user is not allowed if user does not exist.</p>\xa </div>\xa <div style="margin:3%;display:block;text-align:center;"></div>\xa <div style="margin:3%;display:block;text-align:center;">
<form method="POST" action ="" . $base_url . "">\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;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done" ">\xa </form>
</div>";
exit;
return new Response();
goto le;
sS:
$BC = self::check_if_username_exist($BC);
$Dy = user_password(8);
$Cx = array("name" => $BC, "mail" => $y7, "pass" => $Dy, "status" => 1);
$pc = User::create($Cx);
$pc->save();
if (!($UR != "authenticated" && $wk)) {
goto mW;
}
$pc->addRole($UR);
$pc->save();
mW:
if (!($f_ == 1)) {
goto mJ;
}
Utilities::insert_user_in_profile_attributes_table($y7);
mJ:
le:
cR:
$pc = User::load($pc->id());
$fp = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_custom_attrs_map_arr");
$zO = array();
if (!(isset($fp) && !empty($fp))) {
goto Gq;
}
foreach ($fp as $H4 => $Do) {
$zO[$Do] = self::getnestedattribute($ni, $H4);
vw:
}
Uu:
foreach ($zO as $TK => $VY) {
$pc->{$TK} = $VY;
$pc->save();
rc:
}
DL:
Gq:
$NP = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_role_attr_name");
if (!(isset($NP) && !empty($NP))) {
goto Et;
}
$Xi = self::getnestedattribute($ni, $NP, "role_map");
if (is_null($pc)) {
goto Kr;
}
self::perform_role_mapping($ni, $pc, $Xi);
Kr:
Et:
$Bb = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_default_relaystate");
$cy = \Drupal::config("miniorange_oauth_client.settings")->get("current_link");
if ($Bb != '') {
goto Aj;
}
if ($cy != '') {
goto sb;
}
$nQ = \Drupal::config("miniorange_oauth_client.settings")->get("navigation_url");
goto ZW;
sb:
$nQ = $cy;
ZW:
goto Ky;
Aj:
$nQ = $Bb;
Ky:
Utilities::save_SSO_report_data("SUCCESS", $BC, $y7);
$c5 = array();
$c5["redirect"] = $nQ;
setcookie("final_redirect_url", $c5["redirect"]);
user_login_finalize($pc);
if (!($f_ == 1 && !Utilities::check_for_redirect_to_user_profile_form($y7))) {
goto pb;
}
Utilities::redirect_to_profile_form($pc->id());
pb:
echo "<script>
var cookieArr = document.cookie.split(";");\xa console.log(cookieArr);\xa for(var i = 0; i < cookieArr.length; i++) {\xa var cookiePair = cookieArr[i].split("=");\xa if("final_redirect_url" == cookiePair[0].trim()) {
var final_redirect_url = cookiePair[1].trim();\xa final_redirect_url = final_redirect_url.replace(/%2F/g, "/");\xa final_redirect_url = final_redirect_url.replace(/%3A/g, ":");\xa }\xa }
if(localStorage){
for(var i = 0; i < cookieArr.length; i++) {
var cookiePair = cookieArr[i].split("=");\xa if("access_token" == cookiePair[0].trim()) {
localStorage.setItem("access_token", cookiePair[1].trim());\xa document.cookie = "access_token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
}
if("id_token" == cookiePair[0].trim()) {\xa localStorage.setItem("id_token", cookiePair[1].trim());\xa document.cookie = "id_token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
}\xa if("refresh_token" == cookiePair[0].trim()) {\xa localStorage.setItem("refresh_token", cookiePair[1].trim());
document.cookie = "refresh_token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";\xa }\xa }
}\xa window.location.href = final_redirect_url;\xa </script>";
exit;
return new Response();
}
public static function check_if_username_exist($BC)
{
$ef = \Drupal::database();
$Py = $ef->query("SELECT name FROM {users_field_data} WHERE name LIKE '" . $BC . "%' ORDER BY name DESC;");
$YR = $Py->fetchAll();
if (!(is_null($YR) || count($YR) == 0)) {
goto Fy;
}
return $BC;
Fy:
if (!($YR[0]->name === $BC)) {
goto Yf;
}
return $BC . "01";
Yf:
if (!isset($YR[0])) {
goto jV;
}
$cS = intval(str_replace($BC, '', $YR[0]->name));
$cS++;
jV:
return $cS < 10 ? $BC . "0" . $cS : $BC . $cS;
}
public static function perform_role_mapping($nb, $pc, $Xi)
{
$hD = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_role_attr_name");
$Zt = \Drupal::config("miniorange_oauth_client.settings")->get("rolemap");
$wk = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_enable_role_mapping");
$gR = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_disable_role_update_of_existing_users");
$T_ = (array) \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_role_mapping_arr");
if (!($wk && !is_null($hD) && !empty($hD))) {
goto eB;
}
$A_ = $pc->getRoles();
if ($gR) {
goto dY;
}
foreach ($A_ as $TK => $VY) {
if (in_array($VY, array_keys($T_))) {
goto mk;
}
if (!($VY != \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_default_role"))) {
goto WP;
}
$pc->removeRole($VY);
$pc->save();
WP:
mk:
mA:
}
Hn:
dY:
foreach ($T_ as $TK => $VY) {
$HP = FALSE;
$SE = explode(";", $VY);
foreach ($SE as $H4 => $Do) {
if (is_array($Xi) && in_array($Do, $Xi)) {
goto BS;
}
$HP = $Xi == $Do ? TRUE : FALSE;
goto vI;
BS:
$HP = TRUE;
vI:
wI:
}
t3:
if ($HP && $TK != "authenticated") {
goto OK;
}
$pc->removeRole($TK);
$pc->save();
goto po;
OK:
$pc->addRole($TK);
$pc->save();
po:
Ze:
}
f7:
eB:
}
public static function getAccessToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc)
{
$k_ = curl_init($OF);
curl_setopt($k_, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($k_, CURLOPT_ENCODING, '');
curl_setopt($k_, CURLOPT_RETURNTRANSFER, true);
curl_setopt($k_, CURLOPT_AUTOREFERER, true);
curl_setopt($k_, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($k_, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($k_, CURLOPT_MAXREDIRS, 10);
curl_setopt($k_, CURLOPT_POST, true);
$sL = $ZH == "authorization_code" ? "&code=" : "&refresh_token=";
if ($L8 && !$Dc) {
goto vV;
}
if (!$L8 && $Dc) {
goto QV;
}
curl_setopt($k_, CURLOPT_HTTPHEADER, array("Authorization: Basic " . base64_encode($tx . ":" . $YF), "Accept: application/json"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "redirect_uri=" . urlencode($Bb) . "&grant_type=" . $ZH . "&client_id=" . $tx . "&client_secret=" . $YF . $sL . $pE);
goto BT;
QV:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("Accept: application/json"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "redirect_uri=" . urlencode($Bb) . "&grant_type=" . $ZH . "&client_id=" . $tx . "&client_secret=" . $YF . $sL . $pE);
BT:
goto JV;
vV:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("Authorization: Basic " . base64_encode($tx . ":" . $YF), "Accept: application/json"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "redirect_uri=" . urlencode($Bb) . "&grant_type=" . $ZH . $sL . $pE);
JV:
$nk = curl_exec($k_);
if (!curl_error($k_)) {
goto yB;
}
echo "<b>Response : </b><br>";
print_r($nk);
echo "<br><br>";
exit(curl_error($k_));
yB:
if (is_array(json_decode($nk, true))) {
goto dR;
}
echo "<b>Response : </b><br>";
print_r($nk);
echo "<br><br>";
exit("Invalid response received.");
dR:
$nk = json_decode($nk, true);
if (!isset($_SESSION)) {
goto zl;
}
$_SESSION["moOauthContent"] = $nk;
$_SESSION["moOauthSetAt"] = time();
zl:
if (!isset($nk["access_token"])) {
goto Sh;
}
setrawcookie("Drupal.visitor." . "access_token", $nk["access_token"], \Drupal::time()->getRequestTime() + 3600, "/");
Sh:
if (!isset($nk["refresh_token"])) {
goto IW;
}
setrawcookie("Drupal.visitor." . "refresh_token", $nk["refresh_token"], \Drupal::time()->getRequestTime() + 3600, "/");
IW:
if (!isset($nk["id_token"])) {
goto Xj;
}
setrawcookie("Drupal.visitor." . "id_token", $nk["id_token"], \Drupal::time()->getRequestTime() + 3600, "/");
Xj:
$WB = isset($_SERVER["REQUEST_URI"]) ? parse_url($_SERVER["REQUEST_URI"]) : '';
if (!(isset($WB) && !empty($WB))) {
goto lo;
}
parse_str($WB["query"], $ay);
lo:
if (!isset($ay["error_description"])) {
goto Oq;
}
exit($ay["error_description"]);
Oq:
if (isset($nk["error_description"])) {
goto wR;
}
if (isset($nk["error"])) {
goto H7;
}
if (isset($nk["access_token"])) {
goto h_;
}
exit("Invalid response received from OAuth Provider. Contact your administrator for more details.");
goto QJ;
h_:
$qC = $nk["access_token"];
QJ:
goto xc;
H7:
exit($nk["error"]);
xc:
goto qT;
wR:
exit($nk["error_description"]);
qT:
return $qC;
}
public static function moOauthGetAccessToken()
{
$pc = User::load(\Drupal::currentUser()->id());
if (!$pc) {
goto WM;
}
$nk = isset($_SESSION["moOauthContent"]) ? $_SESSION["moOauthContent"] : '';
$H8 = isset($_SESSION["moOauthSetAt"]) ? $_SESSION["moOauthSetAt"] : '';
$d3 = isset($nk["id_token"]) ? $nk["id_token"] : '';
$qC = isset($nk["access_token"]) ? $nk["access_token"] : '';
$c8 = isset($nk["refresh_token"]) ? $nk["refresh_token"] : '';
if (empty($d3) && empty($qC)) {
goto pH;
}
if (empty($qC)) {
goto Qd;
}
if (!empty($H8) && !empty($nk) && intval($H8) + intval($nk["expires_in"]) < time()) {
goto lx;
}
return $qC;
goto f_;
lx:
if (empty($c8)) {
goto qd;
}
$yO = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_appval");
$l3 = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_send_with_header_oauth");
$MQ = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_send_with_body_oauth");
if (!(!$l3 == TRUE || !$l3 == 1)) {
goto lU;
}
$l3 = false;
lU:
if (!(!$MQ == TRUE || !$MQ == 1)) {
goto ad;
}
$MQ = false;
ad:
$Q4 = self::getAccessToken($yO["access_token_ep"], "refresh_token", $yO["client_id"], $yO["client_secret"], $c8, $yO["callback_uri"], $l3, $MQ);
return is_array($Q4) ? $Q4[0] : $Q4;
qd:
f_:
Qd:
goto yN;
pH:
return FALSE;
yN:
WM:
return FALSE;
}
public static function moOauthGetNewAccessToken()
{
$pc = User::load(\Drupal::currentUser()->id());
if (!$pc) {
goto qg;
}
$nk = isset($_SESSION["moOauthContent"]) ? $_SESSION["moOauthContent"] : '';
$d3 = isset($nk["id_token"]) ? $nk["id_token"] : '';
$qC = isset($nk["access_token"]) ? $nk["access_token"] : '';
$c8 = isset($nk["refresh_token"]) ? $nk["refresh_token"] : '';
\Drupal::logger("miniorange_oauth_client")->notice(" Access token: <pre><code>" . print_r($qC, TRUE) . "</code></pre>");
if (empty($d3) && empty($qC)) {
goto te;
}
if (empty($qC)) {
goto JE;
}
if (!empty($c8)) {
goto n1;
}
return $qC;
goto SV;
n1:
$yO = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_appval");
$l3 = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_send_with_header_oauth");
$MQ = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_send_with_body_oauth");
if (!(!$l3 == TRUE || !$l3 == 1)) {
goto K_;
}
$l3 = false;
K_:
if (!(!$MQ == TRUE || !$MQ == 1)) {
goto cq;
}
$MQ = false;
cq:
$Q4 = self::getAccessToken($yO["access_token_ep"], "refresh_token", $yO["client_id"], $yO["client_secret"], $c8, $yO["callback_uri"], $l3, $MQ);
return is_array($Q4) ? $Q4[0] : $Q4;
SV:
JE:
goto ZE;
te:
return FALSE;
ZE:
qg:
return FALSE;
}
public static function getResourceOwner($JP, $qC)
{
$k_ = curl_init($JP);
curl_setopt($k_, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($k_, CURLOPT_ENCODING, '');
curl_setopt($k_, CURLOPT_RETURNTRANSFER, true);
curl_setopt($k_, CURLOPT_AUTOREFERER, true);
curl_setopt($k_, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($k_, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($k_, CURLOPT_MAXREDIRS, 10);
curl_setopt($k_, CURLOPT_POST, false);
curl_setopt($k_, CURLOPT_HTTPHEADER, array("Authorization: Bearer " . $qC));
$HG = curl_version();
curl_setopt($k_, CURLOPT_USERAGENT, "curl/" . $HG["version"]);
$nk = curl_exec($k_);
if (!curl_error($k_)) {
goto C1;
}
exit(curl_error($k_));
C1:
if (is_array(json_decode($nk, true))) {
goto qM;
}
exit("Invalid response received.");
qM:
$nk = json_decode($nk, true);
if (isset($nk["error_description"])) {
goto G4;
}
if (!isset($nk["error"])) {
goto Wi;
}
if (is_array($nk["error"])) {
goto bC;
}
echo $nk["error"];
goto PX;
bC:
print_r($nk["error"]);
PX:
exit;
Wi:
goto dc;
G4:
if (is_array($nk["error_description"])) {
goto b4;
}
echo $nk["error_description"];
goto gr;
b4:
print_r($nk["error_description"]);
gr:
exit;
dc:
return $nk;
}
public static function testattrmappingconfig($lt, $qv)
{
foreach ($qv as $TK => $IA) {
if (is_array($IA) || is_object($IA)) {
goto kb;
}
echo "<tr style='text-align:center;'><td style='font-weight:bold;border:2px solid #949090;padding:2%;'>";
if (empty($lt)) {
goto yy;
}
echo $lt . ".";
yy:
echo $TK . "</td><td style='font-weight:bold;padding:2%;border:2px solid #949090; word-wrap:break-word;'>" . $IA . "</td></tr>";
goto ZT;
kb:
if (empty($lt)) {
goto Qa;
}
$lt .= ".";
Qa:
self::testattrmappingconfig($lt . $TK, $IA);
ZT:
u_:
}
EM:
}
public static function getnestedattribute($IA, $TK, $tA = '')
{
if (!empty($TK)) {
goto ZP;
}
return '';
ZP:
$m1 = explode(".", $TK);
$ib = '';
if (sizeof($m1) > 1) {
goto yv;
}
if ($tA == '') {
goto xm;
}
if (!($tA == "role_map")) {
goto A7;
}
$ib = $m1[0];
if (!isset($IA[$ib])) {
goto Rh;
}
return $IA[$ib];
Rh:
A7:
goto Da;
xm:
$ib = $m1[0];
if (!isset($IA[$ib])) {
goto bD;
}
if (is_array($IA[$ib])) {
goto m7;
}
return $IA[$ib];
goto uC;
m7:
$IA = $IA[$ib];
return $IA[0];
uC:
bD:
Da:
goto ua;
yv:
$ib = $m1[0];
if (!isset($IA[$ib])) {
goto TR;
}
return self::getnestedattribute($IA[$ib], str_replace($ib . ".", '', $TK));
TR:
ua:
}
public static function mo_oauth_client_initiateLogin()
{
\Drupal::service("page_cache_kill_switch")->trigger();
if (!isset($_SERVER["HTTP_REFERER"])) {
goto GZ;
}
\Drupal::configFactory()->getEditable("miniorange_oauth_client.settings")->set("navigation_url", $_SERVER["HTTP_REFERER"])->save();
GZ:
$vC = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_auth_client_app_name");
$B_ = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_auth_client_client_id");
$li = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_auth_client_client_secret");
$uk = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_auth_client_scope");
$lb = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_auth_client_authorize_endpoint");
$Ng = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_auth_client_callback_uri");
$rd = base64_encode($vC);
if (strpos($lb, "?") !== false) {
goto bK;
}
$lb = $lb . "?client_id=" . $B_ . "&scope=" . $uk . "&redirect_uri=" . $Ng . "&response_type=code&state=" . $rd;
goto WT;
bK:
$lb = $lb . "&client_id=" . $B_ . "&scope=" . $uk . "&redirect_uri=" . $Ng . "&response_type=code&state=" . $rd;
WT:
if (!(session_status() == PHP_SESSION_NONE)) {
goto X1;
}
session_start();
X1:
$_SESSION["oauth2state"] = $rd;
$_SESSION["appname"] = $vC;
$B1 = new RedirectResponse($lb);
$B1->send();
return new Response();
}
public static function test_mo_config()
{
if (\Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_license_key") != NULL) {
goto cO;
}
print_r("OAuth Provider configurations not found. Contact your administrator.");
exit;
return new Response();
goto B2;
cO:
user_cookie_save(array("mo_oauth_test" => true));
$_COOKIE["Drupal_visitor_mo_oauth_test"] = 1;
self::mo_oauth_client_initiateLogin();
return new Response();
B2:
}
public static function miniorange_oauth_client_mologin()
{
global $base_url;
$DD = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_enable_login_with_oauth");
$l9 = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_customer_admin_token");
$aS = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_customer_admin_email");
$HX = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_license_key");
if ($aS != null && $aS != '') {
goto Eh;
}
if ($aS != null && $aS != '') {
goto sa;
}
if ($aS == null || $aS == '') {
goto CK;
}
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>
<div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>OAuth Provider configurations not found.</p>
<p>Please contact your administrator.</p>
</div>\xa <div style="margin:3%;display:block;text-align:center;"></div>
<div style="margin:3%;display:block;text-align:center;">
<form method="POST" action ="" . $base_url . "">
<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="submit" value="Done">\xa </form>\xa </div>";
exit;
return new Response();
goto zv;
CK:
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 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>You are not logged in.</p>\xa <p>Please contact your administrator.</p>\xa <p><strong>Possible Cause: </strong>Make sure you have logged in/ Register in to module.</p>\xa </div>\xa <div style="margin:3%;display:block;text-align:center;"></div>
<div style="margin:3%;display:block;text-align:center;">\xa <form method="POST" action ="" . $base_url . "">\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;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done">
</form>\xa </div>";
exit;
return new Response();
zv:
goto vj;
sa:
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 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>License key you have entered has already been used.</p>
<p>Please enter a key which has not been used before on any other instance or if you have exausted all your keys then buy more license from Licensing.</p>
</div>
<div style="margin:3%;display:block;text-align:center;"></div>\xa <div style="margin:3%;display:block;text-align:center;">
<form method="POST" action ="" . $base_url . "">\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;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done">
</form>
</div>";
exit;
return new Response();
vj:
goto BO;
Eh:
if (isset($HX) && !empty($HX) && $DD) {
goto nD;
}
if (!isset($HX) && empty($HX)) {
goto XY;
}
\Drupal::messenger()->addMessage(t("Please enable <b>Login with OAuth</b> to initiate the SSO."), "error");
return new RedirectResponse($base_url);
goto c6;
XY:
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 <div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>You have not activated module yet.</p>\xa <p>Please enter a License key which has not been used before on any other instance or if you have exausted all your keys then buy more license from Licensing.</p>
</div>
<div style="margin:3%;display:block;text-align:center;"></div>\xa <div style="margin:3%;display:block;text-align:center;">
<form method="POST" action ="" . $base_url . "">\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;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done">\xa </form>\xa </div>";
exit;
return new Response();
c6:
goto vP;
nD:
self::mo_oauth_client_initiateLogin();
vP:
BO:
}
function oauth_client_logout()
{
global $base_url;
setrawcookie("Drupal.visitor." . "access_token", NULL, \Drupal::time()->getRequestTime() - 1, "/");
setrawcookie("Drupal.visitor." . "id_token", NULL, \Drupal::time()->getRequestTime() - 1, "/");
setrawcookie("Drupal.visitor." . "refresh_token", NULL, \Drupal::time()->getRequestTime() - 1, "/");
if (!empty(\Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_base_url"))) {
goto Mx;
}
$nQ = $base_url;
goto UO;
Mx:
$nQ = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_base_url");
UO:
$Gk = $nQ . "/user/login";
\Drupal::service("session_manager")->destroy();
$iZ = \Drupal::request();
$iZ->getSession()->clear();
if (empty(\Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_logout_url"))) {
goto Ee;
}
$Gk = \Drupal::config("miniorange_oauth_client.settings")->get("miniorange_oauth_client_logout_url");
Ee:
$B1 = new RedirectResponse($Gk);
$B1->send();
return new Response();
}
public static function getToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc)
{
$k_ = curl_init($OF);
curl_setopt($k_, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($k_, CURLOPT_ENCODING, '');
curl_setopt($k_, CURLOPT_RETURNTRANSFER, true);
curl_setopt($k_, CURLOPT_AUTOREFERER, true);
curl_setopt($k_, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($k_, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($k_, CURLOPT_MAXREDIRS, 10);
curl_setopt($k_, CURLOPT_POST, true);
if ($L8 && !$Dc) {
goto IA;
}
if (!$L8 && $Dc) {
goto W1;
}
curl_setopt($k_, CURLOPT_HTTPHEADER, array("Authorization: Basic " . base64_encode($tx . ":" . $YF), "Accept: application/json"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "redirect_uri=" . urlencode($Bb) . "&grant_type=" . $ZH . "&client_id=" . $tx . "&client_secret=" . $YF . "&code=" . $pE);
goto Lq;
W1:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("Accept: application/json"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "redirect_uri=" . urlencode($Bb) . "&grant_type=" . $ZH . "&client_id=" . $tx . "&client_secret=" . $YF . "&code=" . $pE);
Lq:
goto h1;
IA:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("Authorization: Basic " . base64_encode($tx . ":" . $YF), "Accept: application/json"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "redirect_uri=" . urlencode($Bb) . "&grant_type=" . $ZH . "&code=" . $pE);
h1:
$B1 = curl_exec($k_);
if (!curl_error($k_)) {
goto ae;
}
print_r($B1);
exit(curl_error($k_));
ae:
if (is_array(json_decode($B1, true))) {
goto bW;
}
print_r($B1);
exit("Invalid response received getting access_token from url " . $OF);
bW:
$nk = json_decode($B1, true);
if (isset($nk["error_description"])) {
goto Kf;
}
if (!isset($nk["error"])) {
goto E8;
}
print_r($B1);
exit($nk["error"]);
E8:
goto hb;
Kf:
print_r($B1);
exit($nk["error_description"]);
hb:
return $B1;
}
public static function getIdToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc)
{
$B1 = self::getToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc);
$nk = json_decode($B1, true);
if (isset($nk["id_token"])) {
goto U1;
}
echo "Invalid response received from OpenId Provider. Contact your administrator for more details.<br><br><b>Response : </b><br>" . $B1;
exit;
goto gk;
U1:
return $nk;
gk:
}
public static function getResourceOwnerFromIdToken($Wm)
{
$Ta = explode(".", $Wm);
if (!isset($Ta[1])) {
goto BX;
}
$vo = base64_decode($Ta[1]);
if (!is_array(json_decode($vo, true))) {
goto fQ;
}
return json_decode($vo, true);
fQ:
BX:
echo "Invalid response received.<br><b>Id_token : </b>" . $Wm;
exit;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\miniorange_oauth_client\Controller;
use Drupal\user\Entity\User;
use Drupal\Component\Utility\Html;
use Drupal\Core\Controller\ControllerBase;
use Drupal\miniorange_oauth_client\Utilities;
use Symfony\Component\HttpFoundation\Response;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\Component\Utility\Unicode;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Drupal\miniorange_oauth_client\Crypt_RSA;
use Drupal\miniorange_oauth_client\Math_BigInteger;
use Drupal\Core\Session\SessionManager;
class miniorange_oauth_clientController extends ControllerBase
{
public static function miniorange_oauth_client_mo_login()
{
global $base_url;
$pE = isset($_GET["\x63\x6f\144\x65"]) ? $_GET["\x63\157\144\x65"] : '';
$pE = Html::escape($pE);
$rd = isset($_GET["\163\x74\x61\164\145"]) ? $_GET["\163\164\x61\164\x65"] : '';
$rd = Html::escape($rd);
if (!(isset($pE) && isset($rd))) {
goto yV;
}
if (!(session_id() == '' || !isset($_SESSION))) {
goto XN;
}
session_start();
XN:
if (!isset($pE)) {
goto VN;
}
$pg = '';
if (isset($_SESSION["\x61\x70\x70\156\141\155\x65"]) && !empty($_SESSION["\x61\x70\160\156\x61\x6d\145"])) {
goto Xe;
}
if (!(isset($rd) && !empty($rd))) {
goto Wd;
}
$pg = base64_decode($rd);
Wd:
goto JF;
Xe:
$pg = $_SESSION["\141\x70\160\156\141\155\145"];
JF:
if (!empty($pg)) {
goto E2;
}
exit("\116\x6f\40\162\145\x71\165\x65\x73\164\40\146\x6f\x75\x6e\144\40\x66\x6f\162\x20\x74\150\x69\x73\x20\141\x70\160\154\151\143\x61\164\151\x6f\x6e\x2e");
E2:
goto KF;
VN:
if (isset($_GET["\x65\162\x72\x6f\162\137\144\145\x73\x63\x72\151\x70\164\x69\x6f\x6e"])) {
goto bz;
}
if (!isset($_GET["\x65\x72\162\157\x72"])) {
goto uK;
}
exit($_GET["\145\x72\x72\x6f\x72"]);
uK:
goto zQ;
bz:
exit($_GET["\x65\x72\x72\157\162\137\144\x65\163\x63\x72\x69\160\x74\151\x6f\156"]);
zQ:
exit("\111\x6e\166\x61\154\151\x64\40\x72\145\163\160\157\156\163\145");
KF:
yV:
$fL = '';
$yO = array();
$yO = \Drupal::config("\155\x69\x6e\151\157\162\x61\156\147\145\x5f\x6f\x61\x75\x74\150\x5f\x63\x6c\151\145\156\164\56\163\145\164\164\151\x6e\147\x73")->get("\x6d\151\156\151\x6f\x72\141\x6e\x67\x65\x5f\x6f\141\165\164\150\137\143\x6c\x69\145\156\164\137\x61\x70\x70\x76\x61\154");
$fL = \Drupal::config("\x6d\151\156\x69\x6f\162\141\x6e\147\145\x5f\157\141\x75\x74\x68\137\x63\x6c\x69\145\x6e\x74\56\x73\x65\164\164\x69\x6e\x67\163")->get("\155\151\156\151\x6f\x72\141\156\x67\145\x5f\157\141\165\x74\150\x5f\x63\154\151\x65\156\x74\x5f\141\x70\160");
$Kl = '';
$K2 = '';
$BC = '';
$y7 = '';
if (!isset($yO["\155\151\156\151\x6f\162\141\x6e\147\x65\137\157\x61\x75\164\x68\137\143\x6c\151\x65\x6e\164\x5f\x65\155\x61\x69\154\137\141\x74\164\x72"])) {
goto B3;
}
$K2 = $yO["\x6d\151\x6e\x69\x6f\162\141\x6e\147\x65\137\157\x61\165\164\150\x5f\143\154\x69\x65\x6e\x74\137\x65\x6d\141\x69\154\137\x61\x74\164\162"];
B3:
if (!isset($yO["\x6d\x69\156\151\157\x72\141\156\147\145\137\x6f\141\165\x74\150\137\x63\x6c\151\145\x6e\164\137\x6e\x61\155\145\x5f\x61\164\x74\x72"])) {
goto U3;
}
$Kl = $yO["\155\x69\x6e\x69\157\162\x61\x6e\x67\x65\137\157\141\x75\164\150\137\143\154\151\x65\x6e\164\x5f\156\x61\x6d\145\x5f\141\164\x74\x72"];
U3:
$l3 = \Drupal::config("\155\151\156\151\x6f\162\141\156\x67\145\137\x6f\x61\x75\x74\x68\x5f\143\x6c\x69\x65\156\x74\x2e\163\145\164\x74\x69\156\147\x73")->get("\x6d\151\156\151\x6f\162\141\x6e\x67\x65\x5f\157\141\x75\164\x68\x5f\163\145\156\144\137\167\x69\164\150\x5f\150\145\x61\144\x65\x72\137\x6f\141\x75\164\x68");
$MQ = \Drupal::config("\155\151\x6e\151\x6f\162\x61\x6e\x67\x65\x5f\x6f\141\x75\x74\150\137\x63\154\151\x65\x6e\x74\56\x73\x65\x74\x74\x69\x6e\x67\163")->get("\155\x69\156\x69\x6f\x72\141\156\147\145\137\157\x61\x75\x74\150\137\163\x65\x6e\144\x5f\167\x69\x74\x68\137\142\x6f\144\x79\x5f\157\141\165\x74\x68");
if (!(!$l3 == TRUE || !$l3 == 1)) {
goto tg;
}
$l3 = false;
tg:
if (!(!$MQ == TRUE || !$MQ == 1)) {
goto C6;
}
$MQ = false;
C6:
if ($fL == "\x43\165\x73\x74\157\155\137\117\x70\x65\x6e\137\151\144" || $fL == "\x41\172\165\162\145\40\101\x44\x20\x42\62\103" || $fL == "\101\127\123\x20\103\x6f\147\156\x69\x74\x6f" || $fL == "\155\151\x6e\x69\x4f\x72\x61\x6e\147\x65" || $fL == "\117\156\145\x6c\x6f\147\151\156" || $fL == "\x4f\x6b\164\x61\x5f\157\x70\145\x6e\x69\x64") {
goto ts;
}
$ld = self::getAccessToken($yO["\141\143\143\x65\x73\163\137\x74\x6f\x6b\x65\156\x5f\x65\160"], "\x61\x75\164\x68\x6f\x72\151\172\141\x74\x69\x6f\156\x5f\x63\x6f\144\x65", $yO["\143\x6c\151\x65\x6e\x74\137\151\144"], $yO["\143\x6c\x69\x65\x6e\x74\137\x73\x65\x63\162\145\164"], $pE, $yO["\143\x61\x6c\x6c\142\x61\x63\153\137\x75\x72\x69"], $l3, $MQ);
if ($ld) {
goto Hs;
}
print_r("\111\x6e\166\x61\154\x69\x64\40\164\157\153\145\156\x20\162\x65\x63\x65\x69\x76\x65\144\x2e");
exit;
Hs:
$JP = $yO["\165\163\145\x72\x5f\x69\156\146\157\x5f\145\x70"];
if (!(substr($JP, -1) == "\75")) {
goto JD;
}
$JP .= $ld;
JD:
$ni = self::getResourceOwner($JP, $ld);
goto Sd;
ts:
$Fm = self::getIdToken($yO["\x61\x63\x63\x65\163\x73\x5f\x74\x6f\x6b\145\156\137\145\x70"], "\141\165\x74\150\157\x72\x69\172\141\164\x69\x6f\x6e\x5f\x63\157\x64\x65", $yO["\x63\x6c\x69\x65\x6e\164\137\151\144"], $yO["\143\x6c\x69\x65\x6e\x74\137\163\x65\x63\162\x65\x74"], $_GET["\143\157\x64\x65"], $yO["\x63\141\154\154\142\x61\x63\x6b\137\x75\162\x69"], $l3, $MQ);
$YJ = isset($yO["\152\153\167\163\x5f\x75\162\151"]) ? $yO["\x6a\153\167\x73\137\x75\x72\x69"] : '';
\Drupal::logger("\x61\143\x63\145\163\x73\x5f\x74\x6f\153\145\x6e")->notice("\x3c\x70\162\x65\76\x3c\x63\x6f\x64\145\76" . print_r($Fm, TRUE) . "\74\x2f\x63\157\x64\145\76\x3c\57\160\162\145\76");
$K5 = empty($YJ) ? '' : file_get_contents($YJ);
$KH = json_decode($K5);
$d3 = $Fm["\151\x64\137\x74\x6f\153\x65\x6e"];
if (!isset($Fm["\141\x63\x63\145\163\x73\137\164\157\153\145\x6e"])) {
goto wc;
}
setrawcookie("\104\x72\x75\x70\141\x6c\56\x76\151\x73\151\x74\x6f\x72\x2e" . "\141\x63\x63\x65\163\x73\137\x74\x6f\x6b\x65\x6e", $Fm["\141\x63\143\x65\163\163\137\x74\157\x6b\x65\x6e"], \Drupal::time()->getRequestTime() + 3600, "\x2f");
wc:
if (!isset($Fm["\x72\x65\146\x72\145\163\x68\137\x74\x6f\153\x65\x6e"])) {
goto ct;
}
setrawcookie("\x44\x72\165\160\141\x6c\x2e\166\x69\163\151\164\157\x72\56" . "\162\145\146\162\x65\x73\x68\x5f\x74\x6f\153\145\x6e", $Fm["\x72\145\146\162\x65\x73\150\x5f\x74\x6f\x6b\x65\156"], \Drupal::time()->getRequestTime() + 3600, "\57");
ct:
if (!isset($Fm["\151\144\137\164\157\x6b\x65\156"])) {
goto nk;
}
setrawcookie("\x44\162\165\160\141\154\56\166\x69\163\x69\x74\x6f\162\x2e" . "\x69\144\x5f\x74\157\153\145\156", $Fm["\x69\144\137\164\x6f\x6b\145\x6e"], \Drupal::time()->getRequestTime() + 3600, "\57");
nk:
if (!($yO["\x6a\153\167\163\137\x75\162\x69"] != '')) {
goto HP;
}
$xL = '';
$cu = '';
$RD = explode("\56", $d3);
$TB = $RD[0] . "\x2e" . $RD[1];
$W4 = str_replace(["\x2d", "\x5f"], ["\53", "\x2f"], $RD[2]);
$W4 = base64_decode($W4);
$Tg = json_decode(base64_decode(str_replace(["\55", "\137"], ["\x2b", "\57"], $RD[0])), true);
$x6 = $Tg["\x61\x6c\x67"];
$bd = $Tg["\x6b\x69\x64"];
if ($KH->keys) {
goto SS;
}
echo "\74\x64\x69\x76\40\163\x74\171\154\x65\75\x22\x66\157\156\x74\55\x66\x61\155\x69\154\171\x3a\x43\141\x6c\x69\142\x72\151\x3b\x70\x61\x64\x64\151\x6e\147\x3a\x30\40\63\45\x3b\x22\76";
echo "\x3c\x64\x69\166\x20\163\164\x79\154\x65\x3d\42\143\157\x6c\x6f\x72\72\x20\x23\141\71\x34\x34\64\x32\73\x62\141\x63\x6b\147\162\157\165\x6e\x64\x2d\143\157\154\x6f\x72\x3a\x20\x23\x66\62\144\x65\x64\145\73\160\x61\144\x64\x69\x6e\147\x3a\x20\x31\x35\160\x78\x3b\x6d\141\x72\147\x69\156\x2d\142\157\164\164\157\x6d\x3a\40\x32\x30\160\170\x3b\164\x65\170\x74\55\141\x6c\151\147\156\72\x63\x65\x6e\164\145\x72\x3b\x62\x6f\162\x64\145\162\72\61\x70\170\x20\x73\157\x6c\x69\x64\40\43\105\x36\102\x33\x42\62\73\146\157\156\x74\x2d\x73\151\x7a\145\72\61\70\160\x74\73\42\76\x20\105\122\122\x4f\x52\74\x2f\144\x69\x76\76\xa\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x3c\x64\x69\x76\40\x73\164\x79\154\x65\75\x22\x63\157\154\x6f\162\x3a\x20\43\x61\71\64\64\64\62\x3b\146\157\156\x74\x2d\x73\x69\172\x65\x3a\61\x34\160\x74\73\40\x6d\141\x72\147\151\x6e\55\x62\157\164\x74\157\x6d\72\62\x30\x70\x78\x3b\x22\x3e\x3c\x70\76\x3c\163\164\162\157\156\x67\76\x45\162\x72\157\x72\72\x20\74\x2f\163\164\x72\x6f\x6e\147\76\x49\156\x76\x61\x6c\x69\144\x20\x4a\127\x4b\123\40\125\122\x49\x20\146\157\x72\155\141\x74\56\74\x2f\160\76\xa\x20\40\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\x3c\160\x3e\120\154\145\x61\163\145\x20\126\145\x72\x69\x66\x79\x20\x74\x68\x65\x20\146\157\162\x6d\141\x74\40\x6f\146\40\164\150\x65\40\112\x57\x4b\x53\40\x55\x52\x49\56\74\57\160\76\xa\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x3c\160\76\x3c\x73\x74\x72\x6f\x6e\147\76\120\157\x73\x73\x69\x62\154\145\40\103\141\165\x73\x65\72\40\74\x2f\163\164\x72\x6f\156\147\x3e\106\157\x72\x6d\x61\164\x20\x6f\146\x20\x74\x68\145\40\x4a\127\113\x54\40\x55\x52\x49\40\x56\141\154\x75\145\x20\x69\x73\40\x69\156\x63\157\x72\x72\x65\143\x74\x2e\74\x2f\x70\x3e\xa\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\74\x2f\x64\151\x76\x3e\xa\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\40\40\74\x64\151\166\40\x73\164\x79\x6c\x65\x3d\x22\x6d\141\162\x67\x69\156\72\63\45\73\x64\151\x73\160\x6c\141\171\x3a\142\154\157\x63\x6b\x3b\164\145\x78\x74\x2d\x61\x6c\x69\x67\156\72\x63\145\x6e\164\145\162\73\42\x3e\x3c\x2f\144\x69\x76\x3e\12\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\74\144\151\166\x20\x73\x74\171\154\x65\75\42\x6d\x61\162\147\151\156\x3a\x33\45\73\144\x69\x73\160\154\x61\171\x3a\x62\x6c\157\x63\x6b\x3b\164\x65\170\x74\55\141\x6c\151\147\156\72\x63\x65\156\164\145\162\73\x22\x3e\12\x20\40\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\74\146\157\162\x6d\40\155\145\164\150\157\144\x3d\x22\x50\117\x53\124\x22\40\141\x63\x74\x69\157\156\x20\75\x22" . $base_url . "\42\76\12\40\40\40\x20\x20\x20\40\x20\40\x20\40\x20\40\40\x3c\151\x6e\x70\x75\x74\40\x73\164\171\154\145\x3d\x22\160\x61\144\x64\151\x6e\147\x3a\61\45\x3b\x77\x69\x64\x74\x68\72\61\60\x30\x70\x78\x3b\x62\x61\143\153\147\162\x6f\x75\x6e\144\72\40\x23\x30\60\71\61\x43\x44\x20\156\157\156\145\x20\162\x65\x70\x65\x61\164\x20\x73\143\x72\x6f\x6c\154\x20\60\x25\40\60\x25\73\143\165\x72\163\157\162\x3a\40\x70\157\x69\x6e\x74\x65\162\x3b\x66\157\x6e\x74\55\x73\151\172\x65\x3a\x31\65\160\x78\73\142\x6f\162\144\x65\162\55\x77\151\144\x74\x68\x3a\x20\61\160\170\x3b\142\157\x72\144\145\x72\55\x73\x74\171\154\x65\72\40\163\157\x6c\151\x64\x3b\x62\157\x72\144\x65\162\x2d\162\x61\144\151\x75\163\72\x20\63\x70\x78\73\167\150\x69\164\145\55\163\160\x61\143\x65\72\40\x6e\x6f\x77\162\141\x70\73\x62\x6f\170\x2d\x73\x69\172\151\156\x67\x3a\x20\142\157\x72\x64\145\162\x2d\142\157\x78\x3b\142\x6f\x72\144\145\162\x2d\143\157\154\157\162\x3a\40\43\x30\x30\67\63\101\x41\73\x62\157\170\x2d\163\150\x61\144\x6f\167\72\40\60\x70\x78\x20\x31\160\x78\40\x30\160\170\x20\x72\x67\x62\x61\50\x31\62\x30\x2c\x20\x32\x30\60\54\x20\62\63\60\54\x20\60\x2e\66\x29\x20\x69\x6e\163\x65\x74\73\143\157\x6c\157\162\72\x20\x23\106\x46\106\x3b\x22\164\x79\160\145\75\x22\163\165\142\x6d\x69\164\42\x20\166\141\x6c\x75\x65\x3d\42\x44\157\x6e\145\x22\x20\42\x3e\xa\x20\x20\40\40\40\x20\x20\x20\40\40\x20\x20\40\x20\x3c\x2f\146\x6f\162\x6d\76\12\x20\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x3c\57\x64\x69\166\76";
exit;
goto N3;
SS:
$iX = false;
$m1 = $KH->keys;
foreach ($m1 as $TK => $VY) {
$JD = "\146\141\154\x73\145";
if ($VY->kid == $bd) {
goto l1;
}
$JD = "\x66\141\x6c\x73\145";
goto I6;
l1:
$JD = "\x74\162\x75\145";
$Ev = $VY->n;
$Ev = str_replace(["\x2d", "\137"], ["\53", "\57"], $Ev);
$Ev = base64_decode($Ev);
$kV = $VY->e;
$kV = base64_decode($kV);
$yN = new Crypt_RSA();
$yN->loadKey(["\x6e" => new Math_BigInteger($Ev, 256), "\145" => new Math_BigInteger($kV, 256)]);
$yN->setHash("\163\x68\141\x32\65\x36");
$yN->setSignatureMode(CRYPT_RSA_SIGNATURE_PKCS1);
if (!$yN->verify($TB, $W4)) {
goto hx;
}
$iX = true;
hx:
goto ap;
I6:
T4:
}
ap:
if (!($JD == "\146\x61\154\163\145")) {
goto hM;
}
echo "\111\156\143\157\162\162\145\x63\164\x20\x6b\x65\x79\x73\41\x20\x56\145\162\151\146\x79\40\x69\x66\x20\171\x6f\165\40\x61\x72\x65\x20\x65\156\164\x65\x72\151\156\x67\40\143\157\x72\x72\145\143\x74\x20\112\x57\x4b\123\40\125\x52\x49\x21\x21\x21";
exit;
hM:
N3:
HP:
if ($d3) {
goto OP;
}
echo "\74\144\x69\166\40\x73\164\x79\x6c\x65\75\42\x66\x6f\156\x74\55\x66\141\155\151\154\x79\x3a\103\x61\154\151\142\162\151\x3b\160\141\144\x64\151\156\147\72\60\x20\63\45\x3b\42\76";
echo "\x3c\144\151\166\x20\x73\x74\x79\x6c\x65\x3d\42\x63\x6f\154\x6f\x72\x3a\40\43\x61\x39\x34\x34\x34\62\73\142\x61\143\153\x67\x72\x6f\165\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\72\40\x23\146\62\x64\145\144\145\73\x70\141\144\144\151\x6e\147\x3a\x20\x31\x35\160\170\73\155\x61\162\x67\151\156\55\x62\x6f\x74\x74\157\155\x3a\40\62\60\160\x78\x3b\x74\145\170\x74\55\141\154\151\x67\156\72\x63\x65\x6e\164\x65\162\73\x62\157\162\144\145\x72\x3a\61\x70\170\x20\163\157\x6c\151\x64\40\43\x45\66\102\63\x42\62\73\x66\157\x6e\164\x2d\163\151\172\x65\72\x31\x38\x70\x74\73\42\76\40\x45\122\x52\x4f\122\x3c\x2f\144\x69\x76\76\xa\40\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\74\x64\151\x76\x20\x73\164\x79\154\145\x3d\x22\143\x6f\154\x6f\162\72\x20\43\x61\71\64\64\x34\x32\x3b\x66\x6f\x6e\164\x2d\163\x69\172\145\72\61\x34\x70\164\73\40\x6d\x61\162\147\151\x6e\x2d\x62\x6f\164\164\157\155\x3a\x32\x30\x70\170\73\42\76\74\x70\x3e\x3c\x73\164\162\157\x6e\147\76\x45\x72\x72\x6f\x72\x3a\40\x3c\57\x73\x74\162\157\x6e\147\76\111\x6e\166\x61\154\x69\144\40\x74\157\153\145\x6e\x20\162\x65\143\x65\151\166\145\144\x2e\74\x2f\160\x3e\12\x20\40\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\x3c\160\76\x50\x6c\145\141\163\x65\x20\x74\x72\171\40\164\x6f\40\154\x6f\147\x69\156\40\141\x67\141\x69\x6e\56\74\x2f\160\x3e\xa\40\40\40\x20\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\x3c\x70\x3e\74\163\x74\x72\157\x6e\x67\x3e\x50\157\x73\x73\x69\142\154\x65\x20\x43\x61\165\163\x65\72\40\x3c\57\x73\164\162\157\x6e\x67\x3e\126\x61\x6c\x75\145\x20\x6f\x66\40\164\157\153\145\156\x20\162\145\x63\x65\151\x76\x65\144\x20\151\x73\x20\x65\x69\x74\150\145\x72\40\156\165\154\x6c\40\157\x72\40\x77\162\x6f\156\x67\56\x3c\x2f\160\x3e\12\40\40\40\40\40\40\40\40\40\40\40\x20\x20\40\74\x2f\x64\151\166\x3e\12\x20\40\40\40\40\40\40\40\x20\40\x20\40\x20\x20\74\144\x69\x76\40\163\x74\x79\154\145\75\x22\x6d\x61\162\x67\x69\156\72\x33\x25\x3b\x64\151\x73\x70\x6c\141\x79\72\142\x6c\157\x63\153\73\164\145\x78\x74\x2d\141\154\151\147\x6e\72\x63\145\x6e\x74\x65\162\73\42\x3e\x3c\57\x64\151\166\76\xa\x20\40\40\x20\40\x20\40\40\40\x20\40\40\x20\x20\74\144\x69\166\x20\x73\164\171\154\x65\75\x22\x6d\x61\162\147\151\156\72\x33\45\73\144\151\163\160\x6c\141\171\72\x62\154\x6f\143\153\x3b\164\x65\x78\164\55\x61\154\x69\147\156\x3a\143\145\156\x74\x65\162\73\42\76\xa\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\40\40\x3c\146\x6f\162\x6d\x20\x6d\x65\x74\150\157\144\75\42\120\117\x53\124\x22\40\141\143\164\151\157\156\x20\75\x22" . $base_url . "\x22\x3e\xa\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\40\40\40\x20\40\40\74\151\x6e\160\x75\164\40\163\x74\171\x6c\x65\75\x22\160\141\x64\x64\x69\x6e\x67\72\61\x25\73\x77\151\144\164\150\x3a\61\x30\60\x70\170\73\x62\x61\143\153\x67\x72\157\165\x6e\144\x3a\x20\x23\x30\60\71\61\x43\x44\40\156\x6f\x6e\145\x20\x72\145\x70\145\x61\164\x20\163\x63\x72\x6f\154\154\40\x30\x25\40\x30\45\x3b\x63\x75\162\x73\x6f\162\72\40\160\157\x69\x6e\164\x65\162\x3b\x66\x6f\x6e\164\55\x73\x69\x7a\145\72\x31\x35\160\x78\x3b\142\157\162\144\x65\x72\x2d\167\151\x64\x74\x68\x3a\40\61\160\170\73\x62\x6f\x72\144\145\x72\x2d\163\164\x79\x6c\x65\x3a\40\163\157\x6c\151\144\x3b\142\157\x72\x64\145\162\x2d\162\x61\x64\x69\165\163\x3a\x20\63\160\170\73\167\x68\151\x74\145\x2d\x73\160\x61\x63\145\72\40\156\x6f\167\x72\141\160\73\x62\x6f\170\55\x73\x69\x7a\151\156\x67\x3a\40\x62\x6f\x72\x64\x65\162\x2d\142\157\x78\73\x62\157\162\144\x65\162\55\143\157\x6c\x6f\x72\72\40\x23\x30\60\x37\x33\101\101\x3b\x62\157\170\x2d\x73\x68\x61\x64\157\x77\x3a\40\x30\x70\170\x20\x31\x70\x78\40\60\x70\170\40\162\147\x62\x61\x28\x31\62\60\x2c\40\62\x30\60\54\x20\62\63\60\54\40\60\56\x36\51\40\x69\156\163\x65\x74\x3b\143\157\x6c\157\x72\x3a\x20\43\106\x46\106\73\x22\x74\171\x70\145\75\x22\x73\x75\x62\155\151\164\x22\40\166\x61\154\x75\145\x3d\42\104\157\156\x65\x22\x20\x22\76\xa\40\40\40\40\x20\40\40\x20\x20\40\40\x20\40\x20\x3c\57\146\157\x72\155\76\xa\40\40\40\40\40\40\x20\x20\x20\x20\40\40\x20\x20\74\57\144\151\x76\x3e";
exit;
OP:
if (!($YJ != '' && $iX == "\164\162\165\x65" || $YJ == '')) {
goto Nt;
}
$ni = self::getResourceOwnerFromIdToken($d3);
Nt:
Sd:
if (!(isset($_COOKIE["\104\162\x75\x70\x61\154\137\166\x69\x73\x69\164\157\162\x5f\x6d\157\x5f\x6f\141\165\x74\150\137\x74\145\x73\x74"]) && $_COOKIE["\104\162\165\x70\141\154\x5f\166\151\x73\151\164\157\162\137\x6d\157\x5f\157\141\x75\x74\150\137\164\x65\163\164"] == true)) {
goto cN;
}
$XP = drupal_get_path("\155\x6f\x64\x75\154\x65", "\155\151\x6e\x69\157\x72\x61\156\x67\145\137\157\x61\x75\164\150\137\x63\154\151\145\156\x74");
user_cookie_save(array("\155\x6f\x5f\x6f\x61\x75\164\150\137\x74\145\163\x74" => false));
$B0 = isset($ni["\x65\155\141\x69\154"]) ? $ni["\x65\155\x61\151\x6c"] : "\125\x73\x65\162";
echo "\x3c\x64\151\x76\40\163\164\x79\154\x65\x3d\42\x66\157\x6e\164\x2d\x66\141\155\x69\x6c\171\72\103\x61\x6c\151\x62\x72\151\x3b\160\141\x64\x64\x69\156\147\x3a\60\x20\x33\45\73\42\76";
echo "\x3c\x64\151\x76\x20\163\164\171\154\145\75\42\143\x6f\x6c\157\162\x3a\40\x23\63\x63\67\66\x33\x64\73\x62\x61\x63\x6b\147\x72\157\165\x6e\144\55\143\x6f\x6c\x6f\x72\72\40\43\x64\146\146\x30\x64\70\73\40\160\x61\144\x64\151\x6e\147\72\62\x25\73\x6d\141\162\x67\151\156\55\x62\x6f\164\x74\x6f\x6d\72\62\x30\x70\170\x3b\x74\x65\x78\x74\x2d\141\x6c\x69\147\156\72\143\x65\x6e\x74\x65\162\73\40\x62\x6f\162\144\145\162\x3a\61\160\170\40\x73\x6f\154\151\x64\x20\x23\x41\x45\x44\102\71\101\x3b\xa\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\146\157\156\164\x2d\163\x69\172\145\x3a\61\x35\160\164\x3b\42\76\12\40\40\40\40\x20\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\40\x20\x20\x20\x20\x20\40\x54\x45\x53\124\40\123\x55\x43\103\x45\x53\x53\x46\125\x4c\xa\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\74\x2f\x64\151\x76\x3e\xa\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x3c\x64\x69\166\x20\x73\164\x79\154\x65\x3d\x22\x64\x69\x73\x70\x6c\141\x79\x3a\x62\154\x6f\x63\x6b\73\x74\145\x78\164\55\141\x6c\x69\147\156\72\143\x65\156\x74\145\x72\73\155\141\162\x67\151\156\x2d\x62\157\x74\164\x6f\x6d\72\x34\45\x3b\42\x3e\12\x20\40\40\40\40\40\40\x20\40\40\40\40\40\40\x20\40\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\x20\40\40\40\74\151\x6d\x67\40\x73\164\x79\x6c\145\x3d\x22\x77\x69\144\164\150\72\61\x35\x25\73\42\163\x72\143\x3d\42" . $XP . "\57\141\163\163\145\x74\x73\57\x69\x6d\147\57\x67\x72\x65\145\156\x5f\x63\x68\145\x63\x6b\x2e\160\x6e\x67\x22\76\12\x20\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\74\x2f\144\151\x76\76";
echo "\74\x73\x70\141\156\40\x73\164\x79\154\145\x3d\42\146\x6f\x6e\164\x2d\163\x69\172\145\x3a\61\63\x70\x74\73\x22\76\74\x62\76\110\145\154\x6c\157\74\x2f\142\76\54\40" . $B0 . "\x3c\57\163\x70\141\x6e\76\74\x62\x72\57\x3e\12\40\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\40\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x3c\x70\40\163\x74\171\154\145\75\42\x66\x6f\x6e\164\x2d\167\145\x69\147\150\164\x3a\142\x6f\x6c\144\x3b\146\157\156\x74\55\163\151\172\x65\72\x31\63\x70\x74\x3b\155\x61\x72\147\151\156\x2d\154\x65\146\x74\x3a\x31\45\x3b\42\x3e\101\x54\x54\x52\111\x42\125\124\105\123\x20\x52\x45\103\105\x49\x56\105\x44\72\74\57\x70\76\xa\40\x20\40\x20\x20\x20\x20\40\40\x20\40\40\x20\40\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\74\x74\x61\142\154\x65\40\x73\x74\x79\154\145\75\42\x62\x6f\162\x64\x65\x72\55\143\x6f\x6c\x6c\x61\160\163\145\72\x63\x6f\154\154\x61\x70\163\145\x3b\142\157\162\x64\145\162\55\163\160\141\x63\151\x6e\x67\x3a\x30\x3b\40\x64\x69\x73\160\x6c\141\x79\72\164\141\142\x6c\145\73\x77\151\144\x74\x68\x3a\x31\x30\60\45\x3b\x20\146\x6f\156\x74\x2d\163\151\172\x65\x3a\61\63\x70\164\73\142\x61\143\153\x67\x72\x6f\x75\156\x64\55\143\x6f\x6c\x6f\162\x3a\43\x45\104\x45\104\105\104\73\x22\76\12\x20\x20\x20\x20\40\40\40\40\x20\40\x20\40\40\40\x20\40\x20\40\40\40\40\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\74\164\x72\40\x73\x74\171\x6c\145\x3d\42\x74\x65\170\164\55\x61\154\x69\x67\x6e\x3a\143\x65\x6e\164\x65\162\73\42\76\xa\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\40\x20\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x3c\164\x64\x20\163\x74\x79\154\145\75\42\x66\157\x6e\164\55\x77\145\151\x67\150\164\x3a\142\157\x6c\144\x3b\142\157\x72\144\145\162\72\62\x70\170\40\163\x6f\x6c\x69\x64\x20\43\71\64\x39\x30\71\x30\73\x70\x61\x64\144\151\156\147\x3a\62\45\73\x22\76\x41\124\124\x52\x49\x42\x55\124\x45\x20\116\101\x4d\105\74\57\x74\x64\x3e\12\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\40\40\40\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\74\164\144\x20\163\x74\171\x6c\145\75\42\x66\157\x6e\x74\55\x77\x65\x69\147\150\x74\72\x62\157\154\x64\73\x70\x61\144\144\151\x6e\147\72\62\45\x3b\142\157\x72\144\x65\162\x3a\x32\160\x78\x20\163\157\x6c\x69\x64\x20\x23\71\x34\x39\x30\71\60\73\x20\x77\157\x72\144\x2d\167\162\141\160\72\x62\x72\x65\x61\153\x2d\167\x6f\x72\144\73\x22\x3e\101\x54\x54\x52\111\x42\x55\124\105\x20\x56\x41\114\125\105\74\57\x74\x64\76\xa\x20\40\40\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\x3c\57\x74\x72\x3e";
self::testattrmappingconfig('', $ni);
echo "\x3c\x2f\x74\x61\142\x6c\x65\x3e\74\57\x64\x69\166\x3e";
echo "\x3c\x64\151\166\x20\163\x74\171\154\145\x3d\x22\155\141\x72\x67\151\x6e\72\63\45\73\144\x69\x73\x70\x6c\141\x79\72\142\x6c\157\143\x6b\73\x74\x65\170\x74\x2d\141\x6c\151\x67\x6e\x3a\x63\145\x6e\x74\145\x72\x3b\x22\76\12\x20\x20\40\40\40\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\x3c\151\x6e\x70\x75\x74\x20\163\x74\171\154\x65\x3d\42\160\x61\x64\x64\151\x6e\x67\x3a\61\x25\73\167\151\144\x74\x68\x3a\63\67\x25\73\x62\x61\143\153\147\x72\157\165\x6e\x64\x3a\40\x23\60\60\71\x31\x43\104\40\x6e\x6f\156\145\40\162\x65\x70\x65\141\164\40\163\x63\162\x6f\x6c\154\x20\x30\45\40\x30\x25\x3b\143\165\x72\163\157\162\72\x20\x70\157\151\156\x74\x65\162\x3b\146\157\x6e\164\55\x73\x69\172\145\72\x31\x35\x70\x78\73\xa\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\40\40\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\x62\157\x72\x64\145\x72\x2d\x77\x69\144\x74\x68\72\x20\61\x70\x78\73\142\x6f\162\x64\145\x72\55\163\164\x79\154\x65\x3a\40\x73\x6f\154\151\144\x3b\x62\157\162\144\145\162\55\x72\141\144\151\165\163\x3a\x20\63\x70\170\x3b\x77\150\x69\164\145\55\163\x70\141\x63\x65\x3a\x20\x6e\157\x77\x72\x61\160\x3b\x62\157\x78\55\163\151\x7a\151\x6e\147\72\x20\142\157\162\x64\x65\x72\55\142\x6f\170\73\142\157\x72\144\145\162\x2d\143\157\154\157\x72\x3a\x20\x23\60\x30\67\x33\101\x41\x3b\12\x20\40\40\40\x20\x20\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\142\157\x78\x2d\163\150\141\x64\x6f\x77\x3a\40\60\160\170\40\x31\x70\170\x20\x30\x70\170\40\162\147\142\141\50\61\x32\60\54\x20\62\x30\x30\54\x20\x32\63\60\54\x20\x30\56\66\51\40\151\x6e\163\145\x74\x3b\143\x6f\x6c\x6f\x72\x3a\40\x23\106\106\x46\x3b\42\x74\171\160\x65\x3d\42\142\x75\x74\x74\157\156\x22\40\x76\x61\x6c\165\x65\x3d\x22\x43\157\156\x66\151\147\165\x72\145\x20\x41\x74\x74\162\151\142\165\164\x65\57\122\x6f\154\x65\x20\115\141\x70\160\x69\156\147\42\12\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\40\40\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\40\x20\40\40\x20\40\x6f\x6e\x43\154\x69\x63\x6b\x3d\42\x63\x6c\x6f\163\145\x5f\x61\156\144\137\x72\145\x64\x69\162\145\x63\164\x28\51\x3b\x22\x3e\xa\12\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\40\40\x3c\x69\156\x70\165\x74\40\163\x74\171\154\x65\x3d\42\x70\x61\144\144\151\156\147\x3a\x31\45\x3b\x77\x69\144\164\x68\x3a\x31\60\60\160\170\73\142\x61\x63\153\147\x72\x6f\x75\x6e\144\x3a\x20\x23\60\x30\71\x31\x43\104\x20\x6e\x6f\x6e\x65\x20\162\x65\160\145\x61\164\40\163\143\x72\x6f\154\x6c\40\60\45\x20\x30\x25\73\x63\x75\162\x73\x6f\162\x3a\40\160\157\x69\x6e\164\x65\162\73\146\x6f\x6e\164\55\163\151\172\x65\72\x31\x35\x70\x78\73\12\40\x20\x20\40\40\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\40\40\x20\142\x6f\162\x64\x65\162\x2d\167\151\144\164\x68\x3a\40\x31\x70\x78\x3b\142\x6f\x72\144\145\162\55\x73\164\x79\x6c\145\72\x20\163\157\x6c\x69\144\x3b\x62\x6f\162\144\x65\x72\x2d\x72\x61\x64\x69\165\163\72\x20\63\x70\170\x3b\167\x68\151\x74\x65\x2d\163\160\x61\x63\x65\72\x20\x6e\x6f\x77\162\141\x70\73\142\x6f\170\x2d\x73\x69\x7a\x69\x6e\x67\x3a\x20\142\x6f\x72\x64\x65\162\x2d\142\x6f\x78\73\142\x6f\162\144\145\162\55\143\x6f\x6c\157\x72\72\40\x23\x30\60\67\63\101\x41\x3b\12\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\40\142\157\x78\x2d\163\150\x61\144\157\x77\72\x20\x30\160\170\x20\x31\160\x78\x20\x30\x70\x78\x20\162\x67\142\x61\50\61\62\60\x2c\x20\x32\60\x30\x2c\x20\62\x33\x30\x2c\x20\60\56\x36\x29\x20\x69\156\163\145\164\73\143\x6f\154\x6f\162\72\40\x23\x46\106\106\73\x22\x74\x79\x70\145\x3d\42\x62\165\x74\164\x6f\x6e\42\40\x76\x61\154\x75\x65\75\42\x44\x6f\156\145\x22\x20\x6f\x6e\103\x6c\x69\x63\x6b\75\x22\163\145\x6c\x66\56\143\x6c\157\x73\145\50\x29\x3b\42\76\xa\x20\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\40\x20\40\40\40\40\40\x3c\57\144\151\166\76\12\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\74\x73\x63\162\151\x70\x74\76\12\x20\40\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\40\40\x66\165\x6e\x63\x74\x69\157\156\40\x63\154\157\163\x65\137\141\x6e\x64\x5f\x72\x65\x64\x69\162\145\x63\164\50\51\173\12\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\167\x69\x6e\144\157\167\x2e\157\x70\x65\156\x65\162\x2e\x6c\x6f\143\141\164\151\x6f\x6e\x2e\150\x72\x65\146\x20\x3d\x20\x22\141\x64\x6d\151\156\x2f\143\157\156\146\151\x67\57\x70\145\157\x70\x6c\145\57\x6d\151\x6e\151\157\162\x61\156\x67\145\x5f\157\141\x75\x74\150\x5f\x63\x6c\151\x65\156\164\x2f\155\141\160\160\x69\x6e\147\42\x3b\12\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\40\40\40\x20\x73\x65\154\x66\x2e\143\x6c\x6f\163\x65\50\x29\73\12\x20\x20\x20\40\40\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\175\12\x20\40\40\40\x20\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\74\x2f\x73\x63\162\151\160\x74\x3e";
exit;
return new Response();
cN:
if (empty($K2)) {
goto vR;
}
$y7 = self::getnestedattribute($ni, $K2);
vR:
if (empty($Kl)) {
goto H1;
}
if (strpos($Kl, "\x3b") !== false) {
goto MR;
}
$BC = self::getnestedattribute($ni, $Kl);
goto Eu;
MR:
$ZV = explode("\73", $Kl);
$mV = '';
foreach ($ZV as $cW) {
$mV .= self::getnestedattribute($ni, $cW) . "\40";
Ef:
}
FP:
$BC = trim($mV);
Eu:
H1:
global $base_url;
if (!empty(\Drupal::config("\x6d\151\156\151\x6f\162\x61\x6e\147\145\137\x6f\x61\165\x74\150\137\143\x6c\x69\145\156\164\x2e\x73\145\x74\x74\151\x6e\147\x73")->get("\x6d\x69\156\151\x6f\162\141\156\147\145\137\x6f\x61\x75\164\x68\x5f\143\x6c\151\x65\156\164\137\142\141\x73\x65\x5f\165\162\x6c"))) {
goto z0;
}
$nQ = $base_url;
goto Oz;
z0:
$nQ = \Drupal::config("\155\151\156\x69\x6f\x72\141\x6e\147\145\137\x6f\x61\x75\x74\150\137\143\154\x69\x65\156\x74\x2e\x73\145\x74\164\x69\x6e\147\163")->get("\155\151\x6e\151\x6f\x72\x61\156\x67\145\x5f\157\141\165\x74\150\137\143\154\151\x65\x6e\x74\x5f\142\141\x73\x65\137\165\162\154");
Oz:
if (!empty($y7)) {
goto ka;
}
Utilities::save_SSO_report_data("\106\x41\111\x4c\x55\122\x45\x2e\x20\x45\155\x61\151\154\40\156\157\x74\40\155\141\160\x70\x65\144", $BC ? $BC : "\55", "\x2d");
echo "\74\x64\x69\166\40\163\164\171\x6c\145\x3d\x22\146\157\x6e\164\55\x66\141\x6d\x69\154\171\x3a\x43\141\x6c\151\142\x72\151\x3b\x70\x61\x64\x64\151\x6e\x67\x3a\60\40\63\x25\73\x22\x3e";
echo "\x3c\x64\x69\x76\x20\x73\x74\171\154\145\75\42\143\157\154\x6f\162\x3a\x20\43\141\x39\64\x34\64\62\73\x62\x61\143\153\x67\x72\x6f\165\156\x64\55\143\157\x6c\x6f\x72\x3a\40\x23\146\62\144\145\x64\x65\73\160\141\144\x64\x69\x6e\147\72\40\x31\65\x70\x78\73\x6d\x61\162\x67\x69\156\55\x62\x6f\x74\164\157\x6d\x3a\40\62\60\x70\x78\x3b\164\145\x78\x74\x2d\x61\x6c\151\x67\156\72\143\x65\156\164\x65\x72\x3b\x62\157\x72\x64\145\162\72\61\x70\170\40\163\x6f\154\x69\144\x20\43\x45\66\x42\63\x42\x32\73\146\x6f\x6e\x74\55\163\x69\x7a\x65\x3a\61\70\x70\x74\x3b\42\76\40\x45\x52\122\x4f\x52\x3c\x2f\x64\151\166\x3e\xa\40\40\40\40\40\x20\40\40\x20\x20\40\40\40\40\40\x20\x20\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\x20\x20\x3c\144\151\x76\x20\163\x74\171\154\145\75\x22\143\x6f\154\x6f\162\72\40\x23\141\71\64\64\x34\x32\x3b\x66\x6f\x6e\164\55\163\151\172\x65\72\x31\x34\x70\164\73\x20\x6d\141\x72\147\x69\156\x2d\142\157\x74\x74\157\155\x3a\62\x30\x70\170\73\x22\76\74\160\76\x3c\x73\164\x72\x6f\x6e\147\76\x45\162\162\x6f\x72\x3a\40\74\57\x73\x74\162\157\x6e\x67\76\x45\155\x61\151\x6c\40\x61\x64\144\x72\x65\163\163\40\x64\157\145\163\x20\156\157\x74\x20\x72\x65\x63\145\x69\166\x65\144\x2e\74\x2f\x70\x3e\xa\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\40\40\40\x20\40\40\40\40\x20\40\40\x20\x20\40\40\40\x20\40\40\x20\x20\40\x20\x20\74\160\x3e\x43\150\145\143\x6b\x20\171\157\x75\x72\40\74\x62\x3e\x41\x74\x74\162\151\x62\165\164\x65\40\115\141\160\160\151\156\x67\74\x2f\142\x3e\40\x63\157\156\x66\151\x67\165\162\x61\x74\x69\157\x6e\56\74\57\160\76\xa\x20\40\x20\x20\40\40\x20\40\40\40\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\x20\x20\x20\40\x3c\160\x3e\74\163\164\162\x6f\156\x67\76\x50\x6f\163\163\151\142\x6c\x65\x20\x43\141\165\x73\x65\x3a\x20\74\x2f\x73\164\x72\x6f\156\x67\76\x45\155\x61\x69\x6c\x20\101\164\x74\162\151\142\165\164\145\40\x66\x69\x65\x6c\144\x20\x69\x73\40\156\x6f\x74\x20\143\157\x6e\146\151\x67\165\x72\145\x64\56\74\x2f\160\76\xa\40\40\40\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\40\40\x20\x20\74\57\x64\151\166\x3e\12\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\40\40\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\x3c\x64\x69\x76\x20\163\x74\171\x6c\x65\75\x22\155\141\162\x67\x69\x6e\x3a\x33\x25\x3b\x64\x69\163\x70\x6c\x61\171\72\142\x6c\x6f\x63\153\x3b\164\x65\170\164\55\141\154\x69\147\x6e\x3a\x63\x65\156\x74\x65\162\x3b\42\x3e\74\57\144\x69\x76\x3e\xa\x20\40\40\40\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\40\40\40\40\40\40\40\40\x20\40\x3c\144\x69\166\40\163\x74\x79\154\x65\75\x22\x6d\141\x72\147\x69\x6e\72\x33\45\73\x64\151\163\160\154\141\171\72\142\154\x6f\x63\x6b\x3b\164\x65\x78\x74\55\x61\x6c\x69\x67\x6e\72\x63\145\156\164\145\162\x3b\42\x3e\xa\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\x3c\146\x6f\x72\155\40\141\143\x74\151\157\156\75\x22" . $nQ . "\42\40\x6d\145\x74\150\x6f\144\40\75\x22\x70\157\x73\x74\x22\76\xa\x20\40\x20\x20\40\40\x20\x20\x20\40\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\40\40\x20\x20\40\x20\40\x20\x3c\x69\x6e\160\165\x74\x20\x73\x74\171\154\x65\x3d\x22\160\x61\144\144\151\x6e\x67\x3a\x31\45\x3b\167\x69\144\164\150\72\x31\60\60\x70\170\73\142\141\x63\x6b\x67\162\157\165\x6e\x64\72\40\43\x30\60\x39\61\x43\104\x20\x6e\x6f\x6e\x65\40\x72\x65\x70\145\141\164\40\163\x63\x72\157\x6c\x6c\x20\x30\45\x20\x30\x25\73\x63\x75\162\163\x6f\162\x3a\x20\x70\157\151\x6e\x74\145\162\73\146\x6f\156\x74\55\x73\151\x7a\x65\72\61\x35\160\x78\x3b\142\157\x72\144\x65\162\x2d\167\151\144\x74\x68\x3a\x20\61\160\170\73\x62\157\162\x64\x65\162\x2d\163\x74\x79\x6c\x65\x3a\x20\x73\157\154\151\144\73\x62\x6f\162\144\x65\162\55\x72\141\x64\151\x75\x73\x3a\x20\63\160\x78\x3b\167\x68\151\x74\x65\55\x73\160\141\143\x65\x3a\x20\x6e\x6f\167\162\x61\x70\x3b\142\157\170\55\163\151\172\x69\156\147\72\x20\x62\157\x72\144\145\x72\55\142\x6f\170\73\142\157\162\144\145\162\55\x63\157\154\157\162\72\40\x23\60\x30\67\x33\x41\101\73\x62\157\170\x2d\x73\150\x61\144\x6f\167\x3a\x20\60\x70\170\40\61\160\x78\40\x30\160\170\x20\x72\147\x62\x61\x28\61\62\60\x2c\x20\x32\x30\x30\54\40\x32\x33\x30\x2c\x20\60\56\66\51\40\151\x6e\163\x65\164\73\x63\157\154\x6f\x72\72\x20\43\106\106\x46\73\42\x74\171\160\145\x3d\42\x73\x75\142\x6d\151\164\x22\x20\166\x61\x6c\165\145\x3d\42\104\x6f\x6e\145\x22\x3e\12\x20\40\40\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\74\57\146\157\x72\x6d\76\12\x20\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\40\x20\40\40\40\x3c\57\x64\151\x76\76";
exit;
return new Response();
ka:
$Ow = Utilities::Is_Restricted_Domain($y7);
if (!$Ow) {
goto Fe;
}
Utilities::save_SSO_report_data("\106\x41\111\x4c\x55\122\105\x2e\x20\x44\x6f\x6d\141\151\x6e\x20\122\x65\x73\164\162\151\x63\x74\145\x64", $BC ? $BC : "\55", $y7);
echo "\x3c\x64\x69\x76\x20\163\164\171\x6c\x65\x3d\42\146\x6f\x6e\164\55\146\141\x6d\x69\x6c\x79\72\x43\141\154\151\142\162\151\73\x70\141\144\144\x69\x6e\147\72\x30\x20\63\45\73\42\x3e";
echo "\x3c\144\x69\x76\x20\163\164\x79\x6c\x65\x3d\x22\x63\157\x6c\x6f\162\x3a\40\x23\x61\71\x34\x34\64\x32\73\x62\141\x63\153\x67\x72\157\165\156\x64\55\143\157\154\x6f\x72\x3a\x20\43\146\x32\x64\x65\144\x65\x3b\x70\141\x64\144\x69\x6e\147\x3a\40\x31\65\x70\x78\73\155\x61\x72\x67\151\156\55\142\x6f\164\x74\x6f\x6d\x3a\x20\x32\60\x70\x78\73\x74\x65\x78\x74\55\x61\x6c\x69\147\x6e\72\x63\145\156\x74\145\162\73\142\x6f\162\x64\145\162\x3a\61\x70\x78\40\163\x6f\x6c\x69\x64\x20\43\x45\x36\102\63\102\62\x3b\x66\157\x6e\x74\55\163\x69\172\x65\72\61\x38\160\164\73\42\x3e\x20\x45\122\x52\117\x52\x3c\x2f\144\151\x76\76\12\40\x20\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\x20\40\40\40\x20\x20\x3c\144\x69\x76\40\163\164\x79\154\x65\75\x22\143\x6f\154\157\162\x3a\x20\x23\x61\71\x34\64\64\x32\x3b\x66\157\x6e\164\x2d\x73\151\x7a\x65\72\x31\64\160\164\73\x20\155\141\162\147\x69\156\x2d\x62\x6f\164\164\157\x6d\72\x32\60\x70\x78\73\42\x3e\74\160\76\x3c\x73\x74\162\x6f\156\147\76\x45\162\x72\157\x72\x3a\x20\x3c\57\x73\x74\162\x6f\156\x67\x3e\x44\157\155\x61\x69\x6e\40\162\145\x73\x74\162\151\x63\164\x69\x6f\156\40\151\163\x20\145\156\x61\142\x6c\x65\x64\56\74\57\x70\76\xa\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\x20\x20\40\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x3c\160\x3e\x50\154\145\x61\x73\x65\40\143\157\x6e\x74\141\143\x74\x20\171\x6f\165\162\40\x61\x64\x6d\x69\156\151\163\x74\x72\141\x74\x6f\162\x2e\x3c\57\x70\76\xa\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\40\40\40\40\40\40\x20\x20\x20\40\74\x70\76\x3c\x73\x74\x72\x6f\x6e\x67\76\x50\157\x73\x73\151\142\154\145\40\103\141\165\163\x65\72\x20\74\x2f\163\x74\x72\157\x6e\147\76\131\157\165\x72\x20\144\157\155\x61\x69\x6e\40\x69\163\x20\156\157\164\x20\141\154\x6c\x6f\167\145\x64\40\164\157\x20\x6c\x6f\x67\x69\x6e\56\x3c\x2f\160\76\12\40\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\40\74\57\144\x69\166\76\12\40\40\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\x3c\x64\x69\x76\40\163\164\171\154\x65\75\x22\x6d\141\162\147\151\x6e\x3a\x33\45\73\x64\x69\163\x70\x6c\x61\x79\72\142\154\157\x63\x6b\73\x74\145\170\164\x2d\x61\154\151\147\156\72\x63\x65\x6e\x74\x65\162\73\x22\x3e\74\x2f\144\x69\166\76\12\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\74\144\x69\166\x20\x73\164\171\154\x65\75\42\155\x61\x72\x67\151\156\72\x33\x25\73\x64\x69\x73\x70\x6c\141\x79\x3a\142\154\x6f\143\153\x3b\164\x65\x78\164\x2d\141\x6c\x69\147\156\72\143\145\156\164\x65\162\x3b\42\76\xa\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\40\x20\40\40\x20\x20\40\x20\40\40\40\40\40\x3c\146\x6f\162\x6d\x20\141\x63\x74\x69\x6f\156\75\42" . $nQ . "\42\40\155\x65\164\150\157\144\x20\x3d\x22\x70\157\x73\x74\42\76\xa\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\40\74\151\x6e\x70\x75\164\x20\x73\x74\171\x6c\145\75\x22\160\x61\144\x64\151\x6e\147\72\61\45\x3b\167\x69\144\x74\x68\x3a\x31\x30\60\160\x78\73\x62\141\143\153\147\162\157\165\x6e\x64\72\x20\x23\x30\60\71\61\x43\104\40\156\x6f\x6e\x65\x20\x72\145\160\x65\141\x74\x20\x73\143\x72\x6f\154\154\40\x30\45\40\60\45\x3b\143\165\x72\163\157\x72\72\40\x70\x6f\x69\x6e\x74\145\162\x3b\146\157\x6e\x74\x2d\163\x69\172\145\72\61\65\x70\x78\x3b\x62\x6f\162\144\145\162\55\x77\x69\x64\164\150\x3a\40\x31\160\x78\x3b\x62\x6f\162\144\145\162\55\163\x74\x79\154\145\72\x20\163\x6f\154\x69\x64\x3b\x62\157\x72\144\x65\x72\x2d\x72\x61\144\x69\165\163\x3a\40\x33\x70\170\x3b\167\150\151\164\x65\x2d\x73\x70\x61\x63\145\x3a\x20\x6e\x6f\x77\x72\x61\x70\73\142\x6f\170\x2d\x73\151\172\151\x6e\x67\x3a\x20\142\157\162\144\145\x72\55\x62\x6f\x78\73\x62\157\162\x64\x65\x72\55\143\157\x6c\157\x72\x3a\x20\43\60\x30\67\x33\x41\x41\x3b\x62\x6f\x78\x2d\x73\x68\x61\x64\157\167\x3a\40\60\160\170\40\61\160\x78\40\x30\x70\170\x20\x72\147\142\x61\x28\x31\x32\x30\54\40\x32\x30\x30\54\40\x32\x33\60\x2c\x20\60\56\x36\x29\x20\151\156\163\x65\x74\73\143\157\154\x6f\162\x3a\40\43\106\x46\x46\73\42\x74\x79\x70\x65\75\x22\163\x75\x62\155\151\164\x22\x20\x76\141\154\165\x65\x3d\x22\104\x6f\156\145\42\76\xa\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\40\40\x20\40\x3c\57\146\x6f\x72\x6d\76\x3c\57\144\151\x76\x3e";
exit;
return new Response();
Fe:
$pc = user_load_by_mail($y7);
$wk = \Drupal::config("\x6d\151\x6e\x69\157\x72\141\x6e\147\x65\137\x6f\141\165\164\x68\x5f\143\x6c\x69\145\156\164\x2e\x73\x65\x74\x74\x69\156\x67\x73")->get("\155\151\156\151\x6f\162\141\x6e\147\x65\x5f\x6f\x61\165\164\x68\137\x63\154\x69\x65\x6e\x74\x5f\145\x6e\141\x62\154\x65\137\162\x6f\x6c\x65\x5f\x6d\141\160\160\151\156\147");
$pz = \Drupal::config("\155\151\156\151\x6f\162\x61\x6e\147\x65\x5f\x6f\141\165\164\150\x5f\143\x6c\x69\145\156\164\56\163\x65\x74\x74\151\x6e\147\163")->get("\x6d\151\156\x69\x6f\x72\141\156\x67\145\x5f\157\x61\x75\x74\150\137\x63\x6c\151\145\156\164\137\141\x75\x74\157\x5f\143\x72\145\141\164\x65\137\x75\x73\145\x72\163");
$UR = \Drupal::config("\x6d\151\x6e\151\x6f\x72\x61\156\x67\x65\x5f\x6f\141\x75\x74\150\137\x63\154\x69\x65\156\164\56\x73\145\x74\x74\151\x6e\147\163")->get("\x6d\151\x6e\x69\x6f\x72\x61\x6e\x67\x65\x5f\x6f\x61\x75\x74\150\x5f\x64\x65\x66\x61\x75\x6c\164\137\162\x6f\x6c\x65");
if (!empty($BC)) {
goto Dg;
}
$BC = $y7;
Dg:
$f_ = \Drupal::config("\x6d\x69\156\x69\x6f\162\141\x6e\147\145\x5f\x6f\141\165\x74\x68\x5f\143\x6c\x69\x65\x6e\x74\x2e\163\145\164\164\x69\156\147\163")->get("\155\x69\156\x69\x6f\162\141\156\147\x65\x5f\157\x61\165\x74\x68\137\162\145\161\x75\x69\162\x65\137\160\162\x6f\x66\151\154\145\137\x66\x69\145\154\144");
if (isset($pc->uid)) {
goto cR;
}
if ($pz) {
goto sS;
}
Utilities::save_SSO_report_data("\x46\101\111\114\125\x52\105\x2e\40\122\x65\147\x69\x73\164\x72\141\x74\151\x6f\x6e\x20\x44\151\x73\x61\x62\154\x65\x64", $BC, $y7);
echo "\x3c\x64\x69\166\x20\x73\x74\171\154\x65\x3d\42\x66\157\156\164\55\146\141\155\x69\154\171\72\103\141\154\151\142\162\x69\73\x70\141\x64\x64\151\x6e\x67\x3a\60\x20\63\x25\x3b\x22\x3e";
echo "\x3c\x64\151\166\x20\163\164\171\154\x65\x3d\x22\x63\157\154\x6f\x72\x3a\40\43\x61\71\64\64\x34\62\x3b\x62\x61\143\153\x67\x72\x6f\165\156\144\55\x63\x6f\154\x6f\x72\72\x20\x23\146\x32\x64\145\x64\145\73\x70\141\x64\144\151\156\147\x3a\x20\x31\x35\160\x78\x3b\x6d\141\162\147\x69\156\x2d\x62\157\164\164\x6f\x6d\x3a\x20\x32\x30\x70\x78\73\164\x65\170\164\x2d\x61\154\x69\x67\156\x3a\x63\145\x6e\164\x65\162\x3b\x62\x6f\162\144\x65\x72\72\x31\160\170\40\163\157\x6c\151\x64\x20\43\x45\66\x42\x33\102\x32\x3b\146\x6f\156\x74\55\163\151\x7a\145\72\61\x38\160\164\73\42\x3e\40\105\122\122\x4f\x52\74\57\144\x69\x76\76\xa\40\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\40\x20\40\40\40\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\40\x3c\x64\151\x76\x20\163\x74\171\x6c\145\75\x22\143\157\154\157\x72\x3a\40\x23\x61\71\64\64\x34\x32\73\x66\x6f\156\x74\55\163\151\x7a\145\x3a\61\x34\x70\x74\73\40\x6d\141\162\x67\151\x6e\x2d\142\x6f\x74\x74\157\155\x3a\62\x30\x70\x78\73\x22\76\74\160\76\74\163\164\162\157\156\x67\x3e\x45\162\162\157\x72\x3a\40\74\x2f\163\x74\162\x6f\x6e\147\x3e\x41\143\143\157\165\x6e\x74\x20\144\x6f\145\x73\x20\156\157\x74\x20\x65\x78\151\x73\164\x20\x77\151\164\x68\x20\x79\x6f\x75\x72\40\165\163\145\x72\156\141\155\145\56\x3c\x2f\x70\76\xa\40\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\x3c\x70\76\x50\154\145\x61\x73\x65\x20\x43\x6f\156\164\141\143\164\40\x79\157\x75\x72\x20\x61\144\x6d\151\156\x69\x73\x74\162\x61\x74\x6f\162\74\57\160\x3e\12\x20\40\40\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\40\x3c\160\x3e\74\x73\x74\162\x6f\x6e\x67\76\x50\157\x73\x73\151\142\154\145\x20\103\x61\x75\163\145\x3a\40\74\x2f\163\x74\x72\x6f\x6e\147\x3e\101\165\x74\157\40\143\x72\x65\x61\164\151\157\x6e\40\157\x66\40\165\x73\x65\162\40\151\x73\40\156\157\164\40\141\154\x6c\157\167\x65\x64\40\151\x66\x20\165\163\145\x72\40\x64\x6f\x65\163\x20\x6e\157\164\x20\x65\170\151\x73\164\x2e\x3c\x2f\160\x3e\xa\x20\40\40\x20\x20\40\40\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\40\40\40\x20\40\40\x20\40\40\x20\40\40\74\x2f\x64\151\x76\76\xa\40\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\x20\40\40\x20\x20\x20\40\x3c\144\x69\x76\40\x73\164\x79\154\x65\75\42\x6d\x61\x72\x67\x69\156\72\x33\45\x3b\144\x69\163\160\x6c\x61\171\72\x62\154\x6f\143\153\x3b\x74\145\x78\x74\x2d\141\x6c\x69\x67\156\x3a\143\x65\x6e\164\x65\x72\x3b\x22\76\x3c\57\x64\151\x76\x3e\xa\40\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\x20\40\40\x20\x20\40\x20\x20\74\x64\x69\166\40\x73\x74\x79\154\x65\75\42\x6d\141\x72\147\x69\x6e\x3a\x33\45\73\144\x69\x73\x70\154\141\171\72\x62\x6c\157\143\x6b\x3b\164\x65\170\164\x2d\141\154\151\147\156\x3a\143\x65\x6e\x74\145\162\73\x22\76\12\40\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\74\x66\157\162\x6d\x20\155\x65\164\150\x6f\144\75\42\120\x4f\123\124\42\40\x61\143\164\151\157\156\40\75\x22" . $base_url . "\x22\76\xa\40\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\40\x20\40\x20\40\74\151\156\x70\x75\x74\40\163\x74\171\154\145\x3d\x22\x70\141\144\144\x69\156\x67\x3a\x31\45\73\x77\x69\144\164\x68\x3a\61\x30\x30\160\x78\73\x62\141\143\153\x67\162\x6f\165\x6e\x64\x3a\40\x23\60\x30\71\61\103\x44\x20\156\157\156\x65\x20\x72\x65\x70\x65\141\164\40\163\143\x72\157\x6c\154\x20\x30\x25\x20\x30\45\x3b\x63\x75\162\x73\157\162\x3a\x20\160\157\x69\x6e\164\145\162\x3b\146\157\156\x74\55\163\151\x7a\145\72\x31\x35\x70\x78\73\142\157\x72\144\x65\162\x2d\167\151\144\164\150\72\40\61\160\170\73\142\x6f\162\x64\145\162\55\163\x74\x79\154\x65\72\40\163\x6f\x6c\x69\144\x3b\142\157\162\x64\x65\162\x2d\x72\141\x64\x69\x75\x73\72\40\63\160\170\73\167\x68\x69\164\145\55\163\160\x61\143\x65\x3a\x20\156\157\167\x72\141\160\x3b\x62\x6f\170\55\x73\151\x7a\151\x6e\x67\72\x20\142\157\162\144\145\162\x2d\x62\157\x78\x3b\x62\x6f\162\144\x65\162\55\143\157\x6c\x6f\x72\72\x20\43\x30\60\x37\63\101\101\73\142\x6f\x78\x2d\163\150\x61\144\x6f\x77\x3a\x20\x30\x70\170\x20\61\160\170\x20\x30\160\x78\40\x72\147\x62\141\x28\61\x32\60\x2c\x20\x32\60\60\x2c\40\x32\63\60\x2c\x20\x30\56\66\x29\40\x69\x6e\x73\x65\164\73\143\x6f\154\x6f\x72\x3a\x20\x23\x46\x46\x46\x3b\42\x74\171\160\145\75\42\163\165\142\155\x69\x74\x22\x20\x76\141\154\x75\x65\x3d\x22\104\157\156\145\42\40\x22\76\xa\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\x3c\57\x66\157\162\x6d\76\12\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\40\x20\x20\40\x20\40\x20\40\40\x20\x20\40\40\40\40\40\x3c\57\144\151\166\x3e";
exit;
return new Response();
goto le;
sS:
$BC = self::check_if_username_exist($BC);
$Dy = user_password(8);
$Cx = array("\156\x61\x6d\x65" => $BC, "\x6d\x61\151\x6c" => $y7, "\160\141\x73\x73" => $Dy, "\x73\x74\x61\x74\165\x73" => 1);
$pc = User::create($Cx);
$pc->save();
if (!($UR != "\141\165\164\x68\x65\x6e\164\151\x63\x61\x74\x65\144" && $wk)) {
goto mW;
}
$pc->addRole($UR);
$pc->save();
mW:
if (!($f_ == 1)) {
goto mJ;
}
Utilities::insert_user_in_profile_attributes_table($y7);
mJ:
le:
cR:
$pc = User::load($pc->id());
$fp = \Drupal::config("\x6d\151\x6e\151\157\x72\141\x6e\147\x65\137\157\x61\165\164\x68\137\143\x6c\x69\x65\x6e\164\56\x73\145\164\x74\151\156\x67\x73")->get("\155\151\x6e\x69\157\162\141\156\x67\145\x5f\157\x61\x75\164\150\x5f\143\x75\x73\x74\x6f\x6d\x5f\141\164\x74\162\163\137\155\x61\x70\137\x61\x72\x72");
$zO = array();
if (!(isset($fp) && !empty($fp))) {
goto Gq;
}
foreach ($fp as $H4 => $Do) {
$zO[$Do] = self::getnestedattribute($ni, $H4);
vw:
}
Uu:
foreach ($zO as $TK => $VY) {
$pc->{$TK} = $VY;
$pc->save();
rc:
}
DL:
Gq:
$NP = \Drupal::config("\155\151\156\151\x6f\x72\141\156\147\x65\x5f\x6f\141\x75\x74\x68\137\x63\154\151\x65\156\164\x2e\163\x65\164\164\151\156\x67\x73")->get("\x6d\x69\156\151\157\162\141\156\x67\145\x5f\x6f\141\x75\x74\x68\x5f\x72\157\x6c\145\x5f\141\164\x74\x72\137\x6e\141\155\x65");
if (!(isset($NP) && !empty($NP))) {
goto Et;
}
$Xi = self::getnestedattribute($ni, $NP, "\162\157\x6c\145\x5f\x6d\x61\160");
if (is_null($pc)) {
goto Kr;
}
self::perform_role_mapping($ni, $pc, $Xi);
Kr:
Et:
$Bb = \Drupal::config("\x6d\x69\x6e\x69\x6f\162\x61\156\147\145\x5f\157\141\165\164\150\x5f\143\x6c\x69\x65\x6e\164\56\163\145\x74\x74\x69\156\x67\x73")->get("\155\x69\156\151\x6f\x72\141\156\x67\145\x5f\157\141\165\x74\x68\137\143\154\x69\x65\156\164\137\x64\x65\x66\141\x75\x6c\164\x5f\162\145\x6c\x61\171\x73\x74\x61\x74\145");
$cy = \Drupal::config("\x6d\x69\x6e\x69\157\x72\x61\156\x67\145\137\157\x61\x75\164\150\137\143\154\x69\x65\x6e\164\56\163\145\x74\164\151\x6e\147\163")->get("\143\x75\x72\x72\145\x6e\x74\137\154\151\156\x6b");
if ($Bb != '') {
goto Aj;
}
if ($cy != '') {
goto sb;
}
$nQ = \Drupal::config("\x6d\x69\156\x69\x6f\x72\x61\156\147\145\137\x6f\141\165\x74\x68\x5f\x63\154\x69\145\x6e\164\56\x73\145\164\164\151\x6e\x67\x73")->get("\156\x61\x76\151\147\141\164\151\157\156\137\x75\x72\x6c");
goto ZW;
sb:
$nQ = $cy;
ZW:
goto Ky;
Aj:
$nQ = $Bb;
Ky:
Utilities::save_SSO_report_data("\x53\125\x43\103\105\123\x53", $BC, $y7);
$c5 = array();
$c5["\x72\145\x64\x69\x72\145\x63\x74"] = $nQ;
setcookie("\x66\x69\x6e\x61\154\137\162\145\144\x69\x72\x65\x63\x74\137\165\162\154", $c5["\x72\x65\x64\151\x72\145\x63\164"]);
user_login_finalize($pc);
if (!($f_ == 1 && !Utilities::check_for_redirect_to_user_profile_form($y7))) {
goto pb;
}
Utilities::redirect_to_profile_form($pc->id());
pb:
echo "\74\x73\x63\x72\151\160\164\76\12\x20\x20\40\40\x20\40\40\x20\166\x61\162\x20\143\157\157\x6b\151\x65\x41\162\x72\x20\75\40\x64\157\143\x75\x6d\145\156\164\56\x63\x6f\157\153\x69\x65\56\163\x70\x6c\151\164\50\x22\x3b\42\x29\73\xa\x20\x20\40\x20\x20\x20\40\40\143\157\x6e\163\157\x6c\145\x2e\x6c\157\x67\50\x63\157\x6f\153\151\x65\x41\162\162\51\73\xa\40\x20\x20\40\x20\x20\x20\40\x66\x6f\x72\x28\166\141\x72\x20\151\40\75\40\60\x3b\x20\x69\40\74\40\143\157\x6f\x6b\x69\145\101\x72\x72\x2e\x6c\145\156\147\164\150\x3b\x20\x69\x2b\53\51\x20\x7b\xa\x20\x20\x20\40\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\x76\141\x72\x20\x63\157\157\x6b\151\145\120\141\x69\162\40\x3d\40\x63\157\x6f\153\151\145\101\x72\162\x5b\151\x5d\x2e\163\x70\x6c\x69\164\50\42\75\42\51\x3b\xa\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x69\146\50\x22\x66\x69\156\x61\154\137\162\x65\144\151\162\x65\x63\164\137\x75\x72\x6c\42\40\75\x3d\40\143\x6f\x6f\153\151\145\120\x61\x69\162\133\x30\x5d\x2e\x74\x72\151\x6d\x28\51\x29\40\x7b\12\x20\40\x20\40\40\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\x76\x61\x72\40\146\x69\156\141\x6c\x5f\x72\x65\x64\x69\162\145\143\164\x5f\x75\x72\154\40\x3d\x20\x63\157\157\153\x69\x65\x50\x61\151\162\x5b\x31\135\x2e\164\162\x69\155\x28\51\73\xa\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\40\40\40\146\x69\x6e\141\x6c\137\x72\x65\x64\151\x72\145\x63\164\137\x75\162\x6c\40\75\x20\x66\x69\x6e\141\x6c\x5f\x72\145\x64\x69\x72\145\143\164\x5f\165\162\154\56\x72\x65\160\x6c\x61\143\x65\50\x2f\45\x32\106\57\x67\x2c\x20\42\x2f\42\51\73\xa\x20\x20\40\x20\40\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\146\x69\156\x61\154\x5f\162\x65\x64\x69\162\145\143\164\x5f\165\162\154\40\75\x20\146\x69\156\x61\x6c\137\162\x65\144\x69\162\145\143\164\x5f\165\162\154\56\162\x65\x70\154\x61\143\145\50\57\x25\x33\x41\x2f\147\54\x20\x22\72\x22\51\x3b\xa\40\x20\x20\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\40\x7d\xa\40\40\40\40\x20\x20\x20\x20\175\12\40\x20\40\x20\40\40\40\x20\151\146\x28\x6c\157\143\x61\154\123\x74\157\162\141\x67\x65\x29\x7b\12\40\x20\x20\40\40\40\40\40\40\40\40\x20\146\x6f\162\50\x76\x61\x72\40\151\x20\x3d\40\x30\73\40\151\40\74\40\143\x6f\157\153\x69\145\101\162\162\x2e\x6c\145\156\x67\x74\150\73\40\151\x2b\x2b\51\40\173\12\40\40\40\x20\x20\40\40\40\40\40\x20\x20\40\x20\x20\40\166\141\162\40\143\157\157\153\x69\145\x50\141\151\162\40\x3d\x20\x63\157\157\x6b\151\145\x41\x72\x72\x5b\x69\135\x2e\x73\x70\154\151\164\x28\42\x3d\42\51\x3b\xa\40\x20\x20\40\40\x20\40\40\40\x20\x20\x20\40\40\40\40\x69\x66\x28\42\x61\x63\x63\x65\x73\163\x5f\164\x6f\153\145\x6e\x22\40\x3d\x3d\x20\x63\157\x6f\x6b\151\x65\x50\141\151\162\133\60\x5d\56\164\162\x69\155\x28\x29\51\x20\x7b\12\x20\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\40\x6c\157\143\141\x6c\x53\x74\157\x72\141\147\145\x2e\163\x65\164\111\164\x65\155\x28\42\141\143\x63\x65\163\x73\x5f\x74\x6f\x6b\145\156\x22\54\40\x63\157\157\153\151\x65\120\x61\151\162\x5b\61\135\x2e\164\162\151\155\50\x29\51\x3b\xa\x20\x20\x20\x20\x20\40\40\40\40\40\40\40\40\x20\40\40\x20\40\40\40\144\157\143\165\155\x65\156\164\x2e\x63\157\157\x6b\151\145\x20\x3d\x20\42\x61\x63\143\145\x73\x73\137\x74\157\x6b\145\x6e\x3d\x3b\40\x65\x78\x70\x69\162\x65\163\x3d\x54\150\165\x2c\x20\60\x31\40\x4a\141\156\40\x31\x39\67\x30\40\x30\60\x3a\60\x30\x3a\60\x30\40\125\124\103\x3b\40\x70\141\164\x68\x3d\57\73\x22\73\12\x20\40\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\175\12\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\151\x66\x28\x22\151\x64\137\x74\x6f\153\145\156\x22\40\x3d\x3d\x20\x63\157\157\x6b\x69\145\120\x61\151\162\133\x30\x5d\x2e\x74\162\x69\155\x28\51\51\x20\173\xa\40\40\x20\x20\x20\40\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\x20\40\154\x6f\143\x61\154\x53\164\x6f\162\x61\x67\x65\x2e\x73\x65\x74\111\x74\x65\155\50\42\x69\144\x5f\x74\157\153\x65\156\42\x2c\40\143\x6f\157\153\x69\145\x50\141\151\162\x5b\x31\135\x2e\164\162\x69\x6d\x28\x29\x29\x3b\xa\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\40\x20\40\x20\40\x20\x20\144\x6f\x63\165\155\145\156\164\56\x63\x6f\157\153\151\145\40\75\40\x22\x69\x64\137\x74\157\x6b\x65\x6e\x3d\x3b\x20\145\x78\160\x69\162\x65\x73\75\124\150\x75\x2c\x20\60\61\40\x4a\x61\x6e\x20\61\x39\x37\x30\x20\60\60\x3a\60\x30\x3a\x30\60\x20\x55\124\x43\73\40\160\x61\x74\150\75\x2f\73\x22\73\12\40\40\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x7d\xa\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\x20\x20\x20\40\x69\146\x28\x22\162\x65\x66\162\145\163\x68\137\x74\x6f\153\x65\156\42\x20\75\x3d\x20\143\157\x6f\153\151\145\120\141\151\162\x5b\x30\135\56\x74\162\x69\x6d\50\51\51\x20\173\xa\40\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\40\40\x6c\x6f\x63\x61\154\x53\x74\157\x72\141\x67\x65\x2e\163\145\x74\111\164\145\x6d\x28\x22\x72\x65\146\162\x65\163\150\137\x74\x6f\x6b\x65\156\x22\54\40\x63\157\157\153\x69\145\x50\141\151\x72\133\61\135\56\x74\x72\151\x6d\x28\x29\x29\x3b\12\40\x20\40\40\x20\40\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\x20\144\157\x63\x75\155\145\x6e\x74\56\x63\x6f\157\153\x69\145\40\75\40\42\x72\145\x66\162\145\163\150\x5f\164\x6f\x6b\145\x6e\75\x3b\x20\145\x78\x70\x69\162\x65\163\75\x54\150\x75\54\40\x30\61\40\112\x61\156\x20\x31\71\x37\x30\x20\60\x30\x3a\x30\60\72\60\60\40\125\124\103\73\x20\160\141\164\x68\x3d\x2f\x3b\x22\x3b\xa\40\40\40\x20\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\x7d\xa\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\x7d\12\40\40\x20\x20\x20\40\40\40\x7d\xa\x20\x20\40\40\x20\40\x20\40\x77\151\156\x64\157\x77\56\x6c\x6f\x63\x61\x74\x69\x6f\x6e\x2e\150\x72\145\146\x20\x3d\40\x66\151\x6e\141\x6c\x5f\162\x65\x64\151\x72\x65\x63\x74\x5f\x75\162\154\73\xa\x20\40\x20\x20\74\57\x73\x63\x72\151\160\164\76";
exit;
return new Response();
}
public static function check_if_username_exist($BC)
{
$ef = \Drupal::database();
$Py = $ef->query("\123\105\x4c\x45\x43\124\x20\x6e\x61\155\145\40\x46\122\117\x4d\x20\173\165\163\145\x72\163\x5f\x66\151\x65\154\x64\137\144\141\x74\141\175\x20\127\x48\x45\122\x45\x20\x6e\141\155\145\x20\x4c\111\x4b\x45\40\47" . $BC . "\45\x27\40\x4f\122\x44\x45\122\40\x42\131\40\156\141\x6d\145\x20\x44\x45\123\103\x3b");
$YR = $Py->fetchAll();
if (!(is_null($YR) || count($YR) == 0)) {
goto Fy;
}
return $BC;
Fy:
if (!($YR[0]->name === $BC)) {
goto Yf;
}
return $BC . "\60\61";
Yf:
if (!isset($YR[0])) {
goto jV;
}
$cS = intval(str_replace($BC, '', $YR[0]->name));
$cS++;
jV:
return $cS < 10 ? $BC . "\x30" . $cS : $BC . $cS;
}
public static function perform_role_mapping($nb, $pc, $Xi)
{
$hD = \Drupal::config("\155\x69\x6e\x69\157\162\141\x6e\147\145\x5f\157\x61\165\x74\150\x5f\x63\154\x69\x65\156\x74\56\x73\x65\x74\x74\x69\156\147\x73")->get("\x6d\x69\156\151\x6f\x72\x61\x6e\x67\145\x5f\157\x61\165\x74\150\137\162\157\154\x65\x5f\141\x74\x74\x72\137\x6e\x61\155\145");
$Zt = \Drupal::config("\155\151\156\x69\157\162\141\156\x67\145\137\157\141\165\164\x68\137\x63\x6c\x69\x65\x6e\x74\x2e\163\145\164\x74\x69\x6e\147\x73")->get("\162\157\154\145\x6d\141\160");
$wk = \Drupal::config("\155\x69\x6e\x69\x6f\162\141\x6e\x67\x65\x5f\x6f\141\x75\x74\x68\137\x63\154\x69\x65\156\164\56\x73\x65\x74\x74\x69\156\147\163")->get("\x6d\x69\156\x69\x6f\x72\x61\156\x67\145\x5f\157\141\165\x74\150\137\x63\x6c\151\145\156\x74\x5f\145\156\x61\142\x6c\x65\x5f\x72\x6f\154\x65\x5f\x6d\141\x70\160\x69\x6e\147");
$gR = \Drupal::config("\x6d\151\x6e\151\x6f\162\x61\x6e\x67\x65\137\157\x61\165\x74\x68\x5f\143\x6c\x69\145\156\x74\56\x73\145\x74\164\151\156\147\163")->get("\155\x69\x6e\151\x6f\162\141\x6e\147\x65\137\157\x61\x75\164\x68\137\143\x6c\x69\x65\x6e\x74\x5f\x64\151\x73\x61\x62\x6c\x65\x5f\x72\x6f\x6c\x65\x5f\165\160\x64\x61\164\145\x5f\157\x66\137\145\170\x69\163\164\x69\156\x67\x5f\x75\x73\x65\162\163");
$T_ = (array) \Drupal::config("\155\151\156\x69\x6f\162\141\x6e\147\x65\x5f\157\x61\165\x74\150\137\143\x6c\151\145\x6e\164\x2e\x73\145\164\x74\x69\x6e\147\x73")->get("\x6d\x69\x6e\151\x6f\x72\x61\x6e\147\145\137\x6f\141\165\x74\x68\137\162\157\154\145\137\155\141\x70\x70\151\156\x67\x5f\141\x72\x72");
if (!($wk && !is_null($hD) && !empty($hD))) {
goto eB;
}
$A_ = $pc->getRoles();
if ($gR) {
goto dY;
}
foreach ($A_ as $TK => $VY) {
if (in_array($VY, array_keys($T_))) {
goto mk;
}
if (!($VY != \Drupal::config("\x6d\151\x6e\151\157\162\x61\x6e\147\x65\137\157\x61\165\x74\150\137\143\154\x69\x65\156\x74\x2e\163\145\x74\164\x69\156\x67\163")->get("\x6d\151\156\x69\157\162\x61\x6e\147\x65\137\x6f\x61\x75\164\x68\137\x64\145\146\x61\x75\x6c\x74\x5f\x72\x6f\x6c\x65"))) {
goto WP;
}
$pc->removeRole($VY);
$pc->save();
WP:
mk:
mA:
}
Hn:
dY:
foreach ($T_ as $TK => $VY) {
$HP = FALSE;
$SE = explode("\73", $VY);
foreach ($SE as $H4 => $Do) {
if (is_array($Xi) && in_array($Do, $Xi)) {
goto BS;
}
$HP = $Xi == $Do ? TRUE : FALSE;
goto vI;
BS:
$HP = TRUE;
vI:
wI:
}
t3:
if ($HP && $TK != "\141\165\164\150\x65\156\164\x69\143\x61\164\x65\144") {
goto OK;
}
$pc->removeRole($TK);
$pc->save();
goto po;
OK:
$pc->addRole($TK);
$pc->save();
po:
Ze:
}
f7:
eB:
}
public static function getAccessToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc)
{
$k_ = curl_init($OF);
curl_setopt($k_, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($k_, CURLOPT_ENCODING, '');
curl_setopt($k_, CURLOPT_RETURNTRANSFER, true);
curl_setopt($k_, CURLOPT_AUTOREFERER, true);
curl_setopt($k_, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($k_, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($k_, CURLOPT_MAXREDIRS, 10);
curl_setopt($k_, CURLOPT_POST, true);
$sL = $ZH == "\141\165\164\x68\157\162\x69\172\x61\164\x69\x6f\156\x5f\x63\x6f\x64\x65" ? "\46\143\x6f\144\145\75" : "\x26\162\145\146\x72\x65\163\150\137\164\x6f\x6b\145\156\75";
if ($L8 && !$Dc) {
goto vV;
}
if (!$L8 && $Dc) {
goto QV;
}
curl_setopt($k_, CURLOPT_HTTPHEADER, array("\x41\x75\x74\150\157\x72\x69\x7a\x61\164\151\x6f\x6e\72\x20\102\141\x73\x69\143\x20" . base64_encode($tx . "\x3a" . $YF), "\x41\x63\143\x65\160\x74\72\40\141\160\160\x6c\151\143\x61\x74\x69\157\x6e\57\x6a\163\x6f\x6e"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "\162\145\144\x69\x72\145\143\164\137\x75\x72\x69\75" . urlencode($Bb) . "\46\147\162\x61\156\x74\x5f\x74\x79\160\x65\x3d" . $ZH . "\46\x63\x6c\151\145\x6e\x74\137\x69\x64\x3d" . $tx . "\x26\x63\154\151\x65\x6e\x74\x5f\x73\145\x63\x72\145\x74\75" . $YF . $sL . $pE);
goto BT;
QV:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("\101\x63\143\x65\x70\x74\72\40\141\x70\x70\x6c\151\x63\141\x74\x69\157\156\57\152\x73\x6f\x6e"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "\162\x65\144\151\x72\145\143\x74\137\165\x72\x69\x3d" . urlencode($Bb) . "\x26\147\162\x61\x6e\164\x5f\x74\x79\x70\x65\75" . $ZH . "\x26\x63\154\151\x65\x6e\164\x5f\x69\144\75" . $tx . "\46\143\x6c\151\145\x6e\x74\x5f\163\x65\143\x72\x65\164\75" . $YF . $sL . $pE);
BT:
goto JV;
vV:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("\101\x75\x74\150\157\x72\151\172\x61\x74\x69\157\156\72\x20\102\141\163\151\143\x20" . base64_encode($tx . "\72" . $YF), "\101\x63\x63\145\160\x74\72\x20\x61\x70\x70\154\x69\143\141\x74\151\157\156\x2f\x6a\x73\157\x6e"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "\x72\x65\x64\x69\162\x65\143\164\x5f\x75\162\151\75" . urlencode($Bb) . "\x26\147\x72\x61\156\x74\x5f\x74\171\160\145\x3d" . $ZH . $sL . $pE);
JV:
$nk = curl_exec($k_);
if (!curl_error($k_)) {
goto yB;
}
echo "\x3c\x62\x3e\122\x65\x73\x70\x6f\x6e\163\x65\40\x3a\x20\x3c\x2f\x62\x3e\x3c\142\x72\76";
print_r($nk);
echo "\74\x62\x72\x3e\74\x62\162\76";
exit(curl_error($k_));
yB:
if (is_array(json_decode($nk, true))) {
goto dR;
}
echo "\x3c\142\76\122\x65\x73\x70\x6f\x6e\x73\145\40\x3a\40\x3c\x2f\x62\x3e\x3c\x62\x72\x3e";
print_r($nk);
echo "\x3c\x62\162\x3e\x3c\142\x72\76";
exit("\x49\x6e\166\141\154\x69\x64\x20\x72\x65\163\x70\x6f\x6e\x73\145\x20\162\145\x63\145\x69\166\x65\x64\56");
dR:
$nk = json_decode($nk, true);
if (!isset($_SESSION)) {
goto zl;
}
$_SESSION["\155\157\117\141\165\164\x68\103\157\156\x74\x65\x6e\164"] = $nk;
$_SESSION["\155\157\117\x61\x75\164\x68\x53\x65\164\101\x74"] = time();
zl:
if (!isset($nk["\x61\143\143\145\163\x73\x5f\164\157\153\145\156"])) {
goto Sh;
}
setrawcookie("\104\x72\x75\x70\141\x6c\x2e\166\151\x73\151\x74\x6f\x72\x2e" . "\x61\143\x63\x65\163\163\x5f\164\157\x6b\x65\x6e", $nk["\141\143\x63\145\x73\x73\137\164\157\x6b\145\156"], \Drupal::time()->getRequestTime() + 3600, "\x2f");
Sh:
if (!isset($nk["\162\145\x66\162\x65\163\150\x5f\164\x6f\x6b\x65\156"])) {
goto IW;
}
setrawcookie("\104\x72\x75\160\x61\154\x2e\166\x69\x73\x69\164\x6f\x72\x2e" . "\162\145\146\x72\x65\x73\150\x5f\164\157\153\145\x6e", $nk["\x72\x65\146\162\145\163\x68\x5f\164\157\153\145\x6e"], \Drupal::time()->getRequestTime() + 3600, "\57");
IW:
if (!isset($nk["\151\144\x5f\164\157\x6b\x65\156"])) {
goto Xj;
}
setrawcookie("\x44\162\x75\x70\x61\x6c\56\x76\x69\x73\151\x74\157\162\56" . "\x69\144\x5f\x74\157\153\x65\x6e", $nk["\151\x64\x5f\164\157\x6b\145\156"], \Drupal::time()->getRequestTime() + 3600, "\x2f");
Xj:
$WB = isset($_SERVER["\122\105\121\125\105\x53\124\x5f\x55\x52\111"]) ? parse_url($_SERVER["\x52\105\121\125\105\x53\x54\137\x55\122\111"]) : '';
if (!(isset($WB) && !empty($WB))) {
goto lo;
}
parse_str($WB["\x71\x75\145\x72\171"], $ay);
lo:
if (!isset($ay["\145\x72\x72\157\x72\137\x64\145\x73\x63\162\x69\x70\164\151\x6f\x6e"])) {
goto Oq;
}
exit($ay["\145\162\x72\x6f\162\x5f\x64\x65\163\143\x72\x69\160\164\151\x6f\156"]);
Oq:
if (isset($nk["\145\162\x72\x6f\162\x5f\144\x65\163\143\162\x69\160\x74\x69\157\x6e"])) {
goto wR;
}
if (isset($nk["\145\x72\162\157\x72"])) {
goto H7;
}
if (isset($nk["\141\x63\143\145\x73\163\137\x74\x6f\x6b\145\x6e"])) {
goto h_;
}
exit("\x49\x6e\166\x61\x6c\151\144\x20\162\145\x73\160\x6f\156\163\x65\x20\x72\x65\x63\x65\151\x76\145\x64\x20\146\162\x6f\155\x20\x4f\101\x75\x74\150\x20\x50\162\157\x76\x69\x64\145\162\x2e\40\x43\157\x6e\x74\141\143\x74\40\x79\x6f\165\162\x20\141\x64\x6d\x69\x6e\151\163\164\162\141\x74\157\162\x20\x66\157\162\x20\x6d\x6f\162\145\40\x64\145\164\x61\151\154\163\x2e");
goto QJ;
h_:
$qC = $nk["\x61\x63\x63\x65\x73\163\x5f\x74\157\153\x65\x6e"];
QJ:
goto xc;
H7:
exit($nk["\x65\162\162\157\162"]);
xc:
goto qT;
wR:
exit($nk["\x65\x72\162\x6f\x72\137\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\156"]);
qT:
return $qC;
}
public static function moOauthGetAccessToken()
{
$pc = User::load(\Drupal::currentUser()->id());
if (!$pc) {
goto WM;
}
$nk = isset($_SESSION["\x6d\157\117\141\165\164\x68\x43\157\x6e\164\x65\x6e\164"]) ? $_SESSION["\155\157\x4f\x61\x75\164\x68\x43\x6f\x6e\164\145\x6e\x74"] : '';
$H8 = isset($_SESSION["\155\x6f\x4f\x61\165\x74\x68\x53\145\x74\x41\164"]) ? $_SESSION["\x6d\157\117\x61\x75\164\150\123\145\164\101\x74"] : '';
$d3 = isset($nk["\x69\144\x5f\164\157\x6b\145\156"]) ? $nk["\x69\144\137\164\157\153\x65\156"] : '';
$qC = isset($nk["\x61\x63\x63\x65\163\163\137\164\157\153\x65\x6e"]) ? $nk["\x61\143\x63\x65\163\x73\x5f\164\157\x6b\x65\x6e"] : '';
$c8 = isset($nk["\162\145\x66\162\145\163\x68\137\164\x6f\153\x65\x6e"]) ? $nk["\162\145\146\162\x65\x73\x68\x5f\164\x6f\x6b\x65\x6e"] : '';
if (empty($d3) && empty($qC)) {
goto pH;
}
if (empty($qC)) {
goto Qd;
}
if (!empty($H8) && !empty($nk) && intval($H8) + intval($nk["\145\x78\x70\151\162\145\163\137\x69\x6e"]) < time()) {
goto lx;
}
return $qC;
goto f_;
lx:
if (empty($c8)) {
goto qd;
}
$yO = \Drupal::config("\x6d\151\x6e\x69\x6f\162\x61\x6e\x67\145\137\x6f\x61\x75\164\x68\137\143\154\x69\x65\x6e\164\x2e\x73\145\x74\164\x69\x6e\147\x73")->get("\x6d\151\156\151\x6f\x72\x61\x6e\x67\145\x5f\x6f\x61\x75\x74\x68\137\x63\154\x69\x65\x6e\x74\137\141\160\x70\166\x61\154");
$l3 = \Drupal::config("\x6d\x69\156\x69\157\x72\x61\x6e\x67\145\x5f\157\x61\165\x74\150\x5f\143\154\x69\x65\156\164\56\x73\145\x74\164\x69\x6e\147\163")->get("\155\151\x6e\x69\157\162\x61\156\147\x65\137\157\x61\x75\x74\150\137\163\145\156\x64\x5f\167\x69\164\x68\x5f\x68\x65\141\x64\x65\x72\x5f\x6f\141\x75\x74\150");
$MQ = \Drupal::config("\x6d\151\x6e\151\157\162\x61\x6e\147\x65\137\x6f\141\165\164\150\137\x63\154\151\145\x6e\x74\56\x73\x65\x74\x74\151\x6e\147\x73")->get("\155\x69\156\x69\157\162\x61\156\147\145\137\157\x61\x75\164\150\137\x73\x65\156\144\x5f\167\x69\x74\150\137\142\157\144\171\x5f\x6f\141\165\164\150");
if (!(!$l3 == TRUE || !$l3 == 1)) {
goto lU;
}
$l3 = false;
lU:
if (!(!$MQ == TRUE || !$MQ == 1)) {
goto ad;
}
$MQ = false;
ad:
$Q4 = self::getAccessToken($yO["\141\143\x63\x65\163\163\137\x74\x6f\x6b\145\156\137\x65\160"], "\x72\x65\x66\162\145\x73\x68\x5f\164\x6f\x6b\x65\156", $yO["\x63\154\151\145\156\x74\x5f\151\x64"], $yO["\143\154\151\x65\156\164\x5f\163\x65\143\162\145\164"], $c8, $yO["\143\141\154\154\142\x61\143\153\137\x75\x72\x69"], $l3, $MQ);
return is_array($Q4) ? $Q4[0] : $Q4;
qd:
f_:
Qd:
goto yN;
pH:
return FALSE;
yN:
WM:
return FALSE;
}
public static function moOauthGetNewAccessToken()
{
$pc = User::load(\Drupal::currentUser()->id());
if (!$pc) {
goto qg;
}
$nk = isset($_SESSION["\x6d\157\x4f\141\165\x74\x68\103\157\156\x74\x65\156\164"]) ? $_SESSION["\x6d\157\117\x61\x75\x74\150\x43\157\x6e\x74\145\156\164"] : '';
$d3 = isset($nk["\151\x64\x5f\x74\x6f\153\x65\156"]) ? $nk["\151\x64\x5f\164\157\x6b\x65\156"] : '';
$qC = isset($nk["\141\143\143\145\163\x73\x5f\164\x6f\x6b\x65\x6e"]) ? $nk["\x61\143\143\145\163\163\x5f\164\x6f\x6b\x65\x6e"] : '';
$c8 = isset($nk["\162\145\x66\x72\x65\x73\150\x5f\164\x6f\x6b\145\x6e"]) ? $nk["\162\x65\x66\162\145\163\150\x5f\x74\157\x6b\145\x6e"] : '';
\Drupal::logger("\155\x69\156\x69\157\162\x61\156\x67\x65\137\x6f\x61\165\164\x68\137\x63\x6c\x69\x65\x6e\164")->notice("\40\101\x63\143\x65\x73\163\x20\x74\157\x6b\x65\x6e\x3a\x20\74\x70\162\145\x3e\74\143\x6f\x64\x65\x3e" . print_r($qC, TRUE) . "\x3c\57\x63\157\144\145\76\x3c\57\160\x72\x65\x3e");
if (empty($d3) && empty($qC)) {
goto te;
}
if (empty($qC)) {
goto JE;
}
if (!empty($c8)) {
goto n1;
}
return $qC;
goto SV;
n1:
$yO = \Drupal::config("\x6d\x69\156\151\157\162\x61\x6e\x67\145\x5f\x6f\141\x75\164\x68\137\143\154\x69\145\x6e\x74\x2e\163\145\x74\x74\151\x6e\147\x73")->get("\x6d\x69\156\x69\x6f\x72\x61\156\147\145\x5f\157\141\x75\164\150\137\x63\154\151\145\156\x74\x5f\141\x70\x70\166\141\154");
$l3 = \Drupal::config("\x6d\151\156\151\x6f\162\141\156\x67\145\x5f\157\x61\x75\x74\x68\x5f\143\154\x69\x65\156\164\56\163\145\164\164\x69\x6e\147\163")->get("\x6d\x69\156\x69\x6f\162\141\x6e\x67\145\137\x6f\141\165\164\x68\137\x73\145\x6e\x64\x5f\167\151\164\150\x5f\150\145\141\x64\x65\162\137\x6f\141\x75\164\x68");
$MQ = \Drupal::config("\x6d\151\156\x69\x6f\162\141\156\x67\x65\137\x6f\x61\x75\x74\x68\137\143\154\151\x65\x6e\164\x2e\163\145\x74\164\151\x6e\x67\x73")->get("\155\151\x6e\151\157\x72\141\156\147\x65\137\x6f\x61\165\164\150\x5f\x73\x65\x6e\x64\137\167\151\164\x68\x5f\x62\157\144\x79\x5f\x6f\141\x75\x74\150");
if (!(!$l3 == TRUE || !$l3 == 1)) {
goto K_;
}
$l3 = false;
K_:
if (!(!$MQ == TRUE || !$MQ == 1)) {
goto cq;
}
$MQ = false;
cq:
$Q4 = self::getAccessToken($yO["\x61\143\x63\x65\x73\163\137\x74\x6f\x6b\145\156\137\x65\160"], "\x72\145\146\162\145\163\150\x5f\164\157\x6b\145\156", $yO["\x63\x6c\151\145\156\x74\x5f\151\144"], $yO["\143\x6c\151\x65\x6e\x74\137\x73\145\143\162\x65\x74"], $c8, $yO["\143\x61\x6c\154\x62\141\x63\x6b\x5f\x75\x72\151"], $l3, $MQ);
return is_array($Q4) ? $Q4[0] : $Q4;
SV:
JE:
goto ZE;
te:
return FALSE;
ZE:
qg:
return FALSE;
}
public static function getResourceOwner($JP, $qC)
{
$k_ = curl_init($JP);
curl_setopt($k_, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($k_, CURLOPT_ENCODING, '');
curl_setopt($k_, CURLOPT_RETURNTRANSFER, true);
curl_setopt($k_, CURLOPT_AUTOREFERER, true);
curl_setopt($k_, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($k_, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($k_, CURLOPT_MAXREDIRS, 10);
curl_setopt($k_, CURLOPT_POST, false);
curl_setopt($k_, CURLOPT_HTTPHEADER, array("\101\165\x74\x68\157\162\151\x7a\x61\x74\151\x6f\156\72\40\102\x65\x61\162\x65\x72\40" . $qC));
$HG = curl_version();
curl_setopt($k_, CURLOPT_USERAGENT, "\x63\165\162\x6c\57" . $HG["\166\145\162\x73\x69\x6f\x6e"]);
$nk = curl_exec($k_);
if (!curl_error($k_)) {
goto C1;
}
exit(curl_error($k_));
C1:
if (is_array(json_decode($nk, true))) {
goto qM;
}
exit("\x49\156\x76\x61\154\x69\x64\x20\162\x65\x73\160\157\x6e\x73\145\x20\162\145\x63\145\x69\x76\145\144\56");
qM:
$nk = json_decode($nk, true);
if (isset($nk["\x65\162\x72\157\x72\x5f\x64\x65\x73\x63\x72\x69\160\x74\151\157\156"])) {
goto G4;
}
if (!isset($nk["\x65\x72\162\x6f\162"])) {
goto Wi;
}
if (is_array($nk["\x65\162\162\157\162"])) {
goto bC;
}
echo $nk["\x65\x72\x72\157\x72"];
goto PX;
bC:
print_r($nk["\x65\x72\x72\x6f\162"]);
PX:
exit;
Wi:
goto dc;
G4:
if (is_array($nk["\145\x72\162\157\x72\137\x64\145\x73\x63\162\151\160\164\151\x6f\156"])) {
goto b4;
}
echo $nk["\x65\162\x72\157\x72\137\x64\145\163\143\162\x69\160\x74\151\157\x6e"];
goto gr;
b4:
print_r($nk["\145\x72\162\157\162\x5f\x64\x65\x73\143\x72\151\160\x74\x69\x6f\156"]);
gr:
exit;
dc:
return $nk;
}
public static function testattrmappingconfig($lt, $qv)
{
foreach ($qv as $TK => $IA) {
if (is_array($IA) || is_object($IA)) {
goto kb;
}
echo "\74\164\162\x20\163\164\x79\x6c\145\75\47\x74\x65\170\x74\x2d\x61\x6c\151\147\x6e\x3a\x63\145\156\x74\145\x72\x3b\x27\x3e\74\164\x64\x20\x73\x74\171\x6c\x65\75\x27\x66\x6f\x6e\x74\x2d\167\145\151\x67\x68\x74\72\142\157\x6c\x64\x3b\x62\x6f\162\144\145\x72\72\x32\160\170\40\x73\x6f\154\151\144\x20\43\x39\x34\71\x30\x39\60\x3b\x70\x61\x64\x64\x69\156\x67\72\x32\x25\x3b\47\x3e";
if (empty($lt)) {
goto yy;
}
echo $lt . "\56";
yy:
echo $TK . "\x3c\x2f\164\144\x3e\x3c\x74\x64\x20\x73\164\171\x6c\145\75\x27\146\157\x6e\x74\x2d\x77\x65\151\147\x68\164\72\142\157\x6c\144\x3b\x70\x61\144\x64\x69\x6e\147\x3a\62\x25\x3b\142\157\162\x64\x65\x72\72\62\160\170\40\x73\157\154\151\144\40\43\x39\x34\x39\x30\71\x30\73\40\x77\x6f\162\144\x2d\167\162\x61\160\x3a\142\162\x65\x61\153\x2d\x77\157\x72\144\x3b\x27\76" . $IA . "\x3c\57\x74\x64\76\74\x2f\x74\162\x3e";
goto ZT;
kb:
if (empty($lt)) {
goto Qa;
}
$lt .= "\56";
Qa:
self::testattrmappingconfig($lt . $TK, $IA);
ZT:
u_:
}
EM:
}
public static function getnestedattribute($IA, $TK, $tA = '')
{
if (!empty($TK)) {
goto ZP;
}
return '';
ZP:
$m1 = explode("\x2e", $TK);
$ib = '';
if (sizeof($m1) > 1) {
goto yv;
}
if ($tA == '') {
goto xm;
}
if (!($tA == "\x72\x6f\x6c\145\x5f\155\x61\160")) {
goto A7;
}
$ib = $m1[0];
if (!isset($IA[$ib])) {
goto Rh;
}
return $IA[$ib];
Rh:
A7:
goto Da;
xm:
$ib = $m1[0];
if (!isset($IA[$ib])) {
goto bD;
}
if (is_array($IA[$ib])) {
goto m7;
}
return $IA[$ib];
goto uC;
m7:
$IA = $IA[$ib];
return $IA[0];
uC:
bD:
Da:
goto ua;
yv:
$ib = $m1[0];
if (!isset($IA[$ib])) {
goto TR;
}
return self::getnestedattribute($IA[$ib], str_replace($ib . "\56", '', $TK));
TR:
ua:
}
public static function mo_oauth_client_initiateLogin()
{
\Drupal::service("\160\141\147\x65\x5f\x63\x61\143\150\x65\137\x6b\x69\154\154\x5f\163\x77\151\x74\143\150")->trigger();
if (!isset($_SERVER["\110\x54\x54\x50\137\x52\x45\x46\105\122\x45\x52"])) {
goto GZ;
}
\Drupal::configFactory()->getEditable("\x6d\x69\156\x69\157\x72\141\x6e\x67\145\137\157\x61\165\164\150\137\x63\154\x69\x65\x6e\x74\x2e\x73\x65\164\x74\x69\x6e\147\163")->set("\x6e\x61\x76\x69\147\x61\164\x69\x6f\x6e\x5f\x75\x72\154", $_SERVER["\110\124\124\x50\137\x52\105\106\105\122\105\x52"])->save();
GZ:
$vC = \Drupal::config("\x6d\151\156\151\157\162\141\156\147\145\137\x6f\x61\165\x74\x68\x5f\x63\154\x69\x65\x6e\164\x2e\163\145\x74\164\151\x6e\147\163")->get("\155\151\156\x69\x6f\162\141\156\x67\x65\x5f\x61\x75\164\x68\137\x63\154\x69\145\x6e\164\x5f\x61\160\x70\137\156\x61\155\145");
$B_ = \Drupal::config("\x6d\151\156\151\157\x72\141\156\147\x65\137\157\x61\165\x74\x68\x5f\x63\x6c\x69\x65\156\x74\56\x73\145\164\164\151\x6e\147\163")->get("\155\151\156\x69\157\162\x61\x6e\147\x65\x5f\141\165\x74\150\137\x63\x6c\151\x65\156\164\137\x63\x6c\x69\x65\156\164\x5f\x69\x64");
$li = \Drupal::config("\x6d\x69\x6e\x69\x6f\162\x61\x6e\x67\145\x5f\157\x61\x75\x74\150\x5f\x63\154\x69\x65\156\x74\x2e\x73\145\x74\x74\x69\156\x67\x73")->get("\x6d\151\156\151\x6f\x72\x61\x6e\x67\x65\137\x61\165\x74\150\137\x63\x6c\x69\x65\156\x74\x5f\x63\154\x69\x65\156\164\x5f\163\145\x63\162\x65\164");
$uk = \Drupal::config("\x6d\151\x6e\151\157\162\x61\x6e\x67\145\137\157\141\x75\x74\150\x5f\143\154\151\x65\x6e\x74\56\163\145\x74\x74\151\x6e\x67\x73")->get("\x6d\151\x6e\x69\157\x72\x61\x6e\147\x65\x5f\141\165\164\150\x5f\x63\154\x69\145\156\x74\x5f\163\x63\157\x70\x65");
$lb = \Drupal::config("\155\151\x6e\x69\x6f\162\x61\156\x67\145\x5f\157\x61\x75\164\150\x5f\x63\x6c\x69\145\156\164\56\163\x65\164\x74\151\x6e\x67\x73")->get("\155\151\x6e\151\x6f\x72\141\x6e\147\145\x5f\x61\x75\164\x68\137\143\154\x69\x65\x6e\164\137\x61\x75\x74\150\157\x72\151\x7a\x65\x5f\145\x6e\144\160\157\x69\x6e\x74");
$Ng = \Drupal::config("\155\x69\x6e\x69\x6f\162\141\156\147\x65\x5f\x6f\x61\x75\164\x68\137\x63\154\x69\145\x6e\x74\x2e\x73\x65\164\164\x69\x6e\147\163")->get("\x6d\x69\x6e\x69\157\162\141\x6e\x67\x65\x5f\x61\165\x74\x68\x5f\143\154\x69\x65\x6e\164\137\x63\141\154\154\x62\141\143\153\137\165\162\151");
$rd = base64_encode($vC);
if (strpos($lb, "\x3f") !== false) {
goto bK;
}
$lb = $lb . "\x3f\x63\x6c\151\145\x6e\164\x5f\151\x64\75" . $B_ . "\x26\x73\x63\x6f\x70\x65\x3d" . $uk . "\46\x72\x65\144\x69\162\x65\x63\x74\137\165\162\x69\x3d" . $Ng . "\x26\x72\145\x73\x70\x6f\156\x73\x65\x5f\x74\x79\160\145\75\x63\x6f\144\145\x26\x73\164\141\x74\x65\x3d" . $rd;
goto WT;
bK:
$lb = $lb . "\x26\143\154\151\x65\156\164\137\151\x64\75" . $B_ . "\46\163\x63\x6f\160\x65\75" . $uk . "\46\x72\145\x64\x69\162\x65\143\x74\x5f\165\x72\151\75" . $Ng . "\46\162\x65\x73\160\x6f\x6e\x73\145\137\164\x79\160\x65\x3d\143\x6f\x64\x65\x26\163\x74\x61\164\x65\x3d" . $rd;
WT:
if (!(session_status() == PHP_SESSION_NONE)) {
goto X1;
}
session_start();
X1:
$_SESSION["\157\x61\x75\x74\x68\x32\163\x74\141\164\145"] = $rd;
$_SESSION["\141\x70\160\156\x61\x6d\145"] = $vC;
$B1 = new RedirectResponse($lb);
$B1->send();
return new Response();
}
public static function test_mo_config()
{
if (\Drupal::config("\x6d\151\156\x69\x6f\162\141\156\x67\145\137\x6f\x61\x75\164\x68\x5f\143\x6c\x69\145\156\x74\x2e\x73\145\164\164\151\x6e\x67\163")->get("\155\x69\x6e\x69\157\x72\141\156\147\x65\x5f\x6f\141\x75\x74\x68\137\143\x6c\x69\x65\156\164\137\154\x69\143\x65\x6e\163\x65\137\153\x65\171") != NULL) {
goto cO;
}
print_r("\x4f\101\165\164\x68\40\x50\162\x6f\166\151\144\145\162\x20\143\157\156\x66\x69\147\x75\x72\x61\x74\x69\157\x6e\163\40\156\x6f\x74\x20\146\157\165\156\144\56\x20\103\x6f\x6e\x74\141\143\164\x20\171\x6f\x75\162\x20\141\x64\x6d\x69\156\x69\x73\164\x72\x61\x74\x6f\162\56");
exit;
return new Response();
goto B2;
cO:
user_cookie_save(array("\x6d\x6f\137\x6f\141\x75\164\x68\x5f\x74\145\x73\x74" => true));
$_COOKIE["\x44\162\165\160\x61\x6c\137\166\151\x73\151\x74\157\162\x5f\x6d\x6f\x5f\157\x61\x75\x74\x68\x5f\x74\145\x73\164"] = 1;
self::mo_oauth_client_initiateLogin();
return new Response();
B2:
}
public static function miniorange_oauth_client_mologin()
{
global $base_url;
$DD = \Drupal::config("\155\151\x6e\151\157\162\x61\x6e\x67\x65\x5f\x6f\x61\165\x74\x68\x5f\143\x6c\x69\145\156\164\56\163\145\x74\164\151\x6e\147\x73")->get("\155\x69\156\151\x6f\x72\141\x6e\x67\x65\x5f\x6f\x61\165\x74\x68\137\145\x6e\141\142\x6c\145\x5f\x6c\157\147\x69\x6e\137\167\x69\164\x68\x5f\x6f\x61\165\x74\150");
$l9 = \Drupal::config("\155\151\156\x69\157\162\141\156\147\145\137\157\x61\165\164\x68\x5f\x63\154\x69\x65\x6e\164\56\x73\x65\164\x74\x69\156\x67\163")->get("\x6d\151\156\151\x6f\162\141\x6e\147\x65\x5f\157\x61\x75\164\x68\137\x63\154\x69\x65\156\164\137\x63\165\163\164\157\155\x65\x72\137\x61\144\155\151\156\137\164\157\153\x65\x6e");
$aS = \Drupal::config("\155\151\x6e\x69\x6f\x72\141\156\x67\145\x5f\157\141\x75\x74\150\137\143\154\x69\145\x6e\164\56\x73\x65\x74\x74\x69\156\147\x73")->get("\x6d\151\x6e\151\157\162\141\x6e\x67\145\137\157\x61\x75\164\150\137\x63\154\151\x65\x6e\164\x5f\143\x75\163\x74\x6f\x6d\x65\162\x5f\x61\144\x6d\151\156\137\145\x6d\141\151\154");
$HX = \Drupal::config("\155\151\156\x69\x6f\x72\141\156\x67\145\x5f\x6f\141\x75\x74\x68\137\143\x6c\x69\x65\x6e\x74\x2e\163\x65\x74\x74\151\x6e\147\163")->get("\155\151\156\x69\x6f\162\141\x6e\x67\x65\137\x6f\141\x75\164\150\x5f\143\154\151\145\x6e\x74\137\x6c\151\143\145\156\163\x65\137\x6b\145\x79");
if ($aS != null && $aS != '') {
goto Eh;
}
if ($aS != null && $aS != '') {
goto sa;
}
if ($aS == null || $aS == '') {
goto CK;
}
echo "\x3c\x64\x69\166\40\x73\x74\171\x6c\x65\x3d\42\x66\157\156\164\x2d\146\141\155\151\x6c\171\x3a\103\x61\x6c\x69\142\162\x69\x3b\x70\x61\144\x64\x69\x6e\x67\72\60\x20\x33\45\x3b\x22\x3e";
echo "\x3c\x64\151\x76\40\163\x74\x79\x6c\x65\x3d\42\x63\157\154\x6f\x72\x3a\x20\x23\x61\71\x34\x34\x34\62\x3b\x62\141\x63\153\x67\x72\157\165\x6e\x64\55\143\157\x6c\x6f\x72\72\x20\x23\146\62\x64\x65\x64\145\73\x70\141\x64\x64\x69\x6e\x67\72\x20\61\x35\x70\170\x3b\155\141\x72\x67\x69\x6e\x2d\x62\157\164\164\x6f\x6d\x3a\40\x32\x30\160\170\73\164\x65\170\x74\55\141\x6c\151\x67\x6e\x3a\x63\145\x6e\164\145\x72\x3b\142\157\162\x64\145\x72\72\x31\160\x78\40\163\x6f\x6c\151\144\x20\43\105\x36\102\x33\x42\62\x3b\x66\157\156\x74\55\x73\151\x7a\x65\72\61\70\160\x74\73\x22\76\40\105\x52\122\x4f\x52\x3c\57\144\x69\x76\x3e\12\40\40\40\x20\x20\40\40\x20\40\40\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\40\40\x20\40\40\x20\x3c\x64\x69\x76\x20\163\164\171\154\x65\x3d\x22\x63\157\x6c\x6f\162\72\x20\x23\141\71\64\x34\x34\x32\73\146\157\156\x74\55\x73\151\172\145\72\61\64\160\x74\x3b\40\155\x61\162\x67\x69\x6e\x2d\x62\157\x74\164\x6f\x6d\x3a\x32\60\x70\170\73\x22\76\x3c\x70\76\x3c\x73\x74\x72\157\x6e\147\76\x45\162\x72\157\162\x3a\x20\x3c\x2f\x73\x74\162\157\156\x67\x3e\x4f\101\x75\164\x68\40\120\x72\x6f\166\x69\144\x65\162\x20\143\x6f\156\x66\x69\147\x75\162\x61\164\x69\x6f\156\x73\x20\156\157\164\x20\x66\157\165\x6e\x64\56\x3c\x2f\160\76\12\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\40\40\74\x70\76\x50\x6c\145\x61\x73\145\40\143\157\x6e\164\x61\x63\164\x20\171\x6f\x75\x72\x20\141\x64\x6d\x69\x6e\151\x73\164\x72\141\164\157\x72\56\x3c\57\x70\x3e\12\x20\40\40\40\x20\x20\40\40\x20\40\x20\x20\40\40\40\40\40\40\x20\x20\40\40\40\40\40\x20\40\x20\74\57\144\x69\166\x3e\xa\40\40\40\x20\x20\x20\40\40\40\40\40\x20\40\40\40\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\x3c\x64\x69\x76\x20\x73\x74\171\154\145\75\x22\x6d\141\x72\147\151\x6e\72\63\x25\x3b\144\x69\163\160\x6c\x61\x79\x3a\142\x6c\x6f\143\x6b\x3b\x74\x65\x78\x74\x2d\141\154\x69\x67\x6e\x3a\x63\x65\x6e\164\x65\x72\73\42\76\74\x2f\x64\151\166\76\12\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\x20\74\144\x69\166\40\163\164\x79\x6c\145\x3d\x22\x6d\141\162\x67\151\156\x3a\x33\45\x3b\144\151\x73\160\154\141\x79\x3a\x62\x6c\x6f\x63\153\73\164\x65\170\x74\55\141\x6c\x69\x67\156\x3a\x63\x65\156\164\145\162\73\x22\x3e\12\x20\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\74\146\x6f\162\155\40\x6d\145\164\x68\157\x64\75\x22\x50\x4f\x53\x54\x22\x20\141\143\x74\151\x6f\156\40\x3d\42" . $base_url . "\42\76\12\40\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\40\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\74\151\156\160\x75\x74\x20\163\164\171\x6c\x65\75\x22\160\141\144\x64\151\156\147\72\61\x25\73\x77\x69\x64\164\150\x3a\x31\60\x30\160\170\73\x62\x61\x63\153\x67\x72\157\165\156\144\72\x20\43\x30\60\x39\x31\x43\x44\40\156\157\x6e\x65\40\162\x65\x70\145\x61\164\x20\163\143\x72\157\154\x6c\x20\x30\45\x20\x30\45\73\x63\x75\x72\163\x6f\162\x3a\x20\x70\x6f\x69\x6e\164\x65\x72\x3b\x66\157\x6e\164\55\163\x69\x7a\145\x3a\x31\65\x70\x78\x3b\142\157\x72\144\145\x72\x2d\167\151\x64\164\x68\x3a\x20\x31\x70\170\73\142\157\162\x64\145\162\55\163\x74\171\x6c\145\x3a\40\163\x6f\x6c\151\x64\73\142\x6f\x72\144\x65\x72\x2d\162\x61\x64\x69\x75\163\x3a\40\x33\x70\x78\x3b\x77\150\x69\164\x65\x2d\163\160\x61\x63\x65\72\x20\156\157\x77\x72\141\160\73\x62\x6f\x78\x2d\x73\x69\172\151\x6e\147\72\x20\142\157\162\144\145\162\55\x62\157\170\x3b\x62\x6f\162\x64\145\x72\55\x63\157\x6c\x6f\x72\72\x20\43\x30\60\67\63\x41\101\73\142\x6f\x78\x2d\x73\x68\141\144\157\167\x3a\x20\60\x70\x78\40\x31\x70\170\x20\60\160\170\x20\x72\147\x62\x61\x28\x31\x32\x30\54\40\62\x30\x30\x2c\x20\x32\x33\60\x2c\40\60\56\66\x29\x20\151\156\x73\145\164\73\143\x6f\x6c\x6f\162\72\x20\x23\106\x46\106\x3b\x22\164\171\x70\145\75\x22\x73\x75\142\155\x69\164\42\40\x76\x61\x6c\165\145\x3d\x22\x44\157\x6e\145\42\x3e\xa\40\40\x20\x20\40\40\40\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\40\40\40\40\40\40\x20\40\40\40\74\57\146\157\x72\x6d\76\xa\40\40\40\x20\40\x20\40\40\x20\40\40\x20\40\40\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\40\40\x20\x3c\x2f\144\151\166\76";
exit;
return new Response();
goto zv;
CK:
echo "\x3c\144\151\166\x20\163\x74\x79\x6c\x65\75\42\146\157\x6e\x74\55\x66\x61\155\x69\x6c\x79\x3a\103\x61\x6c\151\142\162\151\x3b\160\x61\144\x64\151\x6e\147\x3a\x30\40\x33\x25\x3b\42\x3e";
echo "\x3c\x64\151\x76\x20\163\x74\x79\x6c\x65\75\x22\143\x6f\154\x6f\162\72\40\x23\x61\71\x34\x34\64\62\x3b\142\x61\143\x6b\x67\x72\x6f\x75\156\x64\x2d\143\x6f\154\157\x72\72\40\x23\146\62\x64\145\x64\x65\x3b\160\141\144\x64\x69\156\x67\x3a\40\x31\x35\x70\170\x3b\155\141\162\x67\x69\156\x2d\142\x6f\164\x74\x6f\x6d\x3a\x20\x32\60\x70\x78\x3b\164\145\170\164\55\x61\x6c\151\147\x6e\72\143\145\156\x74\x65\162\73\142\157\162\x64\145\x72\72\x31\x70\x78\40\163\x6f\154\151\x64\40\x23\x45\x36\102\63\x42\62\73\x66\157\x6e\164\x2d\x73\x69\172\145\72\61\70\160\164\73\x22\x3e\40\105\x52\x52\117\x52\74\x2f\x64\151\x76\76\xa\x20\40\x20\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x20\40\40\x20\74\144\x69\x76\40\163\164\171\154\x65\75\42\143\157\154\x6f\162\x3a\40\43\141\x39\x34\64\x34\62\73\x66\x6f\x6e\164\55\x73\151\172\145\x3a\61\x34\160\164\73\40\155\x61\x72\147\151\156\x2d\142\157\x74\x74\x6f\x6d\72\62\60\160\x78\x3b\42\x3e\x3c\160\76\74\x73\164\x72\157\x6e\x67\x3e\105\x72\x72\x6f\162\72\x20\x3c\57\x73\164\162\157\156\x67\x3e\131\x6f\165\40\x61\162\x65\40\x6e\x6f\x74\40\x6c\x6f\147\x67\x65\x64\40\x69\x6e\56\74\x2f\x70\x3e\xa\x20\x20\40\40\40\40\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\40\x20\x20\x3c\x70\x3e\x50\x6c\145\141\x73\145\x20\x63\x6f\x6e\x74\x61\x63\x74\x20\171\157\165\x72\40\141\x64\x6d\x69\156\x69\x73\x74\162\x61\x74\x6f\x72\56\74\x2f\x70\76\xa\40\x20\x20\40\x20\40\40\40\x20\x20\40\40\x20\40\40\x20\40\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x20\40\x3c\160\x3e\74\163\164\x72\157\156\x67\x3e\120\x6f\163\163\151\142\x6c\145\x20\x43\x61\165\x73\x65\x3a\x20\74\x2f\x73\x74\x72\x6f\x6e\x67\76\x4d\x61\153\x65\40\163\165\x72\x65\x20\171\x6f\x75\x20\150\x61\x76\145\x20\x6c\157\x67\147\x65\x64\40\151\156\x2f\x20\122\x65\147\151\x73\164\x65\x72\40\151\156\40\x74\157\40\155\157\144\165\x6c\x65\56\x3c\57\x70\x3e\xa\40\x20\40\40\x20\40\40\40\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\x20\40\x3c\57\x64\151\x76\76\xa\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\40\40\40\40\40\x20\40\x20\x20\40\74\144\151\x76\x20\163\164\x79\x6c\x65\x3d\x22\155\141\162\x67\151\156\72\x33\45\73\x64\x69\x73\x70\154\141\x79\x3a\x62\x6c\157\143\x6b\x3b\x74\x65\x78\x74\55\141\x6c\151\147\x6e\x3a\143\145\x6e\x74\145\162\x3b\42\76\74\57\x64\151\166\x3e\12\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\74\144\x69\x76\40\x73\x74\171\x6c\x65\75\x22\x6d\x61\x72\147\x69\x6e\72\x33\45\73\144\x69\163\160\154\141\x79\72\142\x6c\157\143\153\x3b\164\x65\x78\x74\x2d\141\154\151\x67\x6e\72\x63\145\x6e\164\x65\162\73\x22\76\xa\x20\x20\40\40\x20\40\40\40\x20\40\x20\40\40\40\40\40\40\x20\40\40\x20\40\40\40\40\x20\x20\40\x20\40\x20\40\74\x66\157\162\155\x20\x6d\145\164\150\157\x64\75\42\x50\x4f\123\x54\x22\x20\x61\143\x74\151\x6f\156\x20\x3d\42" . $base_url . "\x22\x3e\xa\40\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\40\40\x3c\151\156\160\165\164\40\x73\x74\x79\154\145\75\42\160\141\x64\x64\x69\x6e\x67\72\61\45\x3b\x77\x69\144\164\x68\72\61\x30\60\160\x78\73\x62\141\x63\153\x67\x72\x6f\x75\156\144\x3a\x20\x23\60\60\x39\x31\103\104\x20\156\x6f\156\145\40\x72\x65\160\145\141\164\40\163\x63\x72\157\x6c\x6c\x20\60\45\x20\x30\45\x3b\x63\x75\162\x73\x6f\x72\x3a\40\x70\157\151\156\x74\145\162\73\146\x6f\156\x74\x2d\163\x69\x7a\x65\72\x31\x35\x70\170\x3b\x62\x6f\x72\144\145\162\55\x77\x69\144\164\x68\x3a\x20\61\160\x78\x3b\x62\x6f\x72\144\x65\x72\55\163\x74\171\154\x65\x3a\40\163\x6f\x6c\151\144\73\142\157\162\144\145\x72\x2d\x72\141\144\x69\x75\163\x3a\x20\x33\x70\x78\x3b\167\x68\151\x74\x65\55\x73\x70\x61\x63\145\72\x20\156\x6f\x77\x72\141\160\73\142\157\x78\55\163\151\172\x69\x6e\147\x3a\x20\x62\x6f\x72\x64\x65\x72\x2d\142\157\170\73\x62\x6f\x72\144\145\162\x2d\143\157\x6c\x6f\x72\72\x20\43\x30\x30\x37\x33\101\x41\73\142\157\170\x2d\163\x68\x61\x64\x6f\x77\72\40\x30\x70\x78\40\61\x70\x78\40\60\160\170\x20\162\x67\x62\x61\50\x31\62\60\x2c\x20\x32\x30\60\x2c\x20\x32\x33\60\54\x20\x30\x2e\x36\x29\x20\x69\156\163\x65\x74\73\143\x6f\x6c\157\x72\x3a\x20\x23\106\106\106\73\x22\164\171\160\x65\x3d\x22\x73\165\x62\x6d\151\x74\42\x20\x76\x61\x6c\x75\x65\75\42\x44\157\x6e\145\42\76\12\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\74\x2f\146\157\x72\155\76\xa\x20\40\40\x20\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\x3c\57\144\x69\166\76";
exit;
return new Response();
zv:
goto vj;
sa:
echo "\74\x64\151\x76\x20\x73\164\x79\154\145\x3d\42\x66\x6f\156\164\x2d\x66\x61\x6d\x69\154\x79\x3a\103\x61\154\x69\x62\x72\x69\x3b\x70\x61\144\x64\x69\x6e\x67\72\x30\x20\63\x25\73\42\x3e";
echo "\x3c\144\x69\x76\40\163\x74\171\154\145\x3d\42\x63\157\x6c\157\162\x3a\x20\43\141\71\64\64\64\62\x3b\142\141\x63\153\147\x72\157\x75\156\144\x2d\x63\157\x6c\157\x72\72\x20\43\x66\x32\144\145\144\145\x3b\160\x61\144\144\151\x6e\147\x3a\40\61\65\x70\170\x3b\155\x61\x72\147\x69\156\55\x62\157\164\164\157\x6d\x3a\40\62\x30\x70\x78\73\164\145\x78\164\x2d\141\154\151\147\x6e\72\143\x65\156\164\145\x72\x3b\142\x6f\162\144\145\x72\72\61\x70\x78\x20\x73\x6f\154\151\x64\x20\43\105\66\x42\63\102\x32\73\146\157\156\164\x2d\163\x69\x7a\145\72\x31\70\x70\164\x3b\42\76\40\105\x52\x52\x4f\122\x3c\57\144\151\x76\x3e\xa\40\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\x3c\x64\151\166\40\x73\x74\x79\154\x65\75\42\143\157\x6c\x6f\x72\72\x20\x23\x61\x39\x34\64\x34\x32\x3b\146\157\x6e\x74\55\x73\x69\172\145\x3a\x31\64\x70\164\x3b\40\x6d\141\162\x67\x69\x6e\55\x62\157\164\x74\157\x6d\72\x32\60\x70\170\73\x22\76\74\160\x3e\x3c\x73\164\x72\157\x6e\x67\76\x45\162\x72\x6f\x72\72\x20\x3c\x2f\163\164\162\157\156\147\76\x4c\151\x63\145\156\163\x65\40\x6b\145\171\40\x79\157\x75\40\x68\x61\x76\145\x20\145\156\x74\145\x72\145\x64\x20\x68\141\163\x20\x61\154\162\145\141\144\171\x20\142\145\x65\x6e\40\165\163\145\144\56\74\x2f\160\x3e\12\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x3c\160\x3e\x50\154\x65\141\163\x65\40\145\x6e\x74\145\162\40\x61\40\x6b\x65\x79\40\167\x68\151\x63\x68\40\x68\x61\x73\40\x6e\x6f\x74\40\142\x65\145\156\40\x75\x73\145\144\x20\x62\145\146\157\x72\x65\x20\x6f\156\40\x61\156\171\x20\x6f\164\150\x65\x72\40\x69\x6e\163\x74\141\x6e\143\x65\x20\157\x72\40\151\x66\40\171\157\x75\40\150\141\166\x65\x20\145\x78\x61\165\163\164\x65\144\x20\x61\x6c\154\x20\x79\157\x75\162\40\x6b\145\171\x73\40\x74\150\x65\156\x20\142\x75\171\40\x6d\157\x72\x65\x20\154\151\x63\145\x6e\x73\145\x20\146\x72\x6f\155\40\114\151\x63\x65\156\x73\x69\x6e\x67\56\74\57\160\x3e\12\40\x20\x20\x20\x20\x20\x20\40\40\40\40\40\40\40\40\40\40\x20\x20\40\40\x20\40\x20\40\40\40\x20\74\57\144\151\166\76\12\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x3c\x64\x69\166\40\x73\x74\171\x6c\145\75\x22\155\x61\162\x67\x69\156\x3a\63\x25\73\x64\151\163\160\154\141\171\x3a\142\x6c\157\143\153\73\x74\145\170\164\55\141\154\x69\147\156\x3a\x63\x65\156\164\145\x72\73\x22\76\74\x2f\x64\x69\x76\76\xa\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\x20\40\74\144\151\166\x20\x73\164\x79\154\x65\x3d\42\155\141\162\147\x69\156\72\63\45\73\144\151\163\160\154\x61\171\x3a\x62\x6c\157\x63\153\x3b\164\x65\170\x74\55\141\154\151\x67\156\x3a\143\x65\156\164\x65\x72\x3b\x22\x3e\12\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\40\x20\x3c\146\157\x72\x6d\40\x6d\145\x74\150\x6f\144\x3d\42\x50\x4f\123\124\42\x20\x61\143\164\x69\x6f\x6e\40\x3d\42" . $base_url . "\42\76\xa\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\x3c\151\x6e\160\x75\164\40\x73\164\x79\154\x65\75\42\x70\141\x64\144\x69\156\x67\x3a\x31\x25\x3b\167\151\144\x74\150\x3a\x31\60\x30\160\170\x3b\142\x61\x63\x6b\x67\162\x6f\x75\x6e\x64\x3a\40\x23\60\x30\71\61\103\x44\x20\x6e\157\156\145\x20\162\x65\160\x65\141\x74\x20\x73\143\x72\x6f\154\154\40\x30\45\40\60\45\73\143\165\162\x73\x6f\162\x3a\x20\160\x6f\151\156\164\x65\162\73\146\x6f\x6e\x74\55\x73\x69\172\x65\72\61\x35\160\x78\73\142\x6f\x72\x64\145\162\55\167\x69\144\x74\x68\72\40\x31\x70\170\73\142\157\x72\x64\145\162\55\x73\164\171\154\x65\x3a\40\163\x6f\x6c\151\x64\73\142\x6f\162\144\x65\162\55\x72\141\x64\x69\165\x73\x3a\x20\x33\160\170\73\x77\150\x69\164\145\55\163\160\x61\x63\145\72\40\156\x6f\167\162\x61\160\73\142\x6f\170\x2d\x73\x69\x7a\151\x6e\147\x3a\x20\x62\x6f\x72\144\145\x72\x2d\x62\157\170\x3b\x62\157\162\x64\x65\x72\55\143\157\154\157\x72\x3a\x20\43\60\60\x37\63\101\x41\x3b\x62\x6f\x78\55\x73\150\141\144\x6f\167\72\40\x30\x70\x78\x20\61\160\x78\x20\60\x70\170\40\x72\x67\142\x61\50\61\62\x30\x2c\x20\x32\x30\x30\x2c\40\62\x33\x30\x2c\40\x30\x2e\66\51\40\x69\x6e\163\x65\x74\x3b\x63\x6f\x6c\157\x72\x3a\40\43\x46\x46\106\73\42\x74\x79\x70\145\x3d\42\x73\165\142\x6d\151\x74\x22\x20\166\x61\x6c\165\x65\x3d\42\104\157\x6e\145\42\x3e\12\40\x20\x20\40\x20\40\40\40\40\x20\40\40\40\x20\x20\x20\40\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\x20\x20\40\74\57\146\157\162\155\x3e\12\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\74\x2f\144\x69\166\76";
exit;
return new Response();
vj:
goto BO;
Eh:
if (isset($HX) && !empty($HX) && $DD) {
goto nD;
}
if (!isset($HX) && empty($HX)) {
goto XY;
}
\Drupal::messenger()->addMessage(t("\120\154\x65\x61\163\x65\x20\145\x6e\141\142\x6c\145\x20\74\142\76\114\157\x67\151\156\40\167\151\x74\x68\x20\117\101\165\x74\150\x3c\57\142\76\40\x74\x6f\x20\x69\x6e\x69\164\x69\x61\164\x65\x20\164\x68\x65\40\x53\123\x4f\x2e"), "\x65\x72\x72\157\162");
return new RedirectResponse($base_url);
goto c6;
XY:
echo "\x3c\144\151\x76\40\x73\164\x79\x6c\145\75\42\146\x6f\x6e\164\x2d\x66\141\x6d\151\x6c\171\x3a\x43\141\x6c\151\x62\x72\x69\73\160\x61\144\144\151\156\x67\72\x30\40\x33\45\73\42\x3e";
echo "\x3c\144\151\166\40\163\164\171\154\x65\75\x22\x63\157\x6c\x6f\x72\72\x20\43\x61\x39\x34\64\64\62\73\142\141\143\x6b\x67\162\157\x75\156\x64\x2d\143\157\x6c\157\x72\x3a\40\43\x66\x32\x64\145\144\145\73\x70\x61\x64\144\151\x6e\147\72\40\61\x35\160\170\x3b\x6d\x61\x72\147\151\x6e\55\x62\157\x74\164\x6f\x6d\72\40\62\60\160\170\73\x74\x65\170\x74\55\x61\154\151\147\156\x3a\143\145\156\x74\145\162\73\x62\157\162\144\145\162\72\61\x70\170\40\163\x6f\154\x69\x64\x20\43\x45\x36\x42\63\x42\x32\73\146\157\156\x74\55\x73\151\172\145\72\x31\70\160\x74\x3b\42\x3e\40\105\x52\x52\117\x52\74\57\x64\x69\x76\76\xa\40\40\x20\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x3c\144\151\166\40\x73\x74\171\x6c\x65\75\42\143\157\154\x6f\x72\72\x20\43\141\x39\x34\64\64\62\73\146\x6f\156\x74\55\x73\151\172\145\72\x31\x34\x70\164\x3b\x20\155\141\162\x67\151\156\55\x62\157\164\x74\x6f\x6d\x3a\62\60\x70\x78\x3b\42\76\x3c\x70\x3e\x3c\x73\164\x72\x6f\156\147\76\105\x72\x72\x6f\162\x3a\x20\x3c\57\x73\164\162\157\x6e\x67\x3e\x59\x6f\165\x20\x68\141\166\x65\40\x6e\x6f\x74\40\x61\143\x74\151\166\x61\164\145\x64\40\155\157\x64\165\154\145\x20\x79\x65\164\56\74\x2f\x70\x3e\xa\40\40\x20\x20\40\40\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\40\40\40\x3c\x70\x3e\x50\x6c\x65\x61\163\145\x20\145\156\x74\x65\162\x20\141\40\114\151\143\145\156\x73\145\x20\x6b\x65\171\x20\x77\150\151\143\x68\40\150\141\x73\x20\156\157\x74\x20\x62\x65\145\x6e\40\x75\x73\x65\x64\x20\142\x65\146\157\x72\x65\x20\x6f\x6e\x20\x61\x6e\171\x20\x6f\x74\150\x65\x72\40\x69\156\x73\x74\x61\156\x63\x65\40\157\162\40\151\x66\40\171\157\165\x20\x68\141\166\145\x20\x65\170\x61\x75\163\x74\x65\x64\40\141\154\x6c\x20\171\157\165\162\40\153\145\x79\163\40\x74\x68\x65\156\40\142\165\171\x20\155\x6f\x72\x65\x20\x6c\151\x63\145\156\x73\x65\x20\146\x72\157\155\x20\114\x69\x63\x65\x6e\163\151\156\147\56\x3c\57\x70\x3e\12\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\40\40\40\74\57\144\151\166\76\12\40\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\40\x20\x20\40\40\40\x20\x20\40\40\x20\40\40\x20\x3c\x64\x69\x76\40\x73\164\x79\154\x65\75\42\155\x61\x72\x67\151\x6e\x3a\63\45\x3b\x64\x69\163\160\x6c\141\x79\72\142\x6c\x6f\143\x6b\x3b\x74\x65\170\164\x2d\141\x6c\151\x67\156\72\x63\145\156\x74\x65\162\x3b\x22\76\x3c\x2f\144\x69\166\76\xa\40\x20\40\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\x20\40\40\x3c\x64\x69\x76\x20\163\x74\x79\x6c\145\x3d\42\155\x61\x72\147\x69\x6e\x3a\63\45\73\x64\151\x73\x70\154\x61\171\x3a\142\x6c\157\x63\x6b\73\x74\145\170\164\55\x61\154\x69\x67\156\x3a\x63\145\x6e\x74\145\162\73\42\x3e\12\x20\40\x20\x20\40\40\x20\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x3c\146\157\x72\155\x20\x6d\x65\x74\150\157\x64\75\42\120\x4f\x53\x54\x22\x20\141\143\164\x69\157\x6e\40\75\42" . $base_url . "\42\76\xa\40\x20\40\40\40\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\40\40\40\x20\40\x3c\151\x6e\160\x75\x74\40\163\164\x79\x6c\x65\75\x22\x70\x61\144\x64\151\156\147\x3a\61\x25\73\167\151\144\164\150\x3a\x31\x30\x30\x70\170\x3b\x62\141\x63\153\147\162\x6f\x75\x6e\x64\72\x20\43\60\x30\71\x31\103\x44\40\x6e\x6f\x6e\x65\x20\x72\145\x70\145\141\164\x20\163\143\162\x6f\154\154\40\60\45\x20\60\45\x3b\x63\x75\162\x73\157\162\x3a\x20\160\x6f\x69\x6e\x74\145\162\x3b\146\x6f\156\x74\55\x73\151\172\x65\x3a\x31\65\x70\170\x3b\142\x6f\x72\x64\x65\162\55\167\151\x64\x74\x68\72\40\x31\160\170\x3b\142\157\162\x64\145\162\55\163\x74\x79\x6c\x65\72\x20\x73\157\x6c\151\144\73\142\x6f\x72\x64\x65\x72\x2d\162\x61\144\151\x75\163\72\x20\63\x70\x78\x3b\x77\150\x69\x74\x65\55\163\x70\141\143\145\x3a\x20\156\x6f\167\162\x61\x70\x3b\142\x6f\170\x2d\163\x69\172\x69\x6e\147\x3a\x20\142\157\x72\x64\x65\x72\x2d\142\x6f\170\x3b\x62\157\162\144\x65\162\x2d\x63\x6f\x6c\157\x72\72\40\x23\x30\60\67\x33\x41\101\x3b\x62\x6f\x78\55\163\150\141\x64\x6f\x77\72\40\60\160\x78\x20\61\160\170\40\x30\160\170\x20\x72\x67\x62\x61\50\x31\x32\60\54\40\62\60\x30\x2c\x20\62\x33\x30\54\40\60\x2e\x36\51\40\151\x6e\163\145\x74\73\143\157\154\157\x72\x3a\x20\x23\x46\106\106\73\42\x74\171\160\145\75\x22\x73\165\142\155\x69\x74\x22\x20\x76\x61\154\165\145\x3d\x22\x44\157\156\145\42\76\xa\40\40\40\x20\x20\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\x20\40\74\57\x66\157\162\x6d\76\xa\40\x20\x20\x20\40\40\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x3c\57\x64\x69\166\76";
exit;
return new Response();
c6:
goto vP;
nD:
self::mo_oauth_client_initiateLogin();
vP:
BO:
}
function oauth_client_logout()
{
global $base_url;
setrawcookie("\104\x72\x75\x70\x61\x6c\56\x76\x69\x73\151\164\157\162\x2e" . "\141\x63\143\x65\163\x73\137\x74\x6f\x6b\145\x6e", NULL, \Drupal::time()->getRequestTime() - 1, "\x2f");
setrawcookie("\104\x72\165\160\141\154\56\x76\x69\x73\151\164\157\x72\56" . "\x69\x64\x5f\x74\x6f\x6b\145\x6e", NULL, \Drupal::time()->getRequestTime() - 1, "\57");
setrawcookie("\104\x72\165\x70\x61\x6c\x2e\166\151\x73\x69\164\157\162\x2e" . "\162\145\146\162\145\x73\150\137\x74\157\x6b\x65\x6e", NULL, \Drupal::time()->getRequestTime() - 1, "\x2f");
if (!empty(\Drupal::config("\x6d\x69\x6e\151\157\x72\141\x6e\147\145\137\x6f\141\x75\x74\x68\137\x63\154\151\145\156\x74\56\163\145\164\164\x69\156\147\x73")->get("\155\151\x6e\x69\157\162\141\156\x67\x65\137\157\x61\x75\x74\150\x5f\x63\x6c\151\145\x6e\x74\137\142\x61\163\145\x5f\165\x72\x6c"))) {
goto Mx;
}
$nQ = $base_url;
goto UO;
Mx:
$nQ = \Drupal::config("\155\151\156\x69\x6f\162\x61\156\147\x65\137\x6f\141\x75\x74\x68\137\143\154\151\x65\x6e\164\x2e\x73\145\164\164\x69\x6e\147\163")->get("\x6d\151\156\x69\157\x72\141\x6e\x67\145\x5f\x6f\x61\x75\164\x68\x5f\x63\154\151\x65\x6e\164\x5f\x62\141\x73\x65\x5f\x75\162\x6c");
UO:
$Gk = $nQ . "\57\x75\163\x65\162\x2f\x6c\157\147\151\x6e";
\Drupal::service("\x73\x65\163\x73\151\x6f\156\x5f\x6d\x61\x6e\x61\147\145\162")->destroy();
$iZ = \Drupal::request();
$iZ->getSession()->clear();
if (empty(\Drupal::config("\155\151\156\x69\157\162\x61\x6e\147\145\137\x6f\141\x75\164\x68\137\143\x6c\151\x65\x6e\x74\56\163\145\164\164\x69\x6e\147\x73")->get("\x6d\151\156\x69\157\x72\141\156\x67\145\x5f\x6f\x61\x75\x74\150\x5f\x63\154\151\x65\x6e\x74\137\154\x6f\x67\x6f\165\x74\137\x75\162\x6c"))) {
goto Ee;
}
$Gk = \Drupal::config("\x6d\151\156\x69\x6f\x72\x61\x6e\147\x65\x5f\x6f\141\165\x74\150\x5f\x63\154\x69\x65\156\164\56\163\x65\x74\x74\x69\156\147\x73")->get("\155\x69\156\x69\x6f\162\x61\156\x67\145\x5f\157\x61\x75\x74\150\137\x63\154\151\145\156\164\x5f\154\157\x67\x6f\x75\x74\137\x75\x72\154");
Ee:
$B1 = new RedirectResponse($Gk);
$B1->send();
return new Response();
}
public static function getToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc)
{
$k_ = curl_init($OF);
curl_setopt($k_, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($k_, CURLOPT_ENCODING, '');
curl_setopt($k_, CURLOPT_RETURNTRANSFER, true);
curl_setopt($k_, CURLOPT_AUTOREFERER, true);
curl_setopt($k_, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($k_, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($k_, CURLOPT_MAXREDIRS, 10);
curl_setopt($k_, CURLOPT_POST, true);
if ($L8 && !$Dc) {
goto IA;
}
if (!$L8 && $Dc) {
goto W1;
}
curl_setopt($k_, CURLOPT_HTTPHEADER, array("\x41\165\x74\x68\x6f\x72\x69\172\x61\164\151\157\156\72\x20\102\141\x73\x69\143\40" . base64_encode($tx . "\x3a" . $YF), "\101\x63\x63\145\160\x74\x3a\40\141\x70\x70\154\151\x63\x61\x74\151\157\x6e\57\152\x73\x6f\x6e"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "\x72\x65\x64\x69\162\145\x63\x74\x5f\165\162\x69\75" . urlencode($Bb) . "\x26\x67\x72\x61\156\164\137\164\171\x70\x65\x3d" . $ZH . "\x26\143\x6c\x69\145\156\x74\x5f\x69\144\x3d" . $tx . "\46\x63\154\151\145\156\x74\137\163\x65\143\x72\145\164\75" . $YF . "\46\x63\157\144\145\75" . $pE);
goto Lq;
W1:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("\x41\x63\143\x65\160\164\x3a\x20\x61\160\160\x6c\x69\x63\141\x74\x69\x6f\156\57\152\163\x6f\x6e"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "\162\x65\x64\x69\162\x65\143\x74\137\165\162\151\75" . urlencode($Bb) . "\x26\x67\162\x61\x6e\164\x5f\x74\x79\x70\x65\x3d" . $ZH . "\46\x63\x6c\x69\x65\156\164\137\151\x64\x3d" . $tx . "\46\x63\154\x69\145\x6e\164\137\163\x65\x63\x72\145\164\75" . $YF . "\46\x63\157\x64\145\x3d" . $pE);
Lq:
goto h1;
IA:
curl_setopt($k_, CURLOPT_HTTPHEADER, array("\101\x75\x74\150\157\x72\x69\x7a\x61\x74\x69\x6f\x6e\x3a\40\102\x61\x73\151\143\x20" . base64_encode($tx . "\72" . $YF), "\101\143\143\145\160\x74\72\x20\141\x70\160\154\x69\143\x61\x74\151\157\156\x2f\152\163\x6f\156"));
curl_setopt($k_, CURLOPT_POSTFIELDS, "\x72\145\144\151\162\x65\x63\x74\137\x75\162\x69\x3d" . urlencode($Bb) . "\46\x67\x72\141\156\164\137\164\x79\160\x65\75" . $ZH . "\x26\143\157\144\x65\x3d" . $pE);
h1:
$B1 = curl_exec($k_);
if (!curl_error($k_)) {
goto ae;
}
print_r($B1);
exit(curl_error($k_));
ae:
if (is_array(json_decode($B1, true))) {
goto bW;
}
print_r($B1);
exit("\x49\x6e\x76\141\154\151\144\40\162\145\x73\160\157\156\163\x65\40\162\x65\x63\145\151\166\x65\144\40\x67\145\x74\164\151\156\x67\40\x61\x63\143\x65\x73\x73\137\164\157\153\145\x6e\x20\x66\162\x6f\155\x20\x75\x72\x6c\40" . $OF);
bW:
$nk = json_decode($B1, true);
if (isset($nk["\145\162\162\157\162\x5f\x64\x65\163\143\x72\151\x70\164\x69\x6f\156"])) {
goto Kf;
}
if (!isset($nk["\x65\162\162\x6f\x72"])) {
goto E8;
}
print_r($B1);
exit($nk["\145\162\x72\157\162"]);
E8:
goto hb;
Kf:
print_r($B1);
exit($nk["\145\162\162\x6f\x72\137\144\145\x73\x63\x72\151\160\x74\151\x6f\x6e"]);
hb:
return $B1;
}
public static function getIdToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc)
{
$B1 = self::getToken($OF, $ZH, $tx, $YF, $pE, $Bb, $L8, $Dc);
$nk = json_decode($B1, true);
if (isset($nk["\151\144\x5f\x74\157\153\x65\x6e"])) {
goto U1;
}
echo "\111\156\166\141\x6c\151\144\40\x72\145\163\160\157\x6e\163\145\40\x72\145\143\145\151\166\145\x64\x20\x66\x72\157\155\40\117\160\x65\x6e\x49\144\40\x50\x72\157\x76\151\x64\x65\x72\x2e\40\103\x6f\x6e\164\141\143\164\40\x79\157\x75\x72\40\x61\x64\155\x69\156\151\163\164\162\141\164\x6f\162\x20\x66\157\162\40\x6d\x6f\162\145\40\144\x65\x74\x61\x69\x6c\163\56\74\142\162\76\74\x62\162\x3e\x3c\x62\76\x52\145\163\x70\x6f\156\x73\145\40\72\40\74\x2f\x62\76\74\142\x72\x3e" . $B1;
exit;
goto gk;
U1:
return $nk;
gk:
}
public static function getResourceOwnerFromIdToken($Wm)
{
$Ta = explode("\x2e", $Wm);
if (!isset($Ta[1])) {
goto BX;
}
$vo = base64_decode($Ta[1]);
if (!is_array(json_decode($vo, true))) {
goto fQ;
}
return json_decode($vo, true);
fQ:
BX:
echo "\x49\156\166\x61\154\151\144\x20\x72\x65\163\160\157\x6e\x73\x65\x20\162\x65\143\x65\x69\x76\145\144\x2e\x3c\142\162\76\x3c\142\76\111\144\137\x74\157\153\x65\156\40\x3a\x20\74\x2f\142\x3e" . $Wm;
exit;
}
}
Function Calls
None |
Stats
MD5 | 2650829eea5da0bed1a2e49cb1233331 |
Eval Count | 0 |
Decode Time | 102 ms |