Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * This file is a part of the miniorange-saml-20-single-sign-on plugin. * ..
Decoded Output download
<?php
/**
* This file is a part of the miniorange-saml-20-single-sign-on plugin.
*
* @link https://plugins.miniorange.com/
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
include 'Import-export.php';
use MOSAML\LicenseLibrary\Mo_License_Service;
foreach (glob(plugin_dir_path(__FILE__) . "views" . DIRECTORY_SEPARATOR . "*.php") as $U7) {
include_once $U7;
f0M:
}
NeJ:
static $EC = 0;
static $fe;
function mo_register_saml_sso()
{
$_SERVER["REQUEST_URI"] = remove_query_arg(array("action", "sp_metadata"), $_SERVER["REQUEST_URI"]);
if (!empty($_GET["tab"])) {
goto suX;
}
$rV = mo_saml_get_active_tab();
goto ILj;
suX:
$rV = $_GET["tab"];
ILj:
if (!("login" === $rV)) {
goto zhD;
}
$rV = mo_saml_get_active_tab();
zhD:
if (mo_saml_is_extension_installed("curl")) {
goto Bme;
}
echo "
\x9 <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>";
Bme:
if (mo_saml_is_extension_installed("openssl")) {
goto Vy9;
}
echo "\xd\xa\x9 <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>";
Vy9:
echo "<div class="wrap">
\xa <h1>";
if ($rV == "licensing") {
goto btd;
}
update_option("mo_license_plan_from_feedback", '');
update_option("mo_saml_license_message", '');
mo_saml_display_plugin_title();
goto GPl;
btd:
echo "<div style="text-align:center;">
miniOrange SSO using SAML 2.0</div>
\xa <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>
<!-- span style="float:right;">\xd
<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\xa <br /><br/><div style="text-align:center; color: rgb(233, 125, 104);">
\xa <li style="color: dimgray; margin-top: 0px;list-style-type: none;">
</li></span></div></h1>";
GPl:
echo "</div>";
echo "
\xa<div id="mo_saml_settings">
<div class="miniorange_container">";
if ($rV != "licensing") {
goto N84;
}
if (!($rV == "licensing")) {
goto G80;
}
mo_saml_show_pricing_page();
G80:
goto IyW;
N84:
if (!mo_check_certificate_expiry()) {
goto wil;
}
$w5 = get_option("mo_saml_current_cert");
$GG = openssl_x509_parse($w5);
$B7 = $GG["validTo_time_t"];
$RR = $B7 - time();
$Dp = round($RR / (60 * 60 * 24));
if ($Dp >= 0) {
goto hEp;
}
echo "<div class="notice notice-error is-dismissible"><p><b>Security Alert :</b> Your certificate has expired, please upgrade your certificate immediately. ";
echo " <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 jcd;
hEp:
echo "<div class="notice notice-warning is-dismissible"><p><b>Security Alert :</b> Your certificate is expiring soon, please upgrade your certificate. ";
echo " <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 " . $Dp . " days.</p></div>";
jcd:
wil:
echo "<table style="width:100%;">
\xa \x9<tr>
<h2 class="nav-tab-wrapper">";
if (Mo_License_Service::is_customer_license_valid(false, false)) {
goto bLE;
}
echo "<a class="nav-tab " . ($rV == "login" ? "nav-tab-active" : '') . "" href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . "">Account Setup</a>";
bLE:
echo " <a class="nav-tab " . ($rV == "sp_metadata" ? "nav-tab-active" : '') . ""\xd\xa\x9 href="" . add_query_arg(array("tab" => "sp_metadata"), $_SERVER["REQUEST_URI"]) . "">Service\xd
Provider Metadata</a>
\xa \xd\xa\x9 <a class="nav-tab " . ($rV == "save" ? "nav-tab-active" : '') . ""\xd
\x9\x9href="" . add_query_arg(array("tab" => "save"), $_SERVER["REQUEST_URI"]) . "">Service
\xa \x9Provider Setup</a>\xd
\x9
\xa\x9 \x9
\x9 <a class="nav-tab " . ($rV == "domains" ? "nav-tab-active" : '') . ""\xd
href="" . add_query_arg(array("tab" => "domains"), $_SERVER["REQUEST_URI"]) . "">Domain
\xa\x9 Mapping</a>\xd\xa\x9\x9
\xa\x9\x9<a class="nav-tab " . ($rV == "attribute_role" ? "nav-tab-active" : '') . ""
\xa\x9\x9href="" . add_query_arg(array("tab" => "attribute_role"), $_SERVER["REQUEST_URI"]) . "">Attribute/Role
\x9\x9Mapping</a>";
if (!Mo_License_Service::is_customer_license_valid(false, false)) {
goto OFs;
}
echo "<a class="nav-tab " . ($rV == "settings" ? "nav-tab-active" : '') . ""
\x9\x9\x9href="" . add_query_arg(array("tab" => "settings"), $_SERVER["REQUEST_URI"]) . "">Redirection & SSO Links</a>";
OFs:
echo "<a class="nav-tab " . ($rV == "custom_certificate" ? "nav-tab-active" : '') . ""\xd
href="" . add_query_arg(array("tab" => "custom_certificate"), $_SERVER["REQUEST_URI"]) . "">Manage Certificate</a>
\xa\x9 <a class="nav-tab " . ($rV == "custom_messages" ? "nav-tab-active" : '') . ""\xd
\x9 href="" . add_query_arg(array("tab" => "custom_messages"), $_SERVER["REQUEST_URI"]) . "">Custom Messages</a>";
if (!Mo_License_Service::is_customer_license_verified()) {
goto NPd;
}
echo "<a class="nav-tab " . ($rV == "account_info" ? "nav-tab-active" : '') . ""\xd\xa \x9href="" . add_query_arg(array("tab" => "account_info"), $_SERVER["REQUEST_URI"]) . "">Account Info</a>";
NPd:
echo "</h2>";
if ($rV == "save") {
goto ZOg;
}
echo "<td style="vertical-align: top; width: 65%;">";
goto So1;
ZOg:
echo "<td style="vertical-align: top; width: 95%;">";
So1:
if ($rV == "save") {
goto TCw;
}
if ($rV == "attribute_role") {
goto GQ3;
}
if ($rV == "domains") {
goto xBJ;
}
if ($rV == "sp_metadata") {
goto vNH;
}
if ($rV == "settings") {
goto vJS;
}
if ($rV == "licensing") {
goto TXj;
}
if ($rV == "custom_certificate") {
goto wM1;
}
if ($rV == "custom_messages") {
goto CWe;
}
if ($rV == "account_info") {
goto tY_;
}
if ("login" === $rV) {
goto Ebm;
}
goto i6j;
tY_:
mo_saml_display_account_information();
goto i6j;
Ebm:
$ph = Mo_License_Service::is_license_expired();
if (get_option("mo_saml_verify_customer") == "true" || ("MISSING_OR_INVALID_CUSTOMER_KEY" === $ph["CODE"] || "MISSING_CUSTOMER_EMAIL" === $ph["CODE"])) {
goto JER;
}
if (get_option("mo_saml_registration_status") == "MO_OTP_DELIVERED_SUCCESS_EMAIL" || get_option("mo_saml_registration_status") == "MO_OTP_DELIVERED_SUCCESS_PHONE" || get_option("mo_saml_registration_status") == "MO_OTP_VALIDATION_FAILURE_EMAIL" || get_option("mo_saml_registration_status") == "MO_OTP_VALIDATION_FAILURE_PHONE" || get_option("mo_saml_registration_status") == "MO_OTP_DELIVERED_FAILURE") {
goto snU;
}
if (!("MISSING_LICENSE_KEY" === $ph["CODE"])) {
goto trO;
}
mo_saml_show_verify_license_page();
trO:
goto X48;
snU:
mo_saml_show_otp_verification();
X48:
goto BYK;
JER:
mo_saml_show_verify_password_page_saml();
BYK:
i6j:
goto y1W;
CWe:
mo_saml_add_custom_messages();
y1W:
goto rGt;
wM1:
mo_saml_add_custom_certificate();
rGt:
goto IWN;
TXj:
mo_saml_show_pricing_page();
IWN:
goto kbo;
vJS:
mo_saml_general_login_page();
kbo:
goto Zb5;
vNH:
mo_saml_configuration_steps();
Zb5:
goto kIC;
xBJ:
mo_saml_domain_mapping_page();
kIC:
goto NZz;
GQ3:
mo_saml_save_optional_config();
NZz:
goto JBZ;
TCw:
mo_saml_apps_config_saml();
JBZ:
echo "</td>\xd\xa \x9\x9<td style="vertical-align:top;padding-left:1%;">";
$Lx = get_option("mo_saml_attr_mapping_idp_name");
$AF = maybe_unserialize(get_option("mo_saml_test_config_attrs"));
if (!($rV !== "save")) {
goto ksS;
}
if ($rV !== "attribute_role" || empty($AF[$Lx])) {
goto BvO;
}
mo_saml_display_attrs_list($Lx);
goto GdS;
BvO:
miniorange_support_saml();
miniorange_keep_configuration_saml();
GdS:
ksS:
echo "</td>\xd\xa\x9\x9</tr>
\x9</table>\xd
</div>";
IyW:
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"/>
\x9</form>
\x9\x9<form style="display:none;" id="loginform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login"
\x9 target="_blank" method="post">
\x9 <input type="email" name="username" value="" . mo_options_plugin_constants::HOSTNAME . "" />\xd
\x9\x9<input type="text" name="redirectUrl" value="" . mo_options_plugin_constants::HOSTNAME . "/moas/viewlicensekeys" />\xd
\x9\x9<input type="text" name="requestOrigin" value="wp_saml_sso_basic_plan" />
\x9\x9</form>\xd
\x9<script>
jQuery("a[href=\"#activatelicense\"]").click(function(){\xd\xa \x9 \x9jQuery("#mo_saml_check_license").submit();
\xa });\xd
</script>";
}
function mo_saml_is_extension_installed($VN)
{
if (Utilities::mo_saml_in_array($VN, get_loaded_extensions())) {
goto eKJ;
}
return 0;
goto OOZ;
eKJ:
return 1;
OOZ:
}
function mo_saml_show_new_registration_page_saml()
{
update_option("mo_saml_new_registration", "true");
echo "<form name="f" method="post" action="">";
wp_nonce_field("mo_saml_register_customer");
echo "<input type="hidden" name="option" value="mo_saml_register_customer" />
\x9\x9\x9<div class="mo_saml_table_layout" style="padding-bottom:72px;">
\xa \x9\x9<h3>Register with miniOrange</h3>\xd
\x9 <p><a href="#" id="help_register_link">[ Why should I register? ]</a></p>\xd
\x9 \x9 <div hidden id="help_register_desc" class="mo_saml_help_desc">
\xa\x9\x9\x9\x9\x9 You should register so that in case you need help, we can help you with step by step instructions. We support all known IdPs - <b>ADFS, Okta, Salesforce, Shibboleth, SimpleSAMLphp, OpenAM, Centrify, Ping, RSA, IBM, Oracle, OneLogin, Bitium, JBoss Keycloak etc</b>.
\x9\x9\x9\x9 </div>\xd\xa \x9</p>
\x9\x9<table class="mo_saml_settings_table">\xd\xa\x9 \x9 <tr>\xd
\x9\x9 \x9<td><b><font color="#FF0000">*</font>Email:</b></td>\xd\xa \x9 <td><input class="mo_saml_table_textbox" type="email" name="email"
\xa \x9\x9\x9 \x9required placeholder="[email protected]"
\xa \x9\x9\x9\x9 \x9value="" . get_option("mo_saml_admin_email") . "" /></td>\xd\xa \x9 \x9 </tr>\xd\xa
\x9 \x9<tr>\xd\xa\x9 \x9 \x9 <td><b>Phone number:</b></td>\xd
\x9 \x9\x9\x9\x9<td><input class="mo_saml_table_textbox" type="tel" id="phone_contact" style="width:80%;"
\xa \x9 \x9\x9 pattern="[\+]\d{11,14}|[\+]\d{1,4}([\s]{0,1})(\d{0}|\d{9,10})" class="mo_saml_table_textbox" name="phone"
\x9\x9\x9 \x9\x9\x9\x9title="Phone with country code eg. +1xxxxxxxxxx"\xd
\x9 \x9 \x9 placeholder="Phone with country code eg. +1xxxxxxxxxx"\xd
\x9\x9\x9 value="" . get_option("mo_saml_admin_phone") . "" /></td>
\x9\x9 </tr>\xd
\x9\x9 \x9 \x9<tr>
\xa\x9\x9 \x9\x9 \x9 <td></td>
\xa \x9\x9 \x9\x9\x9\x9<td>We will call only if you need support.</td>\xd
\x9\x9 \x9 </tr>
\x9\x9\x9\x9\x9 <tr>
\x9\x9\x9\x9<td><b><font color="#FF0000">*</font>Password:</b></td>
\x9\x9 <td><input class="mo_saml_table_textbox" required type="password"\xd
\x9 \x9\x9 \x9 name="password" placeholder="Choose your password (Min. length 6)"
\x9 \x9 minlength="6" pattern="^[(\w)*(!@#$%^&*-_)*]+$"
\x9 \x9 title="Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present"
\xa \x9 \x9/></td>
\x9 \x9\x9</tr>
\x9 \x9\x9 \x9<tr>\xd
\x9 \x9\x9 \x9\x9<td><b><font color="#FF0000">*</font>Confirm Password:</b></td>
\x9 \x9\x9\x9 <td><input class="mo_saml_table_textbox" required type="password"
\xa \x9\x9 \x9\x9name="confirmPassword" placeholder="Confirm your password"\xd
\x9\x9\x9\x9\x9\x9\x9minlength="6" pattern="^[(\w)*(!@#$%^&*-_)*]+$"\xd
\x9\x9 \x9\x9\x9 title="Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present"
\xa \x9 \x9 \x9/></td>\xd
\x9 \x9\x9</tr>
\x9\x9\x9 <tr>
\xa\x9\x9\x9\x9 <td> </td>\xd
\x9\x9\x9 \x9\x9 <td><input type="submit" name="submit" value="Register"
\xa \x9\x9 \x9class="button button-primary button-large" /></td>\xd\xa\x9\x9 \x9\x9\x9</tr>\xd\xa \x9\x9 </table>\xd\xa\x9 \x9</div>\xd\xa \x9</form>";
}
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" />\xd
\x9\x9<div class="mo_saml_table_layout" style="padding-bottom:72px;">
\x9 \x9 <div id="toggle1">
\xa \x9 <h3>Login with miniOrange</h3>
\x9 \x9 </div>\xd\xa\x9 \x9<!--<p><b>It seems you already have an account with miniOrange. Please enter your miniOrange email and password.<br/>-->
<p><b><a href="https://login.xecurify.com/moas/idp/resetpassword" target="_blank">Click here if you forgot your password?</a></b></p>\xd
<br/>
\xa\x9\x9 <table class="mo_saml_settings_table">\xd
\x9\x9\x9\x9<tr>
\xa\x9 \x9\x9 \x9\x9<td><b><font color="#FF0000">*</font>Email:</b></td>\xd
\x9\x9\x9\x9<td><input class="mo_saml_table_textbox" type="email" name="email"
\x9 \x9 \x9required placeholder="[email protected]"\xd\xa \x9 \x9 value="" . get_option("mo_saml_admin_email") . "" /></td>\xd\xa\x9\x9 \x9\x9</tr>
\xa \x9\x9\x9<tr>\xd
\x9\x9\x9\x9 \x9<td><b><font color="#FF0000">*</font>Password:</b></td>
\xa\x9\x9 \x9 <td><input class="mo_saml_table_textbox" required type="password"
\xa \x9\x9 \x9\x9name="password" placeholder="Choose your password"
\xa \x9\x9 \x9\x9minlength="6" pattern="^[(\w)*(!@#$%^&*-_)*]+$"\xd\xa\x9 \x9\x9\x9\x9 title="Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present"\xd
\x9\x9 \x9 /></td>\xd
\x9\x9 \x9</tr>\xd\xa\xd\xa\x9\x9 \x9 <tr>\xd
\x9 \x9\x9 \x9<td> </td>\xd\xa\x9 \x9 <td>
\x9 \x9 \x9 <input type="submit" name="submit" value="Login"\xd
\x9 \x9\x9 class="button button-primary button-large" /></td>
\x9 \x9 </tr>
\xa\x9 </table>
\xa\x9 \x9</div>
\x9</form>
\xa \x9<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"/>\xd
</form>\xd\xa <form name="f" method="post" action="" id="mo_saml_forgotpassword_form">";
wp_nonce_field("mo_saml_forgot_password_form_option");
echo "<input type="hidden" name="option" value="mo_saml_forgot_password_form_option"/>
\x9 </form>
<script>
\xa \x9 jQuery("#mo_saml_goback").click(function(){
\x9\x9\x9\x9jQuery("#mo_saml_goback_form").submit();\xd
\x9 \x9});
\x9 \x9jQuery("a[href=\"#mo_saml_forgot_password_link\"]").click(function(){\xd\xa\x9\x9 jQuery("#mo_saml_forgotpassword_form").submit();\xd
\x9 \x9});\xd\xa\x9\x9</script>";
}
function mo_saml_show_verify_license_page()
{
echo "<div class="mo_saml_table_layout" style="padding-bottom:50px;!important">";
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>
\xa\xd\xa\x9\x9\x9\x9\x9<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
\x9\x9\x9 \x9<p><b><font color="#FF0000">*</font>Enter your license key to activate the plugin:</b>\xd
\x9\x9\x9\x9\x9\x9\x9<input class="mo_saml_table_textbox" required type="text" style="margin-left:40px;width:300px;"\xd\xa\x9 \x9\x9\x9\x9name="mo_saml_license_key" placeholder="Enter your license key to activate the plugin" />
\x9\x9 \x9 \x9</p>\xd\xa \x9 \x9\x9 <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>
\x9\x9\x9\x9\x9\x9 </p>
\xa\xd\xa \x9 \x9\x9\x9<ol>\xd\xa\x9\x9 \x9 \x9<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>
\xa\x9\x9 \x9\x9<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>
\xa\x9\x9 \x9 \x9<br>\xd
\x9\x9\x9 \x9<input type="submit" name="submit" value="Activate License" class="button button-primary button-large" />
<input type="button" class="button button-primary button-large" value="Back" onclick="document.forms['mo_saml_back_license'].submit();"/>\xd
\x9\x9 \x9</form></div>\xd
\xa\x9\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"/>
</form>\xd
\x9\x9 \x9<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"/>\xd\xa\x9\x9</form>\xd
\x9 <form style="display:none;" id="loginform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login"\xd
\x9 target="_blank" method="post">
\x9\x9<input type="email" name="username" value="" . get_option("mo_saml_admin_email") . "" />\xd\xa \x9<input type="text" name="redirectUrl" value="" . mo_options_plugin_constants::HOSTNAME . "/moas/viewlicensekeys" />
\xa\x9 <input type="text" name="requestOrigin" value="wp_saml_sso_basic_plan" />\xd
\x9\x9</form>\xd\xa <script>\xd\xa \x9jQuery("a[href=\"#activatelicense\"]").click(function(){\xd\xa\x9 \x9\x9jQuery("#mo_saml_check_license").submit();\xd\xa\x9 \x9});\xd
\x9\x9 function getlicensekeysform() {
\xa \x9 jQuery("#loginform").submit();\xd
}\xd\xa\x9\x9</script>";
}
function mo_saml_show_otp_verification()
{
echo "<form name="f" method="post" id="otp_form" action="">";
wp_nonce_field("mo_saml_validate_otp");
echo "<input type="hidden" name="option" value="mo_saml_validate_otp" />
\x9\x9<div class="mo_saml_table_layout">
\x9<table class="mo_saml_settings_table" style="padding-bottom:72px;">\xd\xa\x9\x9\x9\x9\x9<h3>Verify Your Email</h3>
\x9\x9 <tr>\xd\xa \x9 \x9<td><b><font color="#FF0000">*</font>Enter OTP:</b></td>
\x9 \x9\x9\x9\x9<td colspan="2"><input class="mo_saml_table_textbox" autofocus="true" type="text" name="otp_token" required placeholder="Enter OTP" style="width:61%;" pattern="{6,8}"/>
\xa \x9 \x9 <a style="cursor:pointer;" onclick="document.getElementById('resend_otp_form').submit();">Resend OTP</a></td>
\x9\x9 </tr>\xd\xa\x9\x9 <tr><td colspan="3"></td></tr>\xd\xa\x9 \x9 \x9<tr>
\xd\xa \x9\x9<td> </td>\xd
\x9\x9\x9<td style="width:17%">
\xa\x9 \x9\x9<input type="submit" name="submit" value="Validate OTP" class="button button-primary button-large" /></td>\xd\xa\xd
</form>\xd\xa\x9\x9<form name="f" method="post">\xd
\x9\x9\x9 \x9<td style="width:18%">";
wp_nonce_field("mo_saml_go_back");
echo "<input type="hidden" name="option" value="mo_saml_go_back"/>\xd
\x9 \x9\x9\x9 \x9<input type="submit" name="submit" value="Back" class="button button-primary button-large" />
\x9\x9</td>\xd\xa\x9 </form>
\xa \x9<form name="f" id="resend_otp_form" method="post" action="">\xd
\x9\x9 \x9 <td>";
if (get_option("mo_saml_registration_status") == "MO_OTP_DELIVERED_SUCCESS_EMAIL" || get_option("mo_saml_registration_status") == "MO_OTP_VALIDATION_FAILURE_EMAIL") {
goto knk;
}
wp_nonce_field("mo_saml_resend_otp_phone");
echo "<input type="hidden" name="option" value="mo_saml_resend_otp_phone"/>";
goto fC4;
knk:
wp_nonce_field("mo_saml_resend_otp_email");
echo "<input type="hidden" name="option" value="mo_saml_resend_otp_email"/>";
fC4:
echo "</td>
\xa\xd\xa\x9 </form>\xd
\x9\x9</tr>
\x9 </table>";
if (!(get_option("mo_saml_registration_status") == "MO_OTP_DELIVERED_SUCCESS_EMAIL" || get_option("mo_saml_registration_status") == "MO_OTP_VALIDATION_FAILURE_EMAIL")) {
goto E3i;
}
echo "<hr>
\xa\xd
\x9 \x9<h3>I did not recieve any email with OTP . What should I do ?</h3>
\xa \x9 <form id="mo_saml_register_with_phone_form" method="post" action="">";
wp_nonce_field("mo_saml_register_with_phone_option");
echo "<input type="hidden" name="option" value="mo_saml_register_with_phone_option" />\xd\xa \x9 If you cannot see the email from miniOrange in your mails, please check your <b>SPAM</b> folder. If you don't see an email even in the SPAM folder, verify your identity with our alternate method.\xd\xa \x9\x9\x9\x9 <br><br>\xd\xa \x9\x9 \x9\x9<b>Enter your valid phone number here and verify your identity using one time passcode sent to your phone.</b><br><br>
<input class="mo_saml_table_textbox" type="tel" id="phone_contact" style="width:40%;"
\x9\x9 \x9\x9 pattern="[\+]\d{11,14}|[\+]\d{1,4}([\s]{0,1})(\d{0}|\d{9,10})" class="mo_saml_table_textbox" name="phone"\xd\xa \x9\x9 \x9\x9\x9 title="Phone with country code eg. +1xxxxxxxxxx" required
\x9\x9 \x9\x9 \x9placeholder="Phone with country code eg. +1xxxxxxxxxx"\xd\xa\x9\x9\x9 \x9 \x9value="" . get_option("mo_saml_admin_phone") . "" />
\xa\x9\x9\x9 \x9<br /><br /><input type="submit" value="Send OTP" class="button button-primary button-large" />
\xa\xd\xa\x9 \x9</form>";
E3i:
echo "</div>";
}
function displaySearchResultIDPs($wU)
{
$Nc = get_option("saml_identity_providers");
$Nc = maybe_unserialize($Nc);
$Z2 = array();
if (!(!empty($Nc) and is_array($Nc))) {
goto d2M;
}
foreach ($Nc as $oC) {
$b0 = $oC["idp_name"];
$xu = $oC["idp_entity_id"];
if (!(stripos($b0, $wU) !== false || stripos($xu, $wU) !== false)) {
goto Jhl;
}
$Z2[$b0] = $oC;
Jhl:
mgM:
}
Nro:
d2M:
update_option("saml_search_idp", $Z2);
if (!empty($Z2)) {
goto FcT;
}
echo "<div style="display: block;color: #e92b14;background-color: #fcf8e3;padding: 10px;border: solid 1px #faebcc;width:96%;">\xd\xa\x9\x9<span><b>No Matching IDP found.</b></span>\xd
</div>";
goto Esd;
FcT:
displayIDPList($Z2);
Esd:
}
function displayIDPList($Nc)
{
foreach ($Nc as $b0 => $Lx) {
echo "<tr>\x9
\x9 \x9<td style="padding: 5px 5px;" width="15%"><span style="padding:2px">" . $b0 . "</span>";
if (!get_option("saml_default_idp")) {
goto X_7;
}
if (!(get_option("saml_default_idp") === $b0)) {
goto kwA;
}
echo "<br/><span style="background-color:#21759b; color:#FFFFFF; border-radius:2px; padding:2px; font-size:90%;">Default IDP<span>";
kwA:
X_7:
echo "</td>
\xa <td style="padding: 5px 0px;" width="60%">" . $Lx["idp_entity_id"] . "</td>\xd\xa\xd\xa \x9 <td style="padding: 5px 0px; text-align:center;" width="10%"><label class="switch"><input type="checkbox" name="enable_idp[]" value="" . $b0 . "" " . esc_html(Mo_License_Service::is_customer_license_valid(true)) . '';
if (!empty($Lx["enable_idp"])) {
goto miT;
}
$Lx["enable_idp"] = false;
miT:
if (!$Lx["enable_idp"]) {
goto d_V;
}
echo " checked ";
d_V:
echo "><span class="slider round"></span>
\x9\x9\x9</label></td>
\xa\xd\xa \x9 <td width="15%"><span style="float:right">
\x9\x9\x9<div class="bootstrap-toggle">\xd
\x9\x9\x9<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" " . esc_html(Mo_License_Service::is_customer_license_valid(true)) . " type="button" data-toggle="dropdown">Select an Action\xd
\x9\x9\x9<span class="caret"></span></button>
\xa \x9<ul class="dropdown-menu">\xd\xa <li><a href="" . admin_url() . "admin.php?page=mo_saml_settings&tab=save&action=edit&idp=" . $b0 . "">Edit Configuration</a></li>\xd
\x9\x9\x9 <li><a href="#" onclick="showTestWindow('" . $b0 . "');">Test Configuration</a></li>\xd\xa\x9 \x9\x9<li><a href="" . admin_url() . "admin.php?page=mo_saml_settings&tab=save&action=custom&idp=" . $b0 . "">Custom Widget Button</a></li>
\x9 \x9<li><a href="" . admin_url() . "admin.php?page=mo_saml_settings&tab=save&action=delete&idp=" . $b0 . "">Delete IDP</a></li>\xd\xa
\x9\x9\x9</ul>
\xa \x9 </div> \xd\xa\x9\x9 </div></span>\xd\xa\x9 \x9</td>
\x9 </tr>\xd\xa\x9\x9\x9</form>";
echo "<form method="post" action="" name="mo_export" id="mo_export">";
wp_nonce_field("mo_saml_export");
echo "<input type="hidden" name="option" value="mo_saml_export" /></form>";
SzZ:
}
ZGV:
}
function update_customer_idp_count($rn)
{
$rp = get_option("mo_saml_customer_token");
update_option("no_of_sp", AESEncryption::encrypt_data($rn["noOfSP"], $rp));
}
function mo_saml_display_attrs_list($Lx)
{
$AF = get_option("mo_saml_test_config_attrs");
$AF = maybe_unserialize($AF);
if (empty($AF[$Lx])) {
goto mCs;
}
$AF = $AF[$Lx];
echo "<div class="mo_saml_support_layout" style="padding-bottom:20px; padding-right:5px;">
\x9 <h3>Attributes received from the Identity Provider:</h3>
\x9\x9 \x9<div>\xd
\x9\x9 <table style="border-collapse:collapse;border-spacing:0;table-layout: fixed; width: 95%;background-color:#ffffff;">\xd\xa\x9\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 ($AF as $Yx => $NS) {
echo "<tr style="text-align:center;"><td style="font-weight:bold;border:1px solid #949090;padding:2%; word-wrap:break-word;">" . $Yx . "</td>";
echo "<td style="padding:2%;border:1px solid #949090; word-wrap:break-word;">" . implode("<hr/>", $NS) . "</td>\xd
\x9\x9\x9 \x9 </tr>";
XnY:
}
kFe:
echo "\xd
\x9 </table>\xd
\x9\x9\x9\x9\x9<br/>\xd
\x9 \x9\x9<input type="button" class="button-primary" value="Clear Attributes List" " . esc_html(Mo_License_Service::is_customer_license_valid(true)) . " onclick="document.forms['attrs_list_form'].submit();">
\xa\x9\x9 \x9<p><b>NOTE :</b> Please clear this list after configuring the plugin to hide your confidential attributes.<br/>
\xa \x9\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">\xd\xa\x9 \x9 \x9<input type="hidden" name="idp_name" value="" . $Lx . "">";
wp_nonce_field("clear_attrs_list");
echo "<input type="hidden" name="option" value="clear_attrs_list">
\xa \x9 \x9\x9</form>
\xa\x9\x9\x9 </div>
\xa \x9</div>";
mCs:
}
function mo_saml_get_test_url($b0, $Tf = false)
{
$kQ = home_url() . "/?option=testConfig&idp=" . $b0;
$GV = $Tf ? $kQ . "&newcert=true" : $kQ;
return $GV;
}
function mo_saml_is_customer_registered_saml()
{
$OP = get_option("mo_saml_admin_email");
$t6 = get_option("mo_saml_admin_customer_key");
if (!$OP || !$t6 || !is_numeric(trim($t6))) {
goto S6x;
}
return 1;
goto HV6;
S6x:
return 0;
HV6:
}
function mo_saml_is_customer_license_key_verified()
{
$Ml = get_option("sml_lk");
$OP = get_option("mo_saml_admin_email");
$t6 = get_option("mo_saml_admin_customer_key");
if (!$Ml || !$OP || !$t6 || !is_numeric(trim($t6))) {
goto iKm;
}
return 1;
goto YwC;
iKm:
return 0;
YwC:
}
function mo_saml_is_sp_configured()
{
$Ge = get_option("saml_identity_providers");
$Ge = maybe_unserialize($Ge);
if (!empty($Ge)) {
goto k5F;
}
return 0;
goto Jvc;
k5F:
return 1;
Jvc:
}
function mo_saml_download_logs($Bw, $Oo, $uR = '')
{
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>
\xa \x9\x9\x9\x9<p>We will get back to you soon!<p>
\xa \x9 \x9</div>\xd
\x9 \x9<div style="margin:3%;display:block;text-align:center;">
\x9 \x9 <div style="margin:3%;display:block;text-align:center;">\xd
\x9\x9 \x9<form method="get" action="" name="mo_export" id="mo_export">";
wp_nonce_field("export_configuration");
echo "<input type="hidden" name="option" value="export_configuration" />
\xa\x9\x9\x9\x9<input type="submit" class="miniorange-button" value="Export Plugin Configuration">
\xa\x9\x9\x9\x9<input class="miniorange-button" type="button" value="Close" onclick="self.close()"></form>\xd\xa\x9 \x9 ";
echo " ";
$Nc = get_option("saml_identity_providers");
$Nc = maybe_unserialize($Nc);
$RK = $_POST["SAMLResponse"];
$K2 = array("Error" => $Bw, "Cause" => $Oo);
$MI = array("saml_response" => $RK, "test_status" => $K2);
if (empty($uR)) {
goto N9G;
}
$Nc[$uR] = Utilities::mo_saml_array_merge($Nc[$uR], $MI);
$Nc = array_filter($Nc, "filter_empty_values");
update_option("saml_identity_providers", $Nc);
N9G:
echo "\x9<style>\xd\xa\x9.miniorange-button {
\xa\x9padding:1%;
\x9background: #0091CD none repeat scroll 0% 0%;\xd\xa cursor: pointer;font-size:15px;
\xa border-width: 1px;border-style: solid;\xd
\x9border-radius: 3px;white-space: nowrap;
\xa\x9box-sizing: border-box;border-color: #0073AA;
box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;
\xa margin: 22px;\xd
}
</style>\xd
\x9";
exit;
}
function check_plugin_state()
{
echo "<tr>";
if (!mo_saml_is_customer_registered_saml()) {
goto GlG;
}
if (!mo_saml_is_customer_license_key_verified()) {
goto dlU;
}
if (Mo_License_Service::is_customer_license_valid()) {
goto LTM;
}
echo "<td colspan="2">
\xa\x9\x9 <div class="mo-saml-not-logged-in-notice">\xd\xa\x9\x9 \x9Your plugin license has been expired. Hence, all the plugin settings have been disabled.\xd
\x9 </div>\xd
</td>";
LTM:
goto AzT;
dlU:
echo "<td colspan="2">\xd\xa\x9 <div class="mo-saml-not-logged-in-notice">
\xa \x9\x9Please enter your<a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . ""> license key</a> to activate the plugin.\xd\xa </div>\xd
\x9</td>";
AzT:
goto Sko;
GlG:
echo "<td colspan="2">\xd
<div class="mo-saml-not-logged-in-notice">\xd\xa \x9 \x9Please <a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . "">Register or Login with miniOrange</a> to configure the miniOrange SAML Plugin.\xd\xa \x9\x9</div>
\xa </td>";
Sko:
echo "</tr>";
}
function miniorange_generate_metadata($og = false, $Tf = false)
{
$Cm = get_option("mo_saml_sp_base_url");
if (!empty($Cm)) {
goto p0h;
}
$Cm = home_url();
p0h:
if (!(substr($Cm, -1) == "/")) {
goto fJI;
}
$Cm = substr($Cm, 0, -1);
fJI:
$Ti = get_option("mo_saml_sp_entity_id");
if (!empty($Ti)) {
goto tJd;
}
$Ti = $Cm . "/wp-content/plugins/miniorange-saml-20-single-sign-on/";
tJd:
$BG = $Ti;
$aj = $Cm . "/";
if ($Tf) {
goto ap6;
}
$w5 = get_option("mo_saml_current_cert");
goto g3q;
ap6:
$w5 = file_get_contents(plugin_dir_path(__FILE__) . "resources" . DIRECTORY_SEPARATOR . mo_options_enum_default_sp_certificate::SP_PUBLIC_CERT_FILE_NAME);
g3q:
$wJ = Utilities::getValidUntilDateFromCert($w5);
$w5 = Utilities::desanitize_certificate($w5);
if (!ob_get_contents()) {
goto S3_;
}
ob_clean();
S3_:
header("Content-Type: text/xml");
if (!$og) {
goto F7K;
}
header("Content-Disposition: attachment; filename="mo-saml-sp-metadata.xml"");
F7K:
echo "<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="" . $wJ . "" cacheDuration="PT1446808792S" entityID="" . $BG . "">\xd\xa <md:SPSSODescriptor AuthnRequestsSigned="true" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<md:Extensions>\xd\xa\x9\x9<idpdisc:DiscoveryResponse index="1"\xd
\x9\x9 xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
\xa \x9\x9Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"\xd\xa \x9Location="" . $aj . ""/>\xd\xa </md:Extensions>
\xa \x9<md:KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
\xa <ds:X509Data>\xd\xa <ds:X509Certificate>" . $w5 . "</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</md:KeyDescriptor>\xd
<md:KeyDescriptor use="encryption">\xd
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">\xd\xa <ds:X509Data>\xd\xa <ds:X509Certificate>" . $w5 . "</ds:X509Certificate>\xd
</ds:X509Data>
\xa </ds:KeyInfo>
</md:KeyDescriptor>\xd
\x9<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="" . $aj . ""/>\xd\xa <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="" . $aj . ""/>\xd
<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
\xa\x9<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat>\xd
<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat>\xd
\x9<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat>\xd
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="" . $aj . "" index="1"/>\xd\xa </md:SPSSODescriptor>
<md:Organization>\xd\xa <md:OrganizationName xml:lang="en-US">miniOrange</md:OrganizationName>\xd\xa <md:OrganizationDisplayName xml:lang="en-US">miniOrange</md:OrganizationDisplayName>
<md:OrganizationURL xml:lang="en-US">http://miniorange.com</md:OrganizationURL>
\xa </md:Organization>\xd
<md:ContactPerson contactType="technical">\xd
<md:GivenName>miniOrange</md:GivenName>
\xa <md:EmailAddress>[email protected]</md:EmailAddress>
</md:ContactPerson>\xd\xa <md:ContactPerson contactType="support">
<md:GivenName>miniOrange</md:GivenName>
\xa <md:EmailAddress>[email protected]</md:EmailAddress>\xd\xa </md:ContactPerson>
</md:EntityDescriptor>";
exit;
}
function mo_check_certificate_expiry()
{
$XE = openssl_x509_parse(get_option("mo_saml_current_cert"))["validTo_time_t"];
$RR = $XE - time();
$Dp = round($RR / (60 * 60 * 24));
return $Dp < 60;
}
function get_sso_button($il, $Di)
{
if (!empty($il[$Di])) {
goto E2j;
}
$Fb = "longbutton";
$Jd = "50";
$uy = "100";
$fS = "50";
$Y1 = "5";
$l3 = "Login";
$g6 = "0085ba";
$I0 = "20";
$LZ = "ffffff";
$mL = "above";
goto SiF;
E2j:
$il = $il[$Di];
$Fb = !empty($il["button_type"]) ? $il["button_type"] : "longbutton";
$Jd = !empty($il["button_size"]) ? $il["button_size"] : "50";
$uy = !empty($il["button_width"]) ? $il["button_width"] : "100";
$fS = !empty($il["button_height"]) ? $il["button_height"] : "50";
$Y1 = !empty($il["button_curve"]) ? $il["button_curve"] : "5";
$l3 = !empty($il["button_text"]) ? $il["button_text"] : $Di;
$g6 = !empty($il["button_color"]) ? $il["button_color"] : "0085ba";
$I0 = !empty($il["font_size"]) ? $il["font_size"] : "20";
$LZ = !empty($il["font_color"]) ? $il["font_color"] : "ffffff";
$mL = !empty($il["button_position"]) ? $il["button_position"] : "above";
SiF:
$iJ = "<input type="button" name="mo_saml_wp_sso_button" value="" . $l3 . "" style="";
$Li = '';
if ($Fb == "longbutton") {
goto o92;
}
if ($Fb == "circle") {
goto xc_;
}
if ($Fb == "oval") {
goto gvw;
}
if ($Fb == "square") {
goto raa;
}
goto b9N;
xc_:
$Li = $Li . "width:" . $Jd . "px;";
$Li = $Li . "height:" . $Jd . "px;";
$Li = $Li . "border-radius:999px;";
goto b9N;
gvw:
$Li = $Li . "width:" . $Jd . "px;";
$Li = $Li . "height:" . $Jd . "px;";
$Li = $Li . "border-radius:5px;";
goto b9N;
raa:
$Li = $Li . "width:" . $Jd . "px;";
$Li = $Li . "height:" . $Jd . "px;";
$Li = $Li . "border-radius:0px;";
$Li = $Li . "padding:0px;";
b9N:
goto CST;
o92:
$Li = $Li . "width:" . $uy . "px;";
$Li = $Li . "height:" . $fS . "px;";
$Li = $Li . "border-radius:" . $Y1 . "px;";
CST:
$Li = $Li . "background-color:#" . $g6 . ";";
$Li = $Li . "border-color:transparent;";
$Li = $Li . "color:#" . $LZ . ";";
$Li = $Li . "font-size:" . $I0 . "px;";
$Li = $Li . "cursor:pointer";
$iJ = $iJ . $Li . ""/>";
$Y4 = array("login_button" => $iJ, "button_position" => $mL);
return $Y4;
}
function filter_empty_values($CE)
{
return $CE != NULL && $CE != FALSE && $CE != '';
}
function mo_saml_get_sp_private_key_for_idp($Lx)
{
$rp = !empty($Lx["sp_priv_key"]) ? $Lx["sp_priv_key"] : get_option("mo_saml_current_cert_private_key");
return $rp;
}
function mo_saml_get_sp_public_cert_for_idp($Lx)
{
$sz = !empty($Lx["sp_cert"]) ? $Lx["sp_cert"] : get_option("mo_saml_current_cert");
return $sz;
}
function mo_saml_display_plugin_title()
{
echo "<h1>
\x9 miniOrange SSO using SAML 2.0 
\x9 <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 "">Upgrade Now</a>
\xa \x9<a class="add-new-h2" href="https://faq.miniorange.com/kb/saml-single-sign-on/" target="_blank">FAQs</a>\xd\xa\x9\x9<a class="add-new-h2" href="https://forum.miniorange.com/" target="_blank">Ask questions on our forum</a>\xd
</h1>";
}
function mo_saml_get_active_tab()
{
if (!Mo_License_Service::is_customer_license_verified()) {
goto yfB;
}
if (!Mo_License_Service::is_customer_license_valid(false)) {
goto b7O;
}
if (mo_saml_is_sp_configured()) {
goto a4A;
}
$rV = "save";
goto YD6;
yfB:
$rV = "login";
goto YD6;
b7O:
$rV = "account_info";
goto YD6;
a4A:
$rV = "settings";
YD6:
return $rV;
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file is a part of the miniorange-saml-20-single-sign-on plugin.
*
* @link https://plugins.miniorange.com/
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
include 'Import-export.php';
use MOSAML\LicenseLibrary\Mo_License_Service;
foreach (glob(plugin_dir_path(__FILE__) . "\x76\151\145\x77\x73" . DIRECTORY_SEPARATOR . "\x2a\x2e\160\150\160") as $U7) {
include_once $U7;
f0M:
}
NeJ:
static $EC = 0;
static $fe;
function mo_register_saml_sso()
{
$_SERVER["\122\x45\x51\x55\x45\x53\124\137\125\122\111"] = remove_query_arg(array("\141\x63\164\151\x6f\156", "\x73\x70\137\x6d\x65\164\141\144\141\164\x61"), $_SERVER["\122\105\x51\125\105\123\x54\137\x55\122\x49"]);
if (!empty($_GET["\164\x61\142"])) {
goto suX;
}
$rV = mo_saml_get_active_tab();
goto ILj;
suX:
$rV = $_GET["\x74\x61\x62"];
ILj:
if (!("\154\157\x67\151\156" === $rV)) {
goto zhD;
}
$rV = mo_saml_get_active_tab();
zhD:
if (mo_saml_is_extension_installed("\143\165\x72\154")) {
goto Bme;
}
echo "\15\12\x9\11\11\x3c\x70\76\x3c\x66\x6f\156\x74\x20\x63\x6f\154\157\162\x3d\42\43\x46\106\60\60\x30\60\x22\76\50\127\x61\162\156\x69\x6e\147\72\x20\x3c\x61\40\150\x72\x65\146\x3d\42\150\x74\x74\160\72\57\x2f\160\150\x70\x2e\x6e\145\x74\57\x6d\x61\x6e\x75\x61\154\57\x65\x6e\57\143\165\162\154\56\151\156\163\x74\x61\154\x6c\x61\164\151\x6f\156\x2e\x70\x68\x70\x22\40\x74\x61\162\x67\145\164\x3d\42\x5f\x62\x6c\141\x6e\153\42\76\120\x48\120\40\x63\x55\122\x4c\40\145\170\164\145\156\163\151\x6f\x6e\74\57\x61\x3e\40\151\163\40\156\157\x74\40\151\x6e\163\164\141\x6c\154\145\144\40\157\x72\x20\144\x69\x73\x61\142\154\x65\x64\51\74\x2f\x66\157\156\164\x3e\74\57\x70\76";
Bme:
if (mo_saml_is_extension_installed("\x6f\x70\x65\156\x73\163\x6c")) {
goto Vy9;
}
echo "\xd\xa\x9\11\11\74\x70\76\x3c\x66\x6f\156\x74\40\x63\157\154\157\x72\x3d\x22\x23\x46\x46\x30\60\60\x30\42\76\x28\x57\141\x72\156\x69\x6e\x67\72\x20\74\x61\40\150\162\145\146\75\x22\150\164\164\160\x3a\57\x2f\160\x68\x70\x2e\x6e\145\x74\x2f\x6d\x61\156\165\141\154\57\x65\156\57\157\160\x65\x6e\x73\x73\154\x2e\x69\x6e\x73\x74\141\154\154\x61\164\151\x6f\156\x2e\160\150\160\42\40\x74\x61\x72\x67\x65\164\x3d\x22\137\x62\154\141\156\x6b\42\76\x50\110\x50\40\x6f\160\145\156\163\x73\x6c\40\145\170\164\x65\x6e\x73\x69\x6f\x6e\x3c\x2f\x61\x3e\x20\151\163\40\x6e\157\164\x20\x69\156\163\164\141\154\154\x65\144\40\x6f\x72\40\144\x69\x73\x61\x62\x6c\145\x64\51\x3c\x2f\146\157\x6e\x74\x3e\74\x2f\x70\x3e";
Vy9:
echo "\74\144\x69\166\x20\143\x6c\x61\x73\x73\x3d\42\x77\x72\x61\160\42\76\15\xa\40\x20\40\40\x20\x20\40\x20\40\40\x20\x20\x3c\x68\x31\76";
if ($rV == "\154\151\x63\145\x6e\x73\151\x6e\x67") {
goto btd;
}
update_option("\155\157\137\x6c\x69\x63\x65\156\163\145\x5f\160\x6c\141\x6e\137\x66\x72\x6f\x6d\x5f\x66\145\145\x64\x62\141\x63\x6b", '');
update_option("\x6d\157\137\x73\x61\155\154\x5f\154\151\x63\145\x6e\163\x65\137\155\x65\x73\163\141\x67\145", '');
mo_saml_display_plugin_title();
goto GPl;
btd:
echo "\74\144\151\x76\40\163\x74\x79\154\145\x3d\x22\164\x65\x78\x74\55\x61\x6c\151\x67\156\x3a\x63\145\156\x74\145\162\73\x22\x3e\15\12\x20\x20\x20\40\40\40\x20\40\40\40\x20\40\40\40\40\40\x20\40\x20\x20\155\x69\156\151\117\x72\x61\156\x67\145\40\x53\x53\x4f\40\165\163\x69\x6e\x67\x20\123\101\115\114\x20\x32\56\60\x3c\57\144\151\x76\76\15\xa\40\40\x20\40\40\x20\x20\x20\40\40\40\40\40\40\x20\40\40\40\40\40\x3c\x64\x69\x76\x20\163\x74\171\x6c\145\75\x22\146\x6c\157\141\164\x3a\154\x65\x66\x74\73\42\76\74\141\x20\40\143\154\x61\x73\163\x3d\x22\x61\x64\x64\55\156\145\x77\55\150\62\40\141\x64\x64\55\x6e\x65\167\x2d\x68\x6f\x76\x65\x72\42\40\163\164\x79\154\x65\75\42\x66\x6f\156\x74\x2d\163\x69\172\x65\x3a\x20\61\66\x70\x78\73\x20\x63\157\154\157\x72\72\40\x23\60\x30\60\73\42\x20\150\162\145\x66\75\x22";
echo add_query_arg(array("\x74\141\142" => "\163\141\x76\145"), htmlentities($_SERVER["\122\x45\x51\x55\x45\123\124\x5f\125\x52\x49"]));
echo "\x22\76\x3c\163\x70\x61\156\40\143\x6c\141\x73\163\75\42\144\x61\163\x68\x69\x63\x6f\156\x73\x20\x64\141\x73\150\x69\x63\x6f\x6e\163\55\141\x72\x72\x6f\x77\55\x6c\x65\x66\164\x2d\141\154\164\42\x20\163\164\171\154\x65\75\x22\166\x65\162\164\151\143\x61\154\55\x61\154\151\x67\x6e\72\x20\142\x6f\164\x74\157\155\73\x22\x3e\x3c\x2f\x73\160\141\x6e\x3e\40\x42\x61\143\x6b\x20\124\157\40\x50\x6c\x75\147\x69\x6e\x20\x43\157\156\x66\151\x67\x75\x72\x61\x74\x69\157\x6e\74\57\x61\76\x3c\57\x64\x69\x76\x3e\15\12\x20\40\40\40\40\x20\x20\40\40\40\40\40\x20\x20\40\x20\x20\40\40\x20\x3c\41\55\55\40\163\x70\141\x6e\40\x73\x74\x79\x6c\x65\75\42\x66\154\x6f\x61\x74\x3a\162\x69\x67\150\164\73\x22\x3e\xd\12\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\74\141\x20\x20\x63\154\141\163\163\x3d\42\x61\144\x64\55\156\x65\167\x2d\x68\62\x20\141\x64\144\55\156\x65\x77\55\x68\x6f\x76\145\162\42\x20\163\x74\171\x6c\145\x3d\x22\146\157\x6e\x74\x2d\x73\151\x7a\145\x3a\x20\x31\x36\160\170\73\x20\x63\x6f\x6c\x6f\162\72\x20\43\60\60\x30\x3b\42\40\144\x61\164\141\x2d\x74\157\x67\x67\x6c\x65\75\x22\155\157\x64\x61\x6c\42\40\x64\x61\164\141\x2d\164\141\x72\x67\x65\x74\75\x22\43\x73\x74\141\x6e\144\141\162\x64\x50\162\x65\x6d\x69\165\155\115\157\x64\x61\154\x43\145\156\x74\x65\x72\x22\40\76\74\163\160\x61\x6e\x20\143\154\141\x73\x73\x3d\x22\x64\141\163\150\x69\x63\157\x6e\163\40\x64\141\x73\x68\x69\143\157\x6e\x73\x2d\167\141\x72\x6e\151\156\x67\42\40\163\164\171\154\145\x3d\x22\166\145\x72\164\151\143\141\154\x2d\x61\154\x69\x67\156\72\40\x62\x6f\164\x74\157\155\x3b\42\76\x3c\57\163\160\141\x6e\x3e\40\110\x65\154\160\x20\155\145\x20\143\150\157\x6f\x73\x65\x20\164\x68\x65\40\x72\151\x67\150\164\x20\160\154\141\156\74\57\x61\x3e\74\57\163\160\x61\x6e\x20\x2d\x2d\76\xd\xa\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\40\40\40\x20\x20\x20\x20\74\142\162\x20\57\x3e\x3c\x62\162\x2f\x3e\x3c\x64\x69\x76\x20\x73\x74\x79\x6c\x65\75\x22\x74\145\170\x74\x2d\x61\x6c\151\147\156\72\x63\x65\156\164\x65\x72\73\x20\143\157\x6c\157\x72\x3a\x20\162\147\142\x28\62\63\x33\54\40\61\62\65\x2c\40\61\x30\x34\51\73\x22\x3e\15\xa\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\74\154\151\40\x73\x74\171\154\145\75\42\143\157\x6c\x6f\x72\72\x20\144\x69\155\147\x72\x61\171\x3b\40\x6d\141\x72\x67\x69\156\55\164\157\160\x3a\40\60\x70\170\x3b\x6c\x69\163\164\x2d\163\x74\171\154\x65\55\164\171\x70\145\72\x20\x6e\157\x6e\145\x3b\x22\76\15\12\40\40\40\40\40\x20\40\40\40\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\15\12\x20\40\x20\x20\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\x3c\57\x6c\151\76\x3c\x2f\x73\x70\x61\156\76\x3c\x2f\144\151\166\x3e\74\57\150\61\x3e";
GPl:
echo "\74\x2f\x64\151\166\76";
echo "\15\xa\74\x64\151\166\40\151\144\x3d\42\155\x6f\x5f\163\x61\155\154\x5f\x73\x65\x74\164\151\156\147\163\x22\76\15\12\11\74\x64\x69\x76\40\143\154\x61\163\x73\x3d\42\x6d\x69\156\x69\157\162\x61\x6e\x67\x65\137\143\x6f\156\164\x61\x69\156\145\x72\42\x3e";
if ($rV != "\154\x69\x63\x65\156\x73\151\156\147") {
goto N84;
}
if (!($rV == "\154\x69\x63\x65\156\x73\151\x6e\147")) {
goto G80;
}
mo_saml_show_pricing_page();
G80:
goto IyW;
N84:
if (!mo_check_certificate_expiry()) {
goto wil;
}
$w5 = get_option("\155\157\x5f\163\141\x6d\154\137\143\x75\162\162\145\x6e\x74\137\143\145\x72\164");
$GG = openssl_x509_parse($w5);
$B7 = $GG["\x76\x61\x6c\x69\x64\x54\157\137\164\x69\155\x65\x5f\x74"];
$RR = $B7 - time();
$Dp = round($RR / (60 * 60 * 24));
if ($Dp >= 0) {
goto hEp;
}
echo "\x3c\x64\x69\166\40\143\x6c\141\163\x73\75\x22\156\x6f\x74\151\143\145\x20\156\157\164\x69\x63\x65\55\x65\x72\162\x6f\162\40\x69\x73\x2d\144\151\163\155\x69\x73\x73\151\x62\154\x65\x22\76\74\160\x3e\x3c\142\x3e\123\x65\x63\165\162\x69\x74\171\x20\101\x6c\x65\162\x74\x20\72\74\x2f\x62\x3e\x20\x59\157\x75\x72\40\143\x65\x72\164\x69\x66\x69\x63\x61\164\145\x20\150\x61\x73\x20\x65\170\x70\x69\162\x65\x64\54\40\160\154\145\141\163\145\x20\x75\x70\x67\162\141\144\145\40\x79\x6f\165\x72\40\x63\145\x72\x74\x69\x66\151\x63\x61\164\x65\x20\x69\x6d\x6d\x65\x64\x69\141\164\x65\154\x79\x2e\40";
echo "\40\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\x3c\141\40\x68\x72\145\x66\x3d\42";
echo add_query_arg(array("\164\x61\x62" => "\x63\x75\163\x74\x6f\x6d\x5f\143\x65\162\164\151\x66\151\143\x61\x74\x65"), $_SERVER["\x52\x45\x51\x55\x45\123\x54\x5f\125\122\111"]);
echo "\42\x3e";
echo "\125\x70\x67\x72\x61\144\145\40\x79\157\165\162\x20\x63\x65\x72\164\x69\x66\151\x63\141\x74\145";
echo "\x3c\x2f\x61\76";
echo "\x20\x6f\162\x20\171\x6f\165\162\x20\x53\123\117\40\167\x69\154\x6c\40\x73\x74\157\x70\56\x3c\57\160\x3e\74\57\144\x69\166\x3e";
goto jcd;
hEp:
echo "\74\144\151\166\40\x63\x6c\x61\163\163\x3d\x22\x6e\157\164\x69\x63\x65\40\156\157\164\151\x63\145\x2d\x77\141\162\x6e\x69\x6e\x67\x20\151\163\55\x64\151\163\155\151\163\x73\x69\142\154\x65\x22\x3e\74\160\76\x3c\142\76\123\145\x63\165\162\x69\x74\x79\x20\x41\154\145\x72\164\x20\72\74\57\x62\76\40\131\157\165\162\x20\143\145\x72\164\x69\146\x69\143\x61\x74\145\x20\151\x73\x20\x65\170\x70\151\x72\x69\x6e\x67\40\163\157\157\x6e\54\40\160\x6c\x65\x61\x73\145\x20\x75\160\x67\x72\141\144\x65\40\x79\157\x75\x72\40\x63\x65\x72\164\151\146\151\x63\x61\164\x65\56\40";
echo "\40\40\40\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\x3c\141\40\x68\x72\x65\146\75\x22";
echo add_query_arg(array("\x74\x61\x62" => "\x63\x75\163\x74\x6f\x6d\137\143\x65\x72\x74\151\146\x69\143\x61\164\145"), $_SERVER["\122\105\121\125\x45\123\x54\x5f\x55\122\111"]);
echo "\42\x3e";
echo "\x55\160\147\162\141\x64\x65\x20\x79\x6f\x75\162\x20\x63\145\162\164\x69\x66\x69\143\141\x74\145";
echo "\74\57\x61\x3e";
echo "\x20\157\162\40\171\x6f\x75\162\40\123\x53\x4f\x20\155\141\x79\x20\x73\x74\157\x70\x20\151\156\40" . $Dp . "\x20\144\141\x79\163\x2e\x3c\57\160\x3e\74\57\144\151\x76\76";
jcd:
wil:
echo "\x3c\x74\141\142\154\x65\x20\163\164\171\154\x65\75\x22\x77\151\x64\x74\x68\x3a\x31\60\x30\x25\x3b\42\x3e\15\xa\11\x9\x3c\164\162\76\15\12\11\11\74\150\x32\x20\x63\154\x61\163\163\75\42\x6e\x61\x76\x2d\164\x61\142\x2d\x77\162\141\160\160\x65\162\x22\76";
if (Mo_License_Service::is_customer_license_valid(false, false)) {
goto bLE;
}
echo "\74\x61\x20\x63\154\141\163\x73\x3d\x22\156\x61\166\x2d\x74\x61\x62\40" . ($rV == "\x6c\x6f\x67\x69\156" ? "\156\x61\x76\x2d\164\x61\x62\55\x61\x63\x74\151\166\x65" : '') . "\x22\x20\x68\x72\x65\146\75\42" . add_query_arg(array("\164\x61\x62" => "\154\x6f\147\x69\x6e"), $_SERVER["\x52\x45\121\125\x45\123\x54\137\125\122\x49"]) . "\42\76\x41\x63\x63\x6f\165\x6e\164\40\x53\x65\164\165\160\x3c\57\x61\76";
bLE:
echo "\40\74\x61\x20\x63\x6c\x61\163\x73\75\42\x6e\141\x76\x2d\164\141\142\x20" . ($rV == "\x73\160\137\x6d\145\x74\141\144\x61\x74\141" ? "\156\x61\166\55\164\141\x62\x2d\141\x63\x74\151\x76\145" : '') . "\x22\xd\xa\x9\40\40\x20\150\162\145\146\x3d\x22" . add_query_arg(array("\164\x61\x62" => "\163\x70\137\x6d\145\x74\141\144\141\164\141"), $_SERVER["\x52\105\121\x55\105\123\124\x5f\x55\x52\x49"]) . "\42\x3e\123\x65\162\166\151\x63\145\xd\12\11\x20\40\x20\120\x72\157\166\151\144\x65\162\40\x4d\x65\164\x61\x64\x61\164\141\74\x2f\x61\76\15\xa\11\40\40\40\xd\xa\x9\x20\x20\x20\x3c\x61\x20\x63\x6c\141\x73\163\x3d\x22\156\141\166\55\164\141\x62\40" . ($rV == "\x73\141\166\145" ? "\x6e\141\x76\55\164\141\142\x2d\x61\x63\x74\151\x76\145" : '') . "\x22\xd\12\x9\x9\150\162\145\146\x3d\x22" . add_query_arg(array("\164\141\142" => "\x73\x61\166\145"), $_SERVER["\122\105\x51\x55\105\x53\x54\137\125\122\111"]) . "\x22\76\123\x65\162\x76\x69\143\145\15\xa\11\x9\x50\x72\x6f\166\x69\144\x65\162\x20\x53\x65\x74\165\160\x3c\57\x61\76\xd\12\11\11\x9\x20\40\x20\15\xa\x9\11\x9\40\x20\15\12\x9\11\x3c\141\40\143\x6c\x61\163\163\x3d\42\156\141\x76\55\164\x61\142\x20" . ($rV == "\x64\157\x6d\x61\x69\156\163" ? "\x6e\141\x76\x2d\164\x61\x62\x2d\x61\x63\x74\151\x76\145" : '') . "\x22\xd\12\11\11\x68\x72\145\x66\75\42" . add_query_arg(array("\164\x61\x62" => "\x64\157\155\x61\x69\156\163"), $_SERVER["\122\105\x51\x55\x45\123\x54\137\125\122\x49"]) . "\x22\76\104\x6f\x6d\x61\x69\156\15\xa\x9\11\115\x61\x70\x70\x69\156\x67\74\57\141\x3e\xd\xa\x9\x9\15\xa\x9\x9\x3c\141\x20\x63\154\x61\163\163\75\42\156\x61\166\55\164\x61\142\40" . ($rV == "\x61\164\x74\162\151\142\x75\164\x65\137\162\x6f\x6c\145" ? "\156\x61\x76\x2d\x74\141\x62\55\x61\143\164\x69\166\145" : '') . "\42\15\xa\x9\x9\150\x72\x65\x66\x3d\x22" . add_query_arg(array("\x74\x61\142" => "\x61\x74\164\162\151\x62\x75\x74\x65\137\x72\157\154\x65"), $_SERVER["\x52\105\x51\x55\105\x53\124\137\x55\x52\111"]) . "\42\x3e\x41\164\164\x72\151\x62\165\164\x65\x2f\x52\157\x6c\x65\15\12\x9\x9\115\x61\160\x70\x69\x6e\x67\74\57\141\x3e";
if (!Mo_License_Service::is_customer_license_valid(false, false)) {
goto OFs;
}
echo "\74\141\x20\x63\154\141\163\163\75\x22\156\141\x76\x2d\x74\x61\142\40" . ($rV == "\x73\145\x74\x74\151\x6e\147\163" ? "\156\x61\166\x2d\x74\141\142\x2d\141\143\164\x69\x76\x65" : '') . "\42\15\12\x9\x9\x9\x68\x72\145\x66\x3d\x22" . add_query_arg(array("\164\141\x62" => "\163\145\x74\164\x69\x6e\x67\x73"), $_SERVER["\x52\105\121\x55\105\123\124\137\125\x52\x49"]) . "\x22\76\122\145\144\151\162\x65\143\x74\x69\x6f\x6e\40\46\x20\x53\123\117\40\114\x69\156\x6b\x73\74\x2f\x61\76";
OFs:
echo "\74\x61\x20\143\154\x61\x73\163\75\x22\x6e\141\166\x2d\x74\x61\142\40" . ($rV == "\x63\165\163\x74\x6f\x6d\137\x63\x65\x72\164\x69\146\x69\x63\x61\164\x65" ? "\156\141\x76\55\164\141\x62\x2d\141\143\164\x69\166\x65" : '') . "\42\xd\12\11\11\x68\x72\x65\x66\75\42" . add_query_arg(array("\164\x61\142" => "\x63\x75\163\164\157\x6d\137\x63\x65\x72\164\x69\x66\x69\143\x61\164\145"), $_SERVER["\x52\105\121\125\105\123\x54\x5f\125\x52\x49"]) . "\x22\x3e\115\x61\156\x61\147\145\x20\103\145\x72\164\x69\146\151\x63\x61\x74\x65\x3c\57\141\x3e\15\12\15\xa\x9\11\74\x61\40\x63\154\141\163\163\75\x22\156\x61\166\x2d\164\141\142\40" . ($rV == "\x63\165\163\x74\157\x6d\137\x6d\x65\x73\x73\141\147\x65\163" ? "\x6e\x61\x76\x2d\x74\x61\142\x2d\141\143\164\x69\166\x65" : '') . "\x22\xd\12\x9\11\x68\x72\145\146\75\42" . add_query_arg(array("\164\x61\142" => "\x63\165\x73\x74\157\155\x5f\155\145\x73\163\141\147\x65\163"), $_SERVER["\122\105\121\125\105\123\124\x5f\x55\122\111"]) . "\42\x3e\103\x75\163\x74\157\155\40\x4d\x65\163\x73\x61\147\x65\x73\x3c\57\141\76";
if (!Mo_License_Service::is_customer_license_verified()) {
goto NPd;
}
echo "\x3c\x61\40\143\x6c\141\163\163\75\42\x6e\141\166\x2d\164\141\x62\40" . ($rV == "\141\x63\143\157\165\156\164\x5f\x69\156\x66\x6f" ? "\x6e\x61\x76\55\164\x61\x62\x2d\x61\x63\164\151\x76\145" : '') . "\42\xd\xa\11\11\x9\150\x72\x65\146\75\42" . add_query_arg(array("\164\141\142" => "\141\143\x63\157\165\x6e\164\137\x69\156\146\157"), $_SERVER["\x52\x45\x51\125\x45\123\124\137\x55\x52\111"]) . "\x22\76\101\143\143\x6f\x75\x6e\x74\40\111\156\x66\x6f\x3c\x2f\141\76";
NPd:
echo "\74\57\x68\x32\x3e";
if ($rV == "\163\x61\x76\145") {
goto ZOg;
}
echo "\x3c\164\144\x20\x73\164\171\x6c\x65\75\x22\x76\145\x72\x74\151\x63\x61\154\55\141\x6c\x69\147\156\x3a\x20\x74\x6f\x70\73\x20\167\x69\x64\164\x68\x3a\x20\x36\x35\x25\73\x22\76";
goto So1;
ZOg:
echo "\74\x74\x64\x20\x73\x74\171\154\145\75\42\166\145\x72\164\x69\143\141\x6c\x2d\141\x6c\151\147\x6e\72\40\164\157\160\73\40\x77\151\144\164\x68\x3a\40\71\65\45\x3b\x22\x3e";
So1:
if ($rV == "\x73\141\166\x65") {
goto TCw;
}
if ($rV == "\x61\x74\x74\x72\151\x62\165\164\145\x5f\162\157\154\x65") {
goto GQ3;
}
if ($rV == "\x64\x6f\155\x61\x69\x6e\163") {
goto xBJ;
}
if ($rV == "\163\x70\x5f\x6d\145\164\141\144\x61\x74\141") {
goto vNH;
}
if ($rV == "\163\145\x74\x74\151\x6e\147\x73") {
goto vJS;
}
if ($rV == "\154\151\143\145\x6e\x73\x69\x6e\147") {
goto TXj;
}
if ($rV == "\x63\165\163\x74\157\x6d\137\143\145\x72\x74\x69\x66\x69\x63\141\x74\x65") {
goto wM1;
}
if ($rV == "\143\165\163\164\x6f\x6d\x5f\155\145\163\x73\141\147\x65\163") {
goto CWe;
}
if ($rV == "\141\143\143\x6f\x75\156\x74\x5f\x69\156\x66\x6f") {
goto tY_;
}
if ("\154\157\x67\x69\x6e" === $rV) {
goto Ebm;
}
goto i6j;
tY_:
mo_saml_display_account_information();
goto i6j;
Ebm:
$ph = Mo_License_Service::is_license_expired();
if (get_option("\x6d\157\x5f\163\x61\x6d\x6c\x5f\166\145\162\x69\146\x79\137\x63\x75\x73\164\x6f\155\145\x72") == "\164\162\x75\145" || ("\x4d\111\x53\x53\x49\x4e\107\x5f\x4f\x52\137\111\116\x56\x41\114\111\104\137\x43\125\123\124\117\x4d\105\x52\137\x4b\x45\131" === $ph["\103\117\x44\x45"] || "\115\x49\123\x53\111\116\107\137\103\x55\123\x54\x4f\x4d\105\122\x5f\105\115\x41\111\x4c" === $ph["\x43\x4f\104\105"])) {
goto JER;
}
if (get_option("\x6d\x6f\x5f\x73\141\155\154\137\162\x65\147\151\x73\164\162\x61\x74\151\157\156\x5f\x73\x74\141\x74\x75\163") == "\x4d\117\137\117\124\120\x5f\x44\x45\114\x49\x56\x45\x52\x45\104\x5f\123\125\x43\x43\x45\x53\123\137\x45\115\101\x49\114" || get_option("\x6d\x6f\137\163\x61\155\x6c\137\162\x65\147\x69\x73\x74\x72\141\x74\151\157\156\137\163\x74\141\164\x75\163") == "\115\117\x5f\117\124\120\137\104\105\114\x49\126\x45\x52\x45\104\137\123\x55\x43\103\x45\123\x53\137\120\110\117\116\x45" || get_option("\155\157\x5f\163\x61\155\154\x5f\x72\145\x67\x69\x73\x74\162\141\x74\151\157\156\x5f\163\x74\141\164\165\163") == "\115\x4f\137\x4f\x54\120\137\x56\x41\x4c\x49\104\x41\x54\111\117\116\x5f\x46\x41\111\114\x55\x52\105\137\105\x4d\101\x49\x4c" || get_option("\x6d\157\x5f\163\x61\x6d\x6c\137\162\x65\x67\151\163\x74\x72\x61\x74\151\157\x6e\x5f\163\x74\x61\x74\x75\x73") == "\x4d\117\x5f\117\x54\x50\x5f\x56\101\114\x49\x44\101\x54\111\117\116\137\x46\101\111\114\x55\x52\x45\137\120\110\117\116\x45" || get_option("\x6d\x6f\137\x73\x61\155\x6c\x5f\x72\x65\147\151\x73\x74\162\141\164\x69\x6f\156\x5f\163\x74\141\164\x75\163") == "\115\x4f\x5f\117\x54\120\x5f\x44\x45\114\x49\126\x45\122\x45\104\x5f\106\101\111\x4c\x55\122\x45") {
goto snU;
}
if (!("\115\x49\x53\123\x49\116\107\137\114\111\103\105\116\123\105\x5f\x4b\x45\x59" === $ph["\x43\x4f\x44\105"])) {
goto trO;
}
mo_saml_show_verify_license_page();
trO:
goto X48;
snU:
mo_saml_show_otp_verification();
X48:
goto BYK;
JER:
mo_saml_show_verify_password_page_saml();
BYK:
i6j:
goto y1W;
CWe:
mo_saml_add_custom_messages();
y1W:
goto rGt;
wM1:
mo_saml_add_custom_certificate();
rGt:
goto IWN;
TXj:
mo_saml_show_pricing_page();
IWN:
goto kbo;
vJS:
mo_saml_general_login_page();
kbo:
goto Zb5;
vNH:
mo_saml_configuration_steps();
Zb5:
goto kIC;
xBJ:
mo_saml_domain_mapping_page();
kIC:
goto NZz;
GQ3:
mo_saml_save_optional_config();
NZz:
goto JBZ;
TCw:
mo_saml_apps_config_saml();
JBZ:
echo "\x3c\x2f\164\144\x3e\xd\xa\11\x9\x9\74\x74\x64\40\163\164\171\x6c\145\75\x22\x76\145\162\164\x69\143\141\154\55\141\x6c\151\x67\x6e\x3a\164\x6f\160\73\x70\x61\144\x64\x69\156\147\55\x6c\x65\x66\x74\72\x31\45\73\x22\x3e";
$Lx = get_option("\155\157\x5f\163\141\x6d\x6c\x5f\141\x74\164\x72\x5f\155\x61\x70\x70\x69\156\147\137\x69\x64\x70\x5f\156\141\155\145");
$AF = maybe_unserialize(get_option("\x6d\157\137\x73\x61\155\x6c\x5f\164\145\x73\x74\x5f\143\x6f\x6e\x66\x69\147\x5f\x61\x74\x74\x72\x73"));
if (!($rV !== "\163\x61\x76\145")) {
goto ksS;
}
if ($rV !== "\x61\x74\164\x72\151\142\165\164\x65\137\x72\x6f\x6c\145" || empty($AF[$Lx])) {
goto BvO;
}
mo_saml_display_attrs_list($Lx);
goto GdS;
BvO:
miniorange_support_saml();
miniorange_keep_configuration_saml();
GdS:
ksS:
echo "\74\57\x74\144\76\xd\xa\x9\x9\x3c\x2f\164\162\x3e\15\12\x9\74\x2f\x74\141\x62\154\145\x3e\xd\12\11\74\57\x64\151\166\x3e";
IyW:
echo "\x3c\x66\x6f\162\x6d\x20\156\x61\x6d\145\75\x22\x66\42\40\x6d\x65\164\150\157\x64\x3d\x22\160\157\163\164\x22\x20\141\143\x74\x69\157\x6e\75\x22\42\x20\151\144\x3d\42\x6d\x6f\137\x73\141\x6d\x6c\137\x63\x68\x65\x63\x6b\x5f\154\x69\x63\x65\x6e\163\145\42\76";
wp_nonce_field("\155\157\x5f\163\141\x6d\154\x5f\143\x68\145\143\x6b\137\x6c\x69\143\145\156\163\x65");
echo "\x3c\151\x6e\160\x75\x74\40\164\171\x70\x65\75\x22\150\151\144\x64\x65\156\x22\x20\x6e\141\x6d\145\x3d\42\x6f\x70\164\151\157\156\42\40\166\141\x6c\x75\x65\x3d\x22\155\x6f\x5f\163\x61\x6d\154\x5f\x63\x68\x65\x63\x6b\137\154\x69\143\145\156\163\x65\42\57\76\15\12\11\x9\x3c\57\x66\x6f\162\x6d\76\15\12\x9\x9\x3c\x66\157\162\x6d\40\x73\164\x79\x6c\145\x3d\42\144\x69\163\x70\154\141\171\72\156\x6f\156\145\x3b\x22\x20\151\x64\x3d\x22\x6c\157\147\151\156\146\x6f\x72\155\42\40\141\x63\x74\151\x6f\x6e\x3d\x22" . mo_options_plugin_constants::HOSTNAME . "\57\155\157\x61\163\x2f\x6c\x6f\147\x69\x6e\42\15\12\x9\11\164\x61\x72\x67\145\x74\75\x22\137\142\154\141\x6e\153\42\40\x6d\145\x74\150\157\144\75\x22\160\x6f\x73\164\x22\76\15\12\x9\11\x3c\x69\156\x70\165\x74\x20\164\x79\x70\x65\75\x22\145\155\x61\x69\154\42\40\156\141\155\145\x3d\x22\165\x73\145\x72\x6e\x61\x6d\x65\x22\40\x76\x61\154\165\x65\x3d\42" . mo_options_plugin_constants::HOSTNAME . "\x22\x20\x2f\76\xd\12\x9\x9\x3c\x69\156\160\165\x74\x20\x74\171\160\x65\x3d\42\164\x65\170\x74\42\x20\x6e\x61\x6d\x65\x3d\x22\162\145\x64\x69\x72\145\x63\164\x55\x72\154\42\40\x76\x61\x6c\x75\145\75\x22" . mo_options_plugin_constants::HOSTNAME . "\57\155\157\141\163\x2f\x76\151\145\167\154\151\143\x65\x6e\163\145\x6b\x65\x79\163\x22\40\x2f\x3e\xd\12\x9\x9\74\x69\156\160\165\164\40\x74\x79\x70\145\x3d\42\164\145\x78\x74\42\40\156\141\155\x65\75\42\x72\x65\x71\165\x65\x73\164\117\162\151\x67\151\x6e\42\x20\166\141\x6c\165\x65\75\x22\x77\160\137\x73\141\x6d\154\x5f\163\x73\157\137\142\x61\x73\x69\x63\137\x70\154\141\x6e\42\40\x20\x2f\x3e\15\12\x9\x9\x3c\x2f\x66\x6f\162\x6d\76\xd\12\11\x9\x3c\x73\143\162\x69\160\164\76\15\12\11\11\11\152\121\x75\145\x72\x79\50\x22\141\x5b\150\x72\x65\146\x3d\x5c\42\43\141\x63\x74\x69\x76\x61\164\145\154\151\x63\x65\156\x73\x65\x5c\42\135\x22\x29\56\x63\154\151\143\x6b\50\146\165\x6e\143\x74\x69\157\x6e\50\x29\173\xd\xa\11\x9\11\x9\152\x51\165\x65\x72\171\50\42\x23\155\157\137\163\x61\155\154\137\x63\x68\x65\143\153\137\x6c\x69\x63\x65\156\163\145\42\x29\56\x73\x75\x62\x6d\151\164\50\51\73\15\xa\11\11\11\x7d\51\73\xd\12\11\11\x3c\57\x73\143\162\151\x70\x74\76";
}
function mo_saml_is_extension_installed($VN)
{
if (Utilities::mo_saml_in_array($VN, get_loaded_extensions())) {
goto eKJ;
}
return 0;
goto OOZ;
eKJ:
return 1;
OOZ:
}
function mo_saml_show_new_registration_page_saml()
{
update_option("\x6d\157\x5f\163\x61\x6d\x6c\137\156\145\x77\137\162\x65\147\151\x73\x74\162\x61\x74\151\x6f\x6e", "\x74\162\x75\x65");
echo "\x3c\x66\x6f\162\155\x20\x6e\x61\155\x65\x3d\x22\146\42\x20\155\x65\164\x68\157\x64\75\x22\160\157\x73\164\42\x20\141\143\164\151\x6f\x6e\x3d\x22\x22\x3e";
wp_nonce_field("\x6d\x6f\137\163\x61\x6d\x6c\x5f\162\x65\x67\x69\163\164\x65\x72\x5f\x63\x75\163\164\157\155\x65\162");
echo "\x3c\x69\156\x70\165\164\x20\x74\x79\160\x65\75\x22\150\x69\x64\x64\145\156\42\40\156\141\x6d\145\75\42\157\x70\x74\151\157\156\42\x20\x76\x61\154\x75\145\75\42\155\x6f\x5f\163\141\x6d\154\137\x72\145\147\x69\x73\164\145\x72\137\x63\165\163\164\x6f\x6d\x65\162\42\x20\x2f\76\15\12\x9\x9\x9\x3c\144\x69\166\x20\143\154\141\x73\163\x3d\42\x6d\x6f\x5f\x73\141\155\x6c\137\164\x61\142\154\x65\x5f\154\141\171\157\165\164\42\40\163\x74\171\x6c\145\75\x22\160\x61\144\x64\151\x6e\147\x2d\142\x6f\x74\164\157\x6d\x3a\67\62\160\x78\x3b\x22\76\15\xa\11\11\11\x9\x9\74\150\63\x3e\122\x65\x67\151\163\164\145\x72\x20\x77\x69\x74\x68\40\x6d\x69\156\x69\117\162\141\156\x67\145\x3c\57\150\x33\x3e\xd\12\11\11\x9\11\11\x3c\x70\76\74\x61\x20\150\162\x65\146\75\42\x23\x22\x20\x69\x64\x3d\42\x68\x65\154\x70\x5f\162\145\147\151\x73\x74\145\162\137\154\x69\x6e\153\42\x3e\x5b\40\127\150\171\x20\163\150\x6f\165\154\x64\x20\111\40\x72\x65\147\x69\163\x74\x65\162\x3f\x20\x5d\x3c\x2f\x61\76\74\x2f\x70\76\xd\12\x9\11\x9\11\11\x3c\144\151\x76\40\150\151\144\x64\x65\156\x20\x69\x64\75\x22\150\x65\154\160\x5f\x72\x65\x67\x69\163\164\x65\x72\x5f\x64\x65\163\x63\x22\x20\143\154\141\163\x73\x3d\x22\x6d\157\x5f\x73\141\155\154\x5f\x68\145\154\x70\x5f\x64\145\163\x63\42\76\15\xa\x9\x9\x9\x9\x9\11\x59\157\x75\x20\163\x68\157\x75\x6c\144\x20\x72\x65\x67\151\163\164\145\162\x20\x73\157\40\x74\150\141\x74\40\x69\x6e\40\143\141\163\145\40\171\x6f\x75\x20\156\145\x65\x64\x20\x68\x65\x6c\x70\x2c\40\167\145\x20\143\x61\156\x20\x68\x65\x6c\160\x20\x79\x6f\x75\40\167\151\164\150\x20\163\164\x65\x70\40\142\x79\40\163\164\x65\x70\x20\151\x6e\x73\164\x72\x75\x63\164\151\x6f\156\163\x2e\40\127\145\40\163\165\x70\x70\x6f\162\164\40\x61\154\x6c\x20\153\156\157\x77\x6e\x20\x49\x64\x50\x73\40\x2d\x20\74\x62\76\x41\104\x46\x53\x2c\x20\117\153\164\x61\54\x20\x53\141\x6c\x65\163\x66\157\x72\x63\x65\x2c\x20\123\x68\151\x62\142\157\x6c\x65\164\x68\x2c\x20\123\151\x6d\x70\154\x65\123\101\115\x4c\160\150\160\54\40\x4f\x70\x65\x6e\x41\x4d\54\x20\x43\x65\x6e\164\x72\151\x66\x79\x2c\x20\120\151\156\x67\54\x20\x52\x53\x41\x2c\x20\111\x42\115\54\40\x4f\162\141\x63\154\145\x2c\40\117\x6e\145\114\157\x67\x69\156\54\40\102\x69\x74\x69\165\x6d\54\x20\x4a\x42\x6f\163\163\x20\113\145\171\143\x6c\157\141\x6b\40\x65\164\143\74\57\x62\76\56\15\12\x9\x9\x9\x9\11\x3c\57\x64\151\166\76\xd\xa\11\11\11\11\x9\74\x2f\x70\76\15\12\11\11\11\x9\x9\74\x74\x61\142\154\x65\x20\x63\x6c\x61\x73\163\75\42\x6d\157\x5f\163\141\155\x6c\x5f\163\x65\164\164\x69\156\x67\163\137\x74\141\x62\x6c\x65\42\76\xd\xa\x9\11\x9\11\11\11\74\164\162\76\xd\12\11\x9\x9\11\11\11\x9\74\x74\144\76\x3c\x62\x3e\74\146\157\x6e\x74\x20\x63\x6f\154\157\x72\75\x22\43\106\106\x30\x30\x30\x30\42\76\52\x3c\57\x66\x6f\156\x74\x3e\x45\x6d\x61\x69\x6c\x3a\74\x2f\x62\x3e\74\x2f\x74\x64\x3e\xd\xa\11\11\x9\11\11\11\11\74\x74\144\76\x3c\x69\x6e\160\165\164\x20\x63\154\x61\x73\163\75\42\x6d\157\137\163\141\x6d\154\x5f\164\141\x62\x6c\x65\x5f\x74\145\170\164\x62\x6f\x78\x22\x20\164\171\160\x65\75\x22\x65\x6d\141\x69\x6c\42\40\x6e\141\155\x65\x3d\42\145\155\141\151\x6c\x22\15\xa\11\11\x9\x9\x9\11\11\x9\x72\145\x71\165\x69\x72\x65\144\40\x70\x6c\x61\143\145\x68\x6f\154\144\145\162\x3d\42\160\145\x72\163\x6f\156\100\145\x78\x61\155\160\154\x65\56\x63\x6f\x6d\x22\15\xa\11\x9\x9\x9\x9\11\11\x9\166\x61\x6c\165\x65\75\42" . get_option("\155\157\x5f\x73\x61\x6d\154\137\141\x64\x6d\151\x6e\x5f\x65\x6d\x61\x69\154") . "\42\40\57\x3e\x3c\x2f\x74\144\76\xd\xa\11\x9\11\x9\11\11\x3c\57\164\x72\x3e\xd\xa\15\12\x9\11\11\11\11\x9\74\164\162\x3e\xd\xa\x9\11\x9\11\x9\11\11\74\164\x64\76\x3c\142\x3e\x50\150\x6f\x6e\145\40\156\165\155\x62\145\x72\72\x3c\57\142\x3e\x3c\x2f\x74\144\x3e\xd\12\x9\11\11\x9\x9\x9\x9\74\x74\144\x3e\74\151\x6e\160\x75\164\x20\x63\154\141\163\163\x3d\x22\x6d\157\x5f\x73\141\155\x6c\137\x74\x61\x62\154\145\x5f\164\145\170\164\142\157\170\42\40\164\171\160\145\x3d\42\164\145\154\x22\x20\x69\x64\x3d\42\160\x68\x6f\x6e\x65\137\x63\157\x6e\164\x61\x63\x74\42\x20\x73\x74\x79\x6c\x65\x3d\42\167\x69\x64\164\150\x3a\70\60\45\x3b\x22\15\xa\11\11\x9\11\11\x9\x9\11\160\x61\x74\x74\x65\162\156\x3d\x22\x5b\x5c\x2b\x5d\x5c\144\x7b\61\x31\54\61\x34\175\x7c\133\134\53\x5d\x5c\x64\x7b\x31\x2c\64\x7d\x28\x5b\x5c\163\x5d\173\60\54\x31\x7d\x29\50\134\x64\x7b\60\175\174\134\x64\x7b\x39\54\x31\60\175\51\x22\x20\x63\x6c\141\163\163\x3d\42\155\x6f\137\x73\141\155\x6c\x5f\x74\141\x62\x6c\x65\x5f\x74\x65\x78\164\142\x6f\170\x22\x20\x6e\x61\155\145\75\x22\160\x68\x6f\156\x65\x22\15\12\x9\x9\x9\11\x9\x9\x9\x9\x74\151\x74\154\x65\75\42\120\x68\x6f\x6e\x65\40\x77\151\164\150\x20\143\x6f\165\x6e\x74\x72\171\40\143\157\x64\145\x20\x65\x67\x2e\x20\x2b\x31\170\x78\x78\x78\x78\x78\170\170\170\170\42\xd\12\x9\11\11\x9\11\x9\11\11\160\x6c\x61\143\x65\150\157\154\x64\145\162\75\x22\120\150\x6f\156\145\40\167\x69\164\x68\x20\143\x6f\165\x6e\x74\162\x79\40\x63\157\144\x65\40\x65\x67\x2e\40\x2b\x31\170\x78\170\x78\x78\x78\170\x78\170\x78\42\xd\12\x9\x9\x9\11\11\11\11\11\166\141\154\165\x65\x3d\42" . get_option("\155\x6f\x5f\x73\x61\155\x6c\137\141\144\x6d\x69\156\x5f\x70\x68\x6f\156\x65") . "\42\x20\57\x3e\74\57\164\x64\76\15\12\x9\x9\11\11\11\11\x3c\x2f\164\x72\76\xd\12\x9\x9\11\11\x9\11\x9\74\164\162\76\15\xa\x9\x9\11\x9\x9\11\x9\11\74\164\x64\x3e\x3c\x2f\164\144\76\15\xa\11\x9\x9\11\x9\x9\x9\x9\74\164\x64\76\x57\x65\x20\x77\x69\x6c\154\40\x63\141\154\154\x20\x6f\x6e\154\x79\x20\x69\146\x20\171\x6f\x75\40\156\145\x65\x64\40\163\x75\x70\160\x6f\x72\x74\56\74\57\164\144\x3e\xd\12\11\x9\x9\11\11\x9\11\74\x2f\x74\162\x3e\15\12\x9\x9\x9\x9\x9\11\x3c\164\x72\76\15\12\11\11\11\x9\x9\x9\x9\x3c\164\x64\76\x3c\142\x3e\74\146\x6f\x6e\164\x20\x63\x6f\154\x6f\x72\75\42\43\106\x46\60\x30\x30\60\42\x3e\x2a\x3c\57\x66\x6f\x6e\x74\76\120\141\x73\163\x77\157\x72\144\x3a\x3c\57\142\76\74\x2f\x74\144\76\15\12\x9\x9\11\11\11\11\11\74\x74\144\76\74\151\156\x70\165\164\x20\143\154\141\163\x73\75\42\155\157\137\163\141\x6d\x6c\x5f\164\x61\x62\154\145\137\x74\145\x78\164\142\157\170\42\x20\162\x65\x71\165\151\162\x65\144\40\x74\x79\160\145\75\x22\160\141\x73\x73\167\157\x72\x64\42\xd\12\x9\11\x9\x9\11\11\x9\11\x6e\x61\155\145\x3d\42\x70\x61\x73\163\167\157\x72\144\x22\x20\x70\x6c\141\143\x65\x68\x6f\154\x64\x65\x72\x3d\42\x43\150\157\x6f\x73\x65\x20\x79\x6f\165\x72\x20\160\x61\163\163\x77\x6f\162\144\40\x28\x4d\151\156\56\40\154\145\156\147\164\150\x20\x36\51\42\15\12\x9\11\11\11\11\11\x9\11\155\x69\156\x6c\145\156\147\164\150\75\42\66\x22\40\x70\x61\x74\x74\x65\162\156\75\x22\136\133\50\134\x77\51\x2a\50\x21\100\x23\x24\45\136\46\52\55\137\x29\x2a\x5d\53\x24\x22\15\12\11\11\11\x9\11\x9\11\11\x74\x69\x74\x6c\x65\x3d\x22\x4d\x69\x6e\151\x6d\x75\155\40\x36\40\x63\150\141\162\141\143\x74\x65\162\x73\x20\x73\x68\157\x75\154\144\x20\x62\145\x20\x70\162\145\x73\x65\156\x74\x2e\x20\x4d\141\170\x69\155\165\x6d\x20\61\65\x20\143\x68\141\162\141\143\x74\x65\x72\163\x20\x73\x68\157\x75\x6c\144\40\142\x65\40\x70\162\145\163\145\x6e\x74\56\x20\117\x6e\x6c\171\x20\146\157\154\154\157\167\151\x6e\147\x20\163\171\155\142\x6f\x6c\163\x20\50\x21\100\x23\56\44\45\x5e\46\52\55\137\x29\40\163\150\x6f\x75\154\x64\x20\142\145\x20\160\162\145\163\145\x6e\164\42\15\xa\11\11\11\x9\11\11\11\x9\57\76\74\x2f\164\144\76\15\12\x9\11\11\11\x9\x9\x3c\57\x74\162\76\15\12\x9\11\x9\x9\11\x9\x3c\x74\x72\76\xd\12\x9\11\x9\x9\11\x9\x9\74\164\144\x3e\x3c\142\76\74\x66\x6f\x6e\x74\x20\143\157\x6c\x6f\162\75\x22\43\106\x46\60\x30\60\60\x22\x3e\x2a\x3c\57\x66\157\156\164\x3e\103\157\156\x66\151\x72\x6d\x20\120\x61\x73\x73\167\x6f\x72\x64\72\x3c\57\142\76\74\x2f\164\144\76\15\12\x9\11\11\x9\x9\x9\11\74\164\144\x3e\74\x69\x6e\x70\165\164\x20\143\154\141\163\163\x3d\42\x6d\157\x5f\x73\141\x6d\154\137\x74\x61\142\x6c\145\137\x74\145\170\164\x62\x6f\x78\x22\40\162\x65\161\165\151\x72\x65\144\40\164\171\160\x65\75\x22\160\141\163\x73\167\157\x72\x64\x22\15\xa\11\11\11\x9\x9\11\x9\x9\156\141\155\x65\75\42\x63\x6f\156\146\151\162\155\120\x61\x73\x73\x77\157\x72\x64\42\x20\160\154\x61\x63\145\x68\157\154\144\x65\x72\75\42\x43\x6f\x6e\146\151\162\x6d\x20\x79\x6f\x75\162\x20\160\141\x73\163\167\x6f\x72\x64\x22\xd\12\11\x9\x9\x9\x9\x9\x9\x9\x6d\151\156\154\145\x6e\x67\x74\x68\75\x22\66\x22\40\x70\x61\164\164\x65\x72\156\x3d\42\136\x5b\50\134\167\x29\x2a\50\x21\100\x23\x24\45\136\46\x2a\x2d\x5f\51\52\135\x2b\x24\42\xd\12\11\x9\x9\11\x9\x9\x9\11\x74\151\164\x6c\x65\75\42\115\x69\156\151\155\x75\x6d\40\x36\x20\x63\150\x61\x72\141\x63\x74\145\162\163\x20\x73\150\157\165\154\144\40\x62\x65\x20\160\x72\145\x73\145\x6e\x74\56\40\x4d\x61\170\151\x6d\165\155\x20\61\x35\40\x63\x68\x61\162\x61\143\x74\145\162\163\x20\163\x68\x6f\165\x6c\x64\x20\x62\x65\40\160\x72\145\x73\145\156\164\56\40\x4f\156\x6c\x79\40\x66\157\x6c\x6c\157\167\151\156\147\40\x73\171\155\142\x6f\154\x73\x20\x28\41\x40\43\x2e\44\45\x5e\46\52\55\137\51\40\163\150\157\165\x6c\144\x20\x62\x65\x20\x70\x72\x65\x73\145\x6e\164\42\15\xa\11\11\x9\11\x9\11\11\x9\x2f\76\x3c\x2f\164\144\x3e\xd\12\x9\11\11\11\x9\x9\74\x2f\x74\162\76\15\12\11\11\x9\x9\x9\11\74\x74\162\76\15\xa\x9\x9\x9\x9\11\11\11\x3c\164\144\76\x26\156\142\163\x70\73\x3c\x2f\164\144\76\xd\12\x9\x9\x9\11\x9\x9\11\74\x74\144\x3e\74\151\156\x70\165\x74\40\164\171\x70\x65\x3d\42\x73\x75\142\x6d\x69\164\x22\40\x6e\x61\x6d\145\75\42\163\165\x62\x6d\x69\x74\x22\40\166\141\154\165\x65\x3d\42\x52\145\x67\x69\x73\x74\145\162\42\15\xa\11\x9\x9\11\11\11\11\x9\143\154\141\163\x73\x3d\42\x62\165\x74\x74\x6f\156\x20\x62\x75\164\x74\x6f\156\x2d\160\x72\x69\155\141\162\171\40\x62\165\x74\164\x6f\156\55\154\141\x72\147\x65\42\40\x2f\76\74\x2f\x74\x64\76\xd\xa\x9\x9\11\x9\x9\x9\x3c\x2f\x74\x72\x3e\xd\xa\11\x9\x9\11\11\x3c\57\x74\141\x62\154\145\x3e\xd\xa\x9\11\x9\74\x2f\144\151\166\x3e\xd\xa\11\x9\x3c\57\146\157\x72\x6d\x3e";
}
function mo_saml_show_verify_password_page_saml()
{
echo "\x3c\146\x6f\x72\155\x20\156\x61\155\145\75\x22\x66\42\x20\155\x65\164\x68\x6f\144\75\42\160\x6f\x73\x74\x22\x20\141\x63\x74\151\157\156\75\x22\x22\76";
wp_nonce_field("\x6d\157\137\x73\141\x6d\x6c\137\166\145\x72\151\146\x79\137\x63\165\163\x74\x6f\x6d\145\162");
echo "\x3c\151\156\160\x75\x74\40\x74\171\160\145\75\42\150\151\x64\x64\x65\156\x22\x20\x6e\x61\x6d\145\x3d\x22\x6f\x70\164\x69\x6f\156\42\x20\166\141\x6c\x75\145\75\42\x6d\157\x5f\163\141\155\154\137\166\x65\x72\151\x66\171\137\x63\165\x73\x74\x6f\155\145\162\42\x20\57\x3e\xd\12\11\x9\x9\x3c\144\x69\166\40\143\x6c\141\x73\x73\x3d\42\155\x6f\x5f\x73\141\155\154\x5f\164\x61\x62\154\145\137\154\141\171\x6f\x75\x74\x22\x20\163\164\171\x6c\x65\75\42\x70\141\144\x64\151\x6e\x67\55\142\x6f\x74\x74\157\x6d\x3a\x37\62\x70\170\73\42\x3e\15\12\x9\11\x9\11\74\144\x69\x76\x20\151\x64\x3d\x22\x74\x6f\x67\x67\154\145\x31\42\76\15\xa\11\11\11\x9\11\74\150\63\76\114\x6f\147\x69\156\x20\x77\x69\x74\150\40\155\x69\x6e\151\x4f\x72\x61\x6e\147\145\74\x2f\150\63\x3e\15\12\x9\11\x9\11\x3c\x2f\144\151\x76\76\xd\xa\x9\11\11\11\x9\x3c\x21\x2d\x2d\x3c\x70\76\74\x62\x3e\111\164\x20\x73\145\145\x6d\163\40\x79\157\165\x20\x61\x6c\162\x65\141\144\171\x20\x68\x61\166\145\40\141\x6e\x20\141\x63\x63\x6f\x75\x6e\164\40\167\151\164\150\40\x6d\x69\x6e\x69\117\162\141\156\147\145\x2e\x20\120\154\145\x61\163\x65\40\145\x6e\x74\x65\162\40\x79\157\x75\162\x20\x6d\x69\156\x69\117\x72\x61\x6e\147\x65\40\x65\155\141\x69\154\x20\141\x6e\x64\x20\x70\141\x73\x73\167\157\x72\x64\x2e\74\x62\162\57\x3e\55\x2d\76\15\12\11\11\11\11\11\x3c\160\76\74\142\76\74\141\x20\150\162\145\x66\x3d\42\x68\x74\x74\x70\163\72\x2f\57\x6c\157\147\x69\x6e\x2e\170\x65\143\x75\x72\x69\146\171\x2e\143\x6f\155\x2f\155\x6f\141\x73\x2f\x69\144\x70\57\x72\145\x73\x65\164\160\141\163\x73\x77\157\x72\x64\42\x20\x74\x61\162\x67\145\164\x3d\x22\x5f\142\x6c\x61\x6e\x6b\x22\76\x43\x6c\151\143\x6b\x20\150\x65\x72\x65\x20\x69\x66\x20\x79\x6f\x75\x20\146\157\162\147\157\164\40\171\157\x75\x72\x20\160\x61\163\163\x77\x6f\x72\x64\x3f\x3c\57\x61\76\x3c\57\x62\76\74\57\160\x3e\xd\12\11\11\11\11\11\74\x62\x72\x2f\x3e\15\xa\x9\x9\11\11\11\x3c\164\141\142\154\x65\x20\143\x6c\x61\163\163\75\x22\x6d\157\137\x73\141\155\154\x5f\163\145\164\164\151\x6e\147\163\x5f\x74\141\x62\x6c\145\x22\76\xd\12\11\11\x9\x9\x9\x9\74\x74\162\76\15\xa\x9\11\x9\x9\11\x9\x9\74\164\x64\76\x3c\x62\76\74\146\157\156\x74\x20\143\157\x6c\x6f\162\75\x22\x23\106\106\x30\60\60\60\42\76\x2a\x3c\x2f\x66\x6f\156\164\76\x45\x6d\141\x69\x6c\x3a\74\x2f\x62\76\74\x2f\x74\x64\76\xd\12\11\11\11\x9\x9\x9\x9\74\x74\x64\76\74\151\156\x70\x75\x74\x20\x63\154\x61\x73\163\75\42\x6d\x6f\x5f\163\x61\x6d\x6c\x5f\x74\x61\x62\154\x65\x5f\x74\x65\x78\x74\142\157\170\x22\40\x74\171\x70\145\x3d\42\145\155\x61\151\154\42\40\156\141\155\x65\x3d\x22\145\155\141\151\x6c\x22\15\12\11\11\x9\11\x9\11\11\x9\162\145\x71\165\x69\162\145\144\x20\x70\154\x61\x63\145\x68\157\x6c\x64\145\162\75\x22\x70\x65\162\x73\x6f\156\x40\x65\170\141\155\160\154\x65\x2e\143\157\155\42\xd\xa\11\x9\11\x9\11\11\11\11\166\x61\154\x75\x65\75\x22" . get_option("\x6d\157\x5f\x73\x61\x6d\154\x5f\x61\144\x6d\151\x6e\137\145\x6d\141\151\x6c") . "\42\40\57\x3e\74\x2f\x74\144\x3e\xd\xa\x9\x9\11\11\x9\x9\74\57\164\x72\76\15\xa\11\11\11\x9\x9\x9\x3c\x74\x72\76\xd\12\x9\x9\x9\x9\11\x9\74\164\x64\x3e\74\142\76\74\146\157\x6e\x74\40\143\157\x6c\157\x72\x3d\x22\43\106\106\x30\x30\x30\60\42\x3e\52\x3c\57\x66\x6f\x6e\x74\x3e\x50\141\x73\163\x77\x6f\x72\144\72\74\x2f\142\76\74\x2f\x74\144\76\15\xa\x9\x9\11\11\x9\11\x3c\164\144\x3e\x3c\x69\x6e\x70\165\164\40\143\x6c\141\163\x73\75\x22\155\157\x5f\163\x61\x6d\154\x5f\x74\141\142\154\145\x5f\x74\145\170\x74\x62\157\x78\x22\40\162\145\161\165\x69\162\145\144\x20\164\x79\160\145\75\42\x70\141\163\x73\x77\x6f\x72\x64\42\15\xa\11\11\x9\x9\11\x9\x9\156\141\155\145\75\42\160\141\x73\163\x77\x6f\x72\x64\42\40\x70\x6c\x61\143\145\150\x6f\154\x64\145\x72\x3d\42\x43\150\157\157\x73\x65\x20\171\157\x75\x72\40\x70\141\163\x73\167\157\162\x64\42\15\xa\11\11\x9\x9\11\x9\x9\155\x69\156\154\x65\x6e\x67\164\x68\75\42\66\42\x20\x70\x61\164\x74\145\162\156\75\42\x5e\133\50\x5c\x77\51\x2a\50\41\100\x23\44\45\136\x26\x2a\x2d\x5f\x29\x2a\135\53\44\42\xd\xa\x9\11\x9\x9\x9\x9\11\164\151\164\x6c\x65\x3d\x22\115\x69\156\x69\x6d\165\x6d\x20\x36\x20\143\x68\141\162\141\143\164\145\x72\x73\40\163\x68\157\x75\x6c\x64\x20\x62\x65\x20\x70\x72\x65\163\145\156\x74\x2e\40\x4d\x61\170\x69\155\x75\155\40\61\65\40\143\x68\141\162\141\143\x74\x65\x72\x73\40\163\x68\157\x75\154\x64\x20\x62\145\40\x70\162\x65\x73\x65\x6e\164\x2e\40\x4f\x6e\x6c\171\40\146\x6f\154\x6c\x6f\167\x69\156\147\x20\x73\x79\155\x62\157\154\x73\x20\50\41\x40\43\56\44\45\x5e\x26\x2a\55\137\51\40\163\150\x6f\x75\x6c\x64\x20\142\x65\x20\x70\x72\x65\x73\145\x6e\x74\x22\xd\12\11\x9\x9\11\x9\11\11\57\76\x3c\57\164\144\76\xd\12\x9\x9\11\11\11\x9\x3c\57\x74\162\76\xd\xa\xd\xa\x9\x9\11\11\x9\11\x3c\x74\162\76\xd\12\x9\11\11\x9\x9\11\x9\74\164\144\76\x26\x6e\142\163\160\73\74\57\x74\x64\x3e\xd\xa\x9\11\x9\11\11\11\11\74\x74\144\x3e\15\12\x9\11\x9\11\x9\11\11\x3c\x69\x6e\x70\165\x74\40\164\x79\x70\x65\75\x22\x73\x75\x62\155\151\x74\x22\40\x6e\141\155\x65\75\x22\x73\165\x62\155\151\164\x22\40\x76\141\x6c\x75\145\75\42\114\x6f\x67\x69\156\x22\xd\12\11\11\x9\11\11\x9\x9\11\143\x6c\x61\163\x73\75\42\142\165\164\x74\157\x6e\40\142\165\x74\164\157\x6e\55\x70\162\x69\x6d\x61\162\171\x20\x62\165\x74\x74\x6f\x6e\x2d\154\141\162\x67\145\42\x20\57\x3e\74\57\x74\x64\76\15\12\11\x9\11\x9\11\11\x3c\x2f\x74\162\x3e\15\xa\x9\11\11\11\11\74\x2f\x74\141\142\154\145\x3e\15\xa\x9\11\x9\74\57\x64\x69\166\76\15\12\11\x9\x3c\x2f\146\x6f\162\x6d\76\15\xa\11\x9\74\x66\157\x72\x6d\40\x6e\x61\x6d\x65\75\x22\146\x22\x20\x6d\145\x74\150\x6f\x64\x3d\x22\x70\157\x73\164\x22\40\141\x63\164\x69\157\x6e\x3d\42\x22\40\151\144\x3d\42\x6d\157\x5f\x73\141\155\x6c\x5f\147\x6f\x62\x61\143\x6b\137\146\157\x72\x6d\42\76";
wp_nonce_field("\155\x6f\x5f\x73\x61\x6d\154\x5f\x67\157\x5f\x62\x61\x63\153");
echo "\x3c\151\x6e\160\x75\164\40\x74\171\x70\145\75\42\150\151\x64\144\x65\156\x22\x20\x6e\141\x6d\x65\75\x22\x6f\160\x74\151\157\156\42\40\x76\141\154\165\x65\75\x22\x6d\x6f\x5f\163\x61\155\154\x5f\147\157\137\142\x61\143\153\42\57\76\xd\12\11\11\74\57\x66\x6f\x72\x6d\x3e\xd\xa\11\11\74\146\x6f\x72\x6d\x20\156\141\155\x65\75\x22\146\42\x20\x6d\145\164\150\157\144\75\x22\x70\157\163\x74\42\40\x61\x63\x74\151\x6f\x6e\x3d\x22\x22\40\151\144\75\x22\155\x6f\x5f\163\x61\155\154\x5f\x66\157\x72\x67\157\x74\x70\x61\x73\x73\x77\157\x72\x64\x5f\146\157\x72\x6d\42\x3e";
wp_nonce_field("\x6d\157\x5f\x73\x61\x6d\154\137\x66\157\162\x67\157\164\137\160\141\163\x73\x77\157\x72\144\137\x66\157\x72\x6d\x5f\x6f\x70\164\151\x6f\156");
echo "\x3c\x69\156\160\x75\164\40\164\171\x70\145\75\x22\150\x69\x64\144\145\156\x22\x20\156\x61\x6d\x65\75\x22\157\x70\164\151\x6f\x6e\x22\x20\x76\x61\x6c\165\145\x3d\x22\x6d\x6f\x5f\x73\141\155\x6c\137\146\157\x72\147\x6f\x74\x5f\160\x61\x73\x73\167\x6f\x72\x64\137\x66\157\x72\155\x5f\157\x70\x74\x69\157\156\x22\x2f\76\15\12\x9\11\74\57\x66\157\x72\x6d\76\15\12\11\11\74\163\x63\162\x69\160\164\76\15\xa\11\x9\11\152\x51\x75\x65\x72\171\50\42\43\x6d\x6f\137\163\x61\x6d\154\x5f\x67\157\142\x61\143\153\42\51\56\x63\154\151\x63\x6b\x28\x66\x75\x6e\143\164\x69\157\156\50\x29\173\15\12\x9\x9\x9\x9\152\x51\x75\145\162\x79\x28\42\x23\x6d\157\137\x73\x61\155\x6c\137\x67\x6f\x62\x61\x63\153\137\x66\157\x72\x6d\x22\x29\x2e\163\x75\x62\155\x69\164\50\51\x3b\xd\12\x9\11\x9\x7d\x29\x3b\15\12\x9\11\x9\152\121\x75\145\162\171\x28\x22\141\x5b\x68\x72\x65\146\x3d\134\42\43\x6d\157\x5f\x73\141\155\x6c\x5f\x66\x6f\x72\x67\x6f\164\137\160\x61\x73\x73\x77\x6f\162\144\x5f\x6c\x69\156\153\x5c\42\135\x22\51\x2e\x63\x6c\151\143\153\50\x66\x75\x6e\143\x74\x69\157\x6e\x28\51\173\xd\xa\x9\x9\11\11\x6a\121\165\x65\162\x79\x28\42\x23\155\x6f\137\x73\141\155\154\137\x66\157\162\147\157\x74\160\x61\163\x73\x77\x6f\x72\x64\137\146\157\162\x6d\42\51\x2e\x73\165\x62\x6d\x69\164\50\51\x3b\xd\12\x9\11\x9\175\51\73\xd\xa\x9\x9\x3c\57\163\143\x72\x69\160\164\x3e";
}
function mo_saml_show_verify_license_page()
{
echo "\x3c\x64\151\x76\x20\143\x6c\141\x73\x73\75\x22\155\157\137\163\141\155\x6c\x5f\x74\141\142\x6c\145\x5f\154\x61\x79\x6f\165\164\x22\x20\163\164\x79\x6c\145\x3d\x22\x70\x61\x64\144\151\156\147\x2d\x62\x6f\x74\164\x6f\155\72\x35\x30\x70\x78\73\x21\151\155\160\x6f\162\x74\x61\x6e\164\x22\76";
echo "\74\x68\x33\76\126\145\x72\151\146\171\x20\x4c\x69\143\x65\x6e\x73\x65\x20\x20\x5b\40\x3c\x73\x70\141\156\x20\x73\x74\x79\x6c\x65\75\x22\146\157\x6e\164\x2d\x73\x69\x7a\x65\72\x31\63\x70\x78\73\146\157\156\164\x2d\x73\x74\171\154\x65\x3a\x6e\x6f\162\155\x61\154\x3b\42\x3e\74\141\40\x73\164\x79\154\x65\75\x22\x63\165\162\x73\157\x72\72\x70\157\151\x6e\164\145\x72\73\x22\x20\157\156\x63\154\x69\x63\153\x3d\42\147\x65\164\x6c\x69\x63\145\156\163\x65\153\x65\x79\x73\x66\x6f\x72\x6d\50\x29\x22\40\x3e\x43\154\151\143\x6b\40\150\x65\162\x65\x20\164\x6f\x20\166\151\x65\x77\x20\171\x6f\x75\162\40\154\151\x63\x65\x6e\163\145\40\153\145\171\x3c\57\x61\x3e\x3c\x2f\163\x70\141\x6e\x3e\x20\x5d\x3c\57\150\63\x3e\x3c\150\x72\x3e\15\xa\xd\xa\x9\x9\x9\x9\x9\x3c\x66\x6f\x72\x6d\40\x6e\x61\x6d\x65\x3d\x22\146\42\40\x6d\x65\x74\150\157\144\75\42\x70\x6f\163\164\42\x20\x61\143\x74\x69\x6f\156\x3d\42\42\76";
wp_nonce_field("\155\x6f\x5f\x73\x61\x6d\154\x5f\166\145\x72\151\x66\x79\x5f\154\151\x63\x65\156\x73\145");
echo "\74\x69\156\160\165\164\x20\x74\171\160\x65\75\42\x68\151\x64\x64\x65\156\x22\x20\x6e\141\155\145\75\x22\x6f\x70\164\151\157\156\x22\x20\x76\141\154\165\x65\x3d\x22\x6d\x6f\137\x73\x61\155\154\137\166\x65\x72\x69\x66\x79\x5f\x6c\x69\143\145\156\163\x65\42\x20\57\76\15\xa\xd\12\x9\x9\x9\11\11\11\x9\74\x70\76\x3c\x62\76\74\146\157\156\x74\x20\x63\x6f\154\157\x72\x3d\42\43\106\x46\60\x30\x30\60\x22\x3e\52\74\57\x66\157\156\x74\76\x45\x6e\164\145\x72\40\x79\x6f\165\162\x20\x6c\151\x63\145\x6e\163\x65\40\x6b\145\x79\40\x74\157\40\141\x63\164\151\x76\x61\x74\145\x20\164\150\x65\40\x70\x6c\x75\147\151\156\72\x3c\57\142\x3e\xd\12\x9\x9\x9\x9\x9\x9\x9\x3c\151\156\x70\165\x74\40\143\154\x61\x73\x73\75\42\x6d\x6f\137\x73\141\155\154\137\164\141\142\154\145\137\164\x65\170\164\x62\157\170\x22\x20\x72\x65\161\165\151\x72\145\144\40\164\x79\x70\x65\x3d\x22\164\145\x78\164\42\40\x73\x74\171\x6c\x65\75\x22\155\x61\162\x67\151\x6e\x2d\x6c\145\146\x74\x3a\x34\60\x70\170\x3b\x77\151\144\164\150\72\63\60\x30\x70\x78\x3b\x22\xd\xa\x9\11\11\11\x9\x9\x9\x9\156\141\155\x65\75\x22\x6d\x6f\137\x73\x61\155\154\137\154\151\x63\145\x6e\x73\x65\x5f\x6b\x65\171\x22\40\160\x6c\x61\143\x65\x68\157\x6c\144\145\162\75\42\x45\156\164\x65\x72\x20\171\157\x75\162\40\154\x69\x63\145\156\x73\x65\40\153\x65\171\40\x74\x6f\x20\x61\x63\164\x69\x76\141\164\x65\40\164\x68\145\x20\x70\154\165\147\151\156\x22\40\x2f\76\15\12\x9\x9\11\11\x9\11\x9\x3c\x2f\x70\x3e\xd\xa\11\x9\11\11\x9\x9\11\74\160\76\x3c\x62\x3e\x3c\146\157\156\x74\x20\x63\157\x6c\157\x72\x3d\42\x23\106\106\60\60\60\60\x22\76\x2a\x3c\57\146\x6f\x6e\164\76\120\x6c\x65\141\x73\145\x20\x63\x68\x65\143\153\x20\x74\150\x69\x73\x20\164\x6f\x20\143\x6f\x6e\146\151\162\x6d\40\x74\x68\x61\164\x20\x79\157\165\x20\x68\141\x76\x65\40\x72\145\141\x64\40\151\164\72\40\74\57\142\x3e\46\x6e\142\x73\160\73\x26\156\x62\163\x70\73\x3c\x69\156\160\x75\x74\x20\162\x65\161\165\x69\162\145\144\40\x74\171\x70\145\x3d\42\x63\150\x65\x63\x6b\x62\x6f\170\x22\x20\x6e\141\155\x65\75\42\x6c\x69\143\145\x6e\163\x65\137\x63\x6f\x6e\144\151\164\x69\x6f\x6e\x73\x22\40\57\x3e\74\57\x70\x3e\15\12\x9\x9\x9\x9\x9\x9\11\x3c\57\x70\76\15\xa\xd\xa\11\11\x9\11\x9\x9\x9\74\x6f\154\x3e\xd\xa\x9\x9\11\x9\11\11\x9\x3c\x6c\151\76\114\151\x63\x65\x6e\x73\x65\x20\x6b\x65\171\40\171\157\x75\40\x68\141\x76\x65\x20\x65\156\164\x65\162\x65\144\40\150\145\x72\x65\40\x69\x73\40\141\x73\163\x6f\x63\x69\141\164\145\x64\40\x77\151\x74\x68\40\x74\x68\151\x73\40\x73\151\x74\x65\x20\151\x6e\163\x74\x61\x6e\x63\x65\x2e\x20\111\156\40\146\165\x74\165\x72\145\x2c\x20\151\x66\x20\171\x6f\x75\x20\141\x72\x65\40\x72\x65\55\x69\156\163\x74\x61\x6c\x6c\151\x6e\147\x20\164\150\x65\x20\x70\154\165\x67\x69\156\x20\x6f\x72\40\x79\157\x75\162\40\163\151\164\145\x20\146\x6f\162\40\141\156\171\40\162\x65\x61\163\157\x6e\x2e\40\131\x6f\x75\40\163\x68\157\x75\154\144\x20\144\145\x61\x63\x74\151\166\141\164\145\40\141\156\x64\x20\x74\150\x65\x6e\x20\x64\x65\x6c\x65\x74\145\x20\164\150\x65\x20\x70\x6c\x75\x67\x69\x6e\x20\x66\x72\x6f\x6d\40\167\x6f\162\144\160\162\x65\163\163\40\x63\x6f\156\x73\157\154\145\x20\x61\x6e\x64\x20\x73\x68\157\165\154\144\x20\156\157\164\40\x6d\141\156\165\x61\154\x6c\x79\x20\144\145\x6c\x65\x74\x65\x20\x74\x68\145\40\x70\154\x75\x67\151\156\x20\146\x6f\x6c\x64\x65\162\x2e\40\x53\x6f\40\x74\150\x61\x74\40\171\x6f\x75\40\143\x61\x6e\x20\162\x65\x73\165\x73\x65\x20\164\x68\x65\x20\x73\141\x6d\145\x20\x6c\151\x63\145\156\163\x65\40\153\x65\171\56\x3c\57\x6c\151\76\x3c\142\x72\x3e\15\xa\x9\x9\11\11\11\x9\x9\x3c\x6c\x69\x3e\74\142\x3e\124\150\x69\163\x20\151\x73\x20\156\157\x74\x20\x61\40\x64\x65\166\145\x6c\157\x70\x65\162\47\x73\x20\154\151\143\145\x6e\163\x65\56\74\x2f\x62\x3e\x20\x4d\x61\153\151\x6e\x67\x20\141\x6e\171\x20\153\x69\156\x64\40\157\x66\40\x63\x68\141\x6e\x67\x65\x20\164\157\x20\164\150\145\40\160\154\x75\147\151\156\47\163\40\143\157\144\145\40\167\151\154\x6c\40\x64\145\154\145\164\x65\x20\141\154\x6c\40\171\x6f\165\x72\x20\143\x6f\156\146\151\x67\165\162\x61\x74\151\x6f\156\x20\141\156\x64\x20\155\141\153\145\40\164\x68\x65\x20\x70\154\165\147\x69\156\40\165\156\x75\x73\141\142\x6c\x65\x2e\74\x2f\154\151\76\15\xa\x9\x9\11\11\x9\11\x9\74\x62\162\76\xd\12\11\x9\x9\x9\11\11\11\x9\x3c\x69\x6e\160\165\x74\x20\x74\171\160\145\x3d\x22\x73\x75\142\155\151\x74\x22\40\156\141\x6d\x65\x3d\x22\163\165\142\x6d\x69\164\42\x20\166\x61\154\165\x65\x3d\42\101\x63\x74\x69\166\x61\x74\x65\x20\x4c\151\143\x65\156\x73\x65\42\x20\143\154\x61\x73\x73\75\x22\142\x75\x74\164\157\156\40\x62\165\164\164\157\156\x2d\x70\162\x69\x6d\x61\x72\x79\x20\x62\x75\x74\164\157\x6e\55\154\x61\162\147\x65\x22\40\57\76\15\12\74\151\x6e\160\x75\164\40\164\171\160\x65\75\42\x62\165\x74\x74\x6f\156\42\x20\143\154\x61\163\163\75\42\x62\x75\164\164\157\x6e\x20\142\x75\x74\x74\157\x6e\55\x70\x72\151\x6d\x61\162\171\x20\142\165\164\x74\157\x6e\55\154\141\x72\147\x65\x22\40\166\x61\154\165\145\x3d\42\x42\x61\143\153\42\x20\157\x6e\x63\154\151\143\x6b\x3d\x22\144\x6f\143\x75\155\145\x6e\x74\56\x66\x6f\x72\155\x73\133\47\x6d\157\x5f\x73\141\155\154\x5f\x62\141\143\x6b\x5f\154\x69\x63\145\156\x73\145\x27\x5d\56\163\x75\142\155\x69\164\x28\x29\73\x22\57\76\xd\12\x9\x9\11\11\x9\x3c\57\146\157\162\155\x3e\x3c\x2f\144\151\166\x3e\xd\12\15\xa\x9\x9\x3c\x66\157\162\x6d\40\x6e\141\x6d\145\x3d\x22\x66\42\40\155\145\164\x68\x6f\x64\x3d\x22\160\x6f\x73\x74\x22\40\x61\x63\164\151\157\x6e\x3d\x22\x22\x20\x69\x64\x3d\x22\155\157\137\x73\141\x6d\x6c\x5f\x63\150\145\x63\153\137\x6c\151\x63\x65\156\163\145\x22\x3e";
wp_nonce_field("\x6d\x6f\137\163\x61\x6d\x6c\137\143\150\x65\x63\x6b\x5f\x6c\x69\143\145\x6e\163\x65");
echo "\74\x69\x6e\160\165\x74\40\x74\x79\160\145\x3d\x22\150\151\x64\x64\x65\x6e\x22\x20\x6e\x61\155\145\x3d\42\157\160\x74\151\157\156\42\x20\x76\x61\x6c\x75\145\x3d\42\155\x6f\137\163\x61\155\154\x5f\143\150\145\143\x6b\x5f\x6c\151\143\x65\156\163\145\42\x2f\x3e\15\12\11\11\x3c\x2f\x66\x6f\162\155\x3e\xd\12\x9\x9\11\x9\74\x66\x6f\162\155\40\156\141\x6d\145\x3d\x22\x66\x22\40\155\x65\x74\x68\x6f\144\x3d\x22\x70\157\163\164\x22\x20\141\143\x74\x69\157\156\75\42\x22\40\x69\x64\x3d\x22\x6d\157\x5f\163\x61\x6d\154\x5f\x62\141\143\153\137\154\x69\143\145\156\x73\x65\42\x3e";
wp_nonce_field("\x6d\x6f\137\163\141\x6d\x6c\137\162\x65\155\157\166\145\x5f\x61\x63\x63\157\x75\x6e\164");
echo "\x3c\x69\x6e\160\x75\164\40\x74\171\160\x65\x3d\42\x68\x69\144\x64\x65\x6e\42\40\156\x61\x6d\145\x3d\x22\157\x70\x74\x69\x6f\x6e\x22\40\x76\x61\x6c\x75\145\x3d\42\155\x6f\137\163\x61\155\x6c\137\162\145\x6d\157\166\x65\137\x61\x63\143\x6f\x75\156\x74\x22\57\76\xd\xa\x9\x9\74\x2f\146\157\162\155\x3e\xd\12\x9\11\74\146\x6f\x72\x6d\40\x73\x74\x79\154\145\75\42\144\151\x73\160\154\141\x79\x3a\156\157\156\x65\x3b\42\40\x69\x64\75\x22\x6c\157\147\x69\x6e\146\x6f\x72\155\x22\x20\141\143\164\151\x6f\156\x3d\42" . mo_options_plugin_constants::HOSTNAME . "\57\x6d\157\141\x73\x2f\x6c\157\147\x69\156\x22\xd\12\x9\11\x74\141\x72\147\145\164\75\42\137\x62\x6c\141\156\x6b\x22\x20\x6d\x65\164\x68\157\144\75\42\160\x6f\163\x74\42\76\15\12\x9\x9\x3c\x69\x6e\160\x75\164\x20\164\x79\160\x65\x3d\x22\x65\x6d\141\x69\x6c\42\x20\156\x61\155\x65\x3d\42\x75\163\145\162\x6e\141\x6d\145\42\x20\166\x61\154\x75\145\75\42" . get_option("\155\157\x5f\x73\141\155\154\x5f\x61\144\x6d\151\x6e\137\145\x6d\141\x69\x6c") . "\42\x20\x2f\x3e\xd\xa\11\x9\x3c\x69\156\x70\x75\x74\40\x74\x79\x70\x65\75\x22\164\x65\170\x74\42\40\156\141\x6d\x65\75\42\x72\145\x64\x69\162\145\x63\x74\125\x72\154\42\40\166\141\x6c\x75\145\75\x22" . mo_options_plugin_constants::HOSTNAME . "\57\x6d\157\141\163\x2f\166\151\x65\167\x6c\151\143\x65\156\163\145\153\145\x79\x73\x22\40\x2f\x3e\15\xa\x9\11\74\x69\156\160\165\164\x20\164\x79\x70\x65\75\x22\164\145\170\164\x22\x20\156\141\155\145\75\x22\x72\x65\161\x75\x65\x73\164\x4f\x72\x69\147\x69\x6e\x22\x20\166\x61\x6c\x75\145\75\x22\x77\160\x5f\163\x61\155\154\x5f\163\x73\x6f\x5f\142\141\x73\151\143\137\160\x6c\141\x6e\42\40\x20\x2f\76\xd\12\x9\x9\74\57\146\157\x72\155\76\xd\xa\11\11\x3c\x73\x63\162\x69\x70\164\x3e\xd\xa\11\11\x9\x6a\x51\165\145\162\x79\x28\42\x61\x5b\150\162\x65\x66\75\134\x22\x23\x61\143\x74\x69\x76\x61\164\145\154\x69\143\145\x6e\163\145\x5c\42\x5d\42\x29\56\143\x6c\x69\x63\x6b\50\146\165\x6e\x63\164\x69\x6f\156\50\x29\173\xd\xa\x9\11\x9\x9\152\x51\x75\x65\x72\x79\x28\x22\43\x6d\157\x5f\x73\141\155\154\x5f\143\x68\x65\143\153\137\x6c\x69\x63\x65\x6e\x73\145\x22\51\56\163\x75\x62\155\x69\x74\x28\51\x3b\xd\xa\x9\11\x9\x7d\x29\x3b\xd\12\x9\x9\11\x66\x75\156\143\x74\x69\x6f\x6e\40\x67\145\164\154\151\143\x65\x6e\163\x65\x6b\145\x79\163\x66\157\162\155\x28\x29\x20\173\15\xa\11\11\x9\11\x6a\121\165\x65\x72\x79\50\42\x23\x6c\x6f\147\151\156\146\x6f\x72\x6d\x22\x29\x2e\x73\x75\142\155\151\164\x28\x29\x3b\xd\12\11\11\11\x7d\xd\xa\x9\x9\x3c\x2f\x73\x63\x72\x69\160\164\x3e";
}
function mo_saml_show_otp_verification()
{
echo "\x3c\x66\x6f\162\155\40\x6e\x61\x6d\145\75\42\x66\x22\x20\155\x65\164\x68\x6f\144\75\42\160\x6f\163\x74\x22\40\x69\x64\x3d\x22\x6f\x74\160\137\x66\x6f\162\x6d\42\40\141\143\x74\x69\157\x6e\75\42\x22\x3e";
wp_nonce_field("\x6d\x6f\x5f\163\x61\x6d\x6c\137\x76\x61\154\x69\144\141\x74\x65\137\157\164\160");
echo "\x3c\x69\156\160\165\x74\40\x74\171\160\145\x3d\x22\x68\x69\x64\144\145\x6e\x22\x20\x6e\x61\x6d\x65\x3d\x22\157\x70\164\151\157\x6e\x22\40\x76\141\154\165\x65\x3d\42\x6d\x6f\137\163\141\155\x6c\x5f\x76\x61\x6c\151\x64\141\164\145\x5f\157\x74\160\x22\40\57\76\15\12\11\x9\x9\x3c\x64\151\166\40\143\x6c\x61\163\163\x3d\x22\x6d\157\137\x73\x61\x6d\x6c\x5f\x74\x61\x62\x6c\145\137\154\141\x79\157\x75\x74\42\x3e\15\12\11\11\11\x9\x3c\x74\141\x62\154\145\40\x63\x6c\x61\x73\163\x3d\42\x6d\x6f\137\163\x61\155\154\x5f\163\x65\x74\x74\151\x6e\147\x73\137\x74\141\142\x6c\x65\x22\40\163\164\171\154\x65\75\42\160\x61\144\x64\x69\x6e\x67\x2d\x62\x6f\x74\164\x6f\x6d\72\67\62\160\170\x3b\42\76\xd\xa\x9\x9\x9\x9\x9\74\150\63\x3e\126\145\162\x69\x66\171\x20\x59\157\165\x72\40\105\x6d\141\x69\x6c\x3c\57\x68\63\x3e\15\12\11\11\x9\x9\11\x3c\164\162\76\xd\xa\11\x9\11\11\11\x9\x3c\x74\144\76\x3c\x62\76\74\x66\x6f\156\x74\40\x63\x6f\x6c\x6f\162\x3d\42\x23\x46\x46\60\60\x30\60\42\x3e\x2a\x3c\x2f\146\157\156\164\76\x45\156\164\x65\162\x20\117\x54\120\x3a\x3c\57\142\76\x3c\x2f\x74\x64\76\15\12\x9\11\x9\x9\x9\x9\74\x74\x64\x20\x63\x6f\154\163\160\141\x6e\x3d\x22\62\42\x3e\74\x69\x6e\x70\x75\164\40\x63\154\x61\x73\163\75\42\155\x6f\137\163\141\155\x6c\137\164\141\x62\154\145\x5f\164\x65\x78\x74\x62\157\170\x22\x20\x61\165\164\157\x66\x6f\x63\165\163\x3d\42\164\162\x75\145\42\40\164\x79\160\x65\x3d\x22\x74\145\x78\164\x22\x20\156\141\x6d\x65\75\x22\x6f\164\x70\137\x74\x6f\x6b\145\x6e\x22\x20\x72\145\x71\x75\151\x72\x65\144\x20\160\x6c\x61\x63\145\x68\x6f\154\x64\x65\x72\x3d\x22\x45\156\164\145\x72\40\x4f\124\120\42\x20\163\x74\171\x6c\145\75\42\167\x69\x64\x74\x68\72\66\x31\x25\73\42\40\160\x61\x74\164\x65\162\x6e\75\x22\x7b\66\54\x38\175\x22\57\x3e\15\xa\11\x9\11\11\11\x9\40\46\x6e\x62\163\160\73\x26\x6e\x62\163\x70\x3b\x3c\141\x20\x73\x74\x79\x6c\145\75\42\143\x75\x72\163\x6f\162\x3a\160\157\x69\x6e\x74\145\x72\x3b\42\x20\157\156\143\x6c\x69\143\x6b\75\x22\144\157\x63\x75\x6d\x65\156\x74\x2e\147\145\164\x45\154\145\155\x65\x6e\x74\x42\171\x49\144\50\x27\162\x65\163\145\x6e\x64\x5f\157\164\160\137\x66\x6f\162\155\x27\x29\x2e\163\165\x62\155\x69\x74\x28\51\x3b\x22\x3e\x52\x65\163\x65\156\x64\x20\117\124\x50\74\57\x61\x3e\x3c\57\x74\x64\76\15\12\11\x9\x9\11\11\74\57\164\162\x3e\xd\xa\x9\x9\11\11\11\74\164\x72\76\x3c\164\x64\40\143\x6f\x6c\x73\x70\141\156\x3d\42\63\x22\76\74\57\x74\144\76\74\x2f\164\x72\76\xd\xa\x9\11\x9\11\x9\x3c\x74\x72\x3e\15\12\xd\xa\11\11\11\11\x9\x9\74\x74\144\x3e\46\156\142\163\160\x3b\74\57\x74\x64\76\xd\12\11\11\11\x9\x9\x9\x3c\164\144\x20\x73\x74\x79\154\145\75\42\x77\151\144\164\150\72\x31\x37\45\42\x3e\15\xa\x9\11\11\11\x9\x9\x3c\151\x6e\x70\165\164\x20\164\x79\160\145\x3d\x22\x73\x75\142\155\x69\x74\x22\x20\156\141\155\145\75\42\163\165\142\155\x69\x74\42\x20\166\x61\154\x75\145\x3d\x22\126\x61\x6c\151\144\x61\x74\x65\x20\117\x54\x50\42\x20\x63\154\x61\x73\x73\x3d\42\x62\x75\164\x74\157\156\40\x62\x75\164\164\157\x6e\x2d\x70\162\x69\155\141\162\171\40\142\165\x74\x74\157\x6e\55\154\x61\162\147\x65\x22\40\x2f\x3e\x3c\x2f\x74\x64\x3e\xd\xa\xd\12\11\11\x3c\x2f\x66\157\162\155\x3e\xd\xa\x9\x9\x3c\146\x6f\162\x6d\40\156\x61\x6d\x65\x3d\42\x66\x22\40\155\145\x74\x68\157\x64\x3d\x22\x70\157\163\x74\42\76\xd\12\11\x9\x9\x9\11\x9\x3c\164\144\40\163\x74\x79\154\145\75\42\167\x69\x64\164\150\x3a\61\70\x25\x22\76";
wp_nonce_field("\155\157\x5f\x73\x61\x6d\154\137\x67\x6f\137\142\x61\143\153");
echo "\x3c\151\x6e\x70\165\164\x20\164\x79\x70\x65\x3d\42\150\x69\144\144\145\156\x22\x20\156\x61\155\x65\x3d\42\x6f\x70\164\x69\157\x6e\42\x20\166\x61\x6c\x75\145\x3d\x22\x6d\x6f\137\x73\x61\155\154\x5f\x67\x6f\x5f\142\x61\143\153\42\57\x3e\xd\12\x9\11\x9\x9\x9\11\x9\x3c\151\156\160\x75\x74\x20\x74\x79\x70\145\75\x22\x73\x75\142\155\x69\x74\x22\40\156\141\x6d\145\75\42\163\165\142\x6d\x69\164\x22\40\40\166\141\154\x75\x65\x3d\x22\x42\141\143\153\42\x20\143\x6c\x61\x73\163\x3d\42\142\165\x74\164\157\156\40\142\165\164\164\157\x6e\x2d\160\x72\x69\x6d\x61\162\171\40\x62\165\x74\164\157\x6e\55\x6c\x61\x72\x67\x65\x22\x20\57\76\15\12\11\11\11\11\x9\x9\74\57\x74\144\76\xd\xa\x9\11\74\57\146\157\x72\x6d\76\15\xa\11\x9\74\146\x6f\162\x6d\40\156\x61\155\145\75\x22\x66\42\40\151\x64\x3d\42\x72\x65\163\x65\156\x64\x5f\157\x74\160\x5f\x66\157\x72\x6d\x22\40\155\145\x74\150\x6f\x64\x3d\42\x70\x6f\163\x74\42\40\x61\143\164\x69\157\156\x3d\42\x22\76\xd\12\x9\x9\11\x9\11\11\x3c\164\144\76";
if (get_option("\155\157\x5f\x73\141\155\x6c\137\162\x65\x67\x69\x73\x74\162\141\x74\x69\x6f\156\x5f\x73\x74\x61\164\x75\163") == "\x4d\x4f\x5f\x4f\124\120\137\x44\105\x4c\111\x56\x45\x52\x45\x44\137\123\x55\x43\103\x45\123\123\137\x45\115\x41\x49\114" || get_option("\155\x6f\x5f\163\141\155\x6c\137\x72\145\x67\x69\x73\164\x72\141\164\151\157\x6e\137\x73\164\x61\164\x75\163") == "\115\x4f\137\117\124\120\x5f\x56\x41\x4c\x49\104\x41\x54\111\117\116\x5f\106\x41\111\114\125\x52\x45\137\x45\x4d\x41\x49\114") {
goto knk;
}
wp_nonce_field("\155\157\137\163\x61\x6d\154\x5f\x72\x65\x73\x65\156\x64\137\x6f\x74\x70\x5f\x70\x68\157\156\145");
echo "\74\151\x6e\x70\165\164\40\164\171\160\145\x3d\42\x68\x69\x64\144\x65\x6e\x22\40\156\x61\155\x65\x3d\42\x6f\x70\x74\151\157\x6e\42\x20\x76\x61\x6c\165\145\75\x22\x6d\x6f\137\x73\x61\155\154\137\x72\x65\163\145\156\144\x5f\157\x74\160\137\x70\x68\x6f\x6e\x65\x22\57\76";
goto fC4;
knk:
wp_nonce_field("\x6d\157\137\163\x61\x6d\x6c\137\x72\145\163\145\x6e\x64\137\x6f\164\x70\137\145\x6d\x61\x69\x6c");
echo "\74\x69\x6e\160\165\x74\40\x74\x79\160\145\x3d\x22\x68\151\x64\x64\145\x6e\x22\40\156\141\x6d\x65\75\42\x6f\160\164\151\x6f\x6e\x22\40\x76\141\154\x75\x65\75\42\155\157\x5f\163\x61\x6d\x6c\x5f\162\x65\x73\145\156\144\137\157\164\x70\x5f\145\x6d\x61\151\154\42\x2f\76";
fC4:
echo "\x3c\57\x74\x64\76\15\xa\xd\xa\x9\11\74\x2f\x66\x6f\162\155\76\xd\12\x9\x9\74\57\164\162\76\15\12\11\x9\11\74\57\x74\141\142\x6c\x65\x3e";
if (!(get_option("\155\157\x5f\163\x61\155\154\137\162\145\147\151\163\x74\162\141\x74\151\x6f\156\x5f\163\164\141\x74\x75\163") == "\115\117\x5f\x4f\x54\120\137\x44\105\114\x49\126\105\x52\x45\x44\x5f\123\125\x43\x43\105\123\123\x5f\x45\x4d\101\x49\114" || get_option("\x6d\x6f\137\x73\x61\x6d\x6c\137\162\145\x67\x69\163\x74\162\x61\164\151\157\x6e\137\x73\x74\141\x74\165\x73") == "\115\x4f\137\117\124\120\137\x56\101\x4c\x49\x44\x41\124\111\x4f\116\137\x46\x41\x49\x4c\125\122\105\137\105\115\x41\x49\x4c")) {
goto E3i;
}
echo "\x3c\x68\162\x3e\15\xa\xd\12\x9\11\11\x9\74\150\x33\76\x49\x20\144\x69\x64\40\x6e\x6f\164\40\x72\x65\x63\x69\x65\166\x65\x20\141\156\171\40\x65\155\x61\151\154\40\x77\151\x74\x68\40\117\x54\x50\40\x2e\x20\127\x68\x61\x74\x20\163\150\x6f\x75\154\144\x20\111\x20\x64\157\40\x3f\74\x2f\x68\63\x3e\15\xa\11\11\x9\11\x3c\x66\x6f\x72\155\40\x69\x64\x3d\42\x6d\x6f\x5f\x73\x61\155\x6c\x5f\162\145\x67\151\x73\164\145\162\137\x77\151\x74\x68\137\x70\150\157\x6e\x65\x5f\146\x6f\x72\155\x22\x20\155\x65\x74\x68\x6f\144\75\x22\160\157\163\x74\42\x20\x61\x63\x74\151\157\156\75\42\42\76";
wp_nonce_field("\155\x6f\137\163\x61\x6d\x6c\x5f\162\145\147\151\163\x74\145\162\137\x77\x69\164\x68\137\x70\150\157\156\145\137\x6f\160\164\151\x6f\156");
echo "\74\151\x6e\160\165\x74\x20\164\x79\160\x65\75\42\150\x69\x64\144\x65\156\42\x20\156\x61\155\x65\75\x22\x6f\160\164\151\x6f\156\x22\x20\x76\x61\154\165\145\75\x22\155\157\x5f\x73\141\155\x6c\x5f\162\145\147\x69\163\164\x65\162\x5f\167\151\x74\150\137\x70\150\157\156\145\137\x6f\160\x74\151\x6f\x6e\42\40\x2f\x3e\xd\xa\11\x9\11\11\11\x20\111\x66\x20\x79\x6f\x75\40\x63\x61\x6e\156\157\x74\40\x73\145\x65\40\164\x68\x65\40\x65\155\x61\x69\154\40\146\162\157\155\x20\x6d\151\156\151\x4f\162\141\156\x67\x65\x20\x69\x6e\x20\171\x6f\x75\162\x20\155\141\151\154\163\x2c\40\160\154\145\141\163\x65\x20\x63\x68\x65\143\153\40\x79\157\x75\x72\x20\74\x62\76\123\120\x41\x4d\x3c\57\x62\76\40\x66\157\154\144\145\162\x2e\40\x49\x66\40\171\x6f\165\x20\x64\x6f\156\x27\164\40\x73\x65\145\x20\x61\156\x20\145\x6d\141\151\x6c\x20\145\x76\x65\156\x20\151\156\40\x74\x68\145\40\x53\120\x41\115\x20\x66\x6f\x6c\144\145\162\54\x20\166\145\x72\151\146\x79\x20\171\157\165\x72\40\x69\x64\145\x6e\x74\x69\x74\171\40\x77\151\164\x68\x20\157\165\162\x20\141\x6c\x74\x65\162\156\x61\164\145\40\x6d\145\164\150\x6f\x64\x2e\xd\xa\11\x9\x9\x9\x9\x20\74\x62\162\x3e\x3c\x62\x72\x3e\xd\xa\11\x9\x9\11\x9\x9\74\142\x3e\105\x6e\x74\x65\162\40\x79\x6f\x75\162\40\166\141\x6c\151\x64\x20\x70\x68\157\x6e\x65\40\x6e\x75\x6d\142\145\x72\x20\150\x65\x72\145\x20\x61\x6e\144\x20\166\145\x72\151\146\171\40\x79\x6f\165\x72\x20\151\x64\145\x6e\164\151\x74\171\x20\165\163\151\156\147\x20\x6f\156\145\40\x74\x69\x6d\x65\x20\x70\141\x73\163\x63\x6f\x64\x65\40\x73\145\156\164\x20\164\x6f\x20\171\157\x75\x72\40\160\x68\157\156\145\x2e\x3c\57\142\76\74\142\x72\76\x3c\x62\x72\76\15\12\11\11\11\11\11\11\74\151\x6e\160\165\164\x20\x63\154\141\163\x73\75\42\x6d\157\x5f\x73\141\x6d\154\137\164\141\x62\x6c\x65\x5f\164\145\170\x74\x62\157\170\42\40\164\171\160\145\75\42\x74\145\x6c\x22\x20\x69\x64\x3d\42\160\x68\x6f\x6e\145\x5f\x63\157\156\x74\x61\143\x74\x22\40\163\x74\x79\154\x65\75\42\167\151\x64\x74\x68\72\64\x30\x25\73\42\15\12\11\x9\x9\11\x9\x9\11\11\x70\141\164\164\x65\x72\156\75\x22\x5b\134\53\135\134\x64\173\x31\61\x2c\61\x34\x7d\174\133\x5c\x2b\x5d\x5c\x64\x7b\61\x2c\x34\x7d\x28\x5b\x5c\x73\x5d\x7b\60\54\x31\x7d\x29\x28\x5c\144\x7b\60\175\174\134\144\x7b\x39\x2c\x31\60\175\51\x22\x20\x63\x6c\141\163\163\x3d\42\155\x6f\x5f\x73\x61\x6d\x6c\137\164\141\142\154\x65\137\x74\x65\x78\x74\142\157\x78\x22\40\x6e\x61\155\145\75\42\160\x68\x6f\156\145\42\xd\xa\11\x9\x9\11\x9\x9\x9\11\164\151\164\x6c\145\75\42\x50\x68\x6f\x6e\145\x20\167\151\x74\x68\x20\x63\x6f\165\156\x74\x72\171\x20\143\x6f\144\x65\x20\x65\x67\56\x20\53\61\170\x78\x78\170\x78\170\x78\x78\x78\x78\x22\x20\162\145\161\x75\x69\162\x65\x64\15\12\x9\x9\11\11\x9\x9\11\x9\x70\154\x61\143\x65\150\x6f\x6c\144\x65\162\75\x22\120\x68\157\x6e\x65\40\167\151\x74\x68\40\x63\x6f\x75\156\x74\x72\171\x20\143\157\x64\145\40\x65\x67\56\40\x2b\61\170\x78\170\170\x78\170\170\x78\x78\x78\x22\xd\xa\x9\x9\x9\11\x9\11\11\x9\x76\141\x6c\165\x65\x3d\x22" . get_option("\155\x6f\x5f\163\x61\155\x6c\137\141\144\x6d\x69\x6e\137\160\x68\157\x6e\x65") . "\x22\x20\x2f\x3e\15\xa\x9\x9\x9\11\11\x9\x3c\142\x72\40\x2f\x3e\74\142\x72\40\57\76\x3c\x69\x6e\x70\x75\x74\x20\164\x79\160\145\75\42\x73\165\142\x6d\151\164\42\x20\x76\x61\x6c\x75\x65\x3d\x22\123\x65\156\x64\40\117\124\x50\42\x20\143\154\141\163\x73\x3d\x22\x62\165\x74\x74\157\x6e\40\142\165\164\x74\x6f\x6e\55\160\x72\151\x6d\141\x72\x79\x20\142\x75\x74\x74\157\156\55\x6c\x61\x72\x67\x65\x22\x20\x2f\76\15\xa\xd\xa\x9\11\11\x9\74\57\x66\157\162\155\76";
E3i:
echo "\74\x2f\x64\151\166\x3e";
}
function displaySearchResultIDPs($wU)
{
$Nc = get_option("\x73\141\x6d\x6c\x5f\x69\x64\x65\156\164\151\164\x79\137\x70\x72\157\x76\151\144\x65\x72\x73");
$Nc = maybe_unserialize($Nc);
$Z2 = array();
if (!(!empty($Nc) and is_array($Nc))) {
goto d2M;
}
foreach ($Nc as $oC) {
$b0 = $oC["\151\144\x70\x5f\156\141\x6d\145"];
$xu = $oC["\x69\x64\x70\x5f\x65\156\164\x69\164\171\137\151\144"];
if (!(stripos($b0, $wU) !== false || stripos($xu, $wU) !== false)) {
goto Jhl;
}
$Z2[$b0] = $oC;
Jhl:
mgM:
}
Nro:
d2M:
update_option("\163\141\x6d\154\x5f\163\145\x61\162\143\x68\x5f\151\x64\x70", $Z2);
if (!empty($Z2)) {
goto FcT;
}
echo "\74\x64\151\166\x20\163\x74\171\x6c\x65\75\x22\x64\x69\x73\x70\154\141\171\72\40\142\154\157\143\x6b\x3b\143\157\154\x6f\162\x3a\40\x23\x65\71\62\142\61\64\73\142\141\x63\153\x67\x72\x6f\165\x6e\x64\x2d\x63\x6f\x6c\157\x72\x3a\40\43\146\x63\146\70\x65\63\73\x70\141\144\144\151\x6e\x67\x3a\x20\61\x30\x70\170\x3b\142\x6f\x72\144\x65\162\72\x20\163\x6f\154\151\144\40\x31\160\170\x20\43\x66\141\x65\142\143\x63\73\167\151\x64\164\150\72\71\66\x25\x3b\42\x3e\xd\xa\x9\x9\x3c\x73\x70\141\x6e\x3e\74\x62\x3e\x4e\157\x20\115\x61\164\x63\x68\x69\156\147\40\111\x44\120\x20\x66\x6f\x75\x6e\x64\x2e\x3c\x2f\142\x3e\x3c\57\163\160\141\156\76\xd\12\11\11\x3c\x2f\144\x69\x76\x3e";
goto Esd;
FcT:
displayIDPList($Z2);
Esd:
}
function displayIDPList($Nc)
{
foreach ($Nc as $b0 => $Lx) {
echo "\74\x74\162\76\x9\15\12\x9\11\x9\74\164\144\40\163\x74\x79\154\x65\x3d\42\x70\141\144\x64\x69\156\x67\72\x20\x35\x70\x78\40\x35\x70\170\73\x22\x20\167\151\x64\164\150\75\42\61\65\x25\x22\76\74\x73\160\x61\x6e\x20\x73\164\171\154\145\x3d\x22\160\141\x64\x64\151\x6e\x67\72\62\160\x78\42\x3e" . $b0 . "\x3c\x2f\163\x70\141\156\x3e";
if (!get_option("\x73\x61\x6d\154\137\144\x65\146\141\165\x6c\x74\x5f\151\144\x70")) {
goto X_7;
}
if (!(get_option("\x73\x61\155\x6c\x5f\x64\x65\x66\141\x75\154\x74\x5f\151\144\160") === $b0)) {
goto kwA;
}
echo "\74\142\x72\x2f\x3e\74\163\x70\141\156\40\163\x74\171\x6c\x65\75\42\142\141\143\x6b\x67\x72\x6f\165\x6e\x64\55\143\x6f\154\157\162\x3a\43\x32\x31\67\x35\x39\x62\73\x20\x63\x6f\x6c\157\x72\x3a\x23\106\106\106\x46\106\x46\x3b\40\142\157\x72\144\x65\162\55\162\x61\144\151\165\x73\x3a\x32\160\x78\73\40\160\141\144\144\x69\156\147\72\x32\160\x78\73\x20\146\x6f\x6e\x74\x2d\163\151\x7a\x65\x3a\71\x30\x25\x3b\42\76\104\x65\x66\x61\x75\154\164\x20\111\104\120\x3c\163\160\141\x6e\x3e";
kwA:
X_7:
echo "\74\x2f\164\x64\x3e\15\xa\11\11\11\74\164\144\x20\x73\x74\171\x6c\145\x3d\42\x70\141\x64\x64\x69\x6e\x67\72\40\x35\x70\170\x20\x30\x70\x78\73\42\40\x77\151\144\164\x68\75\42\x36\60\45\42\76" . $Lx["\x69\x64\160\137\145\x6e\x74\x69\x74\171\137\x69\x64"] . "\74\x2f\164\144\76\xd\xa\xd\xa\11\x9\11\74\164\x64\40\x73\x74\171\x6c\145\x3d\42\160\x61\x64\144\x69\x6e\x67\72\x20\x35\x70\x78\x20\x30\x70\x78\73\40\164\145\170\164\55\141\x6c\x69\147\x6e\x3a\x63\x65\x6e\164\145\x72\x3b\x22\40\x77\151\x64\164\150\x3d\x22\61\x30\45\x22\x3e\x3c\154\141\x62\x65\154\x20\143\x6c\x61\x73\x73\75\x22\163\167\151\x74\143\x68\x22\x3e\x3c\x69\x6e\160\165\164\x20\164\x79\x70\145\x3d\x22\x63\x68\x65\x63\x6b\x62\157\170\x22\x20\x6e\x61\155\145\75\x22\x65\x6e\141\x62\154\145\137\151\x64\160\133\135\42\x20\166\x61\x6c\165\145\x3d\x22" . $b0 . "\x22\x20" . esc_html(Mo_License_Service::is_customer_license_valid(true)) . '';
if (!empty($Lx["\x65\x6e\141\142\154\x65\x5f\x69\144\x70"])) {
goto miT;
}
$Lx["\145\x6e\141\x62\x6c\145\137\x69\x64\160"] = false;
miT:
if (!$Lx["\145\x6e\x61\x62\154\x65\x5f\151\144\x70"]) {
goto d_V;
}
echo "\40\x63\150\145\x63\x6b\x65\144\x20";
d_V:
echo "\76\74\163\x70\x61\x6e\x20\143\x6c\141\163\x73\x3d\x22\x73\x6c\x69\144\x65\x72\x20\162\157\x75\156\x64\42\x3e\74\x2f\x73\x70\141\156\x3e\15\12\x9\x9\x9\74\57\x6c\141\x62\145\154\x3e\x3c\x2f\164\144\76\15\xa\xd\xa\11\x9\11\74\x74\x64\x20\167\x69\x64\164\150\x3d\x22\x31\65\45\42\76\x3c\x73\x70\x61\156\40\x73\164\171\154\x65\75\x22\146\154\x6f\x61\x74\x3a\162\x69\147\x68\x74\x22\x3e\15\12\x9\x9\x9\74\144\x69\x76\x20\143\x6c\141\x73\163\75\42\x62\x6f\x6f\x74\163\x74\162\x61\x70\x2d\x74\157\x67\x67\x6c\145\42\76\xd\12\x9\x9\x9\74\144\x69\x76\x20\143\x6c\x61\x73\x73\x3d\42\144\162\157\160\x64\x6f\x77\156\42\76\15\12\11\11\11\74\x62\165\x74\x74\157\x6e\x20\x63\x6c\x61\x73\x73\75\42\x62\164\156\x20\x62\164\156\x2d\160\162\151\x6d\x61\162\171\x20\144\162\x6f\160\x64\x6f\x77\156\x2d\164\x6f\147\147\x6c\145\x22\x20" . esc_html(Mo_License_Service::is_customer_license_valid(true)) . "\40\x74\x79\160\145\75\x22\x62\165\164\x74\x6f\x6e\x22\40\144\x61\x74\141\x2d\164\157\147\147\x6c\145\x3d\x22\144\162\157\x70\144\x6f\167\x6e\x22\76\x53\145\154\145\x63\x74\40\x61\x6e\40\101\x63\x74\x69\x6f\156\xd\12\x9\x9\x9\74\163\160\x61\x6e\x20\x63\x6c\x61\163\x73\75\42\x63\141\162\x65\x74\42\x3e\74\57\x73\160\141\156\76\x3c\x2f\x62\165\x74\164\157\x6e\x3e\15\xa\11\11\x9\74\x75\x6c\x20\143\154\x61\163\x73\75\x22\x64\162\x6f\x70\144\x6f\x77\156\55\x6d\x65\156\165\42\x3e\xd\xa\11\11\11\11\x3c\154\151\x3e\74\141\x20\x68\x72\x65\x66\75\x22" . admin_url() . "\141\x64\x6d\151\x6e\x2e\x70\x68\x70\77\160\141\147\145\x3d\x6d\x6f\137\x73\141\155\x6c\x5f\x73\x65\164\164\151\156\x67\163\46\164\x61\142\x3d\x73\141\166\x65\x26\141\x63\164\151\157\156\x3d\145\x64\151\164\46\151\144\160\x3d" . $b0 . "\42\76\105\144\151\164\40\103\157\156\146\151\x67\165\162\x61\164\x69\x6f\x6e\x3c\57\x61\x3e\74\x2f\x6c\x69\x3e\xd\12\x9\x9\x9\11\x3c\154\x69\x3e\74\141\x20\150\162\145\x66\x3d\42\43\42\x20\x6f\x6e\x63\154\x69\x63\153\75\42\x73\150\x6f\167\x54\145\163\x74\127\x69\x6e\x64\157\x77\x28\47" . $b0 . "\x27\x29\73\42\x3e\124\145\x73\164\40\103\157\156\x66\151\147\165\x72\141\x74\x69\x6f\156\x3c\x2f\x61\76\x3c\57\154\151\76\xd\xa\x9\11\x9\x9\x3c\x6c\x69\76\x3c\141\x20\150\162\x65\146\75\42" . admin_url() . "\x61\144\x6d\151\x6e\x2e\160\150\160\x3f\160\141\147\x65\x3d\155\x6f\x5f\163\141\x6d\154\137\163\x65\164\164\x69\x6e\x67\163\x26\x74\141\x62\75\x73\141\166\x65\x26\141\x63\164\x69\x6f\156\x3d\x63\x75\163\x74\x6f\155\46\151\x64\x70\75" . $b0 . "\42\x3e\x43\x75\163\164\x6f\x6d\40\127\x69\144\x67\x65\164\40\x42\x75\164\x74\x6f\156\74\x2f\141\76\74\57\x6c\x69\76\15\12\11\x9\11\x9\x3c\x6c\151\76\74\141\40\x68\x72\x65\x66\75\42" . admin_url() . "\x61\x64\x6d\151\156\56\x70\150\x70\x3f\x70\x61\147\145\75\x6d\157\137\163\x61\x6d\154\x5f\163\145\164\x74\x69\x6e\x67\x73\x26\x74\x61\x62\75\163\x61\x76\145\46\141\x63\164\151\157\156\75\144\x65\x6c\145\x74\145\46\151\x64\x70\75" . $b0 . "\42\x3e\104\145\154\145\164\x65\x20\111\x44\x50\x3c\57\x61\x3e\x3c\x2f\154\151\x3e\xd\xa\15\12\x9\x9\x9\x3c\57\165\x6c\76\15\xa\11\x9\40\40\74\x2f\x64\x69\x76\x3e\x20\xd\xa\x9\x9\40\x20\x3c\57\x64\151\166\x3e\x3c\57\163\160\141\156\x3e\xd\xa\x9\11\x9\74\x2f\x74\x64\76\15\12\x9\11\11\x3c\57\164\x72\x3e\xd\xa\x9\x9\x9\x3c\x2f\146\157\162\155\76";
echo "\x3c\146\157\162\x6d\40\155\145\164\150\157\144\x3d\x22\160\x6f\163\164\42\40\141\143\164\x69\157\156\75\42\42\40\x6e\x61\155\145\75\x22\x6d\x6f\137\145\170\160\157\x72\164\x22\x20\151\x64\x3d\42\x6d\x6f\x5f\145\170\x70\157\x72\x74\x22\76";
wp_nonce_field("\155\x6f\137\x73\x61\x6d\154\x5f\x65\170\160\x6f\162\164");
echo "\74\151\x6e\160\165\164\x20\x74\171\160\x65\x3d\42\150\151\x64\144\x65\156\42\40\x6e\141\155\x65\x3d\42\x6f\160\164\x69\157\x6e\x22\40\166\141\154\165\x65\75\x22\155\157\x5f\163\x61\155\x6c\x5f\145\x78\160\157\x72\x74\x22\40\x2f\x3e\x3c\x2f\x66\x6f\162\155\x3e";
SzZ:
}
ZGV:
}
function update_customer_idp_count($rn)
{
$rp = get_option("\x6d\157\137\x73\141\x6d\x6c\137\x63\x75\163\x74\157\x6d\145\x72\137\164\x6f\x6b\x65\156");
update_option("\x6e\x6f\137\x6f\146\137\x73\160", AESEncryption::encrypt_data($rn["\x6e\x6f\117\x66\123\120"], $rp));
}
function mo_saml_display_attrs_list($Lx)
{
$AF = get_option("\155\157\x5f\163\141\x6d\154\x5f\x74\145\163\x74\x5f\143\157\156\x66\151\147\137\141\164\x74\162\163");
$AF = maybe_unserialize($AF);
if (empty($AF[$Lx])) {
goto mCs;
}
$AF = $AF[$Lx];
echo "\x3c\x64\151\166\x20\143\154\141\163\163\75\42\155\157\137\163\141\x6d\154\137\163\165\160\x70\157\162\164\x5f\154\141\x79\157\165\164\42\x20\163\164\x79\x6c\145\x3d\x22\160\141\144\144\151\156\147\55\x62\157\164\x74\x6f\x6d\x3a\x32\x30\160\170\x3b\x20\160\x61\144\x64\151\x6e\x67\55\x72\x69\147\x68\164\72\65\160\x78\x3b\x22\76\15\12\x9\11\74\150\x33\x3e\x41\164\x74\162\x69\x62\165\x74\x65\x73\x20\162\145\143\x65\151\x76\145\x64\40\x66\162\157\155\40\164\x68\145\x20\111\x64\x65\156\164\x69\x74\x79\40\x50\162\157\166\x69\144\145\x72\x3a\x3c\57\x68\63\76\15\12\x9\x9\11\x9\74\x64\x69\x76\76\xd\12\11\x9\x9\11\11\x3c\x74\141\142\x6c\145\x20\x73\164\x79\x6c\145\75\x22\x62\157\162\x64\x65\162\x2d\x63\157\154\154\141\x70\x73\x65\72\x63\x6f\154\154\x61\160\163\x65\x3b\x62\157\x72\x64\x65\x72\55\x73\x70\141\143\x69\x6e\x67\72\x30\73\164\141\142\154\x65\55\154\141\x79\x6f\165\164\x3a\40\x66\151\170\145\x64\x3b\x20\x77\151\x64\164\150\x3a\x20\71\x35\x25\x3b\x62\x61\x63\x6b\147\x72\x6f\x75\x6e\144\x2d\x63\x6f\154\x6f\x72\72\x23\x66\146\146\146\146\x66\73\42\76\xd\xa\x9\x9\11\11\x9\74\164\x72\x20\163\164\171\x6c\145\75\x22\x74\145\170\164\x2d\141\154\x69\x67\x6e\72\x63\x65\156\x74\145\x72\73\42\x3e\x3c\164\x64\x20\163\164\x79\x6c\x65\75\x22\x66\157\x6e\x74\55\x77\x65\151\x67\150\164\72\x62\157\x6c\144\x3b\x62\157\162\x64\x65\162\x3a\61\160\x78\x20\163\x6f\x6c\151\x64\x20\x23\71\64\x39\60\71\x30\x3b\x70\141\144\144\151\x6e\147\x3a\62\x25\x3b\40\x77\x69\x64\x74\x68\72\66\65\45\73\42\x3e\x41\x54\124\122\x49\102\x55\124\x45\x20\x4e\101\115\105\x3c\x2f\164\144\76\74\164\144\x20\x73\x74\x79\154\x65\75\42\x66\157\156\x74\55\x77\145\x69\147\150\x74\x3a\142\157\154\x64\x3b\x70\x61\144\144\x69\x6e\x67\x3a\x32\x25\x3b\x62\157\x72\x64\145\x72\x3a\x31\160\x78\40\163\x6f\x6c\x69\x64\40\x23\x39\x34\x39\x30\71\x30\x3b\x20\x77\157\x72\144\55\x77\x72\x61\160\72\142\162\145\141\x6b\x2d\x77\x6f\x72\x64\73\40\167\x69\144\164\150\72\x33\x35\45\73\x22\x3e\101\124\124\122\x49\102\x55\x54\x45\x20\126\x41\114\125\x45\74\x2f\x74\x64\76\x3c\57\164\162\76";
foreach ($AF as $Yx => $NS) {
echo "\74\x74\162\40\x73\164\171\154\x65\x3d\42\164\x65\x78\164\x2d\141\154\x69\147\156\72\x63\145\156\x74\145\162\x3b\42\76\74\x74\x64\x20\163\x74\171\154\145\75\42\146\157\156\x74\x2d\167\x65\x69\x67\x68\164\x3a\142\x6f\x6c\x64\73\142\x6f\x72\x64\x65\162\72\x31\160\x78\x20\x73\157\x6c\x69\144\x20\x23\x39\x34\x39\x30\71\x30\73\160\141\144\x64\151\x6e\147\72\62\45\x3b\x20\167\x6f\162\x64\x2d\167\162\141\160\x3a\142\x72\145\x61\x6b\x2d\x77\x6f\162\144\73\42\76" . $Yx . "\74\57\164\x64\x3e";
echo "\74\x74\x64\x20\163\164\171\x6c\x65\x3d\x22\x70\x61\x64\144\151\156\x67\x3a\x32\x25\73\142\157\162\144\x65\x72\72\61\x70\x78\40\163\157\x6c\x69\x64\40\43\x39\64\x39\60\71\60\x3b\x20\167\157\162\x64\55\x77\162\141\x70\72\142\x72\x65\141\x6b\x2d\x77\x6f\x72\144\73\x22\x3e" . implode("\x3c\x68\162\57\76", $NS) . "\x3c\x2f\164\x64\x3e\xd\12\11\x9\x9\x9\11\x9\11\x3c\x2f\164\162\76";
XnY:
}
kFe:
echo "\xd\12\x9\11\11\11\11\x3c\x2f\164\x61\x62\154\x65\x3e\xd\12\x9\x9\x9\x9\x9\74\142\162\57\76\xd\12\x9\11\11\x9\x9\74\151\x6e\160\165\x74\40\164\171\160\x65\x3d\42\x62\x75\x74\164\x6f\x6e\x22\x20\143\x6c\x61\163\163\75\x22\142\165\164\164\157\x6e\x2d\160\162\151\x6d\141\162\x79\x22\x20\x76\x61\154\x75\145\75\x22\103\x6c\145\141\162\40\101\164\x74\162\x69\142\165\x74\x65\x73\40\x4c\x69\x73\x74\x22\x20" . esc_html(Mo_License_Service::is_customer_license_valid(true)) . "\x20\x6f\x6e\143\x6c\151\143\x6b\x3d\x22\x64\157\143\x75\x6d\x65\x6e\x74\x2e\x66\157\x72\155\x73\x5b\x27\141\164\x74\x72\x73\x5f\154\x69\x73\x74\137\146\x6f\162\x6d\47\135\56\163\x75\x62\155\x69\164\x28\51\73\42\76\15\xa\x9\x9\11\11\x9\74\160\76\74\142\x3e\x4e\117\124\x45\x20\x3a\x3c\x2f\x62\x3e\40\x50\x6c\x65\141\x73\145\40\x63\x6c\x65\x61\x72\40\164\x68\151\x73\40\x6c\151\x73\x74\40\141\x66\x74\145\162\x20\143\157\x6e\x66\x69\x67\165\x72\151\156\x67\x20\164\x68\x65\40\160\154\x75\147\x69\x6e\x20\164\x6f\x20\x68\151\x64\x65\x20\171\x6f\x75\x72\x20\143\157\x6e\x66\151\x64\145\156\x74\151\141\154\40\x61\164\x74\x72\151\x62\165\x74\145\163\56\x3c\x62\162\x2f\76\15\xa\11\x9\x9\x9\x9\x43\154\151\143\153\x20\x6f\156\x20\x3c\x62\76\124\x65\x73\x74\40\143\x6f\156\x66\151\x67\x75\162\x61\164\x69\x6f\156\74\57\142\x3e\40\151\x6e\x20\x3c\142\76\x53\x65\162\166\151\x63\x65\x20\120\162\x6f\x76\x69\144\145\x72\x20\x53\145\x74\165\x70\x3c\57\142\x3e\x20\164\x61\142\40\164\157\40\x70\x6f\x70\x75\154\x61\164\145\x20\x74\150\x65\x20\x6c\151\163\x74\x20\141\147\x61\x69\156\x2e\74\57\160\x3e\xd\xa\x9\x9\11\x9\11\x3c\146\157\162\x6d\x20\x6d\x65\x74\150\157\144\75\42\160\157\163\x74\x22\40\x61\x63\164\151\x6f\x6e\75\x22\x22\x20\151\x64\x3d\x22\x61\x74\164\x72\x73\137\x6c\151\x73\164\x5f\146\x6f\x72\x6d\42\x3e\xd\xa\x9\11\x9\11\x9\x3c\151\x6e\160\x75\164\40\164\171\160\x65\x3d\x22\150\x69\144\x64\145\156\x22\x20\x6e\141\x6d\x65\x3d\42\x69\x64\x70\x5f\156\x61\155\x65\42\x20\166\x61\154\165\145\75\42" . $Lx . "\42\76";
wp_nonce_field("\x63\154\145\141\162\x5f\x61\x74\x74\162\163\137\154\x69\163\x74");
echo "\74\151\x6e\160\x75\x74\40\164\x79\160\x65\x3d\x22\x68\x69\144\x64\145\156\x22\40\x6e\141\155\x65\x3d\42\157\x70\164\x69\157\156\x22\40\x76\x61\154\165\x65\75\42\x63\154\x65\141\162\137\x61\x74\x74\162\163\137\x6c\151\x73\x74\42\76\15\xa\11\x9\11\x9\x9\x3c\57\146\x6f\162\155\x3e\15\xa\x9\x9\x9\11\x3c\57\x64\x69\x76\76\15\xa\11\x9\74\57\x64\x69\166\76";
mCs:
}
function mo_saml_get_test_url($b0, $Tf = false)
{
$kQ = home_url() . "\x2f\x3f\x6f\160\x74\151\x6f\156\75\x74\145\x73\x74\103\x6f\156\146\x69\147\46\x69\144\x70\x3d" . $b0;
$GV = $Tf ? $kQ . "\x26\156\145\x77\x63\145\162\164\75\164\162\x75\x65" : $kQ;
return $GV;
}
function mo_saml_is_customer_registered_saml()
{
$OP = get_option("\155\x6f\x5f\x73\x61\x6d\154\x5f\141\144\155\x69\156\x5f\145\x6d\x61\x69\154");
$t6 = get_option("\x6d\x6f\x5f\163\141\x6d\154\x5f\141\144\x6d\151\156\137\x63\x75\163\164\157\x6d\x65\162\x5f\153\x65\x79");
if (!$OP || !$t6 || !is_numeric(trim($t6))) {
goto S6x;
}
return 1;
goto HV6;
S6x:
return 0;
HV6:
}
function mo_saml_is_customer_license_key_verified()
{
$Ml = get_option("\x73\155\154\137\x6c\153");
$OP = get_option("\x6d\x6f\137\163\x61\155\x6c\x5f\x61\144\155\x69\x6e\137\x65\155\x61\151\x6c");
$t6 = get_option("\x6d\x6f\137\163\x61\x6d\x6c\x5f\x61\144\x6d\x69\x6e\137\x63\165\x73\164\x6f\155\145\162\x5f\x6b\x65\x79");
if (!$Ml || !$OP || !$t6 || !is_numeric(trim($t6))) {
goto iKm;
}
return 1;
goto YwC;
iKm:
return 0;
YwC:
}
function mo_saml_is_sp_configured()
{
$Ge = get_option("\x73\141\x6d\154\x5f\x69\144\145\x6e\x74\151\164\171\x5f\160\162\157\166\x69\144\x65\x72\x73");
$Ge = maybe_unserialize($Ge);
if (!empty($Ge)) {
goto k5F;
}
return 0;
goto Jvc;
k5F:
return 1;
Jvc:
}
function mo_saml_download_logs($Bw, $Oo, $uR = '')
{
echo "\x3c\144\x69\x76\40\x73\x74\171\154\145\x3d\x22\146\x6f\x6e\164\55\x66\141\155\x69\x6c\171\x3a\103\141\154\151\x62\162\x69\73\160\x61\x64\x64\x69\156\147\72\60\x20\x33\x25\x3b\x22\76";
echo "\x3c\x68\x72\40\143\154\x61\x73\x73\x3d\42\150\x65\141\x64\145\162\42\x2f\76";
echo "\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x3c\x70\40\x73\x74\171\154\145\x3d\42\x66\157\x6e\x74\55\x73\151\x7a\145\72\x20\154\141\162\x67\145\162\x20\x20\40\x20\x20\40\x20\x22\x3e\x50\154\x65\141\163\145\40\x74\162\171\x20\x74\150\145\x20\x73\157\154\x75\164\x69\x6f\x6e\40\x67\x69\x76\x65\x6e\40\141\x62\157\166\145\56\x49\x66\40\x74\150\x65\40\x70\162\x6f\x62\x6c\145\x6d\40\x70\145\x72\163\x69\163\164\x73\54\144\157\x77\x6e\x6c\157\141\144\x20\x74\150\x65\40\x70\x6c\165\x67\151\156\40\x63\157\x6e\146\151\x67\165\x72\x61\x74\151\x6f\156\40\142\171\x20\x63\x6c\151\143\x6b\151\156\147\40\x6f\156\x20\x45\x78\160\x6f\x72\164\x20\x50\154\165\x67\x69\156\40\103\157\156\x66\151\147\x75\x72\141\x74\151\157\156\40\x61\156\x64\x20\x6d\x61\151\x6c\x20\165\x73\40\x61\164\40\74\x61\40\x68\162\145\146\75\42\x6d\141\x69\x6c\x74\x6f\x3a\x69\x6e\x66\157\x40\155\x69\x6e\x69\157\162\141\x6e\147\145\56\143\x6f\x6d\42\x3e\151\x6e\146\157\100\x6d\x69\156\x69\157\x72\141\156\147\x65\x2e\143\x6f\155\74\x2f\x61\x3e\x2e\74\x2f\x70\x3e\15\xa\11\x9\x9\x9\x9\x3c\160\76\x57\145\40\x77\151\x6c\154\x20\x67\145\x74\40\x62\x61\143\x6b\40\164\x6f\x20\x79\x6f\165\40\x73\x6f\x6f\x6e\41\x3c\x70\76\15\xa\11\11\x9\11\x9\74\x2f\x64\151\x76\76\xd\12\x9\11\11\11\x9\x3c\x64\x69\166\40\163\164\171\154\145\x3d\x22\x6d\141\162\147\151\156\72\63\x25\x3b\144\x69\x73\x70\154\x61\x79\x3a\x62\154\x6f\x63\x6b\73\x74\145\x78\164\55\141\154\151\x67\x6e\x3a\143\145\x6e\x74\x65\x72\x3b\x22\x3e\15\12\x9\11\11\x9\11\74\x64\x69\x76\40\x73\x74\x79\154\145\x3d\42\155\141\162\147\x69\x6e\72\63\45\x3b\144\151\163\160\154\x61\x79\x3a\x62\154\157\143\x6b\x3b\164\x65\x78\164\55\141\x6c\x69\x67\x6e\x3a\x63\x65\x6e\x74\145\x72\73\x22\x3e\xd\12\11\x9\x9\11\x9\x3c\x66\x6f\x72\x6d\x20\x6d\145\164\150\157\x64\75\42\x67\145\164\42\40\x61\143\x74\151\157\x6e\75\42\42\x20\156\x61\x6d\145\x3d\x22\155\157\137\x65\x78\160\157\x72\164\42\x20\151\x64\x3d\42\x6d\x6f\137\145\x78\160\x6f\x72\x74\42\76";
wp_nonce_field("\145\170\x70\157\162\164\x5f\x63\x6f\156\146\x69\147\165\162\141\164\x69\x6f\x6e");
echo "\x3c\151\156\x70\165\x74\40\164\171\160\145\75\x22\150\x69\x64\144\145\x6e\x22\x20\156\141\x6d\145\x3d\x22\x6f\x70\x74\151\157\156\42\x20\x76\x61\x6c\165\x65\75\x22\x65\x78\160\157\162\x74\137\x63\157\156\x66\x69\x67\165\162\141\164\151\157\156\x22\40\57\76\15\xa\x9\x9\x9\x9\x3c\151\x6e\x70\165\164\x20\x74\x79\160\x65\x3d\x22\x73\165\142\x6d\151\x74\42\40\x63\154\141\163\163\x3d\42\x6d\x69\156\151\157\x72\141\156\147\x65\x2d\x62\x75\x74\x74\157\156\x22\40\x76\x61\x6c\x75\x65\x3d\x22\x45\x78\x70\x6f\162\x74\40\x50\154\x75\x67\151\156\40\103\x6f\156\x66\151\x67\165\x72\x61\164\151\157\x6e\42\x3e\15\xa\x9\x9\x9\x9\74\x69\156\x70\165\164\x20\x63\x6c\141\163\x73\x3d\42\155\x69\156\151\x6f\x72\x61\156\147\145\55\x62\165\164\164\x6f\x6e\42\x20\x74\171\160\145\75\x22\x62\x75\164\x74\157\x6e\x22\x20\166\x61\x6c\165\145\x3d\42\x43\154\x6f\163\145\42\40\x6f\x6e\143\154\151\x63\x6b\75\42\x73\x65\154\146\x2e\143\x6c\157\163\145\50\51\x22\x3e\x3c\x2f\146\157\162\155\76\xd\xa\x9\11\x9\x20\x20\x20";
echo "\46\156\x62\x73\x70\x3b\x26\x6e\142\x73\160\x3b";
$Nc = get_option("\x73\x61\155\154\x5f\151\x64\145\156\x74\151\x74\x79\137\x70\162\x6f\166\x69\144\145\162\163");
$Nc = maybe_unserialize($Nc);
$RK = $_POST["\x53\101\x4d\x4c\122\145\163\160\x6f\x6e\163\x65"];
$K2 = array("\105\x72\162\157\162" => $Bw, "\x43\141\x75\x73\145" => $Oo);
$MI = array("\163\141\x6d\x6c\137\162\145\x73\x70\x6f\x6e\163\145" => $RK, "\164\x65\163\164\x5f\163\164\141\164\x75\163" => $K2);
if (empty($uR)) {
goto N9G;
}
$Nc[$uR] = Utilities::mo_saml_array_merge($Nc[$uR], $MI);
$Nc = array_filter($Nc, "\146\x69\154\164\x65\x72\x5f\x65\155\160\164\x79\x5f\166\141\154\165\145\163");
update_option("\x73\141\155\x6c\137\151\144\x65\156\164\x69\164\171\x5f\x70\x72\157\166\151\x64\x65\162\163", $Nc);
N9G:
echo "\x9\x3c\x73\164\x79\154\145\x3e\xd\xa\x9\x2e\x6d\x69\x6e\151\x6f\x72\141\156\x67\145\x2d\142\165\x74\164\157\156\40\173\15\xa\x9\160\x61\144\x64\151\156\x67\x3a\61\x25\73\15\12\x9\142\x61\x63\153\x67\x72\x6f\165\x6e\x64\72\x20\43\60\x30\71\x31\x43\104\40\x6e\x6f\156\145\x20\x72\x65\160\145\141\164\40\163\x63\x72\x6f\x6c\154\40\60\x25\40\60\45\x3b\xd\xa\11\143\165\x72\163\157\162\x3a\40\160\157\x69\156\x74\x65\x72\x3b\146\157\x6e\164\x2d\x73\x69\172\x65\72\61\x35\160\x78\73\15\xa\11\x62\x6f\x72\144\x65\162\55\167\x69\144\x74\150\72\40\61\x70\x78\x3b\142\x6f\x72\144\145\x72\x2d\163\164\171\x6c\x65\72\x20\x73\x6f\154\x69\x64\73\xd\12\x9\142\x6f\162\144\x65\162\x2d\162\141\144\x69\x75\163\72\x20\x33\x70\170\73\x77\x68\151\x74\x65\55\x73\160\141\x63\x65\72\40\x6e\157\167\x72\x61\160\x3b\15\xa\x9\x62\x6f\170\55\163\151\x7a\x69\156\147\72\40\142\x6f\162\144\145\x72\x2d\142\x6f\x78\73\x62\x6f\x72\x64\145\x72\55\x63\x6f\154\157\x72\72\40\43\x30\x30\67\x33\x41\x41\73\15\12\11\142\157\x78\55\163\150\x61\144\x6f\167\x3a\40\x30\x70\x78\40\61\160\x78\40\x30\160\170\x20\162\x67\142\x61\x28\61\x32\60\x2c\x20\x32\60\60\54\40\62\63\x30\x2c\40\60\x2e\x36\51\40\151\x6e\163\145\x74\x3b\143\x6f\x6c\x6f\x72\72\40\43\x46\106\106\73\15\xa\11\x6d\x61\162\147\151\x6e\x3a\x20\x32\62\x70\x78\x3b\xd\12\11\x7d\15\12\74\57\x73\164\171\x6c\145\x3e\xd\12\x9";
exit;
}
function check_plugin_state()
{
echo "\74\x74\x72\x3e";
if (!mo_saml_is_customer_registered_saml()) {
goto GlG;
}
if (!mo_saml_is_customer_license_key_verified()) {
goto dlU;
}
if (Mo_License_Service::is_customer_license_valid()) {
goto LTM;
}
echo "\74\164\x64\40\x63\157\x6c\x73\x70\141\156\x3d\x22\62\x22\76\15\xa\x9\x9\11\74\x64\151\x76\40\x63\x6c\141\163\x73\75\42\155\157\x2d\163\x61\155\x6c\55\156\157\x74\x2d\154\157\x67\147\145\x64\x2d\151\x6e\55\x6e\x6f\x74\x69\x63\145\x22\76\xd\xa\x9\x9\11\x9\131\x6f\x75\162\40\x70\x6c\165\147\x69\x6e\x20\x6c\151\143\x65\156\x73\145\40\150\x61\x73\x20\x62\145\x65\156\x20\x65\170\160\x69\162\145\144\x2e\x20\x48\x65\156\x63\x65\x2c\40\x61\x6c\154\x20\164\150\x65\40\160\154\x75\x67\151\x6e\40\x73\x65\x74\x74\x69\x6e\x67\x73\40\150\x61\166\x65\x20\x62\x65\145\x6e\x20\x64\151\163\141\142\x6c\145\144\x2e\xd\12\11\x9\11\74\57\x64\151\x76\76\xd\12\11\11\x3c\x2f\164\144\x3e";
LTM:
goto AzT;
dlU:
echo "\74\x74\144\40\x63\157\x6c\163\x70\141\x6e\75\42\62\42\76\xd\xa\x9\11\11\x3c\x64\x69\166\x20\x63\154\141\x73\163\x3d\x22\x6d\157\55\x73\141\155\x6c\55\x6e\157\x74\x2d\x6c\157\147\147\x65\x64\x2d\x69\156\x2d\x6e\x6f\164\x69\143\145\42\76\15\xa\11\11\x9\x9\x50\x6c\x65\x61\163\x65\x20\x65\156\164\x65\162\40\171\x6f\x75\x72\x3c\141\40\150\162\145\x66\75\x22" . add_query_arg(array("\164\141\142" => "\x6c\x6f\x67\x69\156"), $_SERVER["\122\x45\121\x55\x45\x53\124\x5f\x55\122\x49"]) . "\x22\x3e\x20\154\151\143\x65\x6e\x73\x65\x20\x6b\145\x79\x3c\x2f\x61\x3e\40\164\157\40\141\x63\x74\151\x76\x61\x74\145\40\164\x68\145\40\x70\x6c\x75\x67\x69\156\56\xd\xa\11\11\11\x3c\57\x64\151\x76\76\xd\12\11\x9\x3c\57\164\144\76";
AzT:
goto Sko;
GlG:
echo "\x3c\x74\x64\40\x63\x6f\154\163\x70\141\156\x3d\42\62\42\x3e\xd\12\11\11\11\74\144\151\x76\x20\x63\x6c\141\163\x73\x3d\42\x6d\x6f\x2d\163\x61\155\154\55\x6e\157\164\x2d\x6c\157\147\147\x65\144\x2d\x69\156\x2d\x6e\157\x74\151\143\x65\x22\x3e\xd\xa\11\x9\11\x9\x50\x6c\x65\141\x73\145\x20\x3c\141\x20\150\x72\145\x66\75\x22" . add_query_arg(array("\164\x61\x62" => "\x6c\157\147\x69\156"), $_SERVER["\122\105\121\125\x45\x53\124\137\x55\x52\111"]) . "\42\76\122\x65\x67\x69\x73\164\145\162\x20\157\x72\40\114\157\x67\x69\156\x20\167\x69\164\x68\x20\x6d\x69\156\x69\117\x72\x61\x6e\147\145\x3c\x2f\141\76\x20\164\x6f\40\143\157\x6e\146\151\147\165\162\145\40\x74\150\x65\x20\x6d\151\x6e\x69\117\162\x61\156\x67\145\40\x53\x41\x4d\114\40\x50\x6c\165\147\151\156\x2e\xd\xa\11\x9\x9\74\57\144\151\166\76\15\xa\11\11\x3c\57\164\144\76";
Sko:
echo "\x3c\x2f\x74\162\76";
}
function miniorange_generate_metadata($og = false, $Tf = false)
{
$Cm = get_option("\x6d\157\x5f\x73\x61\155\x6c\x5f\163\x70\x5f\x62\141\x73\145\x5f\165\x72\x6c");
if (!empty($Cm)) {
goto p0h;
}
$Cm = home_url();
p0h:
if (!(substr($Cm, -1) == "\57")) {
goto fJI;
}
$Cm = substr($Cm, 0, -1);
fJI:
$Ti = get_option("\x6d\x6f\137\163\x61\155\x6c\137\x73\160\137\x65\156\x74\x69\x74\171\137\151\144");
if (!empty($Ti)) {
goto tJd;
}
$Ti = $Cm . "\x2f\167\x70\x2d\143\157\x6e\164\x65\156\164\57\x70\154\x75\x67\x69\x6e\163\57\155\151\156\x69\157\x72\x61\x6e\x67\x65\55\163\x61\155\154\55\62\60\55\163\151\x6e\147\x6c\x65\55\x73\x69\147\156\x2d\157\x6e\x2f";
tJd:
$BG = $Ti;
$aj = $Cm . "\57";
if ($Tf) {
goto ap6;
}
$w5 = get_option("\155\157\x5f\x73\141\155\x6c\x5f\143\165\x72\x72\145\156\x74\x5f\x63\145\162\x74");
goto g3q;
ap6:
$w5 = file_get_contents(plugin_dir_path(__FILE__) . "\162\x65\x73\157\x75\162\143\145\x73" . DIRECTORY_SEPARATOR . mo_options_enum_default_sp_certificate::SP_PUBLIC_CERT_FILE_NAME);
g3q:
$wJ = Utilities::getValidUntilDateFromCert($w5);
$w5 = Utilities::desanitize_certificate($w5);
if (!ob_get_contents()) {
goto S3_;
}
ob_clean();
S3_:
header("\103\157\156\x74\145\x6e\164\55\x54\171\x70\145\x3a\40\164\x65\170\x74\x2f\170\x6d\x6c");
if (!$og) {
goto F7K;
}
header("\103\x6f\x6e\164\x65\x6e\164\x2d\x44\151\163\x70\x6f\163\151\x74\151\x6f\156\72\40\141\x74\164\x61\x63\x68\x6d\145\156\164\x3b\40\146\151\154\145\156\141\155\145\75\42\x6d\x6f\x2d\163\x61\x6d\x6c\55\163\160\55\155\145\164\x61\x64\141\164\x61\56\x78\x6d\154\x22");
F7K:
echo "\x3c\77\170\x6d\154\40\x76\x65\x72\x73\x69\x6f\x6e\x3d\42\61\x2e\60\x22\77\76\15\12\74\155\144\72\105\x6e\164\x69\x74\171\104\x65\x73\x63\162\151\160\164\x6f\x72\40\170\x6d\x6c\156\163\x3a\x6d\x64\x3d\42\165\x72\x6e\72\x6f\x61\x73\151\x73\x3a\x6e\141\155\145\163\72\164\x63\x3a\123\101\115\114\x3a\x32\56\x30\72\155\145\x74\x61\144\141\x74\x61\x22\x20\x76\x61\154\x69\144\x55\156\164\151\154\x3d\42" . $wJ . "\x22\40\x63\141\x63\x68\145\104\165\162\141\x74\x69\x6f\156\x3d\x22\x50\124\61\x34\x34\66\x38\x30\x38\67\71\x32\x53\x22\x20\145\156\164\151\x74\x79\x49\104\75\x22" . $BG . "\42\x3e\xd\xa\40\x20\x3c\x6d\144\72\123\120\123\x53\117\104\x65\x73\x63\x72\x69\x70\164\x6f\162\x20\x41\165\164\x68\156\x52\145\161\165\x65\163\164\x73\123\x69\x67\x6e\x65\x64\x3d\42\x74\x72\x75\145\x22\x20\x57\141\x6e\164\x41\163\163\145\x72\164\151\157\x6e\x73\123\x69\147\156\145\x64\75\x22\x74\162\165\x65\x22\40\160\162\x6f\x74\x6f\143\x6f\154\123\165\x70\x70\157\x72\x74\x45\x6e\165\x6d\145\x72\x61\x74\151\157\156\75\x22\165\162\156\72\157\141\163\151\163\72\156\141\x6d\145\x73\x3a\164\143\72\x53\101\x4d\x4c\72\x32\x2e\60\x3a\x70\162\157\x74\x6f\x63\157\154\x22\76\15\12\11\x3c\x6d\144\x3a\x45\170\164\145\156\x73\x69\157\156\x73\76\xd\xa\x9\x9\74\151\144\x70\144\x69\x73\143\x3a\x44\x69\x73\x63\157\x76\x65\162\171\122\x65\163\160\157\156\163\x65\40\x69\x6e\144\145\170\x3d\x22\x31\42\xd\12\x9\x9\11\x78\155\x6c\x6e\163\x3a\x69\x64\x70\144\151\x73\143\75\42\x75\x72\156\x3a\157\x61\x73\x69\163\72\x6e\x61\x6d\145\x73\72\164\143\x3a\123\x41\x4d\114\x3a\x70\x72\x6f\x66\151\154\145\163\x3a\x53\123\117\x3a\x69\x64\160\55\x64\151\x73\143\x6f\x76\145\162\x79\x2d\160\162\157\164\x6f\143\157\x6c\42\15\xa\11\x9\x9\x42\151\156\144\x69\156\147\x3d\42\165\162\x6e\72\x6f\141\163\151\163\x3a\x6e\141\155\x65\x73\x3a\164\x63\72\123\x41\115\x4c\72\x70\162\x6f\x66\151\154\145\x73\x3a\123\123\117\x3a\151\x64\160\x2d\x64\x69\x73\x63\157\166\x65\x72\x79\55\160\x72\x6f\164\157\x63\x6f\x6c\x22\xd\xa\11\11\x9\x4c\x6f\143\141\164\x69\x6f\x6e\75\42" . $aj . "\42\x2f\76\xd\xa\11\74\57\155\144\x3a\x45\x78\164\145\156\x73\x69\157\x6e\x73\76\15\xa\40\x9\x3c\155\144\72\113\145\171\104\x65\163\x63\162\151\x70\164\157\x72\x20\165\x73\145\75\x22\163\x69\147\156\x69\x6e\147\42\76\15\12\x20\40\40\40\x20\40\74\x64\x73\72\113\x65\x79\111\x6e\146\x6f\x20\170\x6d\x6c\156\163\72\x64\163\x3d\x22\150\x74\164\160\x3a\x2f\x2f\x77\167\x77\56\x77\x33\x2e\x6f\x72\x67\57\x32\x30\60\x30\57\60\x39\57\170\x6d\154\x64\163\151\x67\x23\x22\x3e\15\xa\40\40\x20\40\x20\x20\x20\x20\x3c\144\x73\72\x58\65\x30\71\x44\x61\x74\141\x3e\xd\xa\x20\40\x20\40\40\40\x20\40\x20\40\74\144\163\x3a\x58\x35\60\x39\x43\145\x72\x74\151\x66\x69\x63\141\164\x65\76" . $w5 . "\74\57\x64\163\72\x58\65\x30\71\103\x65\162\164\151\x66\151\143\141\x74\145\76\15\12\40\40\x20\40\40\40\40\40\74\57\144\163\72\x58\x35\60\71\x44\141\x74\141\x3e\15\12\40\x20\40\40\40\x20\x3c\57\x64\x73\x3a\113\x65\x79\111\x6e\x66\x6f\x3e\15\12\x20\40\x20\40\74\x2f\x6d\x64\x3a\113\x65\171\x44\145\163\x63\162\x69\x70\x74\157\x72\76\xd\12\40\x20\x20\x20\74\155\144\x3a\x4b\145\x79\x44\x65\x73\x63\x72\x69\160\164\157\x72\x20\165\163\x65\x3d\42\145\x6e\143\162\x79\160\x74\151\157\x6e\x22\76\xd\12\40\40\40\x20\40\x20\x3c\x64\163\x3a\x4b\x65\171\111\x6e\x66\x6f\x20\x78\155\x6c\x6e\163\72\x64\x73\75\x22\x68\164\164\x70\x3a\57\x2f\x77\x77\167\x2e\x77\x33\x2e\157\x72\147\x2f\62\x30\x30\x30\57\60\71\57\x78\155\x6c\x64\163\151\x67\x23\x22\x3e\xd\xa\x20\x20\x20\x20\x20\x20\40\40\74\144\163\x3a\x58\65\60\x39\104\x61\164\x61\76\xd\xa\x20\40\40\40\40\40\x20\x20\x20\x20\x3c\x64\x73\72\130\65\x30\x39\103\x65\162\164\x69\x66\151\x63\x61\x74\145\76" . $w5 . "\x3c\57\x64\x73\72\130\x35\x30\71\103\145\x72\x74\x69\x66\x69\x63\x61\x74\x65\76\xd\12\40\x20\40\40\40\x20\x20\x20\74\57\144\x73\72\130\65\x30\x39\104\141\x74\x61\x3e\15\xa\x20\x20\x20\40\40\x20\x3c\57\144\163\x3a\x4b\145\x79\111\156\146\x6f\76\15\12\x20\x20\x20\x20\x3c\x2f\155\x64\72\x4b\x65\x79\x44\x65\163\x63\162\151\x70\x74\x6f\162\76\xd\12\x9\x3c\x6d\144\72\x53\x69\x6e\147\x6c\x65\114\157\x67\x6f\x75\164\x53\145\x72\166\151\x63\x65\40\x42\x69\x6e\144\151\x6e\147\75\x22\165\162\x6e\72\x6f\141\163\x69\163\x3a\156\141\x6d\145\x73\x3a\164\x63\x3a\x53\x41\115\114\x3a\x32\56\x30\x3a\x62\151\x6e\144\x69\x6e\x67\163\x3a\110\x54\124\x50\x2d\x50\117\x53\x54\42\40\x4c\157\143\x61\164\x69\x6f\x6e\x3d\42" . $aj . "\x22\57\x3e\xd\xa\x20\x20\40\x20\x3c\155\x64\72\123\x69\x6e\147\154\x65\x4c\x6f\x67\x6f\x75\164\123\x65\162\x76\151\143\145\x20\102\151\x6e\x64\151\156\147\75\x22\x75\162\156\72\157\x61\x73\151\x73\72\156\x61\155\145\x73\72\x74\x63\72\x53\101\115\x4c\x3a\x32\x2e\60\72\142\151\156\x64\x69\156\x67\163\x3a\x48\124\124\x50\55\122\x65\144\x69\162\x65\x63\164\42\x20\114\x6f\143\x61\x74\151\x6f\x6e\x3d\x22" . $aj . "\x22\57\76\xd\12\40\40\x20\40\74\155\x64\x3a\x4e\x61\155\145\x49\104\106\x6f\x72\x6d\141\x74\x3e\165\162\156\x3a\157\x61\163\151\163\x3a\x6e\x61\155\145\x73\x3a\164\x63\72\x53\x41\x4d\x4c\72\61\56\x31\x3a\156\x61\x6d\x65\x69\144\x2d\x66\157\x72\x6d\x61\x74\72\x75\156\x73\160\145\x63\151\146\151\x65\144\74\57\155\144\x3a\x4e\141\155\x65\111\104\106\157\162\155\141\x74\x3e\15\xa\x9\74\x6d\x64\72\116\x61\x6d\145\x49\x44\x46\x6f\x72\x6d\x61\x74\x3e\165\x72\x6e\72\x6f\x61\163\x69\x73\x3a\x6e\x61\155\145\163\72\x74\143\x3a\x53\x41\x4d\x4c\72\x31\x2e\61\72\156\x61\155\145\151\144\x2d\x66\157\162\155\x61\164\x3a\145\x6d\x61\x69\x6c\101\144\144\x72\x65\163\x73\x3c\57\x6d\x64\72\x4e\141\x6d\x65\111\x44\106\x6f\x72\155\x61\164\x3e\xd\12\11\x3c\x6d\x64\72\x4e\x61\x6d\145\111\x44\x46\x6f\162\155\x61\164\76\165\x72\x6e\x3a\x6f\141\163\x69\163\72\156\141\x6d\145\163\x3a\x74\x63\72\x53\101\x4d\x4c\x3a\62\56\x30\x3a\156\141\x6d\145\151\144\x2d\146\157\162\155\141\x74\72\160\x65\x72\x73\x69\163\164\x65\x6e\164\x3c\x2f\155\x64\x3a\116\x61\155\x65\x49\104\x46\157\162\155\141\164\76\xd\12\x9\74\155\144\72\x4e\141\x6d\x65\111\x44\106\157\162\x6d\x61\164\x3e\x75\x72\156\72\x6f\141\163\151\163\72\156\x61\155\145\x73\x3a\x74\143\72\123\101\115\x4c\72\62\x2e\x30\x3a\x6e\x61\x6d\145\x69\x64\x2d\x66\157\162\x6d\x61\x74\x3a\x74\162\x61\156\x73\151\145\x6e\164\x3c\57\x6d\144\72\116\141\155\145\111\104\106\157\x72\x6d\x61\x74\76\xd\12\x20\x20\x20\x20\74\x6d\144\x3a\101\x73\163\145\162\x74\x69\157\156\103\x6f\156\163\165\x6d\x65\162\123\x65\162\166\x69\x63\x65\x20\102\x69\x6e\x64\151\x6e\147\75\42\165\x72\x6e\x3a\157\141\x73\x69\x73\x3a\x6e\141\155\x65\163\72\164\x63\x3a\123\x41\115\114\72\x32\56\60\72\x62\x69\156\144\151\156\x67\163\x3a\x48\124\124\x50\x2d\120\117\123\x54\42\x20\114\x6f\x63\x61\164\x69\x6f\x6e\75\x22" . $aj . "\42\x20\151\156\144\x65\x78\75\42\61\x22\57\x3e\xd\xa\40\x20\x3c\57\155\144\x3a\123\120\123\x53\117\104\145\163\143\x72\x69\x70\164\157\162\x3e\15\12\40\40\x3c\x6d\x64\72\117\x72\x67\x61\156\151\x7a\141\164\151\x6f\156\76\xd\xa\40\x20\x20\40\74\x6d\144\x3a\x4f\x72\x67\x61\156\151\x7a\141\x74\x69\x6f\x6e\x4e\141\155\145\x20\170\x6d\x6c\x3a\154\141\156\x67\75\42\145\x6e\x2d\125\123\x22\x3e\155\151\x6e\151\117\x72\x61\156\147\145\74\x2f\155\144\72\x4f\162\x67\141\156\151\x7a\141\164\x69\157\156\116\141\155\145\x3e\xd\xa\40\40\40\40\x3c\155\x64\x3a\117\x72\147\x61\x6e\151\x7a\x61\164\151\x6f\x6e\x44\151\163\x70\154\x61\x79\x4e\141\155\145\x20\170\x6d\154\72\154\x61\156\147\75\x22\x65\x6e\55\125\x53\x22\76\x6d\151\x6e\x69\117\x72\x61\156\147\x65\74\x2f\155\x64\72\x4f\x72\x67\x61\156\x69\x7a\141\x74\x69\157\156\x44\151\163\160\x6c\x61\x79\116\x61\x6d\x65\x3e\15\12\40\40\40\40\74\x6d\x64\x3a\x4f\162\x67\141\156\151\x7a\x61\x74\x69\x6f\156\x55\122\114\x20\x78\155\154\x3a\x6c\x61\156\x67\75\42\x65\x6e\55\125\123\x22\x3e\150\x74\164\x70\x3a\x2f\x2f\x6d\x69\156\x69\157\x72\141\x6e\147\145\56\143\x6f\155\74\x2f\x6d\144\x3a\117\162\147\141\156\x69\172\141\x74\x69\x6f\156\x55\122\114\x3e\15\xa\40\x20\x3c\x2f\x6d\x64\x3a\x4f\x72\x67\141\x6e\x69\172\x61\x74\151\x6f\x6e\76\xd\12\40\x20\74\155\144\72\103\x6f\x6e\x74\x61\x63\x74\x50\x65\x72\x73\157\156\x20\x63\x6f\156\164\141\143\x74\x54\171\x70\145\x3d\x22\x74\x65\x63\x68\x6e\151\143\x61\x6c\42\x3e\xd\12\x20\40\x20\x20\x3c\155\144\72\x47\151\166\145\156\116\x61\x6d\145\x3e\x6d\151\x6e\x69\117\x72\x61\156\x67\x65\74\x2f\x6d\x64\72\x47\x69\166\145\x6e\x4e\141\x6d\145\x3e\15\xa\40\x20\x20\40\74\155\144\x3a\x45\155\141\151\154\101\x64\144\162\145\163\x73\76\x69\156\x66\x6f\100\155\x69\x6e\151\157\162\141\x6e\147\x65\x2e\x63\157\155\74\x2f\155\144\72\x45\155\141\151\x6c\x41\x64\144\162\x65\x73\x73\x3e\15\12\40\40\x3c\57\x6d\144\x3a\103\157\x6e\x74\x61\143\164\120\145\162\163\x6f\156\76\xd\xa\40\40\74\x6d\x64\72\x43\157\x6e\x74\141\143\164\120\x65\162\163\157\156\40\x63\157\x6e\x74\x61\143\x74\124\171\x70\x65\x3d\x22\x73\x75\x70\x70\x6f\162\164\x22\x3e\15\12\x20\40\x20\x20\74\x6d\x64\72\107\x69\x76\x65\156\x4e\141\x6d\x65\x3e\x6d\x69\x6e\151\117\x72\141\156\x67\145\x3c\57\155\x64\x3a\x47\x69\166\145\x6e\116\141\x6d\x65\x3e\15\xa\40\40\40\40\x3c\x6d\144\72\x45\155\x61\x69\154\101\144\144\x72\145\163\163\x3e\151\x6e\x66\157\x40\155\151\156\x69\x6f\x72\141\156\147\x65\56\x63\x6f\155\74\x2f\x6d\144\72\105\x6d\141\151\x6c\x41\144\144\x72\145\x73\163\76\xd\xa\40\x20\74\x2f\x6d\x64\x3a\103\157\156\x74\x61\x63\164\x50\145\x72\x73\x6f\156\76\15\12\x3c\57\155\144\72\x45\156\164\x69\x74\171\x44\x65\x73\143\162\x69\160\164\x6f\162\76";
exit;
}
function mo_check_certificate_expiry()
{
$XE = openssl_x509_parse(get_option("\155\x6f\x5f\x73\x61\x6d\x6c\137\143\165\162\x72\x65\x6e\x74\x5f\x63\x65\162\164"))["\166\x61\x6c\151\144\x54\157\137\x74\x69\155\x65\x5f\164"];
$RR = $XE - time();
$Dp = round($RR / (60 * 60 * 24));
return $Dp < 60;
}
function get_sso_button($il, $Di)
{
if (!empty($il[$Di])) {
goto E2j;
}
$Fb = "\154\157\156\147\142\165\164\x74\x6f\156";
$Jd = "\65\60";
$uy = "\61\60\x30";
$fS = "\65\x30";
$Y1 = "\x35";
$l3 = "\x4c\x6f\x67\151\156";
$g6 = "\x30\60\70\x35\142\141";
$I0 = "\62\x30";
$LZ = "\x66\146\146\x66\146\x66";
$mL = "\x61\x62\157\x76\x65";
goto SiF;
E2j:
$il = $il[$Di];
$Fb = !empty($il["\x62\x75\164\164\157\x6e\x5f\164\171\160\x65"]) ? $il["\142\165\x74\164\157\x6e\137\164\171\160\x65"] : "\154\157\x6e\x67\142\x75\x74\x74\x6f\x6e";
$Jd = !empty($il["\x62\x75\x74\164\x6f\156\x5f\x73\x69\172\x65"]) ? $il["\x62\165\x74\x74\157\x6e\x5f\x73\151\172\x65"] : "\x35\60";
$uy = !empty($il["\142\x75\x74\x74\x6f\x6e\137\167\x69\x64\164\x68"]) ? $il["\x62\x75\x74\164\x6f\156\x5f\x77\x69\x64\x74\x68"] : "\x31\60\60";
$fS = !empty($il["\x62\x75\x74\164\x6f\x6e\137\150\x65\x69\147\x68\164"]) ? $il["\142\165\164\x74\157\156\137\150\145\x69\147\150\164"] : "\x35\60";
$Y1 = !empty($il["\x62\165\x74\x74\157\156\137\143\165\x72\166\x65"]) ? $il["\x62\x75\x74\164\157\156\x5f\x63\x75\162\166\145"] : "\65";
$l3 = !empty($il["\142\x75\x74\x74\x6f\156\x5f\x74\145\170\x74"]) ? $il["\142\x75\164\164\x6f\x6e\137\164\145\x78\x74"] : $Di;
$g6 = !empty($il["\142\165\x74\x74\157\x6e\x5f\x63\x6f\x6c\157\162"]) ? $il["\142\x75\164\x74\x6f\x6e\137\x63\x6f\x6c\157\162"] : "\60\60\x38\65\x62\x61";
$I0 = !empty($il["\146\x6f\x6e\164\x5f\163\151\172\145"]) ? $il["\x66\x6f\x6e\164\x5f\163\151\172\x65"] : "\62\60";
$LZ = !empty($il["\x66\x6f\x6e\x74\137\x63\157\154\x6f\x72"]) ? $il["\146\157\x6e\164\x5f\x63\157\154\157\162"] : "\146\x66\146\x66\x66\x66";
$mL = !empty($il["\x62\x75\164\x74\x6f\x6e\137\x70\157\x73\x69\x74\x69\x6f\x6e"]) ? $il["\142\165\164\164\x6f\x6e\x5f\x70\x6f\x73\x69\164\x69\x6f\x6e"] : "\141\142\x6f\x76\x65";
SiF:
$iJ = "\74\151\x6e\x70\165\x74\x20\164\x79\x70\x65\x3d\42\x62\x75\x74\164\x6f\156\42\x20\156\x61\x6d\x65\x3d\42\x6d\x6f\x5f\x73\x61\x6d\x6c\x5f\167\160\137\x73\x73\x6f\x5f\142\x75\164\x74\x6f\x6e\x22\40\x76\141\x6c\165\145\75\42" . $l3 . "\x22\x20\x73\x74\x79\x6c\145\75\42";
$Li = '';
if ($Fb == "\x6c\157\156\147\142\x75\x74\164\157\x6e") {
goto o92;
}
if ($Fb == "\143\151\162\x63\x6c\x65") {
goto xc_;
}
if ($Fb == "\157\166\141\154") {
goto gvw;
}
if ($Fb == "\x73\161\x75\141\x72\x65") {
goto raa;
}
goto b9N;
xc_:
$Li = $Li . "\167\x69\144\164\x68\72" . $Jd . "\160\x78\73";
$Li = $Li . "\x68\145\x69\147\150\x74\x3a" . $Jd . "\160\170\73";
$Li = $Li . "\142\157\162\x64\145\162\x2d\162\141\144\x69\165\163\72\71\71\71\x70\170\73";
goto b9N;
gvw:
$Li = $Li . "\x77\x69\144\164\150\72" . $Jd . "\160\170\x3b";
$Li = $Li . "\x68\145\151\x67\x68\x74\x3a" . $Jd . "\x70\x78\x3b";
$Li = $Li . "\x62\x6f\x72\x64\145\162\55\162\x61\x64\x69\x75\163\72\x35\160\x78\x3b";
goto b9N;
raa:
$Li = $Li . "\x77\151\x64\x74\x68\x3a" . $Jd . "\160\x78\x3b";
$Li = $Li . "\150\145\151\147\150\164\72" . $Jd . "\x70\x78\x3b";
$Li = $Li . "\x62\x6f\162\x64\145\x72\x2d\x72\141\144\151\x75\163\x3a\x30\x70\x78\x3b";
$Li = $Li . "\x70\x61\x64\x64\151\156\x67\x3a\x30\160\170\73";
b9N:
goto CST;
o92:
$Li = $Li . "\x77\x69\144\164\150\72" . $uy . "\160\x78\73";
$Li = $Li . "\x68\145\x69\147\150\164\x3a" . $fS . "\x70\170\73";
$Li = $Li . "\142\157\162\144\145\162\x2d\x72\x61\x64\x69\x75\163\72" . $Y1 . "\160\x78\73";
CST:
$Li = $Li . "\142\x61\143\x6b\147\162\x6f\x75\156\x64\55\143\157\x6c\x6f\x72\x3a\43" . $g6 . "\73";
$Li = $Li . "\142\157\162\x64\x65\162\55\143\x6f\x6c\x6f\x72\x3a\x74\x72\x61\x6e\163\160\141\162\x65\156\164\x3b";
$Li = $Li . "\143\157\154\157\x72\x3a\43" . $LZ . "\x3b";
$Li = $Li . "\146\x6f\x6e\164\x2d\x73\x69\172\145\72" . $I0 . "\x70\170\73";
$Li = $Li . "\x63\x75\162\163\157\162\x3a\x70\157\151\156\164\145\x72";
$iJ = $iJ . $Li . "\42\x2f\76";
$Y4 = array("\154\x6f\x67\151\156\137\x62\165\x74\x74\157\x6e" => $iJ, "\x62\x75\164\x74\157\156\x5f\x70\x6f\x73\151\x74\151\x6f\x6e" => $mL);
return $Y4;
}
function filter_empty_values($CE)
{
return $CE != NULL && $CE != FALSE && $CE != '';
}
function mo_saml_get_sp_private_key_for_idp($Lx)
{
$rp = !empty($Lx["\x73\x70\x5f\x70\x72\151\x76\x5f\x6b\x65\171"]) ? $Lx["\163\160\137\160\162\x69\x76\137\x6b\x65\171"] : get_option("\x6d\157\x5f\163\x61\155\154\137\x63\x75\162\162\x65\156\164\x5f\x63\x65\162\164\x5f\x70\x72\151\166\141\164\145\x5f\x6b\x65\x79");
return $rp;
}
function mo_saml_get_sp_public_cert_for_idp($Lx)
{
$sz = !empty($Lx["\163\160\x5f\x63\145\x72\x74"]) ? $Lx["\x73\x70\137\x63\145\162\x74"] : get_option("\x6d\x6f\137\163\x61\155\154\x5f\x63\165\x72\162\145\156\x74\137\x63\145\162\164");
return $sz;
}
function mo_saml_display_plugin_title()
{
echo "\x3c\150\61\x3e\15\12\x9\11\155\x69\156\x69\x4f\162\x61\x6e\x67\145\40\x53\123\117\x20\165\163\151\156\147\40\123\101\x4d\x4c\40\62\56\60\46\156\x62\x73\160\15\12\x9\11\74\x61\x20\x69\x64\75\42\154\151\143\x65\x6e\x73\145\x5f\165\x70\x67\162\141\x64\145\x22\x20\143\x6c\141\163\x73\x3d\x22\x61\144\x64\x2d\156\x65\x77\x2d\x68\x32\x20\x61\x64\144\55\156\x65\167\55\x68\x6f\166\145\162\x22\40\163\x74\171\x6c\145\75\42\142\141\143\x6b\147\162\157\x75\156\144\x2d\143\157\154\x6f\x72\72\x20\x6f\162\x61\156\x67\145\x20\41\x69\x6d\x70\157\x72\x74\x61\x6e\x74\x3b\40\142\x6f\162\x64\x65\162\x2d\143\157\154\x6f\x72\72\40\157\162\x61\156\147\x65\73\40\146\157\x6e\x74\x2d\163\151\172\x65\x3a\40\61\x36\x70\x78\x3b\x20\143\x6f\x6c\x6f\x72\x3a\x20\43\60\x30\x30\73\x22\x20\150\x72\145\x66\x3d\42";
echo add_query_arg(array("\164\x61\142" => "\x6c\x69\143\x65\x6e\163\151\x6e\x67"), htmlentities($_SERVER["\122\105\x51\x55\x45\123\x54\x5f\x55\x52\x49"]));
echo "\x22\76\125\x70\147\x72\x61\144\145\x20\116\157\x77\x3c\x2f\x61\76\15\xa\11\x9\x3c\x61\40\x63\154\x61\163\163\x3d\x22\x61\144\x64\x2d\x6e\145\167\55\x68\62\42\40\x68\x72\x65\146\75\42\150\x74\x74\160\x73\x3a\x2f\57\x66\x61\161\56\155\x69\156\151\x6f\x72\x61\156\147\145\x2e\x63\x6f\155\57\153\142\x2f\x73\x61\x6d\x6c\55\163\151\x6e\x67\x6c\x65\x2d\163\151\x67\x6e\x2d\157\156\x2f\42\x20\164\141\162\x67\x65\x74\x3d\x22\x5f\x62\x6c\141\x6e\153\x22\76\106\x41\121\x73\x3c\57\141\x3e\xd\xa\x9\x9\74\141\40\143\154\x61\163\163\x3d\x22\141\144\x64\55\156\145\x77\55\x68\x32\42\40\150\x72\x65\x66\75\x22\150\x74\x74\160\163\72\x2f\57\146\157\162\x75\155\56\x6d\x69\x6e\x69\x6f\162\141\x6e\x67\x65\56\x63\x6f\x6d\x2f\x22\x20\x74\x61\162\147\145\x74\75\x22\x5f\142\x6c\x61\156\x6b\42\x3e\x41\x73\x6b\x20\x71\165\x65\163\x74\x69\157\156\x73\40\x6f\x6e\40\157\165\162\40\x66\157\162\165\x6d\x3c\x2f\141\76\xd\12\11\x3c\x2f\x68\x31\x3e";
}
function mo_saml_get_active_tab()
{
if (!Mo_License_Service::is_customer_license_verified()) {
goto yfB;
}
if (!Mo_License_Service::is_customer_license_valid(false)) {
goto b7O;
}
if (mo_saml_is_sp_configured()) {
goto a4A;
}
$rV = "\163\141\x76\145";
goto YD6;
yfB:
$rV = "\x6c\157\147\151\x6e";
goto YD6;
b7O:
$rV = "\x61\143\143\157\165\156\164\137\x69\156\146\157";
goto YD6;
a4A:
$rV = "\x73\x65\164\164\151\156\x67\163";
YD6:
return $rV;
}
Function Calls
None |
Stats
MD5 | a4034f6a3d285d1843ee171f09986e47 |
Eval Count | 0 |
Decode Time | 230 ms |