Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * This file initiates the display for all the tabs. * * @link https://plu..
Decoded Output download
<?php
/**
* This file initiates the display for all the tabs.
*
* @link https://plugins.miniorange.com
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
include 'Import-export.php';
foreach (glob(plugin_dir_path(__FILE__) . "views" . DIRECTORY_SEPARATOR . "*.php") as $Fb) {
include_once $Fb;
Y_N:
}
UTe:
function mo_register_saml_sso()
{
$fz = remove_query_arg("action");
$_SERVER["REQUEST_URI"] = $fz;
if (!empty($_GET["tab"])) {
goto RmY;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified() && mo_saml_is_sp_configured()) {
goto ZlE;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto Zr0;
}
$D9 = "login";
goto HjU;
Zr0:
$D9 = "sp_metadata";
HjU:
goto nRR;
ZlE:
$D9 = "general";
nRR:
goto BKG;
RmY:
$D9 = $_GET["tab"];
BKG:
if (mo_saml_is_extension_installed("curl")) {
goto Qkv;
}
echo "
\xa <p><font color="#FF0000">(Warning: <a href="http://php.net/manual/en/curl.installation.php" target="_blank">PHP cURL extension</a> is not installed or disabled)</font></p>";
Qkv:
if (mo_saml_is_extension_installed("openssl")) {
goto zhC;
}
echo "\xd
<p><font color="#FF0000">(Warning: <a href="http://php.net/manual/en/openssl.installation.php" target="_blank">PHP openssl extension</a> is not installed or disabled)</font></p>";
zhC:
echo "<div class="wrap">\xd
<h1>";
if ($D9 == "licensing") {
goto WZN;
}
update_option("mo_license_plan_from_feedback", '');
update_option("mo_saml_license_message", '');
echo "miniOrange SSO using SAML 2.0 \xd
<a id="license_upgrade" class="add-new-h2 add-new-hover" style="background-color: orange !important; border-color: orange; font-size: 16px; color: #000;" href="";
echo add_query_arg(array("tab" => "licensing"), htmlentities($_SERVER["REQUEST_URI"]));
echo "">Premium Plans</a>\xd
<a class="add-new-h2" href="https://faq.miniorange.com/kb/saml-single-sign-on/" target="_blank">FAQs</a>
\xa <a class="add-new-h2" href="https://forum.miniorange.com/" target="_blank">Ask questions on our forum</a>";
goto iwU;
WZN:
echo "<div style="text-align:center;">
miniOrange SSO using SAML 2.0</div>\xd
<div style="float:left;"><a class="add-new-h2 add-new-hover" style="font-size: 16px; color: #000;" href="";
echo add_query_arg(array("tab" => "save"), htmlentities($_SERVER["REQUEST_URI"]));
echo ""><span class="dashicons dashicons-arrow-left-alt" style="vertical-align: bottom;"></span> Back To Plugin Configuration</a></div>
\xa <!-- span style="float:right;">
\xa <a class="add-new-h2 add-new-hover" style="font-size: 16px; color: #000;" data-toggle="modal" data-target="#standardPremiumModalCenter" ><span class="dashicons dashicons-warning" style="vertical-align: bottom;"></span> Help me choose the right plan</a></span -->\xd
<br /><br/><div style="text-align:center; color: rgb(233, 125, 104);">You are currently on the <b>Multisite</b> version of the plugin<span style="font-size: 16px; margin-bottom: 0Px;">\xd
<li style="color: dimgray; margin-top: 0px;list-style-type: none;">
\xa
</li></span></div>";
iwU:
echo "</h1>
\xa
</div>";
echo "\xd
<div id="mo_saml_settings">
\xa\x9\x9<div class="miniorange_container">";
$bO = array();
foreach (mo_saml_options_addons::$RECOMMENDED_ADDONS_PATH as $tK => $Cd) {
if (!is_plugin_active($Cd)) {
goto ot8;
}
$VN = $tK;
$bO[$VN] = $VN;
ot8:
LVe:
}
ELN:
if (empty($bO)) {
goto iqs;
}
if (get_site_option("mo_saml_show_addons_notice")) {
goto U8s;
}
echo "
\xa <form name="f" method="post" action="" id="mo_saml_addons_notice_form">";
wp_nonce_field("mo_saml_addons_message");
echo "<input type="hidden" name="option" value="mo_saml_addons_message"/>\xd
<div class="notice notice-info" style="padding-top: 7px; padding-right: 38px;position: relative; height:26px;">\xd\xa We have a <a href="";
echo admin_url("admin.php?page=mo_saml_settings&tab=addons");
echo ""><b>good recommendation</b></a> for you. Please check out our ";
$AL = 0;
foreach ($bO as $tK => $Cd) {
foreach (mo_saml_options_addons::$ADDON_TITLE as $ga => $lZ) {
if (!($bO[$tK] == $ga)) {
goto oG1;
}
$AL += 1;
if ($AL == 1) {
goto BiT;
}
echo ", <b>";
echo $lZ;
echo "</b>";
goto j95;
BiT:
echo "<b>";
echo $lZ;
echo "</b>";
j95:
oG1:
sC1:
}
Eno:
CyY:
}
SiO:
echo " addon.
\xa <button type="button" class="notice-dismiss" id="mo_addons_notice_dismiss"><span class="screen-reader-text">Dismiss this notice.</span>
\xa </button>\xd\xa </div>\xd\xa </form>
<script>\xd\xa jQuery("#mo_addons_notice_dismiss").click(function () {\xd
jQuery("#mo_saml_addons_notice_form").submit();
\xa });\xd
</script>
\xa ";
U8s:
iqs:
if ($D9 != "licensing") {
goto t47;
}
if (!($D9 == "licensing")) {
goto q60;
}
mo_saml_show_pricing_page();
q60:
goto OPQ;
t47:
if (!mo_check_certificate_expiry()) {
goto ILQ;
}
$gS = get_site_option("mo_saml_current_cert");
$sd = openssl_x509_parse($gS);
$Kc = $sd["validTo_time_t"];
$Bt = $Kc - time();
$eW = round($Bt / (60 * 60 * 24));
if ($eW >= 0) {
goto hMN;
}
echo "<div class="notice notice-error is-dismissible"><p><b>Security Alert :</b> Your certificate has expired, please upgrade your certificate immediately. ";
echo " \x9 \x9<a href="";
echo add_query_arg(array("tab" => "custom_certificate"), $_SERVER["REQUEST_URI"]);
echo "">";
echo "Upgrade your certificate";
echo "</a>";
echo " or your SSO will stop.</p></div>";
goto v6v;
hMN:
echo "<div class="notice notice-warning is-dismissible"><p><b>Security Alert :</b> Your certificate is expiring soon, please upgrade your certificate. ";
echo "\x9 \x9 \x9<a href="";
echo add_query_arg(array("tab" => "custom_certificate"), $_SERVER["REQUEST_URI"]);
echo "">";
echo "Upgrade your certificate";
echo "</a>";
echo " or your SSO may stop in " . $eW . " days.</p></div>";
v6v:
ILQ:
echo "<table style="width:100%;">
\xa\x9 \x9\x9<tr>\xd\xa \x9 <h2 class="nav-tab-wrapper">";
if (!(!mo_saml_is_customer_registered_saml() || !mo_saml_is_customer_license_key_verified() || mo_saml_is_trial_active())) {
goto gpI;
}
echo " <a class="nav-tab ";
echo $D9 == "login" ? "nav-tab-active" : '';
echo ""\xd\xa \x9 href="";
echo add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]);
echo "">Account\xd\xa\x9\x9 \x9\x9 \x9Setup</a> ";
gpI:
echo "\x9\x9\x9\xd
\x9 \x9 <a id="sp_metadata_tab" class="nav-tab ";
echo $D9 == "sp_metadata" ? "nav-tab-active" : '';
echo ""\xd
\x9 \x9 \x9 href="";
echo add_query_arg(array("tab" => "sp_metadata"), $_SERVER["REQUEST_URI"]);
echo "">Service Provider Metadata</a>
\xa\x9 \x9
\xa \x9\x9 \x9<a class="nav-tab ";
echo $D9 == "save" ? "nav-tab-active" : '';
echo ""
\x9 \x9 href="";
echo add_query_arg(array("tab" => "save"), $_SERVER["REQUEST_URI"]);
echo "">Service Provider Setup</a>
\x9 \xd
\x9\x9\x9\x9\x9<a class="nav-tab ";
echo $D9 == "attribute_role" ? "nav-tab-active" : '';
echo ""\xd\xa \x9\x9 href="";
echo add_query_arg(array("tab" => "attribute_role"), $_SERVER["REQUEST_URI"]);
echo "">Attribute/Role
\x9 Mapping</a>
\x9 \x9
\xa\x9 \x9 ";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto L6h;
}
echo " <a class="nav-tab ";
echo $D9 == "general" ? "nav-tab-active" : '';
echo ""\xd\xa \x9 href="";
echo add_query_arg(array("tab" => "general"), $_SERVER["REQUEST_URI"]);
echo "">Redirection & SSO Links</a> ";
L6h:
echo " \x9
\x9\x9\x9\x9\x9<a class="nav-tab ";
echo $D9 == "add-ons" ? "nav-tab-active" : '';
echo ""
\x9\x9 \x9 href="";
echo add_query_arg(array("tab" => "add-ons"), $_SERVER["REQUEST_URI"]);
echo "">Add-Ons</a>\xd
\x9\x9 \xd\xa \x9\x9\x9<a class="nav-tab ";
echo $D9 == "custom_certificate" ? "nav-tab-active" : '';
echo ""\xd\xa\x9 \x9\x9 href="";
echo add_query_arg(array("tab" => "custom_certificate"), $_SERVER["REQUEST_URI"]);
echo "">Manage Certificates</a>
\x9
\x9 <a class="nav-tab ";
echo $D9 == "custom_messages" ? "nav-tab-active" : '';
echo ""\xd
\x9 \x9 href="";
echo add_query_arg(array("tab" => "custom_messages"), $_SERVER["REQUEST_URI"]);
echo "">Custom Messages</a>\xd
\x9 \x9 ";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto SE3;
}
echo "<a class="nav-tab " . ($D9 == "account_info" ? "nav-tab-active" : '') . "" href="" . add_query_arg(array("tab" => "account_info"), $_SERVER["REQUEST_URI"]) . "">Account Info</a>";
SE3:
echo "</h2>";
if ($D9 == "add-ons") {
goto xgi;
}
if ($D9 !== "attribute_role") {
goto Ttv;
}
echo "<td style="vertical-align:top;width:60%;">";
goto enB;
Ttv:
echo "<td style="vertical-align:top;width:65%;" >";
enB:
goto cUk;
xgi:
echo "<script type='text/javascript'>\xd\xa \x9\x9 \x9jQuery(document).ready(function()\xd\xa \x9 \x9\x9\x9\x9{
\x9 \x9jQuery('#mo_saml_addons_submenu').parent().parent().parent().find('li').removeClass('current');\xd
\x9\x9 jQuery('#mo_saml_addons_submenu').parent().parent().addClass('current');\xd\xa \x9 \x9\x9\x9});
\xa \x9 \x9</script>";
echo "<td style="vertical-align:top;width:65%;background-color:#FFFFFF;border:1px solid #CCCCCC; padding:10px 20px 30px 10px">";
cUk:
if ($D9 == "save") {
goto cJl;
}
if ($D9 == "attribute_role") {
goto LAr;
}
if ($D9 == "help") {
goto e37;
}
if ($D9 == "sp_metadata") {
goto ltf;
}
if ($D9 == "general") {
goto MNe;
}
if ($D9 == "add-ons") {
goto Brh;
}
if ($D9 == "licensing") {
goto v22;
}
if ($D9 == "custom_certificate") {
goto uV_;
}
if ($D9 == "custom_messages") {
goto W2A;
}
if ($D9 == "account_info" && mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto PFY;
}
if (get_site_option("mo_saml_verify_customer") == "true") {
goto S9k;
}
if (trim(get_site_option("mo_saml_admin_email")) != '' && trim(get_site_option("mo_saml_admin_api_key")) == '' && get_site_option("mo_saml_new_registration") != "true") {
goto a6c;
}
if (!mo_saml_is_customer_registered_saml()) {
goto l9I;
}
if (mo_saml_is_customer_registered_saml() && (!mo_saml_is_customer_license_key_verified() || mo_saml_is_trial_active())) {
goto xWF;
}
mo_saml_general_login_page();
goto n_k;
xWF:
$ni = get_site_option("mo_saml_admin_email");
$jX = get_site_option("mo_saml_admin_email_old");
if (!(strcmp($ni, $jX) && !empty($jX))) {
goto oCW;
}
delete_site_option("sml_lk");
delete_site_option("no_sbs");
oCW:
delete_site_option("mo_saml_admin_email_old");
mo_saml_show_verify_license_page();
n_k:
goto eEL;
l9I:
mo_saml_show_verify_password_page_saml();
eEL:
goto bMG;
a6c:
mo_saml_show_verify_password_page_saml();
bMG:
goto xac;
S9k:
mo_saml_show_verify_password_page_saml();
xac:
goto Etf;
PFY:
mo_saml_display_account_information();
Etf:
goto eg1;
W2A:
mo_saml_add_custom_messages();
eg1:
goto Z58;
uV_:
mo_saml_add_custom_certificate();
Z58:
goto YFO;
v22:
mo_saml_show_pricing_page();
echo "<style>#support-form{ display:none;}</style>";
YFO:
goto hhO;
Brh:
mo_saml_show_addons_page();
hhO:
goto iRu;
MNe:
mo_saml_general_login_page();
iRu:
goto Dh1;
ltf:
mo_saml_configuration_steps();
Dh1:
goto zP5;
e37:
mo_saml_show_faqs();
zP5:
goto nkC;
LAr:
mo_saml_save_optional_config();
nkC:
goto nui;
cJl:
mo_saml_apps_config_saml();
nui:
echo "</td>
\xa \x9\x9\x9 <td style="vertical-align:top;padding-left:1%;"id="support-form">";
if ($D9 !== "attribute_role" || !get_site_option("mo_saml_test_config_attrs")) {
goto kPv;
}
mo_saml_display_attrs_list();
goto rH4;
kPv:
miniorange_support_saml();
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto SNd;
}
miniorange_keep_configuration_saml();
SNd:
rH4:
if (!($D9 == "general")) {
goto UlF;
}
mo_saml_display_subsite_box();
UlF:
echo "</td>\xd
\x9\x9\x9 </tr>\xd\xa\x9\x9\x9 </table>
\xa\x9\x9\x9 </div>";
OPQ:
echo "<form name="f" method="post" action="" id="mo_saml_check_license">";
wp_nonce_field("mo_saml_check_license");
echo "<input type="hidden" name="option" value="mo_saml_check_license"/>
</form>
\xa \x9 <form style="display:none;" id="loginform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login" \xd\xa \x9 target="_blank" method="post">\xd
\x9 \x9<input type="email" name="username" value="" . get_site_option("mo_saml_admin_email") . "" />
\x9 <input type="text" name="redirectUrl" value="" . mo_options_plugin_constants::HOSTNAME . "/moas/viewlicensekeys" />
\xa \x9\x9 <input type="text" name="requestOrigin" value="wp_saml_sso_basic_plan" />\xd\xa \x9</form>\xd\xa\x9 \x9<script>
\xa\x9\x9\x9 jQuery("a[href=\"#activatelicense\"]").click(function(){\xd
\x9\x9\x9\x9jQuery("#mo_saml_check_license").submit();\xd
\x9 \x9\x9});\xd\xa\x9 \x9</script>";
}
function mo_saml_is_extension_installed($hD)
{
if (Utilities::mo_saml_in_array($hD, get_loaded_extensions())) {
goto TSx;
}
return 0;
goto m_i;
TSx:
return 1;
m_i:
}
function sanitize_element()
{
$Vy = file_get_contents(plugins_url("resources/en_li.mo", __FILE__));
$lA = get_site_option("mo_saml_customer_token");
$Vy = AESEncryption::decrypt_data($Vy, $lA);
if (!empty($Vy)) {
goto dPT;
}
return '';
dPT:
$dH = get_site_option("mo_saml_admin_api_key");
$Vy = AESEncryption::decrypt_data($Vy, $dH);
$Yu = simplexml_load_string($Vy);
return strval($Yu->expirationTime);
}
function mo_saml_show_verify_password_page_saml()
{
echo "<form name="f" method="post" action="">";
wp_nonce_field("mo_saml_verify_customer");
echo "<input type="hidden" name="option" value="mo_saml_verify_customer" />
\xa <input type="hidden" name="mo_saml_admin_email_old" value="" . get_site_option("mo_saml_admin_email") . ""/>";
update_site_option("mo_saml_admin_email_old", get_site_option("mo_saml_admin_email"));
echo "
\xa <div class="mo_saml_table_layout" style="padding-bottom:36px;">
\xa <div id="toggle1" >\xd\xa <h3>Login with miniOrange</h3>\xd
</div>\xd
<!--<p><b>It seems you already have an account with miniOrange. Please enter your miniOrange email and password.<br/> </b></p>-->
<p><b><a href="https://login.xecurify.com/moas/idp/resetpassword">Click here if you forgot your password?</a></b></p>
<br/>\xd\xa <table class="mo_saml_settings_table">\xd\xa <tr>
\xa <td><b><font color="#FF0000">*</font>Email:</b></td>\xd\xa <td><input class="mo_saml_table_textbox" type="email" name="email"\xd
required placeholder="[email protected]"
\xa value="" . get_site_option("mo_saml_admin_email") . "" /></td>\xd
</tr>
<tr>\xd\xa <td><b><font color="#FF0000">*</font>Password:</b></td>
<td><input class="mo_saml_table_textbox" required type="password"
name="password" placeholder="Enter your password" \xd\xa minlength="6" pattern="^[(\w)*(!@#.$%^&*-_)*]+$"\xd
title="Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present"\xd
/></td>\xd
</tr>
\xa
<tr>
\xa <td> </td>
\xa <td>\xd
<input type="submit" name="submit" value="Login" class="button button-primary button-large" />
</td>\xd\xa </tr>
</table>
\xa </div>
</form>";
}
function mo_saml_show_verify_license_page()
{
echo "<div class="mo_saml_table_layout" style="padding-bottom:50px;!important">";
if (!(!signElement() || site_check())) {
goto LgF;
}
$xH = get_site_option("no_sbs");
$F9 = get_site_option("mo_saml_customer_token");
if ($xH && $F9) {
goto SJl;
}
mo_saml_show_license_verification_form();
goto W2B;
SJl:
$gt = AESEncryption::decrypt_data($xH, $F9);
$oL = Utilities::get_sites();
if ($gt < count($oL)) {
goto Gvc;
}
mo_saml_show_license_verification_form();
goto lza;
Gvc:
echo "<div style="display:block;margin-top:10px;color:red;background-color:rgba(251, 232, 0, 0.15);padding:5px;border:solid 1px rgba(255, 0, 9, 0.36);">
\xa You have purchased the license for <b>" . $gt . " sites</b>. But you have <b>" . count($oL) . " </b>sites in your multisite network. <a onclick="getupgradelicensesform()" href="#" >Click here</a> to buy license for more sites.\xd\xa </div>\xd\xa <h3>Confirm your license</h3><hr>
\xa Once you have upgraded your license, click the below button to confirm your license.<br><br>\xd\xa <form name="f" method="post" action="" id="mo_saml_goback_form">";
wp_nonce_field("mo_saml_go_back");
echo "<input type="hidden" name="option" value="mo_saml_go_back"/>
<a href="#checklicense"><input type="button" name="submit" id="" value="Check License" class="button button-primary button-large" /></a>
\xa <input type="submit" value="Back" class="button button-primary button-large"/>
</form>\xd\xa <div style="margin-bottom:150px;"></div>";
lza:
W2B:
LgF:
echo "</div>\xd\xa <form name="f" method="post" action="" id="mo_saml_check_license">";
wp_nonce_field("mo_saml_check_license");
echo "<input type="hidden" name="option" value="mo_saml_check_license"/>
\xa </form>\xd\xa <form name="f" id="licenseform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login" \xd\xa target="_blank" method="post">\xd
<input type="hidden" name="username" value="" . get_site_option("mo_saml_admin_email") . "" />
<input type="hidden" name="redirectUrl" value="" . mo_options_plugin_constants::HOSTNAME . "/moas/initializepayment" />
\xa <input type="hidden" name="requestOrigin" id="requestOrigin" value="wp_saml_premium_multisite_sso_upgrade_plan" />\xd\xa </form>\xd\xa <form name="f" method="post" action="" id="mo_saml_back_license">";
wp_nonce_field("mo_saml_remove_account");
echo "<input type="hidden" name="option" value="mo_saml_remove_account"/>
</form>
<script>\xd
jQuery("a[href=\"#checklicense\"]").click(function(){\xd\xa jQuery("#mo_saml_check_license").submit();
\xa });
\xa function getupgradelicensesform(){\xd\xa jQuery("#licenseform").submit();\xd
}
\xa </script>";
}
function mo_saml_show_license_verification_form()
{
echo "<h3>Verify License [ <span style="font-size:13px;font-style:normal;"><a style="cursor:pointer;" onclick="getlicensekeysform()" >Click here to view your license key</a></span> ]</h3><hr>\xd
\xa <form name="f" method="post" action="">";
wp_nonce_field("mo_saml_verify_license");
echo "<input type="hidden" name="option" value="mo_saml_verify_license" />
\xa \xd
<p><b><font color="#FF0000">*</font>Enter your license key to activate the plugin:</b>\xd\xa <input class="mo_saml_table_textbox" required type="text" style="margin-left:40px;width:300px;"\xd\xa name="saml_license_key" placeholder="Enter your license key to activate the plugin" />
</p>
\xa <p><b><font color="#FF0000">*</font>Please check this to confirm that you have read it: </b> <input required type="checkbox" name="license_conditions" /></p>
</p>
\xd\xa <ol>\xd
<li>License key you have entered here is associated with this site instance. In future, if you are re-installing the plugin or your site for any reason. You should deactivate and then delete the plugin from wordpress console and should not manually delete the plugin folder. So that you can resuse the same license key.</li><br>\xd\xa <li><b>This is not a developer's license.</b> Making any kind of change to the plugin's code will delete all your configuration and make the plugin unusable.</li>\xd
<br>\xd
<input type="submit" name="submit" value="Activate License" class="button button-primary button-large" /> \xd\xa <input type="button" class="button button-primary button-large" value="Back" onclick="document.forms['mo_saml_back_license'].submit();"/>
\xa </form>";
}
function postResponse()
{
$Vy = file_get_contents(plugins_url("resources/en_li.mo", __FILE__));
$lA = get_site_option("mo_saml_customer_token");
$Vy = AESEncryption::decrypt_data($Vy, $lA);
if (!empty($Vy)) {
goto lOX;
}
return '';
lOX:
$dH = get_site_option("mo_saml_admin_api_key");
$Vy = AESEncryption::decrypt_data($Vy, $dH);
$Yu = simplexml_load_string($Vy);
return strval($Yu->code);
}
function signElement()
{
if (!file_exists(plugin_dir_path(__FILE__) . "resources/en_li.mo")) {
goto Y8I;
}
return true;
Y8I:
return false;
}
function site_check()
{
if (!get_site_option("site_ck_l")) {
goto ws4;
}
$tK = get_site_option("mo_saml_customer_token");
if (!(AESEncryption::decrypt_data(get_site_option("site_ck_l"), $tK) == "true")) {
goto anq;
}
return true;
anq:
ws4:
return false;
}
function mo_saml_download_logs($Sv, $uh)
{
echo "<div style="font-family:Calibri;padding:0 3%;">";
echo "<hr class="header"/>";
echo " <p style="font-size: larger ">Please try the solution given above.If the problem persists,download the plugin configuration by clicking on Export Plugin Configuration and mail us at <a href="mailto:[email protected]">[email protected]</a>.</p>\xd\xa\x9 \x9<p>We will get back to you soon!<p>
\xa\x9 \x9 </div>
\x9 \x9\x9<div style="margin:3%;display:block;text-align:center;">
\x9 \x9\x9\x9\x9\x9<div style="margin:3%;display:block;text-align:center;">
\x9 \x9 \x9<form method="get" action="" name="mo_export" id="mo_export">";
wp_nonce_field("mo_saml_export");
echo "<input type="hidden" name="option" value="export_configuration" />
\xa \x9 \x9<input type="submit" class="miniorange-button" value="Export Plugin Configuration">\xd\xa \x9 \x9\x9 <input class="miniorange-button" type="button" value="Close" onclick="self.close()"></form>\xd
\x9\x9 \x9";
echo " ";
$k4 = $_POST["SAMLResponse"];
update_site_option("mo_saml_response", $k4);
$kP = array("Error" => $Sv, "Cause" => $uh);
update_site_option("mo_saml_test", $kP);
echo "\x9\x9 <style>
\xa \x9.miniorange-button {\xd\xa\x9 padding:1%;
\x9 background: #0091CD none repeat scroll 0% 0%;
\xa\x9\x9 cursor: pointer;font-size:15px;\xd
\x9\x9border-width: 1px;border-style: solid;\xd
\x9 border-radius: 3px;white-space: nowrap;
\x9 box-sizing: border-box;border-color: #0073AA;\xd\xa \x9 box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;\xd
\x9 margin: 22px;\xd\xa\x9 \x9}
\x9 </style>
\x9 \x9";
exit;
}
function miniorange_generate_metadata($jn = false, $mb = false)
{
$Eq = get_site_option("mo_saml_sp_base_url");
if (!empty($Eq)) {
goto O4T;
}
$Eq = get_network_site_url();
O4T:
$yo = get_site_option("mo_saml_sp_entity_id");
if (!empty($yo)) {
goto BcX;
}
$yo = $Eq . "/wp-content/plugins/miniorange-saml-20-single-sign-on/";
BcX:
$U9 = $yo;
$Y1 = $Eq . "/";
if ($mb) {
goto Afq;
}
$gS = get_site_option("mo_saml_current_cert");
goto XmV;
Afq:
$gS = file_get_contents(plugin_dir_path(__FILE__) . "resources" . DIRECTORY_SEPARATOR . mo_options_enum_default_sp_certificate::SP_Public_Certificate);
XmV:
$pC = Utilities::getValidUntilDateFromCert($gS);
$gS = Utilities::desanitize_certificate($gS);
if (!ob_get_contents()) {
goto Fxo;
}
ob_clean();
Fxo:
header("Content-Type: text/xml");
if (!$jn) {
goto G2x;
}
if ($mb) {
goto YiI;
}
header("Content-Disposition: attachment; filename="mo-saml-sp-metadata.xml"");
goto Pr0;
YiI:
header("Content-Disposition: attachment; filename="mo-saml-sp-new-metadata.xml"");
Pr0:
G2x:
echo "<?xml version="1.0"?>\xd\xa\x9\x9\x9<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="" . $pC . "" cacheDuration="PT1446808792S" entityID="" . $U9 . "">
\xa\x9 <md:SPSSODescriptor AuthnRequestsSigned="true" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
\xa\x9\x9 <md:KeyDescriptor use="signing">\xd
\x9 <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">\xd
\x9 <ds:X509Data>
\xa \x9 <ds:X509Certificate>" . $gS . "</ds:X509Certificate>
\xa\x9\x9 \x9\x9</ds:X509Data>\xd
\x9\x9</ds:KeyInfo>\xd\xa \x9 </md:KeyDescriptor>\xd\xa \x9 <md:KeyDescriptor use="encryption">
\xa \x9<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
\xa <ds:X509Data>
\xa <ds:X509Certificate>" . $gS . "</ds:X509Certificate>
\xa\x9\x9 </ds:X509Data>
\xa\x9\x9\x9</ds:KeyInfo>
\xa \x9\x9</md:KeyDescriptor>\xd
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="" . $Y1 . ""/>\xd
\x9\x9\x9<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="" . $Y1 . ""/>
\xa\x9\x9\x9<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat>\xd
\x9 <md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat>\xd\xa\x9 \x9<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="" . $Y1 . "" index="1"/>
\xa\x9 </md:SPSSODescriptor>
\x9<md:Organization>\xd
\x9 <md:OrganizationName xml:lang="en-US">miniOrange</md:OrganizationName>
\xa <md:OrganizationDisplayName xml:lang="en-US">miniOrange</md:OrganizationDisplayName>\xd
\x9 <md:OrganizationURL xml:lang="en-US">http://miniorange.com</md:OrganizationURL>
\xa </md:Organization>
<md:ContactPerson contactType="technical">
\xa\x9<md:GivenName>miniOrange</md:GivenName>\xd\xa\x9<md:EmailAddress>[email protected]</md:EmailAddress>\xd\xa</md:ContactPerson>
\xa<md:ContactPerson contactType="support">
<md:GivenName>miniOrange</md:GivenName>\xd
<md:EmailAddress>[email protected]</md:EmailAddress>\xd\xa</md:ContactPerson>\xd\xa</md:EntityDescriptor>";
exit;
}
function mo_saml_get_test_url($mb = false)
{
$tX = get_network_site_url() . "/?option=testConfig";
$w_ = $mb ? $tX . "&newcert=true" : $tX;
return $w_;
}
function mo_saml_get_saml_request_url()
{
$tX = home_url() . "/?option=getsamlrequest";
return $tX;
}
function mo_saml_get_saml_response_url()
{
$tX = home_url() . "/?option=getsamlresponse";
return $tX;
}
function mo_saml_get_attribute_mapping_url()
{
return add_query_arg(array("tab" => "attribute_role"), $_SERVER["REQUEST_URI"]);
}
function mo_check_certificate_expiry()
{
$rx = openssl_x509_parse(get_site_option("mo_saml_current_cert"))["validTo_time_t"];
$Bt = $rx - time();
$eW = round($Bt / (60 * 60 * 24));
return $eW < 60;
}
function mo_saml_roll_back_available()
{
return get_site_option("mo_saml_certificate_roll_back_available");
}
function mo_saml_is_customer_registered_saml()
{
$ni = get_site_option("mo_saml_admin_email");
$LV = get_site_option("mo_saml_admin_customer_key");
if (!$ni || !$LV || !is_numeric(trim($LV))) {
goto qpc;
}
return 1;
goto tYl;
qpc:
return 0;
tYl:
}
function mo_saml_is_trial_active()
{
$ni = get_site_option("mo_saml_admin_email");
$LV = get_site_option("mo_saml_admin_customer_key");
$tK = get_site_option("mo_saml_customer_token");
$mp = AESEncryption::decrypt_data(get_site_option("t_site_status"), $tK);
if ($mp != "true" || !$ni || !$LV || !is_numeric(trim($LV))) {
goto SKr;
}
return 1;
goto gim;
SKr:
return 0;
gim:
}
function mo_saml_trial_expiry()
{
$Lb = DateTime::createFromFormat("Y-m-d H:i:s.u", sanitize_element());
return $Lb->format("F j, Y, G:i:s");
}
function check_plugin_state()
{
echo "<tr>";
if (!mo_saml_is_customer_registered_saml()) {
goto sEY;
}
if (!mo_saml_is_customer_license_key_verified()) {
goto lQc;
}
if (!mo_saml_is_trial_active()) {
goto TJT;
}
echo "<td colspan="2"><div style="display:block;margin-top:10px;color:red;background-color:rgba(251, 232, 0, 0.15);padding:5px;border:solid 1px rgba(255, 0, 9, 0.36);">You are on Trial version of the plugin and it will expire on <span style="color:#0073aa">";
echo mo_saml_trial_expiry();
echo ". </span>";
if (site_check()) {
goto CM5;
}
echo "If you have already purchased the license <a href="#activatelicense">click here to activate</a>.";
goto TQa;
CM5:
echo "<a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . "">Click here</a> to activate your license.";
TQa:
echo "</div></td>";
TJT:
goto IKN;
lQc:
echo "<td colspan="2"><div style="display:block;margin-top:10px;color:red;background-color:rgba(251, 232, 0, 0.15);padding:5px;border:solid 1px rgba(255, 0, 9, 0.36);">";
if (signElement() && !site_check()) {
goto hSK;
}
echo "Please enter your<a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . ""> license key</a> to activate the plugin.";
goto g8n;
hSK:
echo "<a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . "">Click here</a> to activate your 5 days FREE Trial for the plugin.";
g8n:
echo "</div></td>";
IKN:
goto FpV;
sEY:
echo "<td colspan="2"><div style="display:block;margin-top:10px;color:red;background-color:rgba(251, 232, 0, 0.15);padding:5px;border:solid 1px rgba(255, 0, 9, 0.36);">Please <a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . "">Register or Login with miniOrange</a> to configure the miniOrange SAML Plugin.</div></td>";
FpV:
echo "</tr>";
}
function mo_saml_display_account_information()
{
echo "<div style="background-color:#FFFFFF; border:1px solid #CCCCCC; padding:0px 0px 0px 10px;">
\x9<div>\xd
<h3>Your Profile";
if (!get_site_option("sml_lk")) {
goto IQb;
}
echo "<span style="float:right;margin-right:15px;"><input type="button" name="ok_btn" class="button button-primary button-large" value="Confirm License" onclick="confirmlicenseform()" />
\xa \x9 <input type="button" name="ok_btn" class="button button-primary button-large" value="Get License Keys" onclick="getlicensekeysform()" /></h3></div>";
IQb:
echo "<form style="display:none;" id="licenseform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login"\xd
\x9target="_blank" method="post">\xd
\x9 <input type="email" name="username" value="" . get_site_option("mo_saml_admin_email") . "" />\xd\xa \x9<input type="text" name="redirectUrl" value="" . mo_options_plugin_constants::HOSTNAME . "/moas/initializepayment" /><input type="text" name="requestOrigin" id="requestOrigin2" />\xd
\x9 </form>\xd
\x9 <form name="f" method="post" action="" id="mo_saml_check_license">";
wp_nonce_field("mo_saml_check_license");
echo "<input type="hidden" name="option" value="mo_saml_check_license"/>\xd\xa\x9 </form>\xd
<script>
\xd
\x9\x9\x9function confirmlicenseform() {
\xa\x9\x9\x9 jQuery("#mo_saml_check_license").submit();
}
</script>";
echo "<table border="1" style="background-color:#FFFFFF; border:1px solid #CCCCCC; border-collapse: collapse; padding:0px 0px 0px 10px; margin:2px; width:85%">
\x9\x9<tr>
\x9 <td style="width:45%; padding: 10px;">miniOrange Account Email</td>\xd
\x9\x9<td style="width:55%; padding: 10px;">" . get_site_option("mo_saml_admin_email") . "</td>\xd\xa \x9</tr>
<tr>\xd
\x9 <td style="width:45%; padding: 10px;">Customer ID</td>
\x9\x9\x9<td style="width:55%; padding: 10px;">" . get_site_option("mo_saml_admin_customer_key") . "</td>
\x9\x9</tr>
\xa
\xa\x9</table>
\xa <div style="display:block;text-align:center;margin:2%; margin-left: -10%">\xd
\x9<input type="button" name="mo_saml_remove_account" id="mo_saml_remove_account" value="Remove Account" class="button button-primary button-large" />\xd\xa </div>\xd
</div><br/>";
if (!get_site_option("mo_saml_license_expiry_date")) {
goto bFE;
}
echo "<div style="background-color:#FFFFFF; border:1px solid #CCCCCC; padding:0px 0px 0px 10px;"><h3>License Details</h3>\xd\xa\x9 <table border="1" style="background-color:#FFFFFF; border:1px solid #CCCCCC; border-collapse: collapse; padding:0px 0px 0px 10px; margin:2px; width:85%">\xd
\x9 \x9<tr>\xd\xa\x9 \x9\x9<td style="width:45%; padding: 10px;">License Expiry Date</td>
\xa\x9 \x9<td style="width:55%; padding: 10px;">" . get_site_option("mo_saml_license_expiry_date") . "</td>\xd\xa \x9 </tr>
\xa\x9\x9\x9<tr>
\xa \x9 <td style="width:45%; padding: 10px;">License Renewal Link </td>\xd\xa \x9 <td style="width:55%; padding: 10px;"><a href="" . mo_options_plugin_constants::HOSTNAME . "/moas/login?redirectUrl=" . mo_options_plugin_constants::HOSTNAME . "/moas/admin/customer/licenserenewals?renewalrequest=" . mo_options_plugin_constants::LICENSE_TYPE . "" class="button button-primary" target="_blank">Renew your support license</a>.</td>
\x9 </tr>
\x9 </table><br /><br /></div>";
bFE:
echo "
\xa<form name="f" method="post" action="" id="mo_saml_remove_account_form">";
wp_nonce_field("mo_saml_go_back");
echo "<input type="hidden" name="option" value="mo_saml_go_back"/>
\xa</form>\xd
<script>
\xajQuery("#mo_saml_remove_account").click(function(){\xd\xa jQuery("#mo_saml_remove_account_form").submit();\xd
});\xd
</script>";
}
function mo_saml_is_customer_license_key_verified($g4 = false)
{
$tK = get_site_option("mo_saml_customer_token");
$mp = AESEncryption::decrypt_data(get_site_option("t_site_status"), $tK);
$G_ = get_site_option("sml_lk");
$ni = get_site_option("mo_saml_admin_email");
$LV = get_site_option("mo_saml_admin_customer_key");
$gt = AESEncryption::decrypt_data(get_site_option("no_sbs"), $tK);
$j8 = false;
if (!get_site_option("no_sbs")) {
goto OIV;
}
$oL = Utilities::get_sites();
$j8 = $gt < count($oL);
OIV:
if ($mp != "true" && !$G_ || !$ni || !$LV || !is_numeric(trim($LV)) || $j8) {
goto rSr;
}
return $g4 ? '' : 1;
goto b7m;
rSr:
return $g4 ? "disabled" : 0;
b7m:
}
function mo_saml_display_attrs_list()
{
$gi = maybe_unserialize(get_site_option("mo_saml_test_config_attrs"));
if (empty($gi)) {
goto hMG;
}
echo "<div class="mo_saml_support_layout" style="padding-bottom:20px; padding-right:5px;">
\x9 <h3>Attributes received from the Identity Provider:</h3>
\x9 <div>
\xa\x9 \x9\x9 <table style="border-collapse:collapse;border-spacing:0;table-layout: fixed; width: 95%;background-color:#ffffff;">\xd
\x9\x9 <tr style="text-align:center;"><td style="font-weight:bold;border:1px solid #949090;padding:2%; width:65%;">ATTRIBUTE NAME</td><td style="font-weight:bold;padding:2%;border:1px solid #949090; word-wrap:break-word; width:35%;">ATTRIBUTE VALUE</td></tr>";
foreach ($gi as $b5 => $El) {
echo "<tr style="text-align:center;"><td style="font-weight:bold;border:1px solid #949090;padding:2%; word-wrap:break-word;">" . $b5 . "</td>";
echo "<td style="padding:2%;border:1px solid #949090; word-wrap:break-word;">" . implode("<hr/>", $El) . "</td>
\x9 \x9 \x9\x9</tr>";
nk8:
}
pg9:
echo "
\xa\x9\x9\x9\x9\x9\x9</table>\xd\xa\x9 <br/>
\x9 <input type="button" class="button-primary"";
if (mo_saml_is_customer_license_key_verified()) {
goto KHW;
}
echo " disabled ";
KHW:
echo "value="Clear Attributes List" onclick="document.forms['attrs_list_form'].submit();">
\xa \x9 <p><b>NOTE :</b> Please clear this list after configuring the plugin to hide your confidential attributes.<br/>\xd\xa \x9 \x9\x9Click on <b>Test configuration</b> in <b>Service Provider Setup</b> tab to populate the list again.</p>\xd\xa \x9 \x9\x9<form method="post" action="" id="attrs_list_form">";
wp_nonce_field("clear_attrs_list");
echo "<input type="hidden" name="option" value="clear_attrs_list">
\xa \x9 </form>\xd
\x9\x9\x9\x9 </div>\xd
</div>";
hMG:
}
function mo_saml_display_subsite_box()
{
$DH = maybe_unserialize(get_site_option("sso_settings_site"));
if ($DH) {
goto V4U;
}
$DH = "DEFAULT";
V4U:
echo "<div class="floating-div mo_saml_support_layout" id="floating_subsite" style="margin: 20px 0px 0px 0px;display: block;height: 150px; padding-top:50px;">\xd
\x9<table style="width:100%;text-align:center;">\xd\xa <tr><td style=" font-size: large"><b>Selected site:</b></td></tr>\x9\x9
<tr>\xd\xa \x9<td><select onchange="changeSubSite(this);">";
if (mo_saml_is_customer_license_key_verified()) {
goto VeJ;
}
echo "disabled ";
VeJ:
$oD = $DH == "DEFAULT" ? "selected" : '';
echo "<option value="DEFAULT" " . $oD . ">Default SSO Settings</option>";
$oL = Utilities::get_sites();
$na = Utilities::get_active_sites();
foreach ($oL as $Qu) {
if (!is_object($Qu)) {
goto VBa;
}
$Qu = get_object_vars($Qu);
VBa:
if (Utilities::mo_saml_in_array($Qu["blog_id"], $na)) {
goto TJs;
}
goto KNi;
TJs:
$oD = $DH == $Qu["blog_id"] ? "selected" : '';
$vy = get_blog_details(array("blog_id" => $Qu["blog_id"]))->blogname;
echo "<option value="" . $Qu["blog_id"] . "" " . $oD . ">" . $vy . " - " . $Qu["domain"] . $Qu["path"] . "</option>";
KNi:
}
Qy7:
echo "</select><script>
\x9 \x9function changeSubSite(element){\xd
\x9\x9\x9 var subsite = jQuery(element).val();
\x9 \x9 jQuery("#sso_settings_site option[value='" + subsite + "']").prop("selected", true).change();
\x9\x9\x9}\xd\xa \x9\x9</script></td>
\xa\x9\x9\x9</tr>
\xa\x9 \xd
\x9\x9\x9<tr><td colspan="3" style="text-align:center"><b>NOTE : </b>";
if ($DH == "DEFAULT") {
goto t0S;
}
echo "These settings will only be applied to the above selected site.";
goto nFe;
t0S:
echo "These settings will be applied to all the sub-sites for which you haven't configured them yet . ";
nFe:
echo "</td></tr>\xd
\xd\xa\x9\x9</table>
\xa\x9</div>\xd
<script>\xd
var topPosition = jQuery(".floating-div").offset().top - 30;\xd
var win = jQuery(window);
var floatingDiv = jQuery(".floating-div");
\xa
\xa win.scroll(function() {
if (window.matchMedia("(min-width: 768px)").matches) {\xd\xa if (win.scrollTop() > topPosition) {
\xa\x9 floatingDiv.addClass("sticky");
\xa } else {\xd\xa floatingDiv.removeClass("sticky");
}\xd
}\xd
});
\xa </script>
";
}
function mo_saml_is_sp_configured()
{
$Qm = get_site_option("saml_login_url");
$On = get_site_option("saml_x509_certificate");
if (!empty($Qm) && !empty($On)) {
goto N7M;
}
return 0;
goto Jil;
N7M:
return 1;
Jil:
}
function Multisite_enabled()
{
if (!is_multisite()) {
goto phC;
}
return "<b><font color='green'>enabled</font></b>";
phC:
return "<b><font color='red'>disabled</font></b>";
}
function filter_empty_values($Kr)
{
return $Kr != NULL && $Kr != FALSE && $Kr != '';
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file initiates the display for all the tabs.
*
* @link https://plugins.miniorange.com
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
include 'Import-export.php';
foreach (glob(plugin_dir_path(__FILE__) . "\x76\x69\145\167\163" . DIRECTORY_SEPARATOR . "\52\x2e\160\150\x70") as $Fb) {
include_once $Fb;
Y_N:
}
UTe:
function mo_register_saml_sso()
{
$fz = remove_query_arg("\141\x63\164\x69\157\156");
$_SERVER["\x52\105\121\125\105\123\124\x5f\x55\x52\x49"] = $fz;
if (!empty($_GET["\x74\x61\142"])) {
goto RmY;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified() && mo_saml_is_sp_configured()) {
goto ZlE;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto Zr0;
}
$D9 = "\154\157\x67\x69\156";
goto HjU;
Zr0:
$D9 = "\x73\x70\137\x6d\x65\164\x61\x64\x61\x74\x61";
HjU:
goto nRR;
ZlE:
$D9 = "\147\x65\x6e\145\x72\x61\x6c";
nRR:
goto BKG;
RmY:
$D9 = $_GET["\164\141\142"];
BKG:
if (mo_saml_is_extension_installed("\143\x75\x72\154")) {
goto Qkv;
}
echo "\15\xa\11\11\x3c\160\76\74\146\x6f\x6e\164\x20\x63\157\154\157\162\x3d\x22\43\x46\106\x30\x30\x30\60\42\x3e\50\x57\x61\162\x6e\x69\x6e\x67\x3a\x20\x3c\141\x20\150\x72\145\146\75\42\150\164\x74\160\x3a\x2f\57\160\150\x70\56\156\x65\164\57\155\141\156\x75\141\x6c\x2f\x65\156\x2f\x63\165\162\x6c\56\x69\156\x73\x74\x61\154\x6c\141\164\x69\157\x6e\56\x70\x68\160\x22\40\164\141\162\x67\145\164\75\x22\x5f\142\x6c\x61\x6e\153\x22\x3e\x50\110\x50\x20\x63\125\x52\x4c\x20\145\170\x74\145\156\163\x69\157\156\74\x2f\141\x3e\x20\x69\163\x20\x6e\x6f\164\40\151\x6e\x73\164\141\154\154\145\144\x20\x6f\x72\40\x64\151\163\141\x62\154\x65\x64\x29\74\57\x66\157\x6e\164\x3e\74\x2f\160\76";
Qkv:
if (mo_saml_is_extension_installed("\157\x70\x65\x6e\163\163\x6c")) {
goto zhC;
}
echo "\xd\12\11\11\74\x70\x3e\74\x66\x6f\x6e\164\x20\x63\157\x6c\157\162\x3d\x22\43\x46\x46\60\60\x30\60\42\x3e\50\127\x61\x72\x6e\151\156\147\x3a\40\x3c\141\40\x68\x72\x65\x66\75\42\x68\x74\164\160\72\57\57\160\x68\160\56\156\x65\x74\57\x6d\x61\156\165\141\154\57\x65\x6e\57\x6f\x70\145\156\163\163\154\56\x69\156\x73\164\x61\x6c\154\141\x74\x69\x6f\156\x2e\x70\x68\x70\42\x20\x74\x61\x72\147\145\164\75\x22\137\142\154\141\156\x6b\42\76\120\x48\120\x20\157\160\x65\x6e\163\x73\x6c\40\145\170\164\x65\156\x73\151\x6f\156\x3c\57\x61\76\x20\x69\163\x20\156\157\x74\x20\151\156\x73\x74\141\x6c\154\x65\x64\40\x6f\x72\40\x64\151\x73\x61\142\x6c\x65\x64\51\74\57\x66\157\x6e\164\x3e\74\57\x70\76";
zhC:
echo "\74\144\x69\166\40\143\x6c\x61\163\163\x3d\x22\x77\x72\141\x70\42\76\xd\12\x20\x20\40\x20\40\40\40\x20\x20\40\40\40\x3c\x68\x31\76";
if ($D9 == "\x6c\x69\143\x65\156\x73\151\x6e\x67") {
goto WZN;
}
update_option("\x6d\x6f\x5f\154\151\143\145\x6e\x73\x65\x5f\160\x6c\141\156\x5f\146\162\157\155\x5f\x66\145\x65\144\x62\x61\x63\153", '');
update_option("\155\157\x5f\163\x61\155\154\x5f\154\151\x63\145\156\163\145\137\x6d\x65\163\x73\141\147\145", '');
echo "\x6d\x69\x6e\x69\117\162\x61\156\x67\145\40\123\x53\x4f\x20\x75\x73\151\156\x67\x20\x53\x41\x4d\x4c\x20\x32\x2e\60\x26\x6e\x62\x73\x70\xd\12\40\x20\40\40\x20\40\x20\40\40\x20\40\x20\x20\x20\40\40\x3c\x61\40\x69\144\x3d\x22\154\151\x63\x65\156\x73\145\137\165\160\147\x72\x61\144\145\x22\40\x63\154\141\x73\163\x3d\x22\x61\x64\144\55\156\x65\x77\55\x68\x32\40\x61\144\144\55\x6e\x65\x77\55\150\x6f\x76\x65\x72\x22\x20\163\164\x79\154\x65\75\42\142\141\x63\x6b\147\162\x6f\165\x6e\144\55\143\x6f\x6c\157\x72\72\40\x6f\162\x61\x6e\147\x65\x20\x21\x69\x6d\160\x6f\x72\164\x61\x6e\x74\73\x20\x62\x6f\162\144\x65\x72\x2d\143\x6f\x6c\157\162\72\x20\157\162\x61\156\x67\145\x3b\40\146\x6f\x6e\164\55\x73\151\172\145\x3a\40\x31\x36\x70\170\x3b\40\x63\157\154\x6f\x72\72\40\43\x30\x30\x30\x3b\42\x20\150\162\x65\x66\75\x22";
echo add_query_arg(array("\x74\x61\142" => "\x6c\x69\x63\x65\156\x73\x69\x6e\x67"), htmlentities($_SERVER["\x52\x45\121\x55\105\123\124\137\125\x52\x49"]));
echo "\42\x3e\120\x72\145\x6d\x69\x75\x6d\40\x50\x6c\141\156\163\74\57\141\76\xd\12\x20\40\40\40\40\x20\x20\x20\40\40\x20\x20\40\x20\40\40\74\141\x20\x63\x6c\141\x73\163\75\x22\141\x64\x64\55\x6e\x65\x77\x2d\150\62\42\x20\150\162\145\146\x3d\x22\x68\x74\x74\160\x73\x3a\x2f\57\x66\141\161\56\x6d\x69\x6e\x69\157\162\141\156\x67\145\x2e\143\157\x6d\x2f\x6b\x62\57\163\x61\x6d\x6c\x2d\163\x69\x6e\x67\x6c\x65\55\163\x69\147\x6e\x2d\x6f\x6e\x2f\x22\40\x74\141\x72\147\x65\164\75\42\x5f\142\x6c\x61\156\153\x22\x3e\x46\101\x51\x73\74\57\141\x3e\15\xa\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\40\x20\40\x20\x3c\x61\40\x63\x6c\141\163\163\75\42\141\x64\x64\55\x6e\145\x77\x2d\150\62\x22\40\150\x72\145\x66\75\42\150\x74\x74\x70\163\72\x2f\x2f\146\157\x72\x75\155\x2e\x6d\x69\x6e\151\157\x72\x61\x6e\x67\x65\56\143\x6f\x6d\x2f\42\40\x74\141\162\147\x65\164\75\x22\x5f\x62\154\x61\156\x6b\x22\76\101\x73\153\x20\x71\165\x65\x73\164\151\157\156\163\40\157\156\40\157\165\162\40\146\x6f\162\x75\155\74\57\141\76";
goto iwU;
WZN:
echo "\74\x64\151\x76\40\163\x74\171\154\145\75\x22\164\x65\x78\164\x2d\x61\x6c\151\147\x6e\x3a\x63\x65\x6e\x74\145\x72\73\x22\76\15\12\40\40\40\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x6d\151\156\151\x4f\162\141\156\x67\x65\x20\123\123\x4f\x20\165\163\151\156\x67\40\123\101\115\x4c\40\x32\56\x30\x3c\57\144\x69\166\76\xd\12\x20\40\x20\40\x20\40\x20\x20\40\40\40\40\40\40\40\40\40\x20\40\x20\x3c\x64\151\x76\x20\163\x74\171\x6c\x65\x3d\x22\x66\154\157\x61\x74\x3a\154\145\x66\164\x3b\42\76\74\x61\x20\40\x63\154\141\x73\163\75\x22\141\144\144\x2d\156\x65\x77\55\150\62\40\x61\x64\144\55\x6e\x65\x77\55\150\x6f\x76\x65\162\42\40\163\164\x79\x6c\x65\75\42\146\157\x6e\x74\55\x73\x69\172\x65\72\x20\x31\x36\160\x78\73\x20\143\157\x6c\x6f\x72\72\x20\43\x30\x30\x30\73\42\x20\x68\162\145\x66\x3d\x22";
echo add_query_arg(array("\164\141\142" => "\x73\141\166\x65"), htmlentities($_SERVER["\122\105\121\125\105\123\x54\137\x55\x52\111"]));
echo "\42\x3e\x3c\163\x70\141\x6e\40\143\x6c\141\x73\x73\x3d\42\x64\141\x73\150\151\143\x6f\x6e\163\x20\144\x61\x73\x68\x69\143\157\x6e\163\55\x61\x72\x72\157\167\x2d\154\x65\146\164\55\x61\154\x74\42\40\163\164\171\154\145\75\42\x76\x65\x72\164\x69\x63\x61\154\x2d\x61\154\151\147\156\x3a\x20\x62\x6f\164\164\x6f\x6d\x3b\42\x3e\74\57\x73\160\141\x6e\76\x20\x42\x61\143\153\40\124\x6f\40\120\x6c\165\147\x69\156\40\x43\x6f\156\x66\151\x67\165\x72\141\164\151\x6f\x6e\74\x2f\141\76\x3c\57\144\x69\x76\76\15\xa\40\x20\40\40\40\40\40\40\40\x20\40\x20\40\40\x20\x20\40\40\x20\x20\74\41\x2d\55\40\x73\x70\x61\x6e\x20\163\x74\x79\x6c\x65\75\x22\146\x6c\x6f\141\164\72\x72\x69\x67\x68\x74\73\x22\76\15\xa\40\40\40\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\40\40\x20\40\40\x20\x3c\x61\x20\x20\x63\154\x61\163\x73\x3d\42\141\144\x64\55\x6e\x65\167\55\x68\62\x20\141\144\144\55\x6e\145\x77\x2d\150\157\166\145\162\42\x20\x73\x74\x79\x6c\x65\x3d\x22\x66\x6f\156\164\x2d\163\x69\172\x65\x3a\x20\x31\66\x70\x78\x3b\40\143\157\154\x6f\162\72\x20\43\60\60\x30\x3b\42\40\144\141\164\x61\x2d\164\157\147\147\154\145\x3d\42\155\x6f\144\141\x6c\x22\40\x64\x61\164\x61\55\164\x61\x72\x67\145\x74\x3d\x22\43\x73\x74\141\x6e\144\x61\x72\144\120\162\x65\x6d\x69\165\155\115\157\x64\x61\x6c\x43\145\156\164\x65\162\x22\40\x3e\x3c\x73\x70\x61\156\x20\143\154\x61\163\x73\x3d\42\144\x61\163\x68\x69\x63\x6f\156\163\40\x64\x61\163\x68\151\x63\157\x6e\163\x2d\x77\141\162\x6e\151\156\147\x22\x20\163\x74\171\154\x65\75\42\166\x65\x72\164\151\143\x61\154\x2d\x61\x6c\x69\147\156\x3a\40\142\157\164\x74\157\x6d\73\42\x3e\x3c\57\x73\160\141\x6e\76\40\x48\145\x6c\x70\40\x6d\145\x20\x63\x68\x6f\157\163\145\x20\164\150\145\40\162\x69\147\150\x74\x20\x70\154\x61\x6e\x3c\x2f\x61\76\x3c\x2f\x73\160\141\156\40\55\x2d\x3e\xd\12\40\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x3c\x62\x72\x20\57\x3e\74\142\x72\x2f\76\74\144\x69\x76\40\x73\x74\171\154\x65\x3d\x22\164\145\170\x74\x2d\141\x6c\151\147\156\72\143\145\x6e\164\145\162\x3b\40\x63\157\154\157\162\x3a\40\162\x67\x62\50\62\x33\x33\54\40\x31\62\x35\54\40\61\x30\64\51\x3b\42\76\x59\157\165\40\x61\162\x65\x20\x63\165\162\x72\x65\x6e\164\154\171\40\157\156\40\x74\150\145\x20\74\142\x3e\115\165\x6c\164\x69\x73\151\164\x65\74\x2f\142\x3e\x20\x76\x65\x72\x73\151\x6f\156\x20\x6f\x66\40\164\x68\x65\40\160\x6c\165\x67\151\x6e\x3c\163\x70\141\156\x20\x73\164\x79\154\145\75\42\146\157\x6e\x74\55\163\151\x7a\145\72\x20\x31\x36\160\170\73\40\155\141\162\x67\151\x6e\x2d\x62\157\164\x74\157\155\72\x20\60\120\x78\x3b\42\76\xd\12\40\x20\40\x20\40\x20\40\40\40\x20\40\40\40\x20\40\40\40\40\x20\40\x3c\x6c\x69\x20\163\x74\x79\x6c\x65\75\x22\x63\x6f\154\157\162\x3a\x20\x64\x69\x6d\x67\162\x61\x79\x3b\x20\x6d\141\162\147\151\x6e\55\164\157\160\x3a\x20\60\160\x78\73\x6c\x69\163\164\55\163\x74\171\x6c\145\55\164\171\x70\145\x3a\40\x6e\x6f\x6e\x65\73\x22\x3e\15\xa\40\x20\40\40\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\40\x20\40\40\15\12\x20\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\40\x3c\x2f\154\151\76\x3c\x2f\x73\x70\x61\156\76\74\x2f\x64\x69\x76\x3e";
iwU:
echo "\74\x2f\150\61\x3e\15\xa\15\12\40\x20\40\x20\40\x20\x20\x20\74\x2f\x64\x69\166\76";
echo "\xd\12\11\74\x64\151\166\40\151\144\x3d\42\155\157\137\x73\141\155\154\137\x73\145\164\164\x69\x6e\x67\x73\42\76\15\xa\x9\x9\74\144\151\166\40\143\x6c\x61\163\x73\x3d\x22\x6d\x69\x6e\151\x6f\x72\x61\156\x67\145\x5f\x63\x6f\156\x74\x61\151\156\x65\162\x22\x3e";
$bO = array();
foreach (mo_saml_options_addons::$RECOMMENDED_ADDONS_PATH as $tK => $Cd) {
if (!is_plugin_active($Cd)) {
goto ot8;
}
$VN = $tK;
$bO[$VN] = $VN;
ot8:
LVe:
}
ELN:
if (empty($bO)) {
goto iqs;
}
if (get_site_option("\x6d\x6f\137\x73\141\155\x6c\137\163\x68\x6f\x77\x5f\141\144\144\157\156\x73\x5f\156\157\x74\x69\x63\145")) {
goto U8s;
}
echo "\15\xa\40\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\x3c\146\157\x72\x6d\x20\156\141\x6d\x65\x3d\x22\x66\42\x20\x6d\145\164\150\x6f\144\x3d\42\x70\x6f\163\164\42\x20\x61\143\x74\x69\x6f\156\x3d\42\42\40\x69\x64\75\x22\x6d\x6f\137\163\x61\x6d\x6c\x5f\141\144\144\x6f\156\163\x5f\156\157\x74\151\x63\x65\137\146\x6f\162\x6d\42\76";
wp_nonce_field("\x6d\x6f\137\163\x61\155\154\137\x61\144\x64\x6f\x6e\x73\137\x6d\145\x73\163\x61\x67\145");
echo "\74\151\x6e\160\165\164\x20\164\x79\160\x65\75\42\150\x69\144\144\x65\x6e\x22\40\x6e\x61\155\145\x3d\x22\157\x70\x74\151\x6f\156\42\40\x76\141\154\x75\x65\x3d\42\x6d\x6f\x5f\x73\x61\155\x6c\137\141\x64\x64\157\156\163\137\x6d\145\163\163\x61\147\x65\x22\x2f\x3e\xd\12\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\x3c\144\x69\x76\x20\x63\x6c\141\163\163\x3d\42\156\x6f\164\x69\143\x65\40\156\157\x74\151\143\145\x2d\x69\x6e\146\157\x22\40\x73\x74\171\154\145\75\x22\160\x61\x64\144\151\156\x67\55\164\x6f\160\x3a\x20\x37\160\170\73\x20\160\141\x64\144\x69\156\x67\x2d\162\x69\147\x68\x74\x3a\x20\63\x38\x70\170\73\160\157\163\x69\x74\x69\157\x6e\72\40\x72\145\154\141\x74\151\x76\x65\x3b\x20\150\145\x69\x67\x68\164\72\62\x36\160\x78\x3b\42\x3e\xd\xa\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\x20\x57\x65\x20\x68\141\166\x65\x20\x61\40\x3c\141\x20\x68\162\x65\x66\x3d\42";
echo admin_url("\141\x64\155\x69\x6e\56\x70\x68\x70\x3f\x70\x61\x67\145\75\x6d\157\137\x73\141\155\x6c\137\x73\x65\x74\x74\151\156\147\163\x26\x74\141\142\x3d\x61\144\144\157\156\163");
echo "\42\76\74\142\76\147\157\157\144\40\x72\x65\143\157\x6d\155\145\x6e\x64\x61\x74\x69\x6f\156\74\57\x62\x3e\x3c\x2f\x61\x3e\40\x66\x6f\162\x20\171\157\165\56\40\x50\x6c\x65\x61\x73\145\40\x63\150\x65\143\153\x20\x6f\165\164\x20\157\x75\x72\x20";
$AL = 0;
foreach ($bO as $tK => $Cd) {
foreach (mo_saml_options_addons::$ADDON_TITLE as $ga => $lZ) {
if (!($bO[$tK] == $ga)) {
goto oG1;
}
$AL += 1;
if ($AL == 1) {
goto BiT;
}
echo "\54\40\x3c\142\x3e";
echo $lZ;
echo "\74\57\142\76";
goto j95;
BiT:
echo "\x3c\x62\x3e";
echo $lZ;
echo "\x3c\57\x62\76";
j95:
oG1:
sC1:
}
Eno:
CyY:
}
SiO:
echo "\40\x61\144\x64\x6f\x6e\56\15\xa\40\40\x20\x20\x20\40\40\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\40\74\142\x75\x74\x74\x6f\x6e\x20\164\x79\x70\x65\x3d\x22\142\165\x74\x74\157\156\42\x20\x63\x6c\x61\x73\x73\75\x22\156\157\164\x69\x63\145\x2d\144\x69\x73\155\151\163\163\42\x20\151\144\x3d\x22\x6d\x6f\x5f\141\144\x64\157\156\x73\x5f\x6e\157\164\x69\143\145\x5f\144\x69\163\x6d\x69\163\x73\x22\76\x3c\x73\x70\141\156\x20\x63\154\x61\163\x73\75\42\163\143\x72\145\145\x6e\x2d\162\x65\141\x64\145\162\55\164\145\x78\164\x22\76\104\151\163\x6d\151\x73\x73\x20\x74\x68\151\163\40\x6e\157\164\x69\x63\145\x2e\74\x2f\163\x70\141\x6e\76\15\xa\40\40\x20\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\x3c\x2f\x62\x75\x74\164\157\156\x3e\xd\xa\40\x20\40\x20\x20\40\40\40\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\144\151\x76\76\xd\xa\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\40\40\x20\x20\40\x3c\x2f\x66\x6f\x72\x6d\x3e\15\12\40\x20\x20\40\40\x20\40\40\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x3c\x73\x63\x72\x69\160\164\x3e\xd\xa\40\40\x20\x20\40\40\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\40\x20\152\121\x75\145\162\171\50\42\x23\155\x6f\137\141\144\x64\x6f\156\x73\137\156\157\164\x69\x63\x65\137\x64\x69\x73\155\151\x73\x73\x22\51\x2e\x63\x6c\x69\x63\153\50\x66\x75\x6e\143\x74\x69\x6f\x6e\40\50\51\40\173\xd\12\40\40\x20\40\40\40\x20\x20\40\40\40\40\40\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\40\x6a\121\x75\145\x72\171\50\42\x23\x6d\x6f\137\x73\141\155\x6c\137\x61\144\144\157\x6e\163\x5f\156\x6f\x74\x69\x63\145\137\x66\157\x72\x6d\x22\x29\56\163\x75\142\x6d\151\x74\x28\51\73\15\xa\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\175\x29\73\xd\12\x20\40\40\x20\40\x20\40\40\40\40\40\40\40\x20\40\x20\x20\40\x20\40\74\x2f\x73\x63\x72\151\x70\x74\x3e\15\xa\40\x20\x20\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\40";
U8s:
iqs:
if ($D9 != "\x6c\x69\x63\145\x6e\163\x69\x6e\147") {
goto t47;
}
if (!($D9 == "\154\151\143\145\x6e\x73\151\156\147")) {
goto q60;
}
mo_saml_show_pricing_page();
q60:
goto OPQ;
t47:
if (!mo_check_certificate_expiry()) {
goto ILQ;
}
$gS = get_site_option("\x6d\157\x5f\163\141\155\154\137\x63\x75\162\x72\x65\156\x74\x5f\143\x65\162\164");
$sd = openssl_x509_parse($gS);
$Kc = $sd["\166\141\x6c\151\x64\x54\x6f\137\164\x69\x6d\145\x5f\x74"];
$Bt = $Kc - time();
$eW = round($Bt / (60 * 60 * 24));
if ($eW >= 0) {
goto hMN;
}
echo "\74\144\151\166\x20\x63\x6c\141\x73\163\75\42\x6e\x6f\164\151\x63\145\40\x6e\x6f\x74\x69\x63\x65\55\x65\162\x72\x6f\162\x20\x69\163\55\x64\x69\163\x6d\151\163\x73\151\142\x6c\145\42\x3e\74\x70\76\74\x62\x3e\x53\x65\143\165\x72\x69\x74\x79\x20\101\x6c\145\162\164\x20\72\x3c\x2f\142\76\40\x59\x6f\165\162\40\143\x65\x72\164\x69\x66\x69\x63\141\x74\x65\40\x68\141\163\40\145\x78\x70\151\162\x65\144\54\x20\x70\154\x65\x61\163\x65\x20\165\x70\x67\162\141\x64\x65\40\171\x6f\165\x72\40\x63\x65\162\x74\151\x66\151\143\x61\164\145\x20\x69\x6d\x6d\x65\144\151\x61\x74\145\x6c\171\56\x20";
echo "\11\11\x9\11\x9\74\141\x20\x68\162\x65\146\75\42";
echo add_query_arg(array("\164\x61\x62" => "\x63\x75\x73\x74\x6f\155\137\143\x65\162\x74\151\146\x69\x63\x61\x74\x65"), $_SERVER["\x52\105\121\125\x45\123\124\137\125\x52\111"]);
echo "\x22\76";
echo "\125\160\147\x72\141\x64\145\x20\x79\x6f\x75\162\40\143\145\x72\164\x69\146\x69\143\x61\164\x65";
echo "\x3c\x2f\141\x3e";
echo "\x20\157\162\x20\171\157\165\162\40\123\123\x4f\40\x77\x69\x6c\154\40\x73\164\x6f\160\x2e\x3c\x2f\160\x3e\74\57\144\151\x76\76";
goto v6v;
hMN:
echo "\x3c\x64\151\166\x20\x63\154\141\x73\163\x3d\42\156\157\164\x69\x63\145\40\x6e\x6f\164\x69\143\145\55\167\141\162\156\151\156\x67\40\151\163\55\x64\151\163\x6d\151\x73\163\x69\142\154\x65\42\x3e\74\160\76\74\142\76\123\145\x63\165\x72\151\164\171\40\x41\x6c\x65\162\x74\40\x3a\x3c\57\x62\76\x20\131\157\x75\x72\x20\x63\x65\162\x74\x69\x66\x69\143\x61\164\x65\x20\151\x73\x20\x65\170\160\151\x72\151\156\x67\40\x73\x6f\x6f\x6e\x2c\40\x70\x6c\x65\x61\163\145\x20\165\x70\x67\x72\x61\x64\145\x20\171\157\x75\x72\40\x63\145\x72\x74\x69\x66\151\x63\x61\x74\x65\x2e\x20";
echo "\x9\11\x9\11\x9\x3c\141\40\150\162\145\146\x3d\42";
echo add_query_arg(array("\164\141\x62" => "\x63\165\163\x74\157\x6d\x5f\x63\145\x72\164\x69\x66\151\x63\x61\164\145"), $_SERVER["\x52\x45\121\x55\105\123\124\137\125\122\111"]);
echo "\x22\76";
echo "\x55\x70\147\162\141\144\145\x20\x79\157\x75\162\x20\143\x65\162\164\x69\x66\x69\143\141\x74\145";
echo "\x3c\x2f\x61\x3e";
echo "\40\157\x72\40\x79\157\165\x72\40\123\123\x4f\x20\155\141\171\x20\163\164\157\160\x20\x69\x6e\40" . $eW . "\40\144\141\x79\163\x2e\x3c\x2f\160\76\74\57\x64\151\166\76";
v6v:
ILQ:
echo "\x3c\x74\141\x62\154\145\x20\163\164\x79\154\145\75\42\x77\151\144\x74\x68\72\x31\x30\x30\45\x3b\42\x3e\15\xa\x9\11\x9\x9\x3c\x74\x72\76\xd\xa\11\11\x9\11\11\74\x68\x32\40\143\x6c\x61\163\163\75\42\x6e\141\x76\55\x74\141\x62\x2d\x77\x72\x61\x70\160\x65\162\x22\76";
if (!(!mo_saml_is_customer_registered_saml() || !mo_saml_is_customer_license_key_verified() || mo_saml_is_trial_active())) {
goto gpI;
}
echo "\40\74\141\x20\x63\x6c\141\163\163\x3d\x22\x6e\141\x76\55\x74\x61\142\x20";
echo $D9 == "\154\157\x67\x69\x6e" ? "\156\x61\x76\x2d\164\x61\142\x2d\x61\x63\164\x69\x76\145" : '';
echo "\42\xd\xa\11\11\11\11\x9\11\11\x20\x20\x68\x72\145\x66\75\42";
echo add_query_arg(array("\164\x61\142" => "\154\157\x67\x69\x6e"), $_SERVER["\122\x45\121\125\105\123\x54\x5f\125\122\111"]);
echo "\42\76\101\x63\143\157\165\156\164\xd\xa\x9\x9\11\x9\x9\11\x9\123\x65\x74\x75\160\x3c\57\x61\x3e\40";
gpI:
echo "\x9\x9\x9\xd\12\x9\11\x9\11\11\x3c\141\x20\151\x64\75\42\163\160\137\155\145\x74\x61\x64\141\164\x61\x5f\x74\x61\142\42\x20\x63\154\x61\163\163\x3d\42\156\141\x76\55\x74\x61\142\40";
echo $D9 == "\x73\160\137\x6d\145\164\141\144\141\164\x61" ? "\x6e\x61\x76\x2d\x74\x61\x62\55\141\143\164\151\166\145" : '';
echo "\x22\xd\12\x9\11\x9\11\x9\x20\x20\40\150\162\145\x66\75\42";
echo add_query_arg(array("\164\x61\x62" => "\163\x70\x5f\x6d\x65\164\x61\144\141\x74\x61"), $_SERVER["\x52\105\121\125\x45\123\x54\137\125\x52\x49"]);
echo "\42\76\123\x65\x72\x76\x69\143\x65\x20\x50\x72\x6f\166\x69\144\145\x72\x20\115\145\x74\141\x64\x61\164\141\x3c\x2f\141\76\15\xa\x9\11\x9\15\xa\11\x9\x9\11\x9\x3c\141\40\143\154\141\163\x73\75\42\156\x61\x76\x2d\164\x61\x62\40";
echo $D9 == "\163\141\166\x65" ? "\x6e\141\166\x2d\x74\141\142\x2d\141\x63\164\151\x76\145" : '';
echo "\x22\15\12\11\11\x9\11\x9\40\40\x20\150\162\145\146\75\x22";
echo add_query_arg(array("\x74\141\x62" => "\163\141\x76\x65"), $_SERVER["\x52\x45\121\125\x45\123\x54\x5f\125\122\x49"]);
echo "\42\x3e\123\x65\x72\166\151\143\x65\x20\x50\162\x6f\x76\x69\x64\x65\x72\40\123\145\x74\165\x70\x3c\x2f\141\76\15\12\x9\11\11\xd\12\x9\x9\x9\x9\x9\74\141\40\x63\x6c\x61\x73\163\75\42\x6e\x61\x76\55\x74\141\142\x20";
echo $D9 == "\x61\164\x74\x72\151\x62\165\164\x65\x5f\x72\157\x6c\145" ? "\156\x61\x76\x2d\164\141\x62\x2d\141\x63\x74\x69\166\145" : '';
echo "\x22\xd\xa\11\x9\x9\11\11\x20\x20\40\x68\x72\x65\x66\75\x22";
echo add_query_arg(array("\x74\141\x62" => "\141\164\x74\x72\151\142\x75\x74\145\137\x72\157\154\x65"), $_SERVER["\122\105\x51\x55\105\x53\x54\x5f\125\122\x49"]);
echo "\x22\76\x41\x74\x74\162\x69\142\165\x74\x65\57\122\157\x6c\x65\15\12\11\11\11\11\x9\11\115\141\x70\160\x69\x6e\147\74\x2f\141\x3e\15\12\x9\11\x9\15\xa\x9\11\x9\11\11";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto L6h;
}
echo "\40\x3c\141\40\143\x6c\141\x73\x73\x3d\x22\x6e\x61\166\x2d\164\141\x62\x20";
echo $D9 == "\147\x65\x6e\145\162\141\154" ? "\156\x61\x76\x2d\x74\141\142\x2d\141\143\x74\x69\166\x65" : '';
echo "\42\xd\xa\11\x9\11\11\11\11\11\40\x20\x68\x72\145\x66\75\x22";
echo add_query_arg(array("\x74\141\142" => "\x67\145\156\x65\162\x61\x6c"), $_SERVER["\x52\x45\x51\125\105\x53\124\x5f\125\x52\x49"]);
echo "\x22\x3e\x52\x65\x64\151\x72\x65\143\164\x69\157\x6e\40\46\40\x53\x53\x4f\x20\x4c\x69\156\x6b\x73\x3c\x2f\141\76\x20";
L6h:
echo "\11\11\x9\15\12\x9\x9\x9\x9\x9\74\x61\x20\x63\154\x61\x73\163\x3d\x22\156\x61\166\55\164\141\x62\40";
echo $D9 == "\141\144\144\55\x6f\156\x73" ? "\x6e\x61\x76\55\164\x61\142\x2d\141\143\x74\151\x76\x65" : '';
echo "\42\15\12\x9\x9\11\11\x9\40\40\x20\150\162\x65\146\x3d\x22";
echo add_query_arg(array("\x74\x61\x62" => "\141\144\x64\x2d\x6f\156\163"), $_SERVER["\122\105\x51\125\x45\123\x54\137\125\122\111"]);
echo "\42\76\101\x64\x64\55\x4f\156\163\74\x2f\x61\x3e\xd\12\x9\x9\11\xd\xa\11\11\x9\x9\x9\x3c\x61\40\143\x6c\141\163\x73\x3d\x22\x6e\141\x76\x2d\x74\141\142\x20";
echo $D9 == "\x63\x75\x73\x74\x6f\x6d\137\x63\145\x72\164\151\146\x69\143\141\x74\145" ? "\156\x61\166\55\x74\x61\x62\55\141\143\164\x69\x76\145" : '';
echo "\x22\xd\xa\x9\11\x9\x9\11\40\40\x20\x68\162\145\x66\x3d\42";
echo add_query_arg(array("\x74\141\142" => "\143\x75\163\164\x6f\x6d\x5f\143\x65\162\164\x69\146\x69\143\x61\x74\x65"), $_SERVER["\x52\105\121\125\105\x53\x54\x5f\x55\x52\x49"]);
echo "\x22\x3e\115\141\156\x61\147\x65\x20\x43\145\x72\164\x69\146\151\143\141\164\x65\163\74\x2f\x61\76\15\12\11\x9\11\15\12\11\11\11\x9\11\74\141\40\143\154\x61\163\x73\75\x22\156\x61\x76\x2d\164\x61\142\x20";
echo $D9 == "\143\165\x73\164\x6f\x6d\x5f\155\x65\x73\163\x61\x67\145\x73" ? "\x6e\x61\x76\x2d\x74\x61\142\x2d\141\x63\x74\x69\166\x65" : '';
echo "\x22\xd\12\11\11\x9\11\x9\40\40\x20\x68\x72\x65\x66\x3d\42";
echo add_query_arg(array("\164\x61\x62" => "\143\165\x73\x74\x6f\x6d\x5f\x6d\x65\x73\163\141\x67\145\x73"), $_SERVER["\x52\x45\121\125\105\123\x54\x5f\125\x52\x49"]);
echo "\42\x3e\103\x75\x73\164\157\155\40\x4d\145\163\x73\x61\147\145\163\74\57\x61\76\xd\12\x9\11\x9\11\11";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto SE3;
}
echo "\74\141\40\x63\154\141\x73\x73\75\42\x6e\x61\166\55\x74\x61\142\x20" . ($D9 == "\x61\143\x63\x6f\165\x6e\164\137\151\156\x66\x6f" ? "\x6e\x61\x76\55\164\141\x62\x2d\x61\x63\164\x69\x76\x65" : '') . "\x22\40\x68\162\145\x66\75\42" . add_query_arg(array("\164\x61\142" => "\141\x63\x63\157\x75\x6e\x74\137\x69\x6e\146\x6f"), $_SERVER["\122\x45\x51\x55\105\x53\124\137\x55\122\111"]) . "\42\76\x41\143\x63\157\165\156\x74\x20\111\x6e\x66\157\74\x2f\141\76";
SE3:
echo "\74\x2f\x68\x32\x3e";
if ($D9 == "\141\x64\144\55\x6f\x6e\163") {
goto xgi;
}
if ($D9 !== "\x61\x74\164\x72\x69\x62\x75\164\x65\137\x72\157\x6c\145") {
goto Ttv;
}
echo "\74\x74\144\x20\163\x74\171\154\145\75\42\x76\145\162\164\x69\143\x61\154\55\141\154\151\x67\156\72\164\x6f\160\73\167\x69\144\164\x68\x3a\x36\60\x25\73\x22\x3e";
goto enB;
Ttv:
echo "\x3c\164\x64\40\163\164\171\x6c\145\75\x22\166\145\x72\x74\151\143\141\x6c\55\x61\154\x69\x67\x6e\72\x74\x6f\160\73\x77\x69\144\164\150\72\x36\65\45\x3b\x22\40\x3e";
enB:
goto cUk;
xgi:
echo "\x3c\x73\143\162\x69\x70\x74\x20\x74\x79\160\x65\75\47\164\x65\170\164\x2f\x6a\x61\x76\141\163\143\x72\x69\x70\x74\47\76\xd\xa\11\x9\x9\11\11\x9\152\x51\165\x65\x72\x79\x28\x64\157\143\x75\155\x65\x6e\x74\x29\56\162\x65\141\x64\x79\x28\146\165\156\x63\x74\151\x6f\156\x28\51\xd\xa\11\x9\11\x9\x9\x9\x9\x7b\15\12\11\x9\11\11\11\11\11\x9\x6a\x51\x75\145\x72\x79\50\x27\x23\155\157\137\163\141\x6d\154\x5f\x61\x64\144\157\x6e\x73\137\x73\165\x62\x6d\x65\156\x75\x27\51\56\x70\141\162\x65\x6e\x74\50\x29\56\x70\x61\x72\145\156\x74\50\51\x2e\160\x61\x72\x65\x6e\164\x28\x29\56\146\x69\x6e\x64\50\x27\x6c\x69\x27\x29\x2e\162\145\x6d\x6f\166\145\103\x6c\141\x73\163\x28\x27\x63\165\162\x72\x65\156\164\x27\x29\73\xd\12\11\11\x9\x9\11\11\11\11\152\121\x75\145\162\x79\50\x27\x23\x6d\x6f\137\x73\x61\155\154\x5f\x61\144\x64\x6f\x6e\163\137\163\165\142\x6d\145\156\x75\47\51\x2e\x70\x61\162\x65\x6e\164\x28\x29\56\160\x61\162\145\156\164\x28\x29\56\x61\144\144\103\x6c\x61\163\x73\x28\x27\143\165\162\162\145\156\x74\x27\x29\x3b\xd\xa\11\11\x9\11\x9\x9\x9\175\x29\x3b\15\xa\11\x9\11\11\11\x9\x3c\x2f\163\x63\x72\151\x70\164\x3e";
echo "\74\164\144\x20\163\164\171\154\x65\x3d\x22\166\x65\162\x74\151\143\x61\x6c\55\141\x6c\151\147\x6e\x3a\x74\x6f\x70\73\x77\x69\x64\164\x68\72\x36\65\x25\x3b\142\141\143\x6b\147\162\157\x75\156\x64\x2d\143\157\154\157\x72\72\x23\x46\x46\x46\106\106\106\73\142\x6f\x72\144\x65\x72\x3a\x31\x70\170\x20\x73\157\x6c\151\x64\40\43\x43\103\103\x43\x43\x43\x3b\x20\x70\141\144\x64\151\156\147\x3a\61\60\x70\x78\x20\x32\x30\160\170\40\63\x30\160\x78\40\61\x30\x70\170\42\76";
cUk:
if ($D9 == "\x73\x61\x76\145") {
goto cJl;
}
if ($D9 == "\141\x74\164\x72\151\x62\x75\x74\x65\x5f\162\157\154\x65") {
goto LAr;
}
if ($D9 == "\x68\x65\x6c\x70") {
goto e37;
}
if ($D9 == "\x73\x70\137\x6d\145\164\x61\144\141\x74\141") {
goto ltf;
}
if ($D9 == "\x67\145\156\145\x72\x61\x6c") {
goto MNe;
}
if ($D9 == "\x61\144\x64\55\x6f\x6e\x73") {
goto Brh;
}
if ($D9 == "\154\x69\143\x65\x6e\163\151\156\x67") {
goto v22;
}
if ($D9 == "\143\165\163\164\x6f\155\x5f\143\145\x72\x74\x69\146\151\x63\141\164\145") {
goto uV_;
}
if ($D9 == "\143\x75\163\164\157\155\137\155\x65\163\x73\x61\147\145\x73") {
goto W2A;
}
if ($D9 == "\x61\x63\143\x6f\165\x6e\164\x5f\151\x6e\146\x6f" && mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto PFY;
}
if (get_site_option("\x6d\157\137\x73\141\155\154\x5f\x76\x65\162\151\146\171\137\x63\165\x73\x74\157\155\x65\x72") == "\x74\x72\165\x65") {
goto S9k;
}
if (trim(get_site_option("\155\x6f\137\163\x61\155\x6c\x5f\141\144\x6d\151\156\137\145\155\141\x69\154")) != '' && trim(get_site_option("\x6d\157\x5f\x73\x61\x6d\x6c\137\141\144\x6d\151\x6e\x5f\x61\160\x69\137\153\x65\x79")) == '' && get_site_option("\155\157\x5f\163\141\x6d\154\x5f\x6e\x65\x77\x5f\162\x65\x67\x69\x73\164\x72\x61\164\151\x6f\156") != "\x74\x72\165\x65") {
goto a6c;
}
if (!mo_saml_is_customer_registered_saml()) {
goto l9I;
}
if (mo_saml_is_customer_registered_saml() && (!mo_saml_is_customer_license_key_verified() || mo_saml_is_trial_active())) {
goto xWF;
}
mo_saml_general_login_page();
goto n_k;
xWF:
$ni = get_site_option("\x6d\157\137\163\x61\155\154\137\x61\144\155\x69\x6e\137\145\x6d\x61\x69\x6c");
$jX = get_site_option("\x6d\x6f\x5f\163\x61\155\154\137\141\144\x6d\151\156\137\x65\155\141\x69\x6c\x5f\157\x6c\x64");
if (!(strcmp($ni, $jX) && !empty($jX))) {
goto oCW;
}
delete_site_option("\x73\x6d\154\137\154\153");
delete_site_option("\x6e\157\x5f\163\142\x73");
oCW:
delete_site_option("\155\x6f\137\163\141\x6d\154\137\141\x64\155\151\x6e\137\145\155\141\x69\x6c\x5f\157\154\x64");
mo_saml_show_verify_license_page();
n_k:
goto eEL;
l9I:
mo_saml_show_verify_password_page_saml();
eEL:
goto bMG;
a6c:
mo_saml_show_verify_password_page_saml();
bMG:
goto xac;
S9k:
mo_saml_show_verify_password_page_saml();
xac:
goto Etf;
PFY:
mo_saml_display_account_information();
Etf:
goto eg1;
W2A:
mo_saml_add_custom_messages();
eg1:
goto Z58;
uV_:
mo_saml_add_custom_certificate();
Z58:
goto YFO;
v22:
mo_saml_show_pricing_page();
echo "\x3c\x73\164\171\x6c\x65\76\43\163\x75\160\x70\157\162\164\x2d\x66\x6f\162\x6d\x7b\40\144\151\163\160\154\x61\x79\x3a\x6e\x6f\156\x65\x3b\x7d\x3c\57\163\164\171\154\x65\x3e";
YFO:
goto hhO;
Brh:
mo_saml_show_addons_page();
hhO:
goto iRu;
MNe:
mo_saml_general_login_page();
iRu:
goto Dh1;
ltf:
mo_saml_configuration_steps();
Dh1:
goto zP5;
e37:
mo_saml_show_faqs();
zP5:
goto nkC;
LAr:
mo_saml_save_optional_config();
nkC:
goto nui;
cJl:
mo_saml_apps_config_saml();
nui:
echo "\x3c\x2f\164\x64\76\15\xa\11\x9\x9\x9\11\11\x3c\x74\x64\40\163\164\x79\154\145\75\x22\x76\x65\x72\164\151\143\x61\154\x2d\x61\154\151\147\156\x3a\x74\157\160\73\160\x61\x64\144\x69\x6e\147\x2d\x6c\x65\146\x74\x3a\x31\45\73\42\x69\144\75\x22\x73\165\x70\160\157\x72\164\55\x66\157\162\x6d\42\76";
if ($D9 !== "\141\164\x74\162\151\x62\x75\164\x65\x5f\x72\x6f\154\145" || !get_site_option("\x6d\x6f\137\163\141\x6d\154\x5f\x74\x65\x73\164\x5f\x63\157\156\146\x69\147\137\x61\164\164\x72\x73")) {
goto kPv;
}
mo_saml_display_attrs_list();
goto rH4;
kPv:
miniorange_support_saml();
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto SNd;
}
miniorange_keep_configuration_saml();
SNd:
rH4:
if (!($D9 == "\x67\145\x6e\145\x72\141\x6c")) {
goto UlF;
}
mo_saml_display_subsite_box();
UlF:
echo "\x3c\57\x74\x64\76\xd\12\11\x9\x9\x9\11\11\74\x2f\164\162\76\xd\xa\x9\x9\x9\11\11\74\57\x74\141\x62\154\x65\76\15\xa\x9\x9\x9\11\74\57\144\x69\x76\76";
OPQ:
echo "\74\x66\x6f\162\x6d\x20\156\141\x6d\145\75\42\146\x22\x20\155\145\x74\150\x6f\144\x3d\x22\160\157\x73\164\42\40\x61\143\x74\151\157\x6e\75\42\42\x20\x69\x64\x3d\x22\x6d\157\x5f\x73\x61\155\x6c\137\143\x68\x65\143\x6b\137\x6c\x69\x63\145\156\163\x65\x22\x3e";
wp_nonce_field("\155\x6f\137\x73\x61\x6d\x6c\137\143\150\145\143\153\x5f\154\151\x63\x65\x6e\x73\145");
echo "\74\151\156\160\x75\164\40\164\x79\160\145\x3d\42\150\x69\x64\x64\145\x6e\x22\x20\x6e\x61\x6d\145\75\x22\157\160\x74\x69\x6f\x6e\x22\40\x76\141\154\165\145\x3d\x22\x6d\157\x5f\x73\x61\155\x6c\137\143\150\x65\143\x6b\137\154\151\143\145\x6e\x73\145\42\57\76\15\12\11\11\11\11\x3c\57\146\157\x72\x6d\76\15\xa\11\11\x9\11\x3c\x66\157\162\155\40\163\164\171\154\x65\75\x22\x64\151\163\160\x6c\141\x79\72\x6e\x6f\x6e\145\x3b\42\x20\x69\x64\75\x22\154\x6f\x67\151\156\x66\x6f\x72\x6d\42\x20\141\x63\164\151\157\156\75\42" . mo_options_plugin_constants::HOSTNAME . "\x2f\x6d\x6f\x61\x73\x2f\x6c\157\147\151\x6e\x22\x20\xd\xa\11\11\x9\11\x74\x61\x72\147\145\x74\75\42\137\x62\154\141\x6e\x6b\x22\x20\x6d\145\164\x68\157\144\x3d\42\160\157\163\x74\42\76\xd\12\x9\11\11\x9\x3c\x69\156\x70\165\x74\40\164\x79\160\145\75\42\x65\x6d\x61\151\154\42\40\x6e\141\x6d\x65\x3d\x22\x75\x73\x65\162\156\x61\x6d\x65\42\x20\x76\x61\154\165\145\x3d\42" . get_site_option("\155\x6f\137\163\x61\155\154\x5f\x61\x64\x6d\151\156\137\145\x6d\141\151\x6c") . "\x22\40\57\76\15\12\11\11\x9\11\x3c\x69\156\160\x75\x74\x20\x74\x79\x70\x65\75\x22\164\145\x78\164\42\x20\x6e\141\x6d\x65\x3d\42\162\x65\144\x69\x72\x65\143\x74\x55\x72\154\x22\x20\x76\141\154\165\x65\x3d\42" . mo_options_plugin_constants::HOSTNAME . "\57\155\157\x61\x73\57\x76\151\145\167\154\x69\143\x65\156\163\x65\153\x65\x79\163\42\40\57\76\15\xa\11\x9\x9\11\x3c\x69\x6e\160\165\x74\x20\164\x79\160\x65\x3d\x22\164\x65\170\164\42\40\x6e\x61\155\145\75\x22\x72\145\161\165\x65\x73\164\117\x72\151\147\x69\x6e\x22\x20\x76\x61\154\165\x65\x3d\42\x77\160\x5f\x73\x61\155\154\137\x73\163\x6f\x5f\142\141\x73\x69\x63\x5f\x70\154\x61\156\42\x20\40\x2f\x3e\xd\xa\11\11\x9\x3c\x2f\x66\x6f\162\155\x3e\xd\xa\x9\11\x9\74\x73\143\162\x69\x70\164\76\15\xa\x9\x9\x9\11\152\121\x75\x65\162\171\x28\x22\x61\133\x68\x72\x65\x66\75\x5c\x22\43\141\143\164\151\166\x61\164\x65\x6c\151\x63\145\x6e\x73\x65\134\42\x5d\x22\51\56\x63\154\x69\x63\x6b\x28\x66\165\156\x63\164\x69\x6f\156\50\x29\173\xd\12\11\x9\x9\x9\x9\152\121\165\x65\162\x79\50\42\43\155\x6f\137\163\141\155\154\137\143\150\x65\x63\x6b\137\154\151\143\145\156\163\145\x22\x29\x2e\163\x75\x62\155\151\164\50\51\73\xd\12\x9\11\x9\x9\x7d\x29\x3b\xd\xa\x9\11\x9\74\57\163\x63\x72\x69\x70\x74\76";
}
function mo_saml_is_extension_installed($hD)
{
if (Utilities::mo_saml_in_array($hD, get_loaded_extensions())) {
goto TSx;
}
return 0;
goto m_i;
TSx:
return 1;
m_i:
}
function sanitize_element()
{
$Vy = file_get_contents(plugins_url("\x72\x65\x73\157\165\x72\143\145\x73\57\145\156\137\x6c\x69\56\155\x6f", __FILE__));
$lA = get_site_option("\155\x6f\137\163\141\155\154\137\143\165\163\x74\157\155\145\x72\137\x74\x6f\153\x65\156");
$Vy = AESEncryption::decrypt_data($Vy, $lA);
if (!empty($Vy)) {
goto dPT;
}
return '';
dPT:
$dH = get_site_option("\155\x6f\137\x73\x61\155\154\x5f\x61\144\155\x69\x6e\x5f\141\160\x69\x5f\153\145\x79");
$Vy = AESEncryption::decrypt_data($Vy, $dH);
$Yu = simplexml_load_string($Vy);
return strval($Yu->expirationTime);
}
function mo_saml_show_verify_password_page_saml()
{
echo "\x3c\x66\x6f\162\x6d\40\156\x61\155\x65\x3d\42\x66\42\40\x6d\x65\164\x68\x6f\x64\75\x22\x70\157\x73\x74\x22\x20\x61\143\x74\151\157\x6e\x3d\42\42\x3e";
wp_nonce_field("\x6d\x6f\137\x73\141\x6d\x6c\x5f\x76\145\x72\151\146\171\137\x63\165\x73\x74\157\155\x65\x72");
echo "\74\151\x6e\x70\165\164\x20\164\171\160\145\x3d\42\x68\x69\144\144\145\x6e\42\40\x6e\141\x6d\x65\75\42\157\160\164\x69\x6f\156\x22\x20\166\x61\154\165\145\x3d\x22\155\x6f\137\x73\141\x6d\x6c\x5f\x76\x65\x72\x69\x66\171\137\x63\x75\163\164\x6f\x6d\x65\162\x22\40\57\76\15\xa\x20\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\74\151\x6e\x70\165\164\40\x74\x79\x70\x65\75\x22\x68\x69\x64\x64\x65\x6e\x22\40\x6e\x61\155\x65\75\x22\155\157\x5f\163\141\x6d\154\x5f\x61\144\x6d\x69\156\137\x65\155\141\x69\x6c\x5f\157\x6c\x64\x22\x20\x76\x61\x6c\x75\x65\x3d\x22" . get_site_option("\x6d\157\137\163\141\155\154\137\x61\144\155\151\156\137\145\x6d\141\151\x6c") . "\x22\57\76";
update_site_option("\155\x6f\x5f\163\x61\155\x6c\x5f\141\144\x6d\x69\x6e\137\x65\x6d\141\x69\154\x5f\x6f\x6c\x64", get_site_option("\x6d\x6f\x5f\163\x61\x6d\x6c\x5f\141\x64\155\x69\156\137\x65\155\x61\x69\x6c"));
echo "\15\xa\40\40\40\40\40\40\40\x20\40\x20\40\40\74\144\x69\x76\40\143\154\x61\x73\163\75\42\155\157\137\163\x61\x6d\154\137\164\x61\x62\x6c\x65\137\x6c\141\x79\x6f\x75\164\x22\40\163\164\x79\x6c\145\x3d\42\x70\141\144\144\151\x6e\x67\55\x62\x6f\x74\x74\x6f\x6d\72\x33\x36\x70\x78\x3b\42\76\15\xa\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x3c\144\x69\166\x20\x69\144\x3d\42\x74\x6f\147\147\154\145\x31\42\40\76\xd\xa\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\74\x68\x33\76\114\x6f\147\x69\x6e\x20\167\x69\x74\x68\x20\x6d\x69\156\151\x4f\x72\141\156\x67\x65\74\x2f\150\63\76\xd\12\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x3c\x2f\144\x69\x76\76\xd\12\40\x20\x20\x20\40\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x3c\x21\x2d\55\x3c\160\x3e\x3c\x62\76\x49\x74\40\163\145\145\155\163\x20\171\x6f\x75\x20\x61\x6c\x72\x65\x61\144\x79\x20\150\141\x76\x65\x20\x61\156\x20\x61\x63\143\x6f\165\x6e\x74\40\x77\151\164\150\40\155\x69\x6e\151\117\x72\141\156\147\x65\x2e\40\x50\154\145\x61\x73\145\40\x65\156\x74\x65\162\x20\x79\157\x75\162\40\x6d\x69\x6e\151\x4f\162\141\x6e\x67\x65\40\145\155\x61\151\x6c\x20\x61\x6e\144\40\160\141\x73\x73\167\157\162\144\56\x3c\x62\162\57\76\40\x3c\57\x62\x3e\x3c\x2f\160\x3e\55\55\76\15\12\x20\40\x20\x20\x20\40\x20\40\40\40\40\40\x20\x20\40\x20\74\160\76\74\142\76\x3c\x61\40\150\x72\x65\146\75\x22\x68\x74\x74\160\x73\72\x2f\57\x6c\157\147\x69\x6e\56\x78\x65\143\x75\162\151\146\171\56\143\x6f\155\57\x6d\x6f\x61\x73\x2f\151\144\160\x2f\x72\x65\x73\145\164\160\x61\x73\x73\x77\157\x72\x64\42\76\x43\154\x69\143\x6b\x20\150\x65\x72\x65\x20\x69\x66\40\171\x6f\165\40\146\157\162\x67\157\164\40\171\x6f\165\162\x20\x70\141\x73\x73\x77\x6f\x72\144\77\x3c\57\141\76\x3c\57\x62\x3e\74\x2f\x70\x3e\15\12\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\x3c\x62\162\x2f\76\xd\xa\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\40\40\40\40\74\x74\x61\142\x6c\145\x20\x63\154\x61\163\163\x3d\42\x6d\x6f\137\163\141\155\154\137\x73\145\x74\164\x69\156\147\x73\137\x74\141\x62\154\145\x22\76\xd\xa\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\40\40\x20\40\74\164\162\76\15\xa\x20\40\40\x20\x20\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\40\40\40\x20\x20\40\74\x74\x64\x3e\x3c\142\76\x3c\x66\157\x6e\164\x20\x63\x6f\154\x6f\x72\75\42\x23\106\x46\x30\60\x30\60\x22\x3e\x2a\74\57\x66\157\x6e\x74\76\x45\x6d\x61\151\x6c\x3a\x3c\57\142\76\74\57\164\144\x3e\xd\xa\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\74\164\x64\76\x3c\151\156\x70\x75\164\x20\143\x6c\141\x73\x73\75\42\x6d\157\x5f\163\141\155\x6c\137\164\x61\142\x6c\x65\x5f\164\145\170\x74\142\157\x78\42\x20\164\171\160\x65\x3d\x22\145\155\x61\151\154\x22\x20\x6e\x61\x6d\145\x3d\x22\145\155\x61\x69\154\42\xd\12\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\40\40\x20\x20\x72\x65\x71\165\151\x72\145\x64\40\160\x6c\x61\143\x65\x68\x6f\x6c\x64\x65\x72\x3d\42\x70\145\162\x73\157\156\x40\145\170\141\x6d\x70\x6c\145\56\x63\157\155\42\15\xa\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\x20\40\x20\x20\40\40\40\40\166\x61\x6c\165\x65\x3d\42" . get_site_option("\x6d\x6f\137\163\141\x6d\154\x5f\x61\x64\x6d\x69\156\x5f\145\155\x61\x69\154") . "\42\40\57\76\74\57\x74\x64\x3e\xd\12\40\40\40\40\x20\40\40\x20\40\40\40\x20\x20\40\x20\40\40\x20\x20\40\x20\40\40\40\74\x2f\x74\162\x3e\15\12\40\40\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x3c\x74\x72\x3e\xd\xa\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\x20\x20\40\40\74\x74\144\76\x3c\x62\76\74\x66\157\x6e\164\x20\143\x6f\x6c\x6f\x72\x3d\42\x23\x46\106\x30\x30\60\x30\42\x3e\52\74\57\146\157\156\164\x3e\x50\x61\x73\x73\167\x6f\162\144\72\x3c\57\x62\x3e\x3c\x2f\164\144\76\15\12\40\x20\40\40\x20\40\x20\40\x20\40\x20\x20\40\40\40\40\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\x3c\164\144\x3e\74\151\156\160\x75\x74\40\143\x6c\x61\x73\x73\75\42\155\x6f\137\x73\141\155\154\137\x74\x61\142\154\x65\x5f\164\145\x78\x74\x62\157\170\x22\40\162\x65\x71\165\x69\162\x65\144\x20\164\171\160\x65\x3d\42\160\141\x73\x73\x77\x6f\x72\x64\x22\15\12\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x6e\141\x6d\145\75\x22\x70\141\x73\x73\167\x6f\x72\144\x22\40\x70\x6c\x61\143\x65\150\x6f\154\144\x65\x72\x3d\x22\105\x6e\x74\145\162\40\x79\157\165\x72\40\x70\x61\163\163\x77\x6f\162\x64\42\x20\xd\xa\40\x20\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\40\x20\155\x69\x6e\x6c\145\156\147\x74\x68\x3d\x22\x36\42\40\x70\141\x74\164\145\x72\x6e\75\x22\136\133\x28\x5c\x77\51\52\50\x21\x40\43\56\x24\45\136\x26\x2a\x2d\x5f\x29\x2a\x5d\x2b\44\x22\xd\12\40\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\x74\x69\164\154\x65\75\x22\115\151\x6e\x69\155\165\x6d\40\x36\x20\143\150\141\162\x61\143\x74\x65\162\x73\40\x73\x68\157\x75\x6c\144\40\142\x65\40\160\162\x65\163\x65\156\164\x2e\40\x4d\141\170\x69\155\x75\155\x20\x31\65\40\x63\150\141\162\141\143\164\145\162\x73\x20\x73\x68\157\x75\154\x64\x20\x62\145\x20\x70\162\x65\163\x65\x6e\x74\x2e\40\117\156\x6c\x79\x20\x66\157\154\154\157\167\x69\156\147\x20\163\x79\155\x62\x6f\x6c\163\40\x28\x21\100\x23\x2e\44\45\x5e\46\x2a\55\x5f\51\x20\x73\x68\157\165\x6c\144\40\x62\145\40\160\162\x65\x73\x65\x6e\x74\x22\xd\12\40\40\x20\40\40\x20\x20\40\40\40\40\40\x20\x20\40\40\40\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\40\40\x20\57\x3e\74\x2f\164\144\76\xd\12\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\40\74\57\x74\x72\76\15\xa\40\x20\40\x20\x20\x20\40\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\15\12\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\x3c\x74\x72\x3e\15\xa\x20\x20\x20\40\x20\x20\40\40\x20\40\40\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\40\40\x20\40\40\40\x3c\164\144\76\46\156\x62\x73\x70\73\74\57\x74\144\76\15\xa\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\40\40\x20\x20\40\x3c\164\144\x3e\xd\12\40\40\40\40\40\40\40\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\40\x20\40\x20\x20\x3c\x69\156\160\x75\164\40\164\171\x70\x65\x3d\x22\163\165\142\x6d\151\164\42\40\156\141\155\145\75\x22\x73\165\142\155\151\x74\42\x20\x76\x61\x6c\x75\145\x3d\42\x4c\x6f\147\151\156\x22\40\x63\x6c\141\x73\163\75\x22\x62\165\x74\x74\157\x6e\40\142\165\x74\x74\x6f\x6e\55\x70\162\x69\x6d\141\x72\x79\40\142\x75\x74\164\157\x6e\55\154\141\x72\147\145\x22\x20\x2f\76\15\12\40\x20\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\x3c\x2f\x74\x64\x3e\xd\xa\40\x20\x20\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\40\x20\x20\x3c\x2f\164\162\76\15\12\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\40\40\40\x20\40\40\x20\40\40\40\40\40\x20\40\x20\40\40\x3c\x2f\164\141\x62\x6c\x65\x3e\15\xa\x20\40\40\40\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\x3c\x2f\x64\x69\166\x3e\15\12\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x3c\x2f\146\x6f\162\x6d\76";
}
function mo_saml_show_verify_license_page()
{
echo "\74\144\151\166\40\143\154\141\163\x73\x3d\x22\x6d\x6f\137\163\x61\155\154\x5f\x74\141\142\154\x65\137\x6c\x61\171\x6f\x75\164\42\40\x73\164\171\154\145\x3d\42\160\x61\x64\x64\x69\x6e\147\x2d\x62\157\x74\164\x6f\155\x3a\x35\x30\160\170\73\x21\151\155\x70\x6f\x72\164\x61\x6e\x74\x22\76";
if (!(!signElement() || site_check())) {
goto LgF;
}
$xH = get_site_option("\x6e\x6f\x5f\163\x62\x73");
$F9 = get_site_option("\155\157\x5f\163\x61\x6d\154\x5f\143\x75\x73\164\x6f\x6d\145\x72\x5f\164\x6f\153\145\156");
if ($xH && $F9) {
goto SJl;
}
mo_saml_show_license_verification_form();
goto W2B;
SJl:
$gt = AESEncryption::decrypt_data($xH, $F9);
$oL = Utilities::get_sites();
if ($gt < count($oL)) {
goto Gvc;
}
mo_saml_show_license_verification_form();
goto lza;
Gvc:
echo "\74\x64\151\166\40\163\x74\x79\154\145\75\42\x64\x69\163\x70\x6c\x61\x79\72\x62\x6c\157\143\x6b\x3b\x6d\x61\162\147\x69\156\x2d\164\157\160\72\x31\60\x70\x78\73\x63\157\154\x6f\162\x3a\162\x65\144\73\x62\x61\x63\153\x67\x72\157\x75\x6e\144\x2d\143\x6f\x6c\157\x72\x3a\162\x67\142\141\50\62\65\61\x2c\40\62\x33\62\x2c\40\x30\x2c\x20\x30\x2e\61\65\51\73\160\141\144\144\151\x6e\147\x3a\65\160\x78\x3b\x62\x6f\162\144\x65\162\x3a\x73\x6f\154\151\144\40\61\x70\x78\40\x72\147\x62\x61\50\x32\x35\x35\54\x20\60\x2c\x20\x39\x2c\x20\x30\x2e\x33\x36\51\73\42\76\15\xa\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\x59\x6f\x75\x20\150\141\x76\x65\40\160\165\162\x63\x68\141\163\145\x64\x20\x74\150\x65\x20\x6c\151\x63\x65\156\x73\145\x20\x66\157\162\x20\x3c\x62\76" . $gt . "\x20\x73\151\164\x65\163\x3c\57\142\76\56\40\x42\165\164\x20\x79\157\x75\40\x68\141\166\x65\40\x3c\142\x3e" . count($oL) . "\40\x3c\57\x62\x3e\163\151\164\x65\163\40\151\156\x20\x79\x6f\x75\x72\40\x6d\x75\154\164\151\x73\x69\x74\145\40\x6e\145\x74\167\x6f\162\x6b\x2e\40\74\x61\40\x6f\x6e\143\154\x69\x63\x6b\x3d\42\147\x65\164\x75\x70\x67\x72\x61\144\x65\154\151\x63\145\x6e\163\145\163\146\157\162\x6d\50\x29\x22\40\150\x72\x65\x66\x3d\x22\43\x22\40\x3e\x43\x6c\x69\143\x6b\40\150\x65\x72\145\74\x2f\x61\76\x20\x74\157\x20\x62\x75\171\40\154\151\143\145\x6e\163\145\40\x66\x6f\x72\40\x6d\x6f\162\145\x20\163\x69\x74\x65\163\x2e\xd\xa\x20\40\40\x20\40\40\x20\x20\40\40\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\40\74\57\144\x69\166\76\xd\xa\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\40\40\x3c\150\x33\x3e\x43\x6f\156\146\151\x72\155\x20\x79\157\x75\x72\x20\154\x69\x63\x65\x6e\163\x65\x3c\57\150\63\76\x3c\x68\x72\x3e\15\xa\40\x20\40\x20\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\117\156\143\x65\40\171\157\x75\x20\x68\141\166\145\40\x75\160\147\162\x61\x64\x65\144\40\x79\157\x75\162\x20\154\x69\x63\x65\156\163\145\54\x20\x63\x6c\151\143\x6b\x20\164\150\x65\40\x62\x65\154\157\x77\40\142\165\x74\164\157\156\x20\164\x6f\40\143\x6f\x6e\146\x69\x72\155\40\x79\157\x75\x72\40\x6c\151\143\x65\x6e\163\145\56\x3c\142\162\76\74\142\x72\x3e\xd\xa\x20\40\40\x20\40\x20\40\x20\40\x20\40\40\40\x20\x20\x20\40\40\40\x20\x20\x20\40\40\x20\x20\40\40\x20\40\x20\x20\x3c\x66\x6f\x72\155\x20\x6e\x61\155\x65\75\x22\146\x22\x20\155\x65\x74\x68\157\x64\75\x22\160\157\163\164\42\40\141\143\164\151\157\x6e\75\x22\x22\x20\x69\x64\75\x22\155\157\x5f\x73\x61\x6d\x6c\x5f\147\157\x62\141\x63\x6b\137\146\x6f\x72\x6d\x22\76";
wp_nonce_field("\155\157\137\163\141\155\154\137\x67\157\x5f\142\141\x63\153");
echo "\74\151\x6e\x70\165\164\40\164\171\x70\x65\x3d\x22\150\151\x64\x64\145\x6e\42\40\156\x61\x6d\145\75\42\157\160\164\x69\x6f\156\x22\x20\166\x61\154\165\145\75\42\155\157\x5f\x73\x61\x6d\x6c\137\147\157\x5f\142\141\x63\x6b\42\x2f\76\15\12\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\74\x61\x20\x68\x72\145\146\75\x22\43\x63\x68\x65\x63\x6b\x6c\151\143\145\x6e\x73\x65\x22\76\x3c\x69\156\160\165\164\40\164\x79\160\145\x3d\42\x62\x75\x74\164\157\156\x22\x20\156\141\155\x65\x3d\42\163\165\142\155\x69\164\42\x20\151\144\x3d\42\x22\x20\166\141\x6c\x75\145\x3d\42\103\x68\145\143\153\40\x4c\151\143\145\x6e\163\145\42\x20\143\x6c\x61\163\x73\x3d\42\x62\x75\x74\164\157\156\40\142\x75\x74\164\x6f\x6e\x2d\x70\162\151\155\x61\x72\171\40\142\x75\164\x74\157\x6e\55\x6c\141\x72\x67\x65\x22\40\57\x3e\x3c\57\x61\x3e\15\xa\40\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\40\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x20\74\151\x6e\160\165\164\x20\x74\x79\160\x65\x3d\42\163\165\142\155\151\164\42\40\x76\x61\154\165\x65\x3d\42\x42\141\143\153\42\x20\x63\154\141\163\x73\75\42\142\x75\x74\164\157\x6e\x20\x62\165\x74\x74\157\x6e\55\x70\x72\151\155\x61\162\171\x20\x62\165\164\164\157\156\x2d\x6c\141\x72\147\x65\x22\x2f\76\15\12\x20\40\40\40\40\40\40\40\40\x20\x20\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\x3c\57\146\157\x72\x6d\x3e\xd\xa\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\40\x20\40\x20\40\74\x64\151\x76\x20\x73\x74\171\x6c\145\75\x22\155\141\x72\147\x69\156\55\142\x6f\164\164\157\155\72\x31\65\x30\x70\x78\73\x22\x3e\74\x2f\144\x69\166\x3e";
lza:
W2B:
LgF:
echo "\x3c\x2f\x64\x69\166\76\xd\xa\40\x20\x20\x20\40\40\40\40\x20\40\x20\40\40\40\40\40\40\40\40\x20\x3c\x66\x6f\162\x6d\x20\x6e\141\x6d\x65\75\x22\146\42\40\155\x65\x74\150\157\144\x3d\x22\x70\x6f\x73\x74\x22\40\141\x63\x74\x69\157\156\x3d\x22\x22\x20\x69\144\x3d\42\155\157\137\163\141\155\x6c\137\x63\x68\x65\143\153\x5f\154\151\143\145\x6e\x73\x65\42\76";
wp_nonce_field("\155\x6f\x5f\163\141\155\154\137\x63\x68\145\x63\x6b\x5f\x6c\151\143\145\156\163\x65");
echo "\x3c\x69\x6e\x70\165\164\x20\x74\x79\x70\x65\x3d\42\x68\151\x64\x64\145\x6e\x22\40\x6e\141\155\x65\x3d\x22\157\160\x74\x69\x6f\x6e\42\40\166\x61\154\165\x65\x3d\x22\155\x6f\137\163\141\155\x6c\137\143\150\x65\x63\x6b\x5f\154\151\143\145\x6e\x73\x65\x22\x2f\x3e\15\xa\40\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\x3c\57\146\x6f\x72\155\76\xd\xa\x20\40\40\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\x20\x3c\146\x6f\162\x6d\x20\156\141\155\x65\75\42\x66\42\x20\151\x64\x3d\42\154\x69\x63\x65\156\163\145\x66\x6f\162\x6d\42\x20\141\x63\x74\151\157\x6e\x3d\x22" . mo_options_plugin_constants::HOSTNAME . "\57\x6d\157\141\163\57\x6c\x6f\x67\x69\x6e\42\40\xd\xa\40\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\x20\x20\164\x61\x72\147\x65\164\x3d\42\x5f\x62\154\x61\x6e\153\42\40\155\x65\164\150\157\144\x3d\x22\x70\x6f\163\x74\42\76\xd\12\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\40\x20\40\x20\74\x69\156\160\x75\164\40\164\171\160\145\75\42\x68\x69\x64\x64\x65\156\x22\40\156\141\155\x65\x3d\x22\x75\163\145\162\x6e\x61\155\x65\x22\x20\x76\x61\x6c\x75\x65\x3d\42" . get_site_option("\155\157\x5f\163\141\x6d\154\x5f\141\144\x6d\x69\x6e\x5f\145\x6d\141\x69\154") . "\42\x20\57\x3e\15\12\x20\40\40\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\40\x3c\151\x6e\160\165\164\x20\164\x79\x70\145\x3d\42\x68\151\x64\144\x65\156\x22\40\156\141\x6d\x65\75\42\x72\x65\144\151\162\145\x63\164\x55\x72\154\x22\x20\166\x61\x6c\165\x65\x3d\x22" . mo_options_plugin_constants::HOSTNAME . "\x2f\x6d\157\x61\163\57\151\156\x69\164\151\141\x6c\151\172\145\x70\x61\171\155\145\x6e\x74\x22\x20\x2f\76\15\xa\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\x20\74\x69\156\160\165\x74\40\164\171\x70\145\x3d\42\x68\x69\144\x64\x65\x6e\42\40\156\x61\x6d\145\x3d\x22\162\145\x71\165\145\163\x74\117\162\x69\x67\151\x6e\42\40\151\144\75\x22\x72\145\161\x75\x65\163\164\x4f\162\x69\147\x69\156\x22\x20\166\x61\x6c\165\145\x3d\x22\167\160\x5f\x73\141\155\x6c\x5f\x70\x72\145\155\151\165\x6d\137\155\165\154\x74\x69\163\151\x74\145\137\x73\163\x6f\137\x75\160\x67\x72\141\x64\145\137\160\x6c\x61\156\x22\40\40\x2f\76\xd\xa\x20\40\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\74\x2f\146\x6f\162\155\76\xd\xa\x20\40\x20\x20\x20\40\x20\40\40\40\40\40\x20\40\40\40\x3c\146\x6f\162\x6d\x20\156\x61\x6d\145\x3d\x22\146\x22\40\155\145\164\x68\x6f\x64\x3d\42\x70\157\x73\x74\x22\x20\x61\143\x74\151\x6f\x6e\75\42\42\x20\151\144\x3d\42\x6d\157\137\x73\x61\155\x6c\x5f\x62\141\x63\x6b\x5f\154\151\143\x65\156\x73\145\x22\x3e";
wp_nonce_field("\x6d\157\x5f\x73\x61\155\x6c\x5f\x72\x65\155\x6f\166\145\x5f\x61\143\x63\x6f\x75\156\164");
echo "\x3c\x69\156\160\x75\164\40\164\x79\x70\x65\x3d\x22\150\x69\x64\144\145\156\x22\x20\x6e\141\x6d\145\75\x22\x6f\160\x74\151\x6f\x6e\x22\40\166\x61\154\x75\145\x3d\x22\x6d\157\137\x73\x61\155\x6c\137\x72\x65\155\x6f\166\145\x5f\x61\143\143\157\x75\156\x74\42\x2f\x3e\15\12\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\x20\x3c\x2f\146\157\x72\155\x3e\15\12\40\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x3c\x73\x63\x72\151\160\x74\76\xd\12\40\40\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\40\40\x20\40\152\x51\x75\145\x72\x79\50\42\x61\133\x68\162\145\146\75\x5c\42\x23\x63\150\145\143\x6b\x6c\x69\x63\x65\x6e\x73\145\134\x22\135\42\x29\x2e\x63\154\x69\x63\x6b\50\x66\165\156\143\x74\151\x6f\x6e\50\51\x7b\xd\xa\40\40\40\40\x20\40\40\40\40\x20\40\40\x20\x20\40\40\40\40\x20\40\40\x20\40\40\152\121\x75\x65\x72\x79\x28\42\43\155\x6f\x5f\163\x61\155\x6c\x5f\x63\150\x65\143\153\x5f\154\151\143\145\156\x73\x65\x22\x29\56\x73\x75\142\x6d\x69\x74\50\x29\x3b\15\xa\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\40\40\x7d\x29\73\15\xa\40\x20\40\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\146\165\156\143\164\x69\157\x6e\40\147\x65\164\x75\160\x67\162\141\144\145\x6c\151\x63\x65\x6e\163\145\163\x66\157\162\155\x28\51\x7b\xd\xa\x20\x20\40\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\40\152\x51\x75\145\162\171\x28\42\x23\154\x69\143\145\x6e\x73\x65\x66\157\x72\155\x22\x29\x2e\163\x75\x62\155\x69\x74\x28\x29\73\xd\12\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\40\40\x7d\15\xa\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\40\x20\x3c\57\x73\x63\162\151\160\164\x3e";
}
function mo_saml_show_license_verification_form()
{
echo "\74\x68\63\76\126\145\162\x69\x66\x79\x20\114\x69\x63\145\156\x73\x65\x20\40\133\x20\74\x73\x70\x61\x6e\x20\163\164\171\154\145\75\x22\x66\x6f\x6e\164\55\x73\x69\172\x65\x3a\61\63\x70\x78\73\x66\157\156\164\55\x73\164\171\x6c\145\72\x6e\x6f\x72\x6d\x61\x6c\x3b\42\76\x3c\141\40\163\x74\171\x6c\145\75\x22\x63\165\x72\x73\157\x72\x3a\x70\x6f\151\156\x74\145\x72\x3b\42\x20\157\x6e\x63\154\151\143\153\x3d\42\147\x65\164\154\151\x63\x65\156\x73\x65\x6b\145\x79\x73\146\157\162\x6d\50\51\42\x20\76\103\154\151\x63\153\40\x68\x65\162\145\x20\x74\157\40\x76\151\145\167\40\171\157\165\x72\x20\x6c\x69\x63\x65\x6e\163\x65\x20\x6b\x65\x79\74\57\x61\76\x3c\57\163\x70\x61\x6e\76\40\x5d\74\x2f\150\63\76\74\x68\162\x3e\xd\12\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\40\40\15\xa\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\74\x66\x6f\162\x6d\x20\156\x61\155\x65\75\x22\x66\42\x20\155\145\x74\x68\x6f\x64\x3d\x22\160\157\x73\164\x22\x20\141\143\164\151\157\156\75\x22\42\x3e";
wp_nonce_field("\155\x6f\137\x73\x61\155\x6c\137\166\145\162\x69\x66\x79\x5f\154\151\143\145\156\163\145");
echo "\x3c\x69\x6e\x70\165\x74\40\x74\x79\x70\x65\x3d\42\150\151\144\144\145\x6e\x22\40\156\x61\155\145\75\x22\x6f\160\164\x69\157\156\x22\x20\166\141\x6c\x75\145\75\42\x6d\157\137\163\x61\x6d\x6c\137\166\145\x72\151\146\x79\x5f\x6c\x69\143\145\156\163\x65\42\40\x2f\76\15\xa\40\x20\40\x20\40\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\40\x20\40\40\xd\12\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\40\40\x20\74\160\76\x3c\x62\76\x3c\146\157\156\164\40\x63\x6f\x6c\x6f\162\75\42\43\106\106\60\60\60\60\42\76\x2a\74\x2f\x66\x6f\x6e\x74\76\x45\156\164\145\x72\x20\171\x6f\165\x72\x20\154\x69\143\145\x6e\x73\x65\40\153\x65\x79\x20\164\157\40\141\143\x74\151\166\x61\x74\145\x20\x74\x68\x65\x20\160\x6c\x75\147\x69\156\x3a\74\x2f\142\76\xd\xa\x20\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\x3c\151\156\160\x75\164\40\143\x6c\141\x73\163\75\x22\x6d\x6f\x5f\x73\141\155\x6c\x5f\164\141\142\x6c\x65\x5f\164\x65\x78\164\x62\x6f\x78\x22\40\162\x65\161\165\151\x72\145\144\x20\x74\171\x70\145\x3d\x22\x74\145\170\164\x22\x20\163\164\x79\154\145\x3d\x22\x6d\x61\x72\x67\x69\x6e\x2d\154\x65\146\x74\x3a\x34\x30\x70\x78\x3b\x77\x69\144\x74\x68\72\63\60\x30\x70\x78\73\x22\xd\xa\x20\x20\40\40\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\x6e\x61\155\x65\x3d\42\163\x61\x6d\x6c\x5f\x6c\x69\143\x65\156\x73\145\x5f\x6b\145\171\42\40\160\154\141\x63\145\150\157\154\x64\145\162\75\42\105\x6e\164\x65\162\x20\171\x6f\165\162\40\x6c\x69\143\145\156\x73\x65\40\x6b\145\x79\x20\164\x6f\x20\141\143\x74\x69\166\141\x74\145\x20\x74\x68\145\40\160\x6c\165\147\x69\156\x22\x20\57\76\15\12\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\x20\74\x2f\x70\x3e\15\xa\x20\x20\x20\40\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\x3c\x70\76\x3c\x62\x3e\74\x66\157\x6e\164\x20\x63\x6f\154\x6f\x72\75\x22\x23\x46\x46\x30\60\60\x30\x22\x3e\52\74\x2f\146\x6f\x6e\x74\76\120\x6c\x65\141\x73\x65\x20\x63\150\x65\143\153\40\x74\150\151\163\40\164\157\x20\x63\157\156\146\151\x72\155\x20\164\x68\x61\x74\x20\171\x6f\165\40\x68\x61\166\145\x20\x72\x65\x61\x64\x20\151\164\x3a\40\x3c\x2f\142\76\46\156\x62\163\160\x3b\46\x6e\142\163\x70\73\74\151\x6e\x70\165\x74\x20\x72\x65\x71\165\x69\x72\145\x64\x20\164\171\x70\145\x3d\x22\143\x68\145\x63\153\142\157\x78\x22\40\x6e\x61\155\x65\75\42\x6c\x69\x63\145\156\163\x65\x5f\143\x6f\x6e\144\x69\x74\x69\x6f\156\163\x22\40\57\x3e\74\x2f\x70\x3e\15\12\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\40\40\40\x20\x3c\57\160\76\15\12\40\x20\x20\40\40\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\xd\xa\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\74\157\154\x3e\xd\12\x20\40\40\40\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\40\40\x20\40\x3c\154\x69\76\x4c\x69\x63\145\156\163\145\x20\x6b\x65\171\40\x79\157\x75\x20\150\141\166\145\x20\x65\156\x74\145\162\145\144\40\x68\145\x72\x65\x20\151\x73\40\x61\163\x73\157\x63\x69\141\164\145\x64\x20\167\x69\164\x68\x20\x74\150\x69\163\x20\163\151\164\x65\40\x69\x6e\163\164\x61\x6e\x63\145\x2e\x20\111\x6e\x20\x66\x75\164\165\x72\145\x2c\40\x69\146\40\171\157\x75\40\141\162\145\40\x72\x65\x2d\x69\156\163\x74\x61\x6c\x6c\x69\x6e\x67\40\164\x68\x65\x20\160\154\x75\147\x69\x6e\x20\x6f\x72\x20\x79\x6f\165\x72\40\163\151\x74\145\40\146\x6f\x72\40\141\x6e\171\x20\x72\x65\141\163\157\x6e\56\x20\131\x6f\165\x20\163\x68\x6f\x75\x6c\x64\40\144\145\141\143\164\x69\x76\141\x74\x65\40\141\156\144\40\164\150\x65\x6e\40\x64\x65\x6c\145\164\x65\x20\164\150\145\40\x70\154\165\147\151\x6e\x20\x66\162\157\155\40\167\157\x72\144\160\162\x65\x73\163\x20\143\x6f\x6e\x73\x6f\154\x65\40\141\x6e\x64\x20\163\150\157\x75\154\x64\40\x6e\x6f\164\40\155\x61\156\165\x61\154\x6c\171\x20\x64\145\154\145\x74\x65\x20\164\150\145\40\160\x6c\x75\x67\x69\156\x20\146\x6f\x6c\144\x65\x72\x2e\x20\123\x6f\x20\164\x68\141\164\x20\x79\157\165\x20\x63\141\x6e\x20\x72\x65\163\x75\x73\145\40\164\x68\x65\x20\163\141\x6d\x65\x20\x6c\151\x63\x65\156\163\145\x20\153\x65\x79\56\74\57\154\151\76\74\x62\x72\x3e\xd\xa\x20\40\40\40\x20\40\40\40\40\40\x20\40\40\40\x20\x20\40\x20\40\40\x3c\154\151\76\x3c\x62\76\x54\150\151\163\x20\151\x73\40\156\x6f\x74\x20\x61\40\x64\145\166\145\154\x6f\x70\x65\x72\47\x73\x20\154\151\143\x65\156\163\145\x2e\74\57\x62\x3e\40\x4d\141\x6b\151\156\x67\40\x61\156\171\40\x6b\151\x6e\144\x20\x6f\x66\x20\x63\x68\141\156\147\145\40\x74\157\40\x74\150\x65\40\160\x6c\x75\x67\x69\156\47\163\x20\143\157\144\x65\x20\167\151\x6c\154\40\x64\x65\x6c\145\x74\145\40\x61\154\154\40\171\157\x75\x72\40\x63\157\x6e\146\151\147\x75\162\141\164\x69\157\x6e\x20\x61\156\x64\x20\x6d\x61\153\x65\x20\x74\150\145\40\160\x6c\165\x67\x69\156\40\x75\x6e\165\163\x61\142\x6c\x65\56\74\57\x6c\151\76\xd\12\x20\40\x20\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\40\40\x20\x3c\142\x72\x3e\xd\12\x20\40\x20\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x3c\x69\156\160\x75\164\40\164\x79\x70\145\x3d\x22\x73\x75\142\x6d\151\164\42\40\x6e\141\155\145\x3d\42\163\165\x62\155\x69\x74\x22\40\166\x61\x6c\165\145\75\x22\101\143\164\x69\x76\x61\164\145\x20\x4c\x69\x63\145\x6e\163\x65\x22\x20\143\154\141\x73\x73\75\x22\142\x75\x74\x74\x6f\x6e\40\142\165\x74\164\157\156\55\160\x72\x69\155\x61\162\171\x20\x62\x75\164\164\157\156\x2d\154\x61\x72\147\145\x22\x20\57\x3e\40\xd\xa\40\x20\40\x20\x20\40\x20\40\40\40\40\40\40\x20\40\40\74\151\x6e\160\x75\x74\40\x74\x79\160\x65\75\x22\x62\165\x74\164\157\x6e\42\40\x63\154\x61\x73\163\x3d\x22\x62\x75\x74\164\x6f\x6e\40\142\165\164\x74\x6f\x6e\x2d\x70\162\151\x6d\x61\x72\171\x20\x62\x75\x74\x74\x6f\x6e\55\154\141\x72\x67\x65\x22\40\166\141\154\x75\145\x3d\42\x42\141\143\x6b\42\x20\x6f\156\143\x6c\x69\143\153\75\42\x64\157\x63\x75\155\x65\156\164\x2e\x66\157\162\155\163\133\47\155\157\x5f\163\141\x6d\154\x5f\x62\141\x63\x6b\x5f\154\x69\x63\x65\x6e\x73\x65\x27\135\56\163\x75\x62\155\x69\x74\50\51\x3b\x22\x2f\76\15\xa\40\40\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x3c\x2f\146\157\162\x6d\x3e";
}
function postResponse()
{
$Vy = file_get_contents(plugins_url("\x72\145\163\157\165\162\x63\x65\163\x2f\145\x6e\x5f\154\x69\x2e\x6d\157", __FILE__));
$lA = get_site_option("\x6d\157\137\163\141\x6d\x6c\x5f\143\x75\163\x74\157\155\x65\x72\137\x74\157\153\145\x6e");
$Vy = AESEncryption::decrypt_data($Vy, $lA);
if (!empty($Vy)) {
goto lOX;
}
return '';
lOX:
$dH = get_site_option("\x6d\157\137\x73\x61\155\154\137\141\x64\x6d\151\156\137\141\x70\x69\x5f\153\145\x79");
$Vy = AESEncryption::decrypt_data($Vy, $dH);
$Yu = simplexml_load_string($Vy);
return strval($Yu->code);
}
function signElement()
{
if (!file_exists(plugin_dir_path(__FILE__) . "\162\x65\x73\157\x75\x72\x63\145\163\x2f\145\156\137\154\x69\x2e\155\x6f")) {
goto Y8I;
}
return true;
Y8I:
return false;
}
function site_check()
{
if (!get_site_option("\x73\x69\x74\145\137\143\153\137\x6c")) {
goto ws4;
}
$tK = get_site_option("\155\x6f\x5f\163\x61\155\x6c\137\143\x75\x73\x74\x6f\x6d\x65\x72\137\164\x6f\153\x65\x6e");
if (!(AESEncryption::decrypt_data(get_site_option("\163\x69\164\145\x5f\143\153\x5f\154"), $tK) == "\x74\x72\165\x65")) {
goto anq;
}
return true;
anq:
ws4:
return false;
}
function mo_saml_download_logs($Sv, $uh)
{
echo "\74\144\151\166\40\x73\164\x79\154\x65\75\42\146\157\x6e\x74\x2d\x66\141\155\x69\154\x79\72\103\141\x6c\x69\142\x72\151\x3b\x70\x61\x64\144\151\x6e\x67\x3a\60\x20\x33\x25\73\x22\x3e";
echo "\74\150\x72\x20\x63\x6c\x61\163\x73\x3d\x22\x68\x65\141\144\x65\x72\x22\x2f\x3e";
echo "\40\x20\x20\x20\40\40\x20\x20\x20\x20\74\x70\x20\x73\164\x79\154\x65\75\42\146\x6f\156\164\x2d\x73\151\x7a\x65\x3a\x20\154\141\x72\x67\x65\162\x20\x20\x20\40\40\40\40\42\x3e\x50\154\x65\141\163\145\x20\164\162\171\40\164\150\145\x20\163\x6f\154\x75\164\151\x6f\x6e\x20\147\151\x76\145\x6e\x20\x61\x62\157\x76\145\x2e\x49\146\40\x74\150\x65\40\160\x72\x6f\142\154\145\x6d\x20\x70\x65\162\x73\x69\x73\164\163\x2c\144\157\x77\156\154\157\x61\x64\40\x74\x68\145\40\x70\x6c\x75\147\151\x6e\x20\x63\x6f\x6e\x66\x69\x67\165\x72\141\164\x69\x6f\156\40\142\x79\x20\143\x6c\151\x63\153\151\156\x67\x20\x6f\156\x20\x45\x78\x70\x6f\162\164\x20\120\x6c\x75\x67\x69\x6e\x20\x43\157\156\146\151\x67\165\x72\141\164\x69\157\156\x20\x61\x6e\x64\x20\155\x61\x69\x6c\x20\165\x73\40\141\164\x20\74\141\40\x68\x72\145\x66\x3d\42\155\141\x69\x6c\164\157\72\x73\x61\x6d\x6c\x73\x75\x70\x70\x6f\x72\164\100\x78\x65\x63\x75\x72\x69\146\x79\56\x63\157\155\42\76\163\x61\x6d\x6c\163\165\160\x70\157\x72\164\x40\x78\145\x63\165\162\x69\146\x79\x2e\x63\x6f\155\74\57\141\x3e\56\74\57\x70\x3e\xd\xa\x9\11\11\11\11\11\x9\x3c\x70\x3e\x57\x65\40\167\x69\154\x6c\x20\x67\x65\x74\x20\142\x61\143\x6b\40\164\157\40\171\157\165\x20\163\x6f\x6f\x6e\41\74\x70\x3e\15\xa\x9\11\11\x9\11\11\11\74\57\144\151\x76\76\15\12\11\11\x9\11\11\x9\x9\x3c\144\x69\166\x20\x73\x74\x79\x6c\145\75\x22\155\141\x72\147\151\156\72\63\45\73\x64\x69\x73\x70\154\141\x79\x3a\142\154\157\x63\153\73\x74\x65\170\164\55\141\x6c\151\x67\156\x3a\143\x65\x6e\164\x65\x72\73\x22\76\15\12\x9\11\x9\x9\x9\x9\x9\x3c\144\x69\166\x20\x73\164\171\154\145\x3d\42\155\x61\x72\x67\151\x6e\72\x33\x25\73\144\x69\x73\x70\x6c\x61\171\72\142\154\x6f\x63\x6b\x3b\164\x65\x78\164\55\141\x6c\151\x67\156\x3a\x63\x65\x6e\164\145\162\73\42\76\15\12\11\x9\11\11\x9\11\x9\x3c\146\157\x72\155\40\155\145\x74\x68\157\x64\75\42\x67\x65\164\42\x20\141\143\164\x69\157\x6e\x3d\x22\x22\40\156\x61\x6d\x65\75\x22\x6d\x6f\137\145\x78\x70\x6f\162\x74\x22\x20\151\x64\x3d\42\155\157\x5f\145\x78\x70\x6f\x72\164\42\76";
wp_nonce_field("\x6d\157\137\x73\141\155\154\137\145\x78\x70\157\x72\164");
echo "\74\151\156\160\165\164\40\x74\x79\x70\145\x3d\42\x68\x69\x64\144\145\x6e\x22\x20\x6e\141\x6d\145\x3d\x22\157\160\164\151\157\x6e\x22\40\x76\141\x6c\165\x65\x3d\x22\x65\170\160\x6f\x72\x74\x5f\x63\157\156\x66\151\147\x75\x72\x61\164\x69\x6f\x6e\42\40\x2f\x3e\15\xa\11\x9\11\11\11\x9\74\x69\x6e\x70\x75\x74\x20\164\x79\x70\145\75\x22\x73\x75\142\155\151\164\42\40\x63\154\x61\x73\x73\x3d\42\155\x69\x6e\151\x6f\162\x61\x6e\147\x65\55\142\165\164\164\x6f\156\x22\x20\166\x61\x6c\x75\145\75\42\105\170\160\x6f\x72\164\40\120\154\165\147\151\x6e\x20\x43\157\x6e\x66\151\x67\x75\162\x61\x74\151\157\156\42\76\xd\xa\11\x9\11\x9\x9\11\x3c\x69\x6e\160\165\x74\x20\x63\154\x61\x73\163\75\x22\155\x69\x6e\x69\157\162\141\156\x67\x65\x2d\x62\x75\x74\164\x6f\156\42\40\164\171\160\145\75\x22\x62\165\164\164\x6f\156\42\40\x76\141\x6c\x75\145\75\42\x43\154\x6f\x73\x65\x22\40\157\x6e\143\x6c\x69\143\x6b\x3d\42\163\145\x6c\x66\56\x63\x6c\x6f\163\x65\50\x29\x22\76\x3c\57\146\157\162\155\76\xd\12\11\x9\x9\11\11\x9";
echo "\46\x6e\142\163\160\73\46\156\x62\163\160\73";
$k4 = $_POST["\123\x41\115\x4c\x52\x65\163\x70\x6f\x6e\163\x65"];
update_site_option("\155\x6f\137\163\141\155\154\137\x72\x65\x73\x70\157\x6e\x73\145", $k4);
$kP = array("\x45\162\162\x6f\162" => $Sv, "\x43\x61\165\163\145" => $uh);
update_site_option("\155\157\137\163\x61\x6d\x6c\x5f\x74\x65\x73\x74", $kP);
echo "\x9\x9\11\74\x73\164\171\154\x65\76\15\xa\11\11\x9\x2e\x6d\151\x6e\151\157\x72\141\x6e\x67\145\55\142\x75\164\164\x6f\x6e\40\173\xd\xa\x9\11\11\x70\141\x64\x64\151\156\147\72\61\45\x3b\15\12\11\x9\11\142\x61\143\153\x67\162\157\x75\156\x64\x3a\x20\43\60\x30\71\61\x43\x44\40\156\157\x6e\145\x20\162\x65\160\145\141\164\40\163\143\x72\157\x6c\x6c\x20\x30\45\x20\60\45\73\15\xa\x9\x9\11\143\x75\x72\x73\x6f\x72\72\x20\x70\x6f\151\156\x74\145\x72\x3b\146\x6f\156\x74\x2d\x73\x69\172\145\x3a\61\x35\x70\x78\x3b\xd\12\11\x9\x9\x62\157\x72\144\145\x72\55\167\x69\x64\x74\x68\x3a\x20\61\160\x78\x3b\x62\x6f\x72\144\145\x72\x2d\163\164\x79\154\x65\72\40\163\x6f\x6c\x69\144\x3b\xd\12\11\x9\11\x62\x6f\x72\x64\145\162\55\162\x61\x64\151\x75\x73\72\40\63\x70\x78\73\x77\150\151\164\145\55\163\x70\141\143\x65\72\x20\x6e\157\x77\x72\141\160\73\15\12\x9\11\11\x62\x6f\170\x2d\163\151\172\151\x6e\x67\72\x20\142\157\x72\144\x65\x72\x2d\x62\x6f\x78\73\142\157\x72\x64\x65\162\55\143\157\x6c\x6f\x72\x3a\x20\43\60\60\67\x33\101\x41\73\xd\xa\11\x9\11\142\x6f\x78\x2d\163\150\x61\x64\x6f\x77\72\x20\x30\160\170\x20\x31\x70\170\40\x30\x70\170\40\x72\147\x62\x61\x28\61\62\60\54\x20\62\x30\x30\x2c\40\x32\63\x30\x2c\40\x30\56\x36\x29\40\x69\156\163\x65\x74\73\143\x6f\x6c\157\162\x3a\x20\x23\106\106\106\x3b\xd\12\11\x9\11\x6d\141\x72\x67\x69\x6e\x3a\x20\x32\x32\x70\170\x3b\xd\xa\x9\11\x9\175\15\12\x9\11\74\x2f\x73\x74\x79\x6c\145\76\15\12\x9\11\x9";
exit;
}
function miniorange_generate_metadata($jn = false, $mb = false)
{
$Eq = get_site_option("\155\x6f\x5f\x73\141\155\154\x5f\x73\160\137\142\x61\x73\x65\137\165\x72\x6c");
if (!empty($Eq)) {
goto O4T;
}
$Eq = get_network_site_url();
O4T:
$yo = get_site_option("\155\157\137\x73\141\x6d\154\137\x73\160\x5f\145\156\x74\151\164\x79\137\151\144");
if (!empty($yo)) {
goto BcX;
}
$yo = $Eq . "\x2f\x77\x70\x2d\x63\157\x6e\164\145\156\x74\57\160\154\165\x67\x69\156\163\57\x6d\x69\156\x69\157\x72\x61\x6e\x67\x65\55\x73\x61\x6d\154\x2d\x32\x30\55\x73\x69\156\x67\154\x65\55\x73\151\x67\156\x2d\x6f\x6e\57";
BcX:
$U9 = $yo;
$Y1 = $Eq . "\57";
if ($mb) {
goto Afq;
}
$gS = get_site_option("\155\157\137\163\141\155\x6c\137\143\165\x72\x72\145\x6e\164\x5f\143\145\x72\164");
goto XmV;
Afq:
$gS = file_get_contents(plugin_dir_path(__FILE__) . "\162\x65\x73\x6f\x75\x72\x63\x65\163" . DIRECTORY_SEPARATOR . mo_options_enum_default_sp_certificate::SP_Public_Certificate);
XmV:
$pC = Utilities::getValidUntilDateFromCert($gS);
$gS = Utilities::desanitize_certificate($gS);
if (!ob_get_contents()) {
goto Fxo;
}
ob_clean();
Fxo:
header("\103\x6f\x6e\x74\145\x6e\164\55\x54\x79\x70\145\72\x20\x74\145\170\164\57\170\x6d\154");
if (!$jn) {
goto G2x;
}
if ($mb) {
goto YiI;
}
header("\103\157\x6e\164\145\156\164\55\x44\151\x73\x70\157\x73\151\164\151\x6f\156\72\x20\141\x74\x74\x61\143\x68\155\145\x6e\x74\x3b\x20\x66\x69\154\x65\x6e\x61\155\x65\x3d\x22\155\157\x2d\x73\x61\x6d\x6c\x2d\x73\160\x2d\x6d\145\x74\141\144\141\x74\141\x2e\x78\155\154\x22");
goto Pr0;
YiI:
header("\x43\x6f\x6e\x74\x65\156\164\55\104\151\163\160\x6f\163\151\164\x69\x6f\156\72\x20\x61\x74\164\x61\143\x68\155\145\x6e\164\x3b\40\x66\151\x6c\x65\156\141\x6d\x65\x3d\x22\155\157\x2d\x73\141\x6d\154\55\x73\160\55\156\145\x77\x2d\x6d\145\x74\x61\144\x61\164\x61\x2e\170\155\x6c\x22");
Pr0:
G2x:
echo "\x3c\x3f\170\x6d\154\x20\166\x65\162\x73\151\157\156\x3d\42\61\x2e\60\42\77\x3e\xd\xa\x9\x9\x9\x3c\x6d\x64\72\x45\156\164\x69\x74\x79\x44\145\x73\x63\162\x69\160\x74\157\x72\x20\x78\x6d\154\x6e\x73\72\155\144\75\42\x75\x72\156\72\157\141\x73\x69\163\72\156\141\155\145\163\x3a\164\143\72\x53\x41\x4d\114\72\x32\x2e\x30\72\155\x65\x74\141\144\x61\x74\141\42\40\166\141\x6c\151\x64\x55\x6e\164\151\154\x3d\x22" . $pC . "\x22\40\143\x61\x63\150\145\104\x75\x72\x61\164\x69\x6f\x6e\75\x22\120\124\x31\64\x34\x36\x38\x30\x38\x37\71\62\123\x22\x20\145\x6e\164\x69\164\171\111\x44\75\42" . $U9 . "\42\x3e\15\xa\x9\11\11\x3c\155\144\x3a\x53\x50\123\123\x4f\x44\145\163\143\x72\x69\160\164\x6f\162\40\101\x75\164\150\x6e\x52\145\x71\165\145\x73\x74\x73\x53\151\147\x6e\x65\144\x3d\x22\x74\162\165\145\42\40\127\x61\156\x74\x41\x73\163\145\162\164\x69\157\x6e\x73\123\x69\x67\156\145\x64\x3d\42\164\162\165\x65\x22\40\x70\162\157\x74\x6f\x63\x6f\x6c\123\x75\160\160\157\x72\x74\105\156\165\155\x65\x72\141\x74\151\x6f\156\75\42\165\x72\156\x3a\x6f\x61\163\151\x73\72\156\x61\155\145\163\72\164\143\x3a\x53\101\x4d\114\x3a\62\56\x30\72\160\x72\x6f\164\x6f\x63\157\154\x22\76\15\xa\x9\x9\11\x3c\155\144\72\x4b\x65\x79\x44\x65\x73\143\x72\x69\160\x74\x6f\x72\x20\165\163\x65\75\42\x73\x69\147\156\151\x6e\147\42\x3e\xd\12\x9\11\11\11\74\144\x73\x3a\x4b\145\171\111\156\x66\x6f\40\170\x6d\x6c\x6e\x73\72\x64\163\75\x22\x68\x74\164\x70\x3a\x2f\57\167\167\167\x2e\167\63\x2e\x6f\162\x67\57\x32\x30\x30\x30\x2f\x30\71\x2f\x78\155\x6c\x64\163\151\147\43\x22\x3e\xd\12\11\11\x9\11\x3c\x64\x73\72\x58\65\60\71\x44\141\164\x61\x3e\15\xa\11\11\x9\11\11\74\x64\163\x3a\130\x35\x30\71\103\x65\x72\x74\151\146\151\x63\141\x74\145\x3e" . $gS . "\74\x2f\x64\x73\72\130\65\60\71\x43\x65\x72\x74\151\x66\x69\143\141\x74\145\x3e\15\xa\x9\x9\11\x9\x9\x3c\57\144\x73\x3a\x58\65\x30\x39\104\x61\x74\141\76\xd\12\11\11\x9\x9\74\57\144\163\x3a\113\x65\x79\111\156\x66\157\76\xd\xa\11\x9\11\x3c\57\x6d\144\x3a\113\x65\171\104\x65\x73\143\x72\151\x70\x74\157\162\76\xd\xa\11\x9\11\74\155\144\72\113\145\171\104\145\163\x63\162\151\160\x74\157\x72\40\x75\x73\145\x3d\x22\x65\x6e\143\x72\x79\x70\x74\x69\x6f\x6e\x22\76\15\xa\11\11\x9\x3c\144\x73\x3a\x4b\145\171\111\156\x66\x6f\40\170\x6d\154\x6e\x73\x3a\x64\163\x3d\42\150\x74\164\160\x3a\x2f\57\167\167\x77\x2e\167\x33\x2e\x6f\x72\147\x2f\62\x30\x30\60\x2f\x30\71\x2f\x78\x6d\x6c\x64\x73\151\x67\43\42\x3e\15\xa\11\11\11\74\x64\163\x3a\x58\65\x30\x39\104\x61\164\141\x3e\15\xa\11\11\11\74\144\163\x3a\x58\65\60\x39\103\145\x72\164\151\146\151\x63\141\164\145\76" . $gS . "\x3c\x2f\144\x73\x3a\x58\x35\60\71\103\145\162\164\x69\146\151\x63\141\x74\x65\76\15\xa\x9\x9\11\74\x2f\x64\163\72\130\65\60\x39\104\141\x74\x61\x3e\15\xa\x9\x9\x9\x3c\57\144\x73\72\x4b\145\x79\111\156\x66\157\x3e\15\xa\11\x9\x9\x3c\57\x6d\144\72\x4b\x65\171\x44\145\x73\x63\162\x69\160\x74\x6f\x72\76\xd\12\11\11\11\74\x6d\144\72\x53\x69\156\x67\154\x65\x4c\x6f\x67\157\x75\164\x53\x65\162\x76\x69\x63\x65\40\102\151\x6e\144\151\x6e\x67\x3d\x22\x75\162\156\x3a\x6f\141\x73\x69\163\x3a\x6e\141\x6d\145\x73\x3a\x74\143\x3a\123\101\x4d\114\x3a\62\56\60\x3a\x62\x69\156\x64\x69\x6e\147\163\x3a\110\124\x54\120\55\120\x4f\123\x54\x22\x20\114\x6f\143\141\x74\151\x6f\x6e\75\x22" . $Y1 . "\x22\x2f\76\xd\12\x9\x9\x9\x3c\x6d\x64\72\x53\151\x6e\147\x6c\x65\x4c\x6f\x67\157\165\x74\x53\145\x72\166\151\143\145\x20\102\x69\x6e\144\x69\x6e\x67\75\42\165\162\x6e\x3a\x6f\x61\163\151\163\72\x6e\141\x6d\145\163\72\164\143\x3a\123\x41\x4d\x4c\x3a\62\x2e\x30\72\x62\x69\x6e\x64\151\156\147\163\72\x48\x54\x54\120\55\122\x65\x64\151\162\x65\x63\x74\x22\40\x4c\157\143\141\x74\x69\x6f\156\x3d\x22" . $Y1 . "\x22\57\76\15\xa\x9\x9\x9\x3c\x6d\144\72\116\141\x6d\145\x49\104\106\x6f\x72\x6d\141\x74\x3e\165\162\156\72\x6f\141\163\151\x73\72\156\141\x6d\x65\163\x3a\164\143\72\123\101\115\x4c\x3a\61\56\x31\72\156\x61\155\145\x69\144\55\x66\x6f\162\155\141\164\x3a\145\155\141\x69\154\x41\144\x64\162\145\x73\x73\74\57\x6d\x64\72\x4e\141\155\x65\x49\x44\106\157\x72\x6d\x61\164\x3e\xd\12\11\x9\11\74\x6d\x64\x3a\x4e\x61\x6d\145\x49\x44\106\x6f\x72\155\141\164\76\165\x72\156\72\x6f\141\x73\151\x73\72\x6e\141\155\x65\163\72\x74\x63\x3a\x53\x41\x4d\x4c\72\62\56\x30\72\x6e\x61\155\x65\x69\x64\55\146\x6f\162\x6d\141\164\72\160\145\x72\163\x69\x73\164\145\156\x74\x3c\57\155\x64\72\116\141\x6d\145\x49\x44\x46\157\x72\x6d\x61\x74\76\xd\xa\x9\11\x9\74\x6d\144\x3a\116\x61\155\145\x49\104\106\157\x72\155\x61\x74\x3e\x75\x72\x6e\x3a\157\x61\163\x69\163\72\156\141\x6d\145\x73\x3a\x74\x63\72\x53\101\x4d\x4c\72\62\x2e\60\x3a\x6e\x61\155\145\151\x64\x2d\x66\157\x72\155\x61\x74\x3a\164\x72\141\x6e\x73\151\145\156\164\x3c\x2f\x6d\144\x3a\116\141\155\x65\x49\x44\x46\157\x72\155\141\164\76\15\12\11\11\11\x3c\x6d\144\72\101\163\x73\145\162\164\x69\x6f\156\x43\x6f\x6e\x73\x75\x6d\x65\162\123\x65\x72\166\x69\x63\145\40\102\x69\x6e\x64\151\156\147\75\42\165\x72\156\x3a\157\x61\x73\x69\163\72\x6e\141\x6d\x65\163\72\x74\x63\x3a\x53\101\x4d\x4c\x3a\x32\56\x30\x3a\142\151\x6e\144\x69\156\147\163\x3a\110\x54\x54\120\55\120\117\123\x54\42\40\114\157\143\x61\164\151\x6f\156\x3d\x22" . $Y1 . "\x22\40\x69\x6e\144\145\x78\75\42\61\42\57\x3e\15\xa\x9\11\x3c\x2f\x6d\x64\x3a\x53\x50\x53\x53\x4f\x44\x65\x73\x63\x72\x69\160\x74\157\162\76\15\12\11\x9\74\x6d\144\x3a\x4f\162\x67\x61\x6e\x69\172\141\x74\x69\x6f\156\x3e\xd\12\x9\11\74\x6d\144\72\117\162\147\x61\x6e\151\x7a\141\x74\151\x6f\156\x4e\x61\155\x65\40\170\155\x6c\72\154\141\x6e\147\75\x22\145\x6e\x2d\x55\x53\42\76\155\x69\156\x69\x4f\x72\141\156\147\x65\x3c\57\155\x64\72\117\162\147\x61\x6e\x69\172\x61\164\151\157\x6e\x4e\141\x6d\x65\76\15\xa\11\11\74\x6d\x64\72\117\x72\147\x61\156\x69\x7a\141\x74\x69\157\x6e\104\x69\x73\x70\154\141\171\x4e\141\155\145\x20\x78\x6d\x6c\x3a\154\x61\156\147\75\42\x65\156\55\x55\123\42\76\155\151\156\151\x4f\162\x61\x6e\x67\x65\74\57\x6d\144\x3a\x4f\162\147\x61\156\x69\x7a\141\164\151\157\156\104\151\163\x70\154\x61\x79\x4e\141\x6d\145\76\xd\12\x9\11\74\x6d\144\72\117\x72\147\x61\156\151\172\x61\164\151\x6f\156\x55\122\114\x20\170\155\154\72\x6c\x61\156\x67\75\42\145\156\x2d\125\123\42\76\x68\x74\x74\160\72\57\x2f\x6d\x69\x6e\151\157\x72\x61\156\x67\x65\56\x63\x6f\x6d\x3c\57\155\x64\72\117\162\147\x61\x6e\x69\x7a\x61\x74\x69\157\156\125\122\x4c\x3e\15\xa\11\x3c\57\x6d\144\x3a\x4f\162\x67\x61\156\151\x7a\x61\x74\151\x6f\x6e\x3e\15\12\11\74\155\144\x3a\x43\157\156\164\x61\x63\x74\120\x65\x72\163\157\x6e\40\143\x6f\156\x74\141\143\164\x54\171\160\x65\x3d\x22\164\x65\x63\150\156\151\143\x61\154\x22\76\15\xa\x9\74\155\x64\72\107\x69\x76\145\x6e\116\x61\x6d\x65\x3e\155\151\x6e\151\x4f\162\x61\156\x67\145\x3c\57\x6d\144\x3a\x47\151\x76\145\156\116\x61\155\145\x3e\xd\xa\x9\x3c\x6d\x64\72\105\155\141\151\154\x41\x64\144\x72\145\x73\x73\76\151\156\146\157\100\x78\145\x63\x75\x72\x69\x66\x79\56\143\157\x6d\74\x2f\155\x64\72\x45\x6d\x61\x69\x6c\101\144\x64\x72\x65\163\x73\76\xd\xa\74\57\x6d\144\x3a\x43\157\156\x74\141\143\164\120\x65\162\x73\157\x6e\76\15\xa\x3c\x6d\x64\x3a\103\157\x6e\x74\141\x63\164\x50\145\x72\x73\157\x6e\x20\x63\157\x6e\164\x61\143\164\x54\x79\x70\145\75\x22\x73\x75\x70\x70\157\162\164\42\76\15\12\x3c\155\x64\72\x47\x69\166\x65\156\x4e\141\x6d\145\76\155\151\156\151\117\x72\141\x6e\x67\145\74\57\155\144\x3a\107\x69\x76\145\x6e\116\141\x6d\145\x3e\xd\12\74\155\x64\72\x45\x6d\x61\x69\154\x41\144\144\x72\145\x73\x73\76\x69\156\x66\x6f\100\x78\x65\143\x75\162\x69\146\171\x2e\143\x6f\x6d\74\x2f\x6d\x64\72\105\x6d\141\151\154\x41\144\144\x72\x65\163\163\76\xd\xa\x3c\57\155\144\x3a\103\x6f\156\x74\x61\x63\164\120\x65\x72\163\x6f\x6e\76\xd\xa\x3c\x2f\155\x64\72\x45\156\x74\x69\x74\171\104\x65\163\x63\162\151\x70\x74\157\162\x3e";
exit;
}
function mo_saml_get_test_url($mb = false)
{
$tX = get_network_site_url() . "\x2f\x3f\157\160\164\x69\x6f\156\x3d\164\x65\x73\164\103\x6f\156\x66\151\x67";
$w_ = $mb ? $tX . "\x26\156\x65\x77\x63\x65\162\164\75\164\162\165\145" : $tX;
return $w_;
}
function mo_saml_get_saml_request_url()
{
$tX = home_url() . "\57\x3f\x6f\x70\164\x69\157\x6e\75\147\x65\x74\163\x61\x6d\154\162\x65\161\165\x65\163\164";
return $tX;
}
function mo_saml_get_saml_response_url()
{
$tX = home_url() . "\57\x3f\x6f\x70\x74\x69\157\x6e\75\x67\145\164\163\141\155\x6c\162\145\163\x70\x6f\x6e\x73\145";
return $tX;
}
function mo_saml_get_attribute_mapping_url()
{
return add_query_arg(array("\x74\141\x62" => "\x61\x74\x74\162\151\x62\x75\164\145\137\162\157\154\x65"), $_SERVER["\x52\105\x51\x55\x45\123\x54\137\125\x52\111"]);
}
function mo_check_certificate_expiry()
{
$rx = openssl_x509_parse(get_site_option("\155\157\137\x73\x61\155\154\x5f\x63\x75\x72\162\145\156\164\137\x63\145\x72\x74"))["\x76\x61\154\x69\144\x54\x6f\x5f\164\151\155\x65\137\x74"];
$Bt = $rx - time();
$eW = round($Bt / (60 * 60 * 24));
return $eW < 60;
}
function mo_saml_roll_back_available()
{
return get_site_option("\x6d\157\x5f\x73\x61\155\154\x5f\x63\145\x72\164\x69\146\x69\143\141\164\145\137\162\x6f\x6c\154\137\142\x61\143\153\x5f\141\x76\141\151\154\x61\142\x6c\145");
}
function mo_saml_is_customer_registered_saml()
{
$ni = get_site_option("\x6d\x6f\x5f\163\141\155\x6c\137\x61\x64\x6d\x69\156\137\x65\x6d\141\x69\x6c");
$LV = get_site_option("\x6d\x6f\137\163\141\155\x6c\x5f\141\x64\x6d\x69\156\137\x63\165\x73\164\x6f\x6d\x65\162\137\x6b\145\171");
if (!$ni || !$LV || !is_numeric(trim($LV))) {
goto qpc;
}
return 1;
goto tYl;
qpc:
return 0;
tYl:
}
function mo_saml_is_trial_active()
{
$ni = get_site_option("\155\x6f\137\163\141\x6d\154\137\141\144\x6d\151\x6e\137\145\155\x61\x69\x6c");
$LV = get_site_option("\155\157\137\x73\141\x6d\x6c\x5f\x61\144\155\x69\x6e\x5f\143\165\x73\164\157\x6d\x65\162\x5f\153\x65\x79");
$tK = get_site_option("\x6d\157\x5f\x73\x61\155\x6c\137\x63\165\x73\164\x6f\x6d\145\x72\137\164\x6f\153\x65\156");
$mp = AESEncryption::decrypt_data(get_site_option("\x74\x5f\x73\151\164\x65\137\163\x74\141\164\x75\x73"), $tK);
if ($mp != "\164\x72\165\x65" || !$ni || !$LV || !is_numeric(trim($LV))) {
goto SKr;
}
return 1;
goto gim;
SKr:
return 0;
gim:
}
function mo_saml_trial_expiry()
{
$Lb = DateTime::createFromFormat("\x59\55\155\55\144\x20\110\x3a\151\72\x73\x2e\165", sanitize_element());
return $Lb->format("\106\40\152\54\40\131\54\40\x47\x3a\151\x3a\163");
}
function check_plugin_state()
{
echo "\74\164\162\x3e";
if (!mo_saml_is_customer_registered_saml()) {
goto sEY;
}
if (!mo_saml_is_customer_license_key_verified()) {
goto lQc;
}
if (!mo_saml_is_trial_active()) {
goto TJT;
}
echo "\x3c\164\144\40\143\157\x6c\163\x70\141\x6e\75\x22\62\x22\x3e\74\x64\151\x76\x20\163\x74\171\x6c\145\x3d\x22\144\x69\163\x70\154\141\x79\x3a\142\154\x6f\x63\x6b\73\155\141\x72\147\151\x6e\55\x74\x6f\x70\x3a\61\60\x70\170\73\x63\x6f\x6c\x6f\x72\x3a\162\x65\x64\x3b\x62\x61\x63\x6b\x67\x72\x6f\x75\156\144\x2d\143\157\x6c\x6f\162\x3a\162\147\142\141\x28\x32\x35\x31\54\40\62\63\x32\x2c\x20\60\x2c\40\60\56\x31\x35\x29\x3b\160\x61\144\x64\151\x6e\x67\x3a\x35\160\170\73\142\x6f\162\x64\x65\162\72\x73\157\x6c\151\144\40\x31\160\170\x20\x72\x67\142\141\50\62\65\65\54\x20\60\x2c\x20\x39\54\x20\x30\56\63\x36\x29\73\42\x3e\x59\157\165\x20\x61\x72\145\40\x6f\x6e\40\124\x72\x69\x61\154\40\166\145\162\x73\151\x6f\156\x20\x6f\x66\40\164\x68\x65\40\160\x6c\x75\147\x69\x6e\40\141\x6e\144\x20\x69\x74\x20\x77\151\x6c\154\x20\x65\x78\160\x69\x72\145\40\x6f\156\40\74\163\160\x61\x6e\40\163\x74\x79\154\x65\x3d\42\x63\x6f\154\157\162\72\43\x30\x30\x37\x33\141\141\x22\76";
echo mo_saml_trial_expiry();
echo "\56\40\x3c\57\163\x70\141\x6e\76";
if (site_check()) {
goto CM5;
}
echo "\111\x66\x20\171\157\165\40\150\x61\x76\x65\40\141\154\x72\145\x61\x64\x79\x20\160\165\162\143\x68\141\163\x65\144\40\x74\150\x65\40\154\151\x63\145\156\163\x65\x20\74\x61\40\x68\162\145\x66\75\42\x23\141\x63\x74\x69\x76\x61\x74\x65\x6c\151\143\x65\x6e\x73\145\x22\x3e\143\x6c\151\x63\x6b\40\150\x65\x72\x65\x20\164\157\40\141\143\x74\x69\x76\x61\164\x65\x3c\57\141\x3e\x2e";
goto TQa;
CM5:
echo "\x3c\141\40\x68\x72\145\146\x3d\42" . add_query_arg(array("\x74\141\142" => "\154\x6f\x67\151\x6e"), $_SERVER["\x52\x45\x51\x55\105\x53\x54\x5f\x55\122\111"]) . "\42\76\103\x6c\151\143\153\40\x68\x65\162\145\x3c\x2f\141\76\x20\x74\157\x20\x61\x63\x74\x69\166\x61\x74\145\40\171\x6f\165\162\40\x6c\x69\143\x65\156\163\145\x2e";
TQa:
echo "\x3c\57\144\x69\x76\76\x3c\x2f\x74\x64\x3e";
TJT:
goto IKN;
lQc:
echo "\x3c\x74\144\x20\143\x6f\x6c\163\160\x61\x6e\75\x22\x32\42\x3e\x3c\144\x69\x76\x20\x73\x74\171\154\145\75\x22\144\x69\163\160\154\x61\171\72\x62\x6c\157\x63\153\x3b\155\141\x72\x67\x69\x6e\55\x74\157\x70\72\61\60\x70\170\73\143\157\154\157\x72\72\162\x65\144\x3b\x62\x61\143\153\147\162\x6f\x75\156\144\55\143\x6f\154\157\162\72\162\x67\x62\141\x28\x32\x35\61\54\40\62\63\x32\54\40\60\x2c\40\x30\56\x31\x35\51\73\x70\x61\x64\x64\151\156\147\72\65\160\170\x3b\x62\x6f\162\x64\145\x72\72\x73\x6f\x6c\x69\144\x20\61\x70\170\x20\x72\x67\x62\x61\50\x32\65\65\x2c\40\x30\54\x20\x39\54\x20\60\56\x33\66\51\x3b\x22\x3e";
if (signElement() && !site_check()) {
goto hSK;
}
echo "\120\154\x65\x61\x73\x65\40\x65\x6e\164\x65\162\40\171\x6f\x75\162\74\141\x20\150\x72\145\x66\75\42" . add_query_arg(array("\x74\141\x62" => "\154\x6f\147\151\x6e"), $_SERVER["\x52\105\121\x55\x45\x53\x54\137\x55\x52\x49"]) . "\42\x3e\x20\x6c\x69\x63\145\156\163\145\40\153\x65\x79\x3c\x2f\141\76\x20\x74\157\40\141\143\x74\x69\166\x61\x74\x65\40\164\150\145\40\160\154\165\x67\x69\x6e\x2e";
goto g8n;
hSK:
echo "\x3c\x61\40\x68\162\145\x66\75\x22" . add_query_arg(array("\x74\x61\142" => "\x6c\x6f\x67\151\x6e"), $_SERVER["\122\105\121\125\x45\x53\x54\137\x55\x52\x49"]) . "\x22\76\x43\154\151\143\153\x20\x68\x65\162\x65\74\57\x61\76\40\x74\x6f\x20\141\x63\164\x69\x76\x61\164\145\40\x79\157\165\x72\x20\x35\x20\x64\x61\x79\x73\x20\106\x52\105\105\40\x54\x72\x69\x61\154\40\146\x6f\x72\40\164\150\x65\40\x70\x6c\x75\x67\151\x6e\56";
g8n:
echo "\74\x2f\144\151\166\76\x3c\57\x74\x64\x3e";
IKN:
goto FpV;
sEY:
echo "\x3c\164\144\x20\x63\x6f\154\x73\x70\141\156\x3d\x22\62\42\76\x3c\x64\x69\x76\x20\163\x74\171\154\x65\75\x22\x64\x69\x73\x70\154\x61\171\72\x62\154\157\x63\153\x3b\x6d\x61\162\147\x69\x6e\x2d\x74\157\160\72\x31\60\160\x78\x3b\143\x6f\154\157\x72\x3a\x72\145\144\73\142\141\143\x6b\x67\x72\x6f\x75\x6e\x64\55\143\157\x6c\157\162\72\162\147\142\141\50\x32\x35\61\x2c\40\x32\63\62\x2c\x20\60\x2c\x20\60\56\x31\x35\51\x3b\160\x61\144\x64\151\156\x67\x3a\65\x70\x78\73\x62\157\x72\144\145\x72\72\x73\x6f\x6c\151\144\40\61\160\170\40\x72\147\x62\141\x28\x32\65\65\54\40\x30\54\40\71\54\x20\60\x2e\x33\x36\51\73\42\x3e\x50\x6c\145\x61\163\x65\x20\x3c\x61\x20\150\162\145\x66\75\x22" . add_query_arg(array("\164\141\142" => "\154\x6f\147\x69\x6e"), $_SERVER["\x52\x45\121\125\x45\x53\124\x5f\x55\x52\111"]) . "\x22\x3e\122\x65\x67\x69\163\164\145\x72\40\x6f\162\x20\114\x6f\147\x69\x6e\x20\x77\x69\164\x68\x20\155\151\156\151\x4f\162\x61\156\147\145\74\x2f\141\x3e\x20\x74\x6f\40\x63\x6f\156\146\x69\147\165\162\145\40\x74\150\x65\40\155\x69\156\151\117\x72\141\x6e\x67\x65\x20\x53\101\x4d\114\x20\120\x6c\165\147\151\156\56\x3c\57\144\x69\166\x3e\x3c\57\x74\144\76";
FpV:
echo "\74\x2f\x74\x72\x3e";
}
function mo_saml_display_account_information()
{
echo "\x3c\144\151\166\40\x73\164\x79\x6c\x65\x3d\x22\142\x61\143\153\147\162\x6f\165\156\144\x2d\x63\x6f\154\157\162\72\43\106\106\106\106\x46\106\x3b\40\142\x6f\x72\144\x65\162\72\61\x70\170\x20\x73\157\154\x69\144\x20\x23\103\103\x43\103\103\103\73\x20\160\141\144\x64\x69\x6e\x67\72\60\160\x78\40\60\160\170\x20\60\160\x78\40\61\60\x70\x78\73\42\x3e\15\12\x9\x3c\x64\151\166\x3e\xd\12\11\x3c\150\63\x3e\131\157\165\x72\x20\120\162\157\x66\151\x6c\145";
if (!get_site_option("\163\155\x6c\x5f\154\153")) {
goto IQb;
}
echo "\x3c\x73\160\x61\x6e\x20\163\x74\171\154\x65\x3d\x22\146\154\157\x61\164\72\x72\151\x67\150\x74\73\x6d\141\x72\x67\151\x6e\55\162\x69\x67\x68\x74\x3a\61\65\160\x78\73\42\x3e\74\x69\x6e\160\165\x74\40\164\x79\x70\145\75\x22\x62\x75\164\x74\157\156\42\x20\156\x61\155\x65\x3d\42\157\153\137\x62\x74\x6e\42\40\x63\154\x61\163\x73\x3d\x22\142\165\164\164\157\156\40\142\165\x74\x74\157\x6e\x2d\160\162\151\x6d\141\162\x79\40\x62\165\164\x74\157\156\x2d\154\141\162\x67\x65\42\40\166\141\154\165\145\x3d\42\103\157\156\x66\151\x72\155\x20\x4c\x69\143\145\156\163\145\42\40\x6f\x6e\143\154\151\x63\x6b\75\x22\x63\x6f\x6e\146\x69\162\155\x6c\151\143\145\x6e\x73\x65\x66\157\x72\155\x28\x29\42\x20\57\x3e\15\xa\11\x9\11\46\x6e\142\163\x70\x3b\x26\x6e\142\x73\x70\x3b\x3c\151\x6e\160\165\164\40\x74\x79\x70\x65\75\x22\x62\165\x74\x74\x6f\156\x22\x20\156\141\x6d\145\x3d\x22\x6f\153\x5f\142\x74\x6e\42\40\143\154\141\x73\163\x3d\42\142\165\x74\x74\x6f\156\40\142\x75\x74\x74\157\x6e\x2d\x70\162\151\155\141\x72\171\40\x62\165\x74\x74\157\x6e\x2d\x6c\x61\162\147\145\x22\x20\x76\x61\x6c\165\x65\x3d\x22\x47\145\x74\x20\x4c\x69\x63\x65\x6e\x73\x65\x20\x4b\145\x79\163\x22\40\157\x6e\143\x6c\151\x63\x6b\x3d\42\x67\x65\164\154\x69\x63\x65\156\x73\x65\153\145\x79\163\x66\157\162\155\x28\x29\x22\40\57\x3e\x3c\57\x68\x33\76\x3c\x2f\x64\x69\166\x3e";
IQb:
echo "\74\146\x6f\162\155\x20\x73\164\171\x6c\x65\75\42\144\x69\x73\160\x6c\x61\171\72\x6e\x6f\x6e\x65\73\x22\x20\151\144\x3d\42\x6c\151\143\145\x6e\x73\x65\x66\x6f\x72\155\42\x20\x61\143\x74\151\x6f\156\75\x22" . mo_options_plugin_constants::HOSTNAME . "\x2f\155\x6f\141\163\57\154\157\147\151\156\x22\xd\12\11\x9\x74\141\x72\x67\x65\164\x3d\42\137\142\x6c\x61\x6e\153\x22\x20\155\145\x74\150\157\144\x3d\42\x70\x6f\x73\x74\x22\76\xd\12\x9\11\74\151\156\160\x75\x74\x20\164\171\x70\x65\75\42\145\x6d\141\151\154\42\40\156\x61\x6d\x65\x3d\x22\165\x73\x65\162\156\141\155\x65\x22\40\x76\141\x6c\165\145\75\42" . get_site_option("\x6d\157\x5f\x73\x61\155\x6c\x5f\141\x64\x6d\151\156\x5f\145\155\141\x69\154") . "\42\x20\57\x3e\xd\xa\11\x9\74\x69\x6e\x70\x75\x74\x20\164\x79\x70\x65\75\42\164\x65\x78\164\x22\x20\156\x61\155\145\x3d\x22\x72\x65\x64\151\162\x65\x63\164\x55\x72\154\42\x20\x76\141\154\x75\x65\75\42" . mo_options_plugin_constants::HOSTNAME . "\57\155\157\141\x73\x2f\151\x6e\x69\x74\x69\141\154\x69\x7a\x65\x70\141\171\155\x65\x6e\x74\42\40\57\76\x3c\151\x6e\x70\165\x74\x20\164\171\160\x65\75\x22\x74\x65\170\x74\42\40\156\x61\155\145\75\x22\162\145\x71\x75\145\x73\164\117\x72\x69\x67\151\156\x22\40\x69\x64\x3d\x22\162\145\x71\165\x65\163\x74\117\162\x69\147\x69\x6e\x32\42\40\40\x2f\x3e\xd\12\x9\11\x3c\57\146\157\x72\155\x3e\xd\12\x9\11\74\146\x6f\x72\x6d\x20\x6e\141\x6d\x65\x3d\42\x66\42\x20\x6d\145\x74\150\157\144\75\42\x70\157\163\x74\42\40\x61\143\164\151\x6f\x6e\x3d\x22\42\40\x69\144\75\42\x6d\157\137\163\141\155\154\137\143\x68\x65\143\x6b\137\x6c\151\143\145\156\x73\x65\x22\x3e";
wp_nonce_field("\x6d\x6f\x5f\163\141\x6d\154\x5f\x63\150\145\143\x6b\x5f\154\x69\143\x65\x6e\163\145");
echo "\74\x69\156\x70\x75\x74\40\164\x79\x70\x65\x3d\42\x68\x69\144\x64\x65\x6e\x22\x20\x6e\x61\x6d\x65\x3d\x22\x6f\160\x74\151\x6f\x6e\42\40\166\x61\154\x75\x65\x3d\x22\155\157\137\x73\x61\x6d\154\137\x63\150\145\x63\153\x5f\154\x69\x63\x65\156\163\145\42\x2f\x3e\xd\xa\x9\11\x3c\x2f\x66\157\x72\x6d\76\xd\12\11\11\x3c\163\x63\x72\151\x70\x74\x3e\15\12\xd\12\x9\x9\x9\146\165\x6e\x63\x74\x69\157\x6e\x20\143\x6f\156\x66\151\162\155\154\151\x63\x65\156\163\145\x66\x6f\x72\155\50\x29\x20\173\15\xa\x9\x9\x9\11\x6a\121\165\x65\x72\x79\50\42\x23\x6d\x6f\137\163\141\155\154\137\x63\150\x65\x63\x6b\137\154\151\143\x65\156\163\145\42\x29\56\x73\165\x62\155\151\x74\x28\x29\73\15\12\11\11\11\x7d\15\12\11\11\x3c\57\x73\143\x72\151\160\164\76";
echo "\x3c\164\x61\x62\x6c\145\x20\142\157\162\144\x65\x72\75\x22\61\x22\x20\x73\164\171\154\x65\75\42\142\x61\x63\x6b\x67\x72\157\165\156\144\55\x63\x6f\x6c\157\x72\x3a\43\106\x46\106\x46\106\x46\x3b\x20\142\157\162\x64\x65\162\x3a\61\160\170\40\163\157\x6c\151\144\40\x23\103\103\103\103\103\x43\x3b\x20\x62\x6f\162\x64\x65\162\x2d\143\x6f\154\x6c\x61\160\x73\145\x3a\x20\143\x6f\154\x6c\141\x70\163\x65\x3b\40\160\x61\x64\x64\151\156\147\x3a\60\x70\170\40\60\160\x78\40\x30\160\x78\x20\x31\x30\160\x78\x3b\x20\155\141\x72\147\x69\156\72\x32\160\170\73\x20\x77\151\x64\x74\150\x3a\70\x35\x25\42\76\15\12\x9\x9\74\164\162\76\15\12\11\x9\11\x3c\x74\144\x20\163\164\x79\154\145\x3d\42\x77\x69\x64\x74\150\x3a\x34\65\x25\x3b\40\x70\141\x64\144\151\156\147\x3a\x20\x31\x30\160\170\73\x22\76\155\x69\x6e\x69\x4f\x72\x61\156\147\x65\x20\101\x63\x63\x6f\x75\x6e\164\40\105\155\141\151\x6c\74\57\x74\x64\76\xd\12\11\x9\x9\74\164\x64\40\163\x74\171\154\145\75\x22\x77\x69\144\164\150\x3a\65\65\45\73\x20\160\141\144\144\151\x6e\x67\72\40\x31\60\160\170\73\42\x3e" . get_site_option("\x6d\x6f\137\163\x61\155\154\x5f\x61\144\x6d\151\x6e\137\x65\155\141\151\154") . "\x3c\57\x74\x64\x3e\xd\xa\11\x9\x3c\57\164\162\x3e\15\12\11\11\x3c\164\x72\76\xd\12\11\x9\11\74\x74\144\x20\163\x74\171\154\145\x3d\42\167\x69\144\x74\x68\x3a\64\x35\45\73\x20\x70\x61\144\144\x69\x6e\147\x3a\x20\x31\x30\160\x78\x3b\42\x3e\103\165\x73\x74\x6f\155\x65\x72\40\x49\104\74\x2f\x74\144\76\15\12\x9\x9\x9\74\x74\144\x20\163\164\x79\154\x65\75\x22\x77\151\144\x74\150\72\x35\65\x25\x3b\40\160\x61\144\x64\151\156\x67\x3a\40\61\x30\x70\170\x3b\42\76" . get_site_option("\x6d\157\x5f\163\x61\x6d\x6c\137\x61\x64\x6d\x69\156\x5f\143\165\163\x74\x6f\155\x65\x72\137\x6b\145\x79") . "\74\57\x74\144\x3e\15\12\x9\x9\x3c\57\164\162\x3e\15\xa\15\xa\x9\x3c\57\x74\141\x62\154\x65\x3e\15\xa\11\74\144\x69\166\40\163\x74\x79\x6c\x65\x3d\x22\x64\151\x73\x70\154\141\171\x3a\x62\154\x6f\143\x6b\73\x74\x65\x78\164\55\x61\154\x69\147\x6e\72\143\x65\156\164\145\162\x3b\155\141\x72\147\x69\156\x3a\62\45\x3b\40\x6d\x61\162\x67\151\156\x2d\154\x65\x66\164\x3a\x20\x2d\61\60\45\42\x3e\xd\12\x9\x3c\151\x6e\x70\x75\164\40\x74\x79\160\x65\75\x22\142\165\x74\164\157\156\x22\x20\156\x61\155\x65\75\x22\x6d\x6f\137\x73\141\155\x6c\137\x72\145\x6d\157\166\145\137\x61\x63\143\x6f\x75\x6e\164\42\x20\x69\144\x3d\x22\x6d\x6f\x5f\x73\141\x6d\154\137\x72\145\155\x6f\166\145\137\141\x63\x63\x6f\165\x6e\164\x22\x20\x76\x61\154\165\x65\75\x22\122\145\x6d\x6f\166\145\x20\101\x63\143\x6f\165\156\x74\42\40\143\x6c\x61\163\x73\x3d\x22\x62\165\164\164\x6f\x6e\x20\x62\x75\x74\164\157\x6e\x2d\160\162\151\x6d\141\162\x79\x20\142\x75\x74\x74\157\x6e\55\154\x61\162\147\x65\42\x20\x2f\76\xd\xa\11\74\x2f\x64\x69\166\x3e\xd\12\x3c\x2f\144\151\x76\76\74\142\x72\57\x3e";
if (!get_site_option("\x6d\157\137\163\141\155\154\x5f\154\151\143\145\x6e\x73\145\x5f\x65\x78\x70\151\x72\x79\x5f\144\x61\164\x65")) {
goto bFE;
}
echo "\x3c\x64\151\166\x20\163\164\x79\x6c\145\x3d\42\x62\141\143\153\147\162\x6f\x75\156\x64\55\143\x6f\x6c\x6f\x72\72\x23\x46\106\106\106\106\x46\x3b\40\x62\157\x72\x64\x65\162\72\x31\160\x78\40\163\x6f\154\151\144\x20\43\103\103\103\103\x43\x43\73\x20\x70\141\x64\144\151\156\x67\72\x30\x70\170\x20\x30\160\170\40\x30\160\x78\40\x31\x30\x70\x78\73\42\76\x3c\x68\x33\x3e\114\151\x63\145\x6e\163\145\x20\x44\x65\x74\141\x69\x6c\163\74\57\x68\63\76\xd\xa\x9\11\74\164\x61\x62\x6c\145\40\x62\x6f\x72\x64\145\x72\75\x22\x31\42\x20\163\x74\171\x6c\145\x3d\x22\x62\x61\x63\153\147\x72\157\165\156\x64\x2d\143\x6f\x6c\157\x72\72\43\106\x46\106\x46\106\106\73\x20\142\x6f\162\x64\x65\x72\72\61\160\170\40\x73\x6f\x6c\x69\144\x20\43\x43\103\x43\103\103\103\73\x20\142\x6f\x72\x64\x65\x72\55\x63\x6f\154\154\141\x70\x73\x65\72\x20\143\157\154\x6c\141\x70\x73\145\73\40\160\141\x64\144\151\x6e\147\72\x30\160\x78\x20\x30\160\x78\x20\60\160\170\x20\x31\60\160\x78\73\40\x6d\x61\x72\147\x69\x6e\x3a\x32\160\170\73\x20\x77\x69\x64\164\x68\x3a\70\65\x25\42\x3e\xd\12\x9\11\x9\74\164\162\x3e\xd\xa\x9\11\x9\x9\74\164\x64\x20\x73\164\171\154\145\x3d\42\167\151\x64\x74\150\x3a\x34\65\45\73\40\160\x61\144\x64\151\x6e\x67\x3a\x20\x31\60\160\x78\x3b\42\x3e\114\x69\x63\145\156\x73\x65\40\x45\x78\160\151\x72\x79\40\104\141\164\145\x3c\x2f\164\144\x3e\15\xa\x9\11\11\x9\x3c\164\x64\40\x73\164\171\154\x65\75\42\167\x69\144\164\150\72\65\65\45\73\40\160\x61\144\x64\x69\156\147\x3a\40\61\x30\160\170\73\x22\76" . get_site_option("\x6d\157\x5f\163\141\x6d\154\x5f\x6c\151\x63\x65\156\163\145\137\145\170\x70\151\x72\171\x5f\x64\141\164\x65") . "\x3c\x2f\x74\x64\76\xd\xa\11\x9\11\x3c\x2f\164\162\x3e\15\xa\x9\x9\x9\74\x74\162\76\15\xa\11\x9\11\11\x3c\x74\x64\40\x73\164\x79\154\x65\75\x22\167\x69\x64\x74\x68\72\64\65\x25\73\40\160\x61\144\x64\151\156\x67\x3a\40\61\x30\160\170\x3b\42\x3e\114\x69\x63\145\x6e\x73\x65\x20\122\x65\x6e\145\x77\x61\x6c\40\x4c\151\x6e\x6b\40\x3c\x2f\164\144\76\xd\xa\11\x9\11\11\74\x74\x64\x20\x73\164\x79\x6c\145\75\42\167\x69\144\x74\150\72\x35\x35\45\73\x20\x70\141\x64\x64\151\x6e\x67\72\x20\61\60\x70\x78\x3b\x22\76\x3c\141\x20\150\162\x65\x66\x3d\x22" . mo_options_plugin_constants::HOSTNAME . "\x2f\x6d\157\141\163\x2f\154\x6f\147\151\156\x3f\162\x65\144\x69\x72\x65\143\x74\x55\x72\154\75" . mo_options_plugin_constants::HOSTNAME . "\57\155\x6f\x61\x73\57\141\x64\155\151\x6e\57\143\x75\x73\164\157\155\x65\x72\x2f\x6c\x69\143\145\x6e\163\x65\162\145\156\x65\167\141\x6c\x73\x3f\x72\x65\156\145\167\141\x6c\x72\x65\161\165\x65\163\164\x3d" . mo_options_plugin_constants::LICENSE_TYPE . "\x22\40\143\x6c\141\163\163\75\42\142\x75\164\164\157\156\x20\142\x75\x74\164\157\156\55\x70\162\x69\155\141\162\x79\x22\x20\164\141\162\x67\145\164\x3d\x22\137\x62\154\141\x6e\x6b\x22\x3e\122\x65\156\145\x77\40\x79\157\165\162\40\163\x75\160\x70\157\x72\164\x20\x6c\x69\143\x65\156\x73\x65\74\x2f\x61\x3e\x2e\74\x2f\x74\144\76\15\12\11\x9\11\74\57\164\162\x3e\15\12\11\15\12\x9\11\x3c\57\164\x61\x62\x6c\145\76\74\x62\162\40\57\x3e\74\x62\162\x20\57\76\74\57\144\x69\x76\76";
bFE:
echo "\15\xa\74\146\157\x72\x6d\x20\x6e\141\155\145\x3d\x22\x66\42\40\155\x65\164\x68\157\x64\x3d\42\160\x6f\163\x74\x22\40\141\143\164\x69\157\156\x3d\x22\42\40\151\144\75\x22\x6d\157\x5f\163\x61\x6d\x6c\137\162\145\155\157\x76\x65\x5f\x61\143\143\157\165\156\x74\137\146\x6f\x72\x6d\x22\76";
wp_nonce_field("\155\x6f\x5f\163\141\155\x6c\137\147\x6f\x5f\142\141\143\x6b");
echo "\74\x69\x6e\160\x75\x74\40\x74\171\160\x65\x3d\x22\x68\151\144\x64\145\156\x22\x20\156\x61\x6d\145\75\x22\157\160\x74\x69\x6f\x6e\42\x20\x76\141\x6c\165\x65\75\x22\x6d\157\137\x73\x61\155\x6c\137\x67\x6f\137\x62\x61\x63\153\42\57\76\15\xa\74\57\x66\157\x72\155\76\xd\12\74\163\143\x72\151\160\164\x3e\15\xa\x6a\121\x75\x65\x72\171\50\x22\x23\155\x6f\x5f\x73\x61\x6d\154\137\162\145\155\x6f\166\x65\x5f\x61\x63\143\x6f\165\156\x74\x22\x29\x2e\x63\154\x69\143\x6b\50\x66\x75\156\143\164\151\x6f\156\x28\x29\173\xd\xa\11\152\121\165\145\x72\171\x28\x22\x23\x6d\157\x5f\163\x61\x6d\154\137\162\145\x6d\x6f\x76\145\x5f\x61\x63\x63\x6f\x75\x6e\x74\137\x66\x6f\x72\x6d\x22\51\x2e\x73\165\x62\x6d\151\x74\x28\51\73\xd\12\175\51\73\xd\12\74\x2f\x73\x63\x72\151\x70\x74\76";
}
function mo_saml_is_customer_license_key_verified($g4 = false)
{
$tK = get_site_option("\x6d\x6f\137\x73\141\155\x6c\137\143\165\x73\x74\157\155\x65\162\137\x74\157\153\x65\156");
$mp = AESEncryption::decrypt_data(get_site_option("\164\x5f\x73\151\164\x65\137\x73\x74\x61\x74\165\163"), $tK);
$G_ = get_site_option("\163\x6d\x6c\137\154\x6b");
$ni = get_site_option("\155\157\137\163\x61\x6d\154\x5f\x61\144\155\x69\156\x5f\145\155\x61\x69\x6c");
$LV = get_site_option("\x6d\x6f\137\x73\141\x6d\154\x5f\141\x64\155\151\156\x5f\143\x75\163\x74\x6f\x6d\x65\x72\x5f\153\x65\x79");
$gt = AESEncryption::decrypt_data(get_site_option("\x6e\157\x5f\x73\x62\163"), $tK);
$j8 = false;
if (!get_site_option("\156\x6f\x5f\x73\x62\x73")) {
goto OIV;
}
$oL = Utilities::get_sites();
$j8 = $gt < count($oL);
OIV:
if ($mp != "\x74\162\165\145" && !$G_ || !$ni || !$LV || !is_numeric(trim($LV)) || $j8) {
goto rSr;
}
return $g4 ? '' : 1;
goto b7m;
rSr:
return $g4 ? "\144\x69\x73\141\142\154\x65\x64" : 0;
b7m:
}
function mo_saml_display_attrs_list()
{
$gi = maybe_unserialize(get_site_option("\155\157\x5f\x73\x61\155\x6c\x5f\164\145\x73\x74\137\x63\157\156\x66\x69\147\x5f\x61\x74\x74\162\x73"));
if (empty($gi)) {
goto hMG;
}
echo "\74\144\x69\166\x20\143\x6c\x61\163\163\x3d\x22\155\x6f\x5f\x73\141\x6d\154\137\163\x75\x70\x70\x6f\162\x74\137\154\x61\171\x6f\165\x74\x22\40\x73\x74\171\x6c\x65\75\x22\160\x61\x64\x64\151\x6e\147\x2d\x62\157\164\164\x6f\x6d\72\62\60\160\x78\x3b\40\160\141\144\144\151\156\147\55\x72\x69\x67\x68\x74\x3a\x35\160\170\x3b\x22\x3e\15\12\x9\11\x3c\150\63\76\x41\164\164\x72\151\x62\x75\164\145\x73\x20\x72\145\143\145\x69\166\x65\144\40\146\x72\157\155\40\164\150\145\40\x49\144\145\156\164\151\x74\171\40\120\162\157\x76\151\x64\x65\x72\72\74\x2f\150\63\x3e\15\12\x9\11\11\11\x3c\x64\x69\166\76\15\xa\x9\11\x9\x9\11\74\164\141\x62\x6c\145\x20\x73\x74\x79\154\145\x3d\x22\x62\x6f\x72\144\x65\162\55\x63\x6f\x6c\154\141\x70\163\x65\72\143\x6f\x6c\154\x61\160\163\x65\x3b\x62\157\x72\144\145\x72\x2d\x73\160\x61\143\151\156\147\x3a\x30\x3b\164\141\x62\x6c\x65\55\x6c\141\171\157\x75\x74\72\40\x66\x69\170\x65\144\x3b\x20\167\x69\144\x74\x68\x3a\40\x39\65\x25\73\142\x61\x63\x6b\147\162\x6f\165\x6e\144\55\143\157\x6c\x6f\162\72\x23\x66\x66\x66\146\x66\x66\73\42\x3e\xd\12\11\11\x9\x9\11\74\164\162\40\163\164\x79\154\x65\75\42\x74\x65\x78\164\55\141\x6c\151\x67\156\72\x63\x65\x6e\164\x65\x72\73\x22\x3e\74\164\x64\x20\x73\164\x79\154\145\x3d\x22\146\x6f\156\164\x2d\167\145\x69\147\150\x74\72\142\157\154\x64\73\142\x6f\162\x64\145\x72\x3a\x31\160\170\40\163\x6f\x6c\x69\x64\40\43\x39\x34\x39\x30\x39\x30\x3b\160\x61\x64\x64\151\x6e\x67\x3a\x32\x25\73\40\x77\x69\144\x74\x68\x3a\66\65\45\73\42\x3e\x41\124\124\122\x49\102\125\124\x45\x20\116\101\x4d\105\74\x2f\164\144\76\x3c\164\x64\x20\163\164\x79\154\145\x3d\x22\146\157\156\164\x2d\x77\x65\151\147\150\x74\72\x62\x6f\x6c\144\73\x70\141\144\x64\x69\x6e\x67\x3a\62\45\x3b\142\x6f\162\x64\145\x72\72\x31\160\x78\x20\163\157\154\x69\144\40\43\71\64\x39\x30\71\x30\x3b\40\x77\x6f\x72\144\55\167\162\x61\160\72\142\162\x65\141\153\x2d\x77\x6f\162\x64\x3b\40\x77\x69\144\164\150\x3a\x33\65\45\73\x22\x3e\x41\124\124\x52\111\x42\x55\124\x45\x20\x56\x41\x4c\125\x45\74\57\164\144\x3e\74\x2f\164\162\76";
foreach ($gi as $b5 => $El) {
echo "\74\x74\162\40\x73\x74\x79\x6c\x65\75\42\164\x65\170\x74\55\x61\x6c\x69\147\x6e\x3a\143\x65\156\x74\x65\x72\73\42\x3e\74\164\144\x20\x73\x74\x79\154\145\x3d\x22\x66\x6f\156\164\x2d\x77\145\x69\147\150\x74\72\x62\157\154\x64\73\142\157\162\144\145\x72\x3a\61\160\x78\40\163\x6f\x6c\151\x64\x20\x23\x39\64\x39\x30\x39\60\73\x70\141\144\x64\x69\x6e\x67\x3a\62\45\x3b\x20\x77\x6f\162\x64\55\167\162\x61\160\72\142\162\145\x61\153\55\167\x6f\162\144\73\42\x3e" . $b5 . "\74\57\164\144\x3e";
echo "\x3c\x74\144\40\163\x74\x79\x6c\145\75\42\160\141\x64\144\151\x6e\x67\x3a\x32\x25\73\142\157\162\144\145\162\72\61\160\170\x20\x73\x6f\x6c\x69\x64\x20\x23\71\64\71\x30\71\x30\x3b\x20\x77\x6f\x72\x64\x2d\167\162\x61\160\72\142\x72\145\x61\153\x2d\x77\x6f\162\x64\73\x22\76" . implode("\x3c\x68\x72\57\76", $El) . "\74\x2f\x74\144\x3e\15\12\11\11\x9\11\x9\11\x9\x9\74\57\164\x72\x3e";
nk8:
}
pg9:
echo "\15\xa\x9\x9\x9\x9\x9\x9\74\57\x74\141\x62\154\x65\76\xd\xa\x9\11\11\11\11\11\74\x62\x72\x2f\x3e\15\12\11\x9\11\11\11\11\x3c\151\156\x70\165\164\x20\x74\x79\x70\145\x3d\42\142\165\164\164\157\x6e\x22\x20\x63\154\141\x73\163\75\x22\x62\x75\x74\x74\157\156\x2d\160\162\x69\155\x61\162\x79\42";
if (mo_saml_is_customer_license_key_verified()) {
goto KHW;
}
echo "\40\x64\x69\x73\x61\x62\x6c\145\144\x20";
KHW:
echo "\166\x61\154\x75\145\75\42\x43\154\x65\x61\162\x20\x41\x74\164\x72\151\142\165\164\145\x73\40\114\x69\x73\164\x22\40\157\x6e\x63\154\x69\x63\x6b\75\42\144\157\x63\x75\155\145\x6e\x74\56\146\157\x72\155\x73\133\x27\x61\164\164\162\163\137\154\x69\x73\164\137\146\157\x72\155\47\135\x2e\163\x75\x62\155\x69\164\50\x29\73\x22\x3e\15\xa\11\11\11\x9\11\11\74\160\76\74\142\76\116\117\124\x45\40\72\74\57\x62\76\40\120\154\x65\141\x73\x65\x20\x63\154\x65\141\162\x20\x74\150\x69\x73\x20\154\151\163\x74\x20\141\146\x74\x65\x72\40\x63\157\156\146\151\x67\165\162\x69\156\x67\x20\x74\150\145\x20\160\154\165\x67\x69\x6e\x20\x74\157\x20\150\151\144\145\x20\x79\x6f\x75\x72\40\x63\x6f\x6e\146\x69\x64\x65\156\164\x69\x61\154\40\141\x74\164\x72\151\142\x75\x74\145\163\x2e\x3c\142\162\x2f\76\xd\xa\11\x9\11\11\x9\x9\x43\154\151\x63\153\40\157\x6e\x20\x3c\142\x3e\124\145\x73\x74\x20\x63\157\156\x66\151\147\165\x72\x61\x74\151\x6f\156\74\57\142\x3e\x20\x69\156\40\74\142\76\123\145\162\x76\151\x63\x65\40\x50\162\x6f\166\151\x64\x65\x72\x20\123\145\164\x75\160\x3c\x2f\x62\76\x20\164\x61\x62\40\164\157\x20\x70\x6f\x70\165\154\141\164\145\40\x74\x68\x65\x20\x6c\x69\163\x74\x20\141\147\x61\151\x6e\56\74\x2f\x70\x3e\xd\xa\11\11\x9\11\x9\x9\74\146\x6f\162\155\40\x6d\x65\x74\150\157\x64\75\42\x70\x6f\x73\164\42\40\x61\x63\x74\x69\157\x6e\75\42\42\x20\x69\x64\x3d\x22\x61\164\164\x72\x73\137\154\151\x73\164\137\x66\x6f\162\155\x22\x3e";
wp_nonce_field("\143\154\145\141\x72\x5f\141\x74\x74\x72\163\x5f\154\x69\x73\164");
echo "\x3c\151\156\160\165\x74\40\x74\171\x70\x65\75\42\x68\151\144\144\145\156\x22\40\x6e\141\x6d\145\75\x22\157\160\x74\151\x6f\x6e\42\40\x76\141\154\165\x65\75\42\x63\154\145\x61\x72\x5f\141\x74\x74\162\163\137\154\151\x73\164\42\76\15\xa\11\11\x9\11\11\11\74\x2f\x66\157\x72\x6d\76\xd\12\11\x9\x9\x9\x9\11\74\x2f\x64\151\166\x3e\xd\12\11\11\74\x2f\x64\x69\x76\76";
hMG:
}
function mo_saml_display_subsite_box()
{
$DH = maybe_unserialize(get_site_option("\x73\163\157\137\163\x65\x74\x74\x69\156\147\x73\137\x73\x69\164\145"));
if ($DH) {
goto V4U;
}
$DH = "\104\x45\x46\101\x55\x4c\x54";
V4U:
echo "\74\x64\x69\166\x20\143\154\141\163\x73\75\42\146\154\x6f\141\164\x69\x6e\x67\55\144\x69\166\40\x6d\x6f\x5f\x73\x61\155\154\x5f\x73\x75\160\x70\157\162\x74\137\x6c\x61\x79\157\x75\x74\42\x20\151\x64\75\x22\x66\154\x6f\x61\x74\151\156\147\137\163\165\x62\163\x69\164\145\42\x20\163\x74\x79\x6c\x65\75\42\x6d\141\x72\147\x69\x6e\72\40\x32\x30\x70\x78\x20\60\160\x78\x20\x30\x70\x78\x20\x30\160\170\x3b\x64\151\163\x70\x6c\x61\171\72\x20\142\x6c\157\x63\153\73\150\x65\151\x67\150\x74\x3a\40\61\65\60\160\x78\x3b\x20\160\x61\144\x64\151\156\147\x2d\164\x6f\x70\x3a\65\x30\160\x78\x3b\x22\x3e\xd\12\x9\74\x74\141\142\154\145\x20\x73\x74\171\x6c\x65\75\x22\x77\x69\144\x74\150\72\61\x30\60\45\x3b\x74\x65\170\x74\55\x61\x6c\151\x67\156\72\x63\145\x6e\x74\x65\x72\73\42\76\xd\xa\11\x3c\164\x72\76\74\164\144\x20\x73\164\x79\x6c\145\x3d\x22\x20\x66\x6f\156\x74\55\163\151\172\x65\x3a\40\x6c\x61\x72\147\145\x22\76\74\142\76\123\x65\x6c\x65\143\x74\x65\x64\x20\163\151\x74\145\x3a\x3c\57\x62\x3e\74\x2f\x74\x64\76\x3c\57\164\x72\76\x9\x9\15\12\11\x3c\x74\x72\76\xd\xa\11\11\x9\x3c\x74\144\x3e\74\163\x65\154\x65\x63\164\40\157\x6e\143\150\141\x6e\147\x65\75\42\143\x68\x61\156\x67\145\x53\165\142\x53\151\164\x65\50\x74\x68\151\163\x29\73\x22\x3e";
if (mo_saml_is_customer_license_key_verified()) {
goto VeJ;
}
echo "\144\151\x73\141\142\x6c\x65\144\x20";
VeJ:
$oD = $DH == "\x44\x45\x46\x41\x55\x4c\x54" ? "\x73\145\154\x65\143\x74\x65\x64" : '';
echo "\74\x6f\x70\x74\151\157\x6e\40\x76\141\x6c\165\x65\75\x22\104\105\106\x41\125\114\x54\x22\40" . $oD . "\x3e\x44\145\x66\x61\x75\154\x74\40\123\x53\117\x20\x53\145\164\x74\x69\156\147\163\74\57\x6f\x70\x74\151\157\x6e\76";
$oL = Utilities::get_sites();
$na = Utilities::get_active_sites();
foreach ($oL as $Qu) {
if (!is_object($Qu)) {
goto VBa;
}
$Qu = get_object_vars($Qu);
VBa:
if (Utilities::mo_saml_in_array($Qu["\x62\154\x6f\147\x5f\x69\x64"], $na)) {
goto TJs;
}
goto KNi;
TJs:
$oD = $DH == $Qu["\x62\x6c\157\147\x5f\151\144"] ? "\163\x65\154\145\143\x74\x65\x64" : '';
$vy = get_blog_details(array("\142\154\x6f\147\x5f\x69\144" => $Qu["\x62\x6c\x6f\x67\x5f\151\144"]))->blogname;
echo "\x3c\157\160\164\x69\x6f\156\40\166\141\x6c\x75\x65\75\x22" . $Qu["\142\x6c\x6f\x67\x5f\151\144"] . "\x22\40" . $oD . "\76" . $vy . "\x20\x2d\40" . $Qu["\x64\x6f\x6d\x61\151\x6e"] . $Qu["\160\x61\x74\x68"] . "\x3c\x2f\157\x70\164\151\x6f\x6e\x3e";
KNi:
}
Qy7:
echo "\74\x2f\163\145\x6c\145\x63\x74\x3e\74\163\143\x72\151\x70\164\x3e\15\12\x9\11\x9\x66\165\x6e\x63\164\151\157\x6e\40\x63\x68\x61\x6e\x67\145\x53\165\x62\x53\x69\164\x65\x28\145\154\145\155\x65\156\164\51\x7b\xd\12\x9\x9\x9\11\166\x61\162\x20\x73\x75\x62\x73\151\x74\145\x20\75\x20\x6a\x51\165\x65\x72\171\50\145\x6c\145\x6d\145\x6e\164\x29\56\x76\x61\154\50\x29\73\15\12\x9\11\x9\11\152\121\165\145\x72\171\x28\x22\x23\x73\x73\x6f\137\163\x65\x74\x74\151\156\x67\x73\137\x73\151\x74\x65\x20\x6f\x70\164\x69\157\x6e\x5b\x76\141\x6c\x75\145\x3d\x27\x22\x20\x2b\x20\x73\x75\142\x73\151\164\x65\x20\x2b\40\42\47\x5d\42\51\x2e\x70\x72\157\160\x28\42\x73\x65\154\145\143\x74\x65\144\42\x2c\40\164\162\x75\145\x29\56\143\150\141\156\147\x65\50\51\73\15\12\x9\x9\x9\x7d\xd\xa\11\x9\x9\74\57\x73\143\x72\x69\160\164\x3e\74\57\164\x64\x3e\15\xa\x9\x9\x9\x3c\x2f\x74\x72\x3e\15\xa\x9\11\11\xd\12\x9\x9\x9\74\164\162\76\x3c\x74\x64\x20\x63\157\x6c\x73\x70\141\x6e\x3d\x22\63\42\x20\163\164\171\154\145\x3d\x22\164\x65\170\x74\55\x61\x6c\151\x67\x6e\x3a\143\145\x6e\164\x65\162\42\76\x3c\x62\76\116\117\124\105\40\72\x20\x3c\57\142\76";
if ($DH == "\x44\x45\x46\x41\125\114\124") {
goto t0S;
}
echo "\124\x68\145\x73\x65\x20\163\145\x74\164\151\156\147\x73\x20\x77\x69\x6c\x6c\x20\x6f\156\x6c\x79\x20\142\x65\x20\141\x70\160\154\x69\x65\x64\40\164\157\x20\164\150\x65\40\141\142\x6f\166\x65\x20\163\x65\154\145\143\164\x65\x64\40\x73\x69\164\x65\x2e";
goto nFe;
t0S:
echo "\124\x68\x65\163\x65\x20\x73\x65\164\164\151\x6e\x67\163\40\x77\151\x6c\154\x20\x62\x65\x20\141\160\x70\154\151\145\144\x20\x74\157\x20\141\154\x6c\40\x74\x68\x65\40\163\x75\142\x2d\163\151\164\x65\x73\40\146\157\x72\40\167\x68\x69\x63\150\x20\x79\x6f\x75\x20\x68\x61\166\145\x6e\x27\x74\x20\143\157\x6e\x66\x69\x67\x75\x72\145\x64\40\164\150\x65\155\40\171\x65\x74\x20\x2e\x20";
nFe:
echo "\x3c\57\x74\144\x3e\74\57\x74\162\76\xd\12\xd\xa\x9\x9\x3c\x2f\x74\141\142\x6c\145\76\15\xa\x9\x3c\57\x64\151\x76\x3e\xd\12\11\74\x73\143\162\x69\160\x74\x3e\xd\12\40\x20\x76\141\162\x20\164\x6f\x70\x50\157\163\x69\164\x69\x6f\156\x20\x3d\x20\x6a\121\165\145\162\x79\x28\x22\56\146\154\x6f\x61\x74\x69\156\x67\x2d\x64\x69\166\42\51\56\157\146\146\x73\x65\164\50\51\x2e\x74\157\160\40\x2d\x20\63\60\73\xd\12\40\40\x76\x61\x72\x20\x77\x69\156\x20\75\40\152\121\165\145\162\x79\x28\x77\x69\x6e\x64\157\167\51\73\15\12\40\40\166\141\x72\40\x66\x6c\x6f\141\x74\151\156\147\104\x69\166\x20\75\40\152\x51\x75\145\x72\x79\50\42\x2e\x66\154\157\x61\164\151\x6e\147\x2d\144\151\x76\x22\51\73\15\xa\15\xa\40\x20\167\151\x6e\56\x73\x63\x72\x6f\154\x6c\50\146\165\156\143\164\x69\x6f\x6e\x28\x29\x20\x7b\15\12\x20\40\x20\x20\151\x66\x20\x28\x77\x69\156\144\157\167\x2e\x6d\141\164\143\x68\x4d\145\x64\151\141\x28\42\x28\x6d\151\156\55\167\151\144\x74\150\72\x20\67\66\70\x70\x78\51\x22\x29\56\x6d\141\x74\143\x68\x65\163\51\40\x7b\xd\xa\x20\40\40\x20\x20\40\151\x66\x20\x28\167\x69\156\56\163\143\x72\157\x6c\154\x54\x6f\x70\x28\x29\40\x3e\x20\x74\x6f\160\x50\x6f\x73\151\164\151\x6f\x6e\51\x20\173\15\xa\x9\11\146\154\157\x61\x74\x69\x6e\x67\x44\151\166\56\141\144\x64\103\154\141\x73\163\x28\42\x73\x74\x69\x63\x6b\x79\x22\51\x3b\15\xa\x20\x20\x20\x20\x20\x20\175\x20\145\x6c\163\145\40\x7b\xd\xa\x20\x20\40\x20\40\40\x20\40\x66\x6c\157\x61\x74\x69\x6e\x67\x44\151\166\x2e\162\145\x6d\157\x76\x65\x43\154\141\x73\163\50\x22\x73\x74\151\x63\x6b\171\x22\51\x3b\15\12\40\x20\40\x20\x20\40\175\xd\12\x20\x20\x20\40\x7d\xd\12\x20\40\175\51\x3b\15\xa\40\40\40\x20\74\57\x73\143\162\x69\160\164\x3e\15\12\11";
}
function mo_saml_is_sp_configured()
{
$Qm = get_site_option("\x73\x61\x6d\x6c\x5f\154\x6f\x67\151\x6e\x5f\165\162\x6c");
$On = get_site_option("\x73\x61\155\154\x5f\170\65\x30\71\137\x63\x65\x72\164\x69\146\151\143\141\x74\145");
if (!empty($Qm) && !empty($On)) {
goto N7M;
}
return 0;
goto Jil;
N7M:
return 1;
Jil:
}
function Multisite_enabled()
{
if (!is_multisite()) {
goto phC;
}
return "\x3c\142\x3e\74\146\157\156\x74\x20\143\157\x6c\157\162\x3d\47\147\162\145\x65\x6e\47\x3e\x65\x6e\x61\142\154\x65\144\x3c\x2f\x66\157\x6e\x74\x3e\74\x2f\142\x3e";
phC:
return "\74\x62\x3e\x3c\x66\x6f\x6e\164\x20\143\157\x6c\157\x72\75\x27\x72\145\144\x27\x3e\x64\x69\x73\141\142\x6c\x65\144\x3c\57\x66\157\x6e\164\x3e\74\57\x62\76";
}
function filter_empty_values($Kr)
{
return $Kr != NULL && $Kr != FALSE && $Kr != '';
}
Function Calls
None |
Stats
MD5 | 2390cc7a5d7e5ab96e48edba913cbc78 |
Eval Count | 0 |
Decode Time | 83 ms |