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 include 'Import-export.php'; foreach (glob(plugin_dir_path(__FILE__).'views'.D..
Decoded Output download
<?php
include 'Import-export.php';
foreach (glob(plugin_dir_path(__FILE__).'views'.DIRECTORY_SEPARATOR.'*.php') as $filename)
{
include_once $filename;
}
static $vp = 0;
static $KT;
function mo_register_saml_sso()
{
$_SERVER["REQUEST_URI"] = remove_query_arg(array("action", "sp_metadata"), $_SERVER["REQUEST_URI"]);
if (isset($_GET["tab"])) {
goto j5G;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified() && mo_saml_is_sp_configured()) {
goto qJz;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto qsW;
}
$LS = "login";
goto R1P;
qsW:
$LS = "sp_metadata";
R1P:
goto aLA;
qJz:
$LS = "settings";
aLA:
goto a4w;
j5G:
$LS = $_GET["tab"];
a4w:
if (mo_saml_is_extension_installed("curl")) {
goto i2u;
}
echo "\xd\xa\x9\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>";
i2u:
if (mo_saml_is_extension_installed("openssl")) {
goto W3N;
}
echo "
\xa <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>";
W3N:
echo "<div class="wrap">
\xa <h1>";
if ($LS == "licensing") {
goto xx5;
}
update_option("mo_license_plan_from_feedback", '');
update_option("mo_saml_license_message", '');
echo "miniOrange SSO using SAML 2.0 
<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>\xd\xa <a class="add-new-h2" href="https://faq.miniorange.com/kb/saml-single-sign-on/" target="_blank">FAQs</a>
<a class="add-new-h2" href="https://forum.miniorange.com/" target="_blank">Ask questions on our forum</a>";
goto aBH;
xx5:
echo "<div style="text-align:center;">
\xa miniOrange SSO using SAML 2.0</div>
<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>\xd\xa <!-- 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 -->
<br /><br/><div style="text-align:center; color: rgb(233, 125, 104);">\xd\xa <li style="color: dimgray; margin-top: 0px;list-style-type: none;">
\xa \xd
</li></span></div>";
aBH:
echo "</h1>
\xd
</div>";
echo "\xd
<div id="mo_saml_settings">
\xa\x9<div class="miniorange_container">";
if ($LS != "licensing") {
goto Sev;
}
if (!($LS == "licensing")) {
goto Acr;
}
mo_saml_show_pricing_page();
Acr:
goto klF;
Sev:
if (!mo_check_certificate_expiry()) {
goto b1g;
}
$mY = get_option("mo_saml_current_cert");
$f1 = openssl_x509_parse($mY);
$bj = $f1["validTo_time_t"];
$Ww = $bj - time();
$ki = round($Ww / (60 * 60 * 24));
if ($ki >= 0) {
goto x3_;
}
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 XvQ;
x3_:
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 " . $ki . " days.</p></div>";
XvQ:
b1g:
echo "<table style="width:100%;">
\x9<tr>
\xa\x9\x9<h2 class="nav-tab-wrapper">";
if (!(!mo_saml_is_customer_registered_saml() && !mo_saml_is_customer_license_key_verified() || mo_saml_is_customer_registered_saml() && !mo_saml_is_customer_license_key_verified())) {
goto Xtz;
}
echo "<a class="nav-tab " . ($LS == "login" ? "nav-tab-active" : '') . "" href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . "">Account Setup</a>";
Xtz:
echo " <a class="nav-tab " . ($LS == "sp_metadata" ? "nav-tab-active" : '') . ""
href="" . add_query_arg(array("tab" => "sp_metadata"), $_SERVER["REQUEST_URI"]) . "">Service\xd
\x9 Provider Metadata</a>
\xa\x9 \xd\xa\x9 <a class="nav-tab " . ($LS == "save" ? "nav-tab-active" : '') . ""
\xa\x9\x9\x9 href="" . add_query_arg(array("tab" => "save"), $_SERVER["REQUEST_URI"]) . "">Service\xd\xa\x9 Provider Setup</a>\xd
\x9 \x9
<a class="nav-tab " . ($LS == "domains" ? "nav-tab-active" : '') . ""\xd
\x9 href="" . add_query_arg(array("tab" => "domains"), $_SERVER["REQUEST_URI"]) . "">Domain
\x9\x9 Mapping</a>
\xa <a class="nav-tab " . ($LS == "attribute_role" ? "nav-tab-active" : '') . ""
\xa\x9 href="" . add_query_arg(array("tab" => "attribute_role"), $_SERVER["REQUEST_URI"]) . "">Attribute/Role
\x9 \x9 Mapping</a>";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto Yn3;
}
echo "<a class="nav-tab " . ($LS == "settings" ? "nav-tab-active" : '') . ""
\x9 \x9 href="" . add_query_arg(array("tab" => "settings"), $_SERVER["REQUEST_URI"]) . "">Redirection & SSO Links</a>";
Yn3:
echo "
\xd\xa\x9 <a class="nav-tab " . ($LS == "custom_certificate" ? "nav-tab-active" : '') . ""
\xa href="" . add_query_arg(array("tab" => "custom_certificate"), $_SERVER["REQUEST_URI"]) . "">Manage Certificate</a>
\xa
\xa\x9 \x9 <a class="nav-tab " . ($LS == "custom_messages" ? "nav-tab-active" : '') . ""
href="" . add_query_arg(array("tab" => "custom_messages"), $_SERVER["REQUEST_URI"]) . "">Custom Messages</a>";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto jnm;
}
echo "<a class="nav-tab " . ($LS == "account_info" ? "nav-tab-active" : '') . ""
\x9 href="" . add_query_arg(array("tab" => "account_info"), $_SERVER["REQUEST_URI"]) . "">Account Info</a>";
jnm:
echo "</h2>";
if ($LS == "save") {
goto rik;
}
echo "<td style="vertical-align: top; width: 65%;">";
goto IVz;
rik:
echo "<td style="vertical-align: top; width: 95%;">";
IVz:
if ($LS == "save") {
goto eir;
}
if ($LS == "attribute_role") {
goto CC2;
}
if ($LS == "domains") {
goto vAL;
}
if ($LS == "sp_metadata") {
goto Gly;
}
if ($LS == "settings") {
goto Uks;
}
if ($LS == "licensing") {
goto zfC;
}
if ($LS == "custom_certificate") {
goto BaI;
}
if ($LS == "custom_messages") {
goto yp2;
}
if ($LS == "account_info" && mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto UKq;
}
if (get_option("mo_saml_verify_customer") == "true") {
goto bvl;
}
if (trim(get_option("mo_saml_admin_email")) != '' && trim(get_option("mo_saml_admin_api_key")) == '' && get_option("mo_saml_new_registration") != "true") {
goto Mgm;
}
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 e2s;
}
if (!mo_saml_is_customer_registered_saml()) {
goto U_o;
}
if (mo_saml_is_customer_registered_saml() && (!mo_saml_is_customer_license_key_verified() || Utilities::mo_idp_limit_reached())) {
goto nOb;
}
mo_saml_general_login_page();
goto t5A;
nOb:
mo_saml_show_verify_license_page();
t5A:
goto sUp;
U_o:
mo_saml_show_verify_password_page_saml();
sUp:
goto jd2;
e2s:
mo_saml_show_otp_verification();
jd2:
goto Eo3;
Mgm:
mo_saml_show_verify_password_page_saml();
Eo3:
goto QP6;
bvl:
mo_saml_show_verify_password_page_saml();
QP6:
goto ze8;
UKq:
mo_saml_display_account_information();
ze8:
goto ZmD;
yp2:
mo_saml_add_custom_messages();
ZmD:
goto by7;
BaI:
mo_saml_add_custom_certificate();
by7:
goto meL;
zfC:
mo_saml_show_pricing_page();
meL:
goto A98;
Uks:
mo_saml_general_login_page();
A98:
goto R4u;
Gly:
mo_saml_configuration_steps();
R4u:
goto a8C;
vAL:
mo_saml_domain_mapping_page();
a8C:
goto sTf;
CC2:
mo_saml_save_optional_config();
sTf:
goto i22;
eir:
mo_saml_apps_config_saml();
i22:
echo "</td>
\x9 <td style="vertical-align:top;padding-left:1%;">";
$LD = get_option("mo_saml_attr_mapping_idp_name");
$Wk = maybe_unserialize(get_option("mo_saml_test_config_attrs"));
if (!($LS !== "save")) {
goto BJs;
}
if ($LS !== "attribute_role" || !(!empty($Wk) and !empty($LD) and isset($Wk[$LD]))) {
goto XfQ;
}
mo_saml_display_attrs_list($LD);
goto FYF;
XfQ:
miniorange_support_saml();
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto EC6;
}
miniorange_keep_configuration_saml();
EC6:
FYF:
BJs:
echo "</td>\xd\xa\x9 </tr>
\xa </table>\xd
\x9</div>";
klF:
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"/>
\xa\x9 </form>\xd
\x9 <form style="display:none;" id="loginform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login"
target="_blank" method="post">\xd\xa\x9\x9<input type="email" name="username" value="" . mo_options_plugin_constants::HOSTNAME . "" />\xd\xa\x9 <input type="text" name="redirectUrl" value="" . mo_options_plugin_constants::HOSTNAME . "/moas/viewlicensekeys" />\xd
\x9 <input type="text" name="requestOrigin" value="wp_saml_sso_basic_plan" />
\xa\x9 </form>\xd
<script>
\xa \x9 jQuery("a[href=\"#activatelicense\"]").click(function(){
\x9 jQuery("#mo_saml_check_license").submit();\xd\xa\x9\x9 });
</script>";
}
function mo_saml_is_extension_installed($p9)
{
if (in_array($p9, get_loaded_extensions())) {
goto o8b;
}
return 0;
goto w95;
o8b:
return 1;
w95:
}
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" />\xd
<div class="mo_saml_table_layout" style="padding-bottom:72px;">\xd\xa\x9\x9\x9\x9 <h3>Register with miniOrange</h3>
\x9\x9<p><a href="#" id="help_register_link">[ Why should I register? ]</a></p>\xd\xa \x9<div hidden id="help_register_desc" class="mo_saml_help_desc">\xd
\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>.\xd
\x9 \x9 </div>
\xa \x9\x9\x9 </p>
\xa \x9 \x9<table class="mo_saml_settings_table">\xd\xa\x9 \x9 \x9<tr>\xd
\x9\x9\x9 <td><b><font color="#FF0000">*</font>Email:</b></td>
\x9 <td><input class="mo_saml_table_textbox" type="email" name="email"
\xa\x9 \x9 \x9\x9 required placeholder="[email protected]"
\xa\x9 \x9\x9 \x9\x9value="" . get_option("mo_saml_admin_email") . "" /></td>
\xa\x9 \x9\x9\x9</tr>\xd\xa\xd\xa \x9\x9\x9 <tr>\xd
\x9 \x9 <td><b>Phone number:</b></td>\xd
\x9\x9\x9<td><input class="mo_saml_table_textbox" type="tel" id="phone_contact" style="width:80%;"
\xa \x9\x9\x9\x9 \x9pattern="[\+]\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 title="Phone with country code eg. +1xxxxxxxxxx"\xd\xa \x9 \x9\x9\x9 \x9placeholder="Phone with country code eg. +1xxxxxxxxxx"
\x9 \x9 value="" . get_option("mo_saml_admin_phone") . "" /></td>
\xa \x9\x9 \x9</tr>\xd\xa \x9\x9 \x9<tr>\xd\xa\x9\x9 \x9\x9\x9 <td></td>
\x9 \x9 \x9\x9\x9\x9<td>We will call only if you need support.</td>
\x9 \x9</tr>
\x9\x9 <tr>\xd
\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"
\x9 \x9 \x9name="password" placeholder="Choose your password (Min. length 6)"
\x9 \x9\x9\x9\x9\x9minlength="6" pattern="^[(\w)*(!@#$%^&*-_)*]+$"\xd\xa\x9\x9 \x9 \x9\x9title="Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present"
\xa\x9\x9 \x9\x9 \x9/></td>\xd
\x9 \x9 </tr>
\xa\x9 \x9 <tr>
\xa \x9\x9\x9 <td><b><font color="#FF0000">*</font>Confirm Password:</b></td>
\xa \x9\x9<td><input class="mo_saml_table_textbox" required type="password"
\xa \x9 \x9 \x9name="confirmPassword" placeholder="Confirm your password"\xd\xa \x9\x9 \x9 minlength="6" pattern="^[(\w)*(!@#$%^&*-_)*]+$"
\x9\x9 \x9\x9\x9 title="Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present"
\x9\x9 \x9 \x9/></td>
\xa \x9\x9 </tr>\xd
\x9 \x9 \x9<tr>
\xa\x9\x9\x9 \x9\x9\x9<td> </td>
\x9 \x9<td><input type="submit" name="submit" value="Register"\xd
\x9\x9 \x9\x9class="button button-primary button-large" /></td>\xd\xa \x9\x9 \x9 </tr>\xd
\x9\x9\x9\x9\x9</table>
\xa\x9\x9\x9</div>\xd
\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\xa\x9 <div class="mo_saml_table_layout" style="padding-bottom:72px;">\xd\xa\x9 \x9<div id="toggle1">
\xa\x9 \x9 <h3>Login with miniOrange</h3>
\xa \x9\x9\x9</div>\xd
\x9\x9\x9 <!--<p><b>It seems you already have an account with miniOrange. Please enter your miniOrange email and password.<br/>-->
\x9 <p><b><a href="https://login.xecurify.com/moas/idp/resetpassword" target="_blank">Click here if you forgot your password?</a></b></p>\xd\xa\x9 \x9\x9 <br/>\xd
\x9\x9\x9 \x9<table class="mo_saml_settings_table">
\x9\x9\x9 \x9\x9<tr>
\x9 <td><b><font color="#FF0000">*</font>Email:</b></td>\xd
\x9 \x9\x9<td><input class="mo_saml_table_textbox" type="email" name="email"
\xa \x9\x9 \x9\x9 \x9required placeholder="[email protected]"
\xa \x9 \x9\x9 \x9value="" . get_option("mo_saml_admin_email") . "" /></td>
\xa \x9\x9 \x9</tr>\xd\xa \x9\x9 <tr>\xd
\x9 \x9\x9 <td><b><font color="#FF0000">*</font>Password:</b></td>\xd
\x9\x9\x9 <td><input class="mo_saml_table_textbox" required type="password"\xd\xa\x9 \x9 name="password" placeholder="Choose your password"\xd\xa\x9 \x9\x9\x9\x9 minlength="6" pattern="^[(\w)*(!@#$%^&*-_)*]+$"
\xa\x9\x9\x9 title="Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present"
\x9 \x9 \x9/></td>
\x9 \x9\x9</tr>
\xa\xd
\x9\x9 \x9 \x9<tr>\xd
\x9\x9\x9\x9 \x9 <td> </td>\xd\xa \x9\x9 \x9\x9<td>
\xa\x9 \x9 <input type="submit" name="submit" value="Login"\xd\xa \x9 \x9\x9\x9 class="button button-primary button-large" /></td>\xd\xa \x9\x9 \x9</tr>
\x9 \x9\x9\x9</table>\xd\xa \x9\x9</div>\xd\xa\x9 </form>
\xa\x9\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\xa\x9 </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"/>
\xa\x9\x9</form>\xd\xa\x9 <script>\xd
\x9\x9jQuery("#mo_saml_goback").click(function(){\xd\xa\x9\x9 jQuery("#mo_saml_goback_form").submit();\xd\xa\x9\x9 });\xd
jQuery("a[href=\"#mo_saml_forgot_password_link\"]").click(function(){\xd\xa\x9\x9 jQuery("#mo_saml_forgotpassword_form").submit();\xd
\x9 \x9});
\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>\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" />\xd\xa\xd
\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<input class="mo_saml_table_textbox" required type="text" style="margin-left:40px;width:300px;"\xd
\x9 \x9 \x9 name="mo_saml_license_key" placeholder="Enter your license key to activate the plugin" />
\x9\x9\x9 \x9 \x9</p>
\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>\xd\xa \x9 </p>
\xd
\x9 \x9 <ol>\xd
\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>\xd\xa \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>\xd
\x9\x9 \x9<br>
\xa \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\x9\x9</form></div>
\xa
\x9 <form name="f" method="post" action="" id="mo_saml_check_license">";
wp_nonce_field("mo_saml_check_license");
echo "<input type="hidden" name="option" value="mo_saml_check_license"/>\xd\xa </form>
\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"/>
\xa\x9 </form>\xd
\x9\x9<form style="display:none;" id="loginform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login"
\x9 target="_blank" method="post">\xd
\x9<input type="email" name="username" value="" . get_option("mo_saml_admin_email") . "" />
\xa\x9 <input type="text" name="redirectUrl" value="" . mo_options_plugin_constants::HOSTNAME . "/moas/viewlicensekeys" />\xd\xa\x9 <input type="text" name="requestOrigin" value="wp_saml_sso_basic_plan" />
\xa </form>
\x9<script>
\x9 \x9jQuery("a[href=\"#activatelicense\"]").click(function(){
\x9\x9\x9 jQuery("#mo_saml_check_license").submit();
\x9 });\xd\xa\x9\x9 function getlicensekeysform() {
\x9 \x9\x9jQuery("#loginform").submit();\xd
\x9 }
\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" />\xd
\x9\x9 <div class="mo_saml_table_layout">\xd\xa\x9\x9 \x9<table class="mo_saml_settings_table" style="padding-bottom:72px;">\xd
\x9 \x9\x9 <h3>Verify Your Email</h3>
\xa \x9 <tr>
\xa\x9\x9 \x9 <td><b><font color="#FF0000">*</font>Enter OTP:</b></td>\xd\xa \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\x9 \x9 <a style="cursor:pointer;" onclick="document.getElementById('resend_otp_form').submit();">Resend OTP</a></td>\xd
\x9\x9 </tr>\xd
\x9\x9 <tr><td colspan="3"></td></tr>\xd\xa\x9 \x9<tr>
\x9 \x9 <td> </td>
\xa\x9 \x9\x9 \x9<td style="width:17%">
<input type="submit" name="submit" value="Validate OTP" class="button button-primary button-large" /></td>\xd\xa
\xa\x9 </form>\xd\xa\x9\x9<form name="f" method="post">
\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"/>
\x9\x9 \x9\x9 <input type="submit" name="submit" value="Back" class="button button-primary button-large" />\xd\xa\x9\x9 \x9</td>\xd
</form>\xd\xa\x9\x9<form name="f" id="resend_otp_form" method="post" action="">
\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 Q23;
}
wp_nonce_field("mo_saml_resend_otp_phone");
echo "<input type="hidden" name="option" value="mo_saml_resend_otp_phone"/>";
goto mTb;
Q23:
wp_nonce_field("mo_saml_resend_otp_email");
echo "<input type="hidden" name="option" value="mo_saml_resend_otp_email"/>";
mTb:
echo "</td>
\xa\xd
\x9</form>\xd\xa\x9 </tr>\xd\xa \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 IM1;
}
echo "<hr>
\x9 \x9 <h3>I did not recieve any email with OTP . What should I do ?</h3>\xd\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" />
\xa \x9 \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 <br><br>\xd\xa \x9 \x9 <b>Enter your valid phone number here and verify your identity using one time passcode sent to your phone.</b><br><br>\xd\xa \x9 \x9 <input class="mo_saml_table_textbox" type="tel" id="phone_contact" style="width:40%;"
\xa \x9\x9 \x9 \x9pattern="[\+]\d{11,14}|[\+]\d{1,4}([\s]{0,1})(\d{0}|\d{9,10})" class="mo_saml_table_textbox" name="phone"
\x9\x9\x9 \x9title="Phone with country code eg. +1xxxxxxxxxx" required\xd
\x9 \x9\x9\x9\x9placeholder="Phone with country code eg. +1xxxxxxxxxx"
\xa \x9 \x9 value="" . get_option("mo_saml_admin_phone") . "" />
\xa \x9\x9 <br /><br /><input type="submit" value="Send OTP" class="button button-primary button-large" />\xd\xa\xd\xa\x9 \x9</form>";
IM1:
echo "</div>";
}
function displaySearchResultIDPs($lH)
{
$an = get_option("saml_identity_providers");
$an = maybe_unserialize($an);
$hb = array();
if (!(!empty($an) and is_array($an))) {
goto T_W;
}
foreach ($an as $pi) {
$yD = $pi["idp_name"];
$RJ = $pi["idp_entity_id"];
if (!(stripos($yD, $lH) !== false || stripos($RJ, $lH) !== false)) {
goto aHq;
}
$hb[$yD] = $pi;
aHq:
gc_:
}
OzL:
T_W:
update_option("saml_search_idp", $hb);
if (!empty($hb)) {
goto CsB;
}
echo "<div style="display: block;color: #e92b14;background-color: #fcf8e3;padding: 10px;border: solid 1px #faebcc;width:96%;">
\xa\x9 <span><b>No Matching IDP found.</b></span>\xd
\x9 </div>";
goto Q2u;
CsB:
displayIDPList($hb);
Q2u:
}
function displayIDPList($an)
{
foreach ($an as $yD => $LD) {
echo "<tr> \xd
\x9\x9<td style="padding: 5px 5px;" width="15%"><span style="padding:2px">" . $yD . "</span>";
if (!get_option("saml_default_idp")) {
goto GPD;
}
if (!(get_option("saml_default_idp") === $yD)) {
goto EFY;
}
echo "<br/><span style="background-color:#21759b; color:#FFFFFF; border-radius:2px; padding:2px; font-size:90%;">Default IDP<span>";
EFY:
GPD:
echo "</td>
\xa \x9\x9<td style="padding: 5px 0px;" width="60%">" . $LD["idp_entity_id"] . "</td>\xd\xa
\xa <td style="padding: 5px 0px; text-align:center;" width="10%"><label class="switch"><input type="checkbox" name="enable_idp[]" value="" . $yD . """;
if (array_key_exists("enable_idp", $LD)) {
goto OQ9;
}
$LD["enable_idp"] = false;
OQ9:
if (!$LD["enable_idp"]) {
goto cfw;
}
echo " checked ";
cfw:
echo "><span class="slider round"></span>
\xa \x9 </label></td>\xd\xa
\xa \x9\x9<td width="15%"><span style="float:right">\xd
\x9\x9\x9<div class="bootstrap-toggle">
\x9<div class="dropdown">\xd
\x9 <button class="btn btn-primary dropdown-toggle" ";
if (mo_saml_is_customer_license_key_verified()) {
goto Lw7;
}
echo " disabled ";
Lw7:
echo "type="button" data-toggle="dropdown">Select an Action
\x9 <span class="caret"></span></button>
\x9 \x9<ul class="dropdown-menu">
\xa \x9\x9\x9<li><a href="" . admin_url() . "admin.php?page=mo_saml_settings&tab=save&action=edit&idp=" . $yD . "">Edit Configuration</a></li>
\x9 <li><a href="#" onclick="showTestWindow('" . $yD . "');">Test Configuration</a></li>\xd\xa \x9\x9 <li><a href="" . admin_url() . "admin.php?page=mo_saml_settings&tab=save&action=custom&idp=" . $yD . "">Custom Widget Button</a></li>\xd\xa <li><a href="" . admin_url() . "admin.php?page=mo_saml_settings&tab=save&action=delete&idp=" . $yD . "">Delete IDP</a></li>
\x9 </ul>
\x9 </div> \xd
\x9 </div></span>\xd\xa\x9 \x9</td>
\xa </tr>
\xa\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>";
tz0:
}
sRf:
}
function update_customer_idp_count($M6)
{
$sv = get_option("mo_saml_customer_token");
update_option("no_of_sp", AESEncryption::encrypt_data($M6["noOfSP"], $sv));
}
function mo_saml_display_attrs_list($LD)
{
$Wk = get_option("mo_saml_test_config_attrs");
$Wk = maybe_unserialize($Wk);
if (!(!empty($Wk) && !empty($LD) && isset($Wk[$LD]))) {
goto BR6;
}
$Wk = $Wk[$LD];
echo "<div class="mo_saml_support_layout" style="padding-bottom:20px; padding-right:5px;">\xd
\x9 <h3>Attributes received from the Identity Provider:</h3>\xd\xa\x9\x9 <div>\xd
\x9 <table style="border-collapse:collapse;border-spacing:0;table-layout: fixed; width: 95%;background-color:#ffffff;">\xd
\x9 \x9<tr style="text-align:center;"><td style="font-weight:bold;border:1px solid #949090;padding:2%; width:65%;">ATTRIBUTE NAME</td><td style="font-weight:bold;padding:2%;border:1px solid #949090; word-wrap:break-word; width:35%;">ATTRIBUTE VALUE</td></tr>";
foreach ($Wk as $tA => $pI) {
echo "<tr style="text-align:center;"><td style="font-weight:bold;border:1px solid #949090;padding:2%; word-wrap:break-word;">" . $tA . "</td>";
echo "<td style="padding:2%;border:1px solid #949090; word-wrap:break-word;">" . implode("<hr/>", $pI) . "</td>
\xa\x9 \x9\x9 </tr>";
BfX:
}
f_b:
echo "
\xa \x9 \x9</table>
\xa \x9<br/>\xd
\x9\x9 \x9 <input type="button" class="button-primary"";
if (mo_saml_is_customer_license_key_verified()) {
goto SoD;
}
echo " disabled ";
SoD:
echo "value="Clear Attributes List" onclick="document.forms['attrs_list_form'].submit();">
\x9 \x9 \x9<p><b>NOTE :</b> Please clear this list after configuring the plugin to hide your confidential attributes.<br/>\xd
\x9\x9 \x9 Click on <b>Test configuration</b> in <b>Service Provider Setup</b> tab to populate the list again.</p>
\x9\x9\x9\x9<form method="post" action="" id="attrs_list_form">
\x9 \x9<input type="hidden" name="idp_name" value="" . $LD . "">";
wp_nonce_field("clear_attrs_list");
echo "<input type="hidden" name="option" value="clear_attrs_list">\xd
\x9\x9\x9 \x9</form>
\xa \x9</div>\xd
</div>";
BR6:
}
function mo_saml_get_test_url($yD, $Lv = false)
{
$vP = home_url() . "/?option=testConfig&idp=" . $yD;
$dv = $Lv ? $vP . "&newcert=true" : $vP;
return $dv;
}
function mo_saml_is_customer_registered_saml()
{
$jA = get_option("mo_saml_admin_email");
$UU = get_option("mo_saml_admin_customer_key");
if (!$jA || !$UU || !is_numeric(trim($UU))) {
goto bk5;
}
return 1;
goto nba;
bk5:
return 0;
nba:
}
function mo_saml_is_customer_license_key_verified()
{
$g1 = get_option("sml_lk");
$jA = get_option("mo_saml_admin_email");
$UU = get_option("mo_saml_admin_customer_key");
if (!$g1 || !$jA || !$UU || !is_numeric(trim($UU))) {
goto SCH;
}
return 1;
goto owZ;
SCH:
return 0;
owZ:
}
function mo_saml_is_sp_configured()
{
$rw = get_option("saml_identity_providers");
$rw = maybe_unserialize($rw);
if (!empty($rw)) {
goto qdO;
}
return 0;
goto jDf;
qdO:
return 1;
jDf:
}
function mo_saml_download_logs($BX, $RQ, $yt = '')
{
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>
<p>We will get back to you soon!<p>
\x9\x9 </div>
\x9<div style="margin:3%;display:block;text-align:center;">\xd
\x9\x9\x9\x9<div style="margin:3%;display:block;text-align:center;">\xd
\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" />
\x9<input type="submit" class="miniorange-button" value="Export Plugin Configuration">\xd
\x9 \x9<input class="miniorange-button" type="button" value="Close" onclick="self.close()"></form>\xd
";
echo " ";
$an = get_option("saml_identity_providers");
$an = maybe_unserialize($an);
$Pj = $_POST["SAMLResponse"];
$rA = array("Error" => $BX, "Cause" => $RQ);
$JF = array("saml_response" => $Pj, "test_status" => $rA);
if (empty($yt)) {
goto dJK;
}
$an[$yt] = array_merge($an[$yt], $JF);
$an = array_filter($an, "filter_empty_values");
update_option("saml_identity_providers", $an);
dJK:
echo " <style>\xd
.miniorange-button {
\xa\x9padding:1%;\xd
\x9background: #0091CD none repeat scroll 0% 0%;\xd
cursor: pointer;font-size:15px;\xd
border-width: 1px;border-style: solid;\xd
border-radius: 3px;white-space: nowrap;\xd
box-sizing: border-box;border-color: #0073AA;\xd\xa\x9box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;\xd\xa\x9margin: 22px;
\xa }
</style>\xd
";
exit;
}
function check_plugin_state()
{
echo "<tr>";
if (!mo_saml_is_customer_registered_saml()) {
goto pab;
}
if (mo_saml_is_customer_license_key_verified()) {
goto DNx;
}
echo "<td colspan="2"><div style="display:block;margin-top:10px;color:red;background-color:rgba(251, 232, 0, 0.15);padding:5px;border:solid 1px rgba(255, 0, 9, 0.36);">";
echo "Please enter your<a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . ""> license key</a> to activate the plugin.";
echo "</div></td>";
DNx:
goto nzj;
pab:
echo "<td colspan="2"><div style="display:block;margin-top:10px;color:red;background-color:rgba(251, 232, 0, 0.15);padding:5px;border:solid 1px rgba(255, 0, 9, 0.36);">Please <a href="" . add_query_arg(array("tab" => "login"), $_SERVER["REQUEST_URI"]) . "">Register or Login with miniOrange</a> to configure the miniOrange SAML Plugin.</div></td>";
nzj:
echo "</tr>";
}
function mo_saml_display_account_information()
{
echo "<div style="background-color:#FFFFFF; border:1px solid #CCCCCC; padding:0px 0px 0px 10px;">\xd
<div>\xd\xa\x9<h3>Your Profile";
if (!get_site_option("sml_lk")) {
goto FTM;
}
echo "<span style="float:right;margin-right:15px;"><input type="button" name="ok_btn" class="button button-primary button-large" value="Confirm License" onclick="confirmlicenseform()" />\xd
\x9\x9\x9 <input type="button" name="ok_btn" class="button button-primary button-large" value="Get License Keys" onclick="getlicensekeysform()" /></h3></div>";
FTM:
echo "<form style="display:none;" id="licenseform" action="" . mo_options_plugin_constants::HOSTNAME . "/moas/login"\xd\xa\x9\x9target="_blank" method="post">\xd
\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" /><input type="text" name="requestOrigin" id="requestOrigin2" />
\x9</form>
\xa\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"/>
\xa\x9 </form>
\x9 <script>
\xa\x9\x9
\x9 function getlicensekeysform() {\xd
\x9 jQuery("#licenseform").submit();\xd
}\xd\xa \x9 \xd
\x9 \x9function confirmlicenseform() {\xd\xa\x9 \x9jQuery("#mo_saml_check_license").submit();\xd
\x9 }\xd\xa \x9</script>";
echo "<table border="1" style="background-color:#FFFFFF; border:1px solid #CCCCCC; border-collapse: collapse; padding:0px 0px 0px 10px; margin:2px; width:85%">\xd
\x9<tr>
\x9\x9<td style="width:45%; padding: 10px;">miniOrange Account Email</td>\xd\xa\x9 <td style="width:55%; padding: 10px;">" . get_option("mo_saml_admin_email") . "</td>
</tr>\xd\xa \x9<tr>\xd\xa\x9\x9\x9<td style="width:45%; padding: 10px;">Customer ID</td>\xd\xa\x9 \x9<td style="width:55%; padding: 10px;">" . get_option("mo_saml_admin_customer_key") . "</td>
\xa \x9</tr>
\x9</table>
\x9<div style="display:block;text-align:center;margin:2%; margin-left: -10%">\xd
\x9<input type="button" name="mo_saml_remove_account" id="mo_saml_remove_account" value="Remove Account" class="button button-primary button-large" />\xd
</div>\xd\xa</div><br/>";
if (!get_option("mo_saml_license_expiry_date")) {
goto Iz6;
}
echo "<div style="background-color:#FFFFFF; border:1px solid #CCCCCC; padding:0px 0px 0px 10px;"><h3>License Details</h3>\xd
<table border="1" style="background-color:#FFFFFF; border:1px solid #CCCCCC; border-collapse: collapse; padding:0px 0px 0px 10px; margin:2px; width:85%">
\xa <tr>
\x9<td style="width:45%; padding: 10px;">License Expiry Date</td>
\x9 \x9<td style="width:55%; padding: 10px;">" . get_option("mo_saml_license_expiry_date") . "</td>
\xa </tr>
\x9\x9<tr>
\x9 <td style="width:45%; padding: 10px;">License Renewal Link </td>
\xa \x9<td style="width:55%; padding: 10px;"><a href="" . mo_options_plugin_constants::HOSTNAME . "/moas/login?redirectUrl=" . mo_options_plugin_constants::HOSTNAME . "/moas/admin/customer/licenserenewals?renewalrequest=" . mo_options_plugin_constants::LICENSE_TYPE . "" class="button button-primary" target="_blank">Renew your support license</a>.</td>
\xa </tr>\xd\xa\xd\xa </table><br /><br /></div>";
Iz6:
echo "<form name="f" method="post" action="" id="mo_saml_remove_account_form">";
wp_nonce_field("mo_saml_remove_account");
echo "<input type="hidden" name="option" value="mo_saml_remove_account"/>\xd
</form>\xd
<script>\xd\xajQuery("#mo_saml_remove_account").click(function(){\xd
jQuery("#mo_saml_remove_account_form").submit();\xd\xa});\xd\xa</script>";
}
function miniorange_generate_metadata($SR = false, $Lv = false)
{
$he = get_option("mo_saml_sp_base_url");
if (!empty($he)) {
goto Von;
}
$he = home_url();
Von:
if (!(substr($he, -1) == "/")) {
goto YF4;
}
$he = substr($he, 0, -1);
YF4:
$Y1 = get_option("mo_saml_sp_entity_id");
if (!empty($Y1)) {
goto VxV;
}
$Y1 = $he . "/wp-content/plugins/miniorange-saml-20-single-sign-on/";
VxV:
$Em = $Y1;
$AJ = $he . "/";
if ($Lv) {
goto huT;
}
$mY = get_option("mo_saml_current_cert");
goto okJ;
huT:
$mY = file_get_contents(plugin_dir_path(__FILE__) . "resources" . DIRECTORY_SEPARATOR . mo_options_enum_default_sp_certificate::SP_PUBLIC_CERT_FILE_NAME);
okJ:
$lB = Utilities::getValidUntilDateFromCert($mY);
$mY = Utilities::desanitize_certificate($mY);
if (!ob_get_contents()) {
goto YzV;
}
ob_clean();
YzV:
header("Content-Type: text/xml");
if (!$SR) {
goto mQM;
}
header("Content-Disposition: attachment; filename="mo-saml-sp-metadata.xml"");
mQM:
echo "<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="" . $lB . "" cacheDuration="PT1446808792S" entityID="" . $Em . "">
<md:SPSSODescriptor AuthnRequestsSigned="true" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<md:Extensions>\xd
<idpdisc:DiscoveryResponse index="1"
\x9\x9xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"\xd
\x9\x9 Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
\xa \x9\x9Location="" . $AJ . ""/>
</md:Extensions>
<md:KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">\xd\xa <ds:X509Data>\xd
<ds:X509Certificate>" . $mY . "</ds:X509Certificate>\xd
</ds:X509Data>
</ds:KeyInfo>
\xa </md:KeyDescriptor>\xd\xa <md:KeyDescriptor use="encryption">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">\xd
<ds:X509Data>
\xa <ds:X509Certificate>" . $mY . "</ds:X509Certificate>\xd
</ds:X509Data>\xd
</ds:KeyInfo>\xd\xa </md:KeyDescriptor>\xd\xa\x9<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="" . $AJ . ""/>\xd
<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 <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>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="" . $AJ . "" index="1"/>\xd
</md:SPSSODescriptor>\xd\xa <md:Organization>
<md:OrganizationName xml:lang="en-US">miniOrange</md:OrganizationName>
<md:OrganizationDisplayName xml:lang="en-US">miniOrange</md:OrganizationDisplayName>\xd\xa <md:OrganizationURL xml:lang="en-US">http://miniorange.com</md:OrganizationURL>
</md:Organization>
\xa <md:ContactPerson contactType="technical">
<md:GivenName>miniOrange</md:GivenName>\xd
<md:EmailAddress>[email protected]</md:EmailAddress>
\xa </md:ContactPerson>\xd
<md:ContactPerson contactType="support">\xd
<md:GivenName>miniOrange</md:GivenName>\xd\xa <md:EmailAddress>[email protected]</md:EmailAddress>
</md:ContactPerson>\xd\xa</md:EntityDescriptor>";
exit;
}
function mo_check_certificate_expiry()
{
$kT = openssl_x509_parse(get_option("mo_saml_current_cert"))["validTo_time_t"];
$Ww = $kT - time();
$ki = round($Ww / (60 * 60 * 24));
return $ki < 60;
}
function get_sso_button($Jg, $qw)
{
if (isset($Jg[$qw])) {
goto AFV;
}
$jm = "longbutton";
$Ct = "50";
$NQ = "100";
$J9 = "50";
$QE = "5";
$JC = "Login";
$FX = "0085ba";
$Pm = "20";
$Q1 = "ffffff";
$U4 = "above";
goto ky7;
AFV:
$Jg = $Jg[$qw];
$jm = isset($Jg["button_type"]) ? $Jg["button_type"] : "longbutton";
$Ct = isset($Jg["button_size"]) ? $Jg["button_size"] : "50";
$NQ = isset($Jg["button_width"]) ? $Jg["button_width"] : "100";
$J9 = isset($Jg["button_height"]) ? $Jg["button_height"] : "50";
$QE = isset($Jg["button_curve"]) ? $Jg["button_curve"] : "5";
$JC = isset($Jg["button_text"]) ? $Jg["button_text"] : $qw;
$FX = isset($Jg["button_color"]) ? $Jg["button_color"] : "0085ba";
$Pm = isset($Jg["font_size"]) ? $Jg["font_size"] : "20";
$Q1 = isset($Jg["font_color"]) ? $Jg["font_color"] : "ffffff";
$U4 = isset($Jg["button_position"]) ? $Jg["button_position"] : "above";
ky7:
$O3 = "<input type="button" name="mo_saml_wp_sso_button" value="" . $JC . "" style="";
$aN = '';
if ($jm == "longbutton") {
goto Pps;
}
if ($jm == "circle") {
goto xrH;
}
if ($jm == "oval") {
goto mOD;
}
if ($jm == "square") {
goto BUj;
}
goto mi2;
xrH:
$aN = $aN . "width:" . $Ct . "px;";
$aN = $aN . "height:" . $Ct . "px;";
$aN = $aN . "border-radius:999px;";
goto mi2;
mOD:
$aN = $aN . "width:" . $Ct . "px;";
$aN = $aN . "height:" . $Ct . "px;";
$aN = $aN . "border-radius:5px;";
goto mi2;
BUj:
$aN = $aN . "width:" . $Ct . "px;";
$aN = $aN . "height:" . $Ct . "px;";
$aN = $aN . "border-radius:0px;";
$aN = $aN . "padding:0px;";
mi2:
goto goq;
Pps:
$aN = $aN . "width:" . $NQ . "px;";
$aN = $aN . "height:" . $J9 . "px;";
$aN = $aN . "border-radius:" . $QE . "px;";
goq:
$aN = $aN . "background-color:#" . $FX . ";";
$aN = $aN . "border-color:transparent;";
$aN = $aN . "color:#" . $Q1 . ";";
$aN = $aN . "font-size:" . $Pm . "px;";
$aN = $aN . "cursor:pointer";
$O3 = $O3 . $aN . ""/>";
$MO = array("login_button" => $O3, "button_position" => $U4);
return $MO;
}
function filter_empty_values($Eq)
{
return $Eq != NULL && $Eq != FALSE && $Eq != '';
}
function mo_saml_get_sp_private_key_for_idp($LD)
{
$sv = isset($LD["sp_priv_key"]) ? $LD["sp_priv_key"] : get_option("mo_saml_current_cert_private_key");
return $sv;
}
function mo_saml_get_sp_public_cert_for_idp($LD)
{
$KH = isset($LD["sp_cert"]) ? $LD["sp_cert"] : get_option("mo_saml_current_cert");
return $KH;
}
?>
Did this file decode correctly?
Original Code
<?php
include 'Import-export.php';
foreach (glob(plugin_dir_path(__FILE__).'views'.DIRECTORY_SEPARATOR.'*.php') as $filename)
{
include_once $filename;
}
static $vp = 0;
static $KT;
function mo_register_saml_sso()
{
$_SERVER["\x52\105\x51\125\105\123\124\137\x55\x52\111"] = remove_query_arg(array("\141\x63\164\151\157\156", "\x73\160\x5f\155\145\x74\141\144\x61\164\141"), $_SERVER["\122\105\121\x55\x45\x53\124\137\125\x52\111"]);
if (isset($_GET["\164\x61\142"])) {
goto j5G;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified() && mo_saml_is_sp_configured()) {
goto qJz;
}
if (mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto qsW;
}
$LS = "\x6c\157\147\x69\x6e";
goto R1P;
qsW:
$LS = "\x73\160\x5f\x6d\145\x74\141\x64\141\x74\x61";
R1P:
goto aLA;
qJz:
$LS = "\163\145\x74\x74\x69\x6e\x67\163";
aLA:
goto a4w;
j5G:
$LS = $_GET["\164\x61\142"];
a4w:
if (mo_saml_is_extension_installed("\x63\x75\162\154")) {
goto i2u;
}
echo "\xd\xa\x9\x9\11\74\x70\x3e\74\x66\157\156\164\x20\x63\x6f\x6c\x6f\x72\x3d\42\x23\x46\106\x30\60\x30\x30\x22\x3e\x28\x57\141\x72\156\151\156\x67\72\x20\74\x61\40\x68\x72\145\146\x3d\42\x68\164\164\x70\72\x2f\57\x70\150\160\56\x6e\145\164\57\155\x61\156\x75\141\154\57\145\156\x2f\x63\165\162\154\x2e\x69\x6e\163\x74\141\154\154\141\x74\151\x6f\x6e\x2e\160\x68\x70\x22\x20\x74\141\162\x67\x65\164\x3d\42\x5f\142\x6c\x61\156\x6b\42\x3e\120\x48\x50\x20\143\125\122\114\40\145\170\164\145\x6e\x73\151\x6f\x6e\74\57\x61\x3e\x20\151\163\x20\x6e\157\164\x20\151\x6e\163\x74\141\x6c\154\145\x64\40\157\x72\40\x64\x69\x73\141\x62\154\x65\x64\x29\74\x2f\x66\157\156\164\x3e\x3c\x2f\x70\76";
i2u:
if (mo_saml_is_extension_installed("\157\160\145\x6e\x73\163\x6c")) {
goto W3N;
}
echo "\15\xa\11\11\11\x3c\160\x3e\74\x66\157\x6e\x74\x20\143\x6f\154\157\162\x3d\x22\43\x46\106\60\60\60\x30\42\76\50\x57\141\x72\x6e\x69\x6e\147\x3a\40\x3c\x61\x20\150\x72\145\x66\75\x22\x68\164\x74\x70\x3a\x2f\x2f\x70\x68\160\x2e\x6e\145\x74\x2f\155\141\x6e\x75\x61\x6c\x2f\x65\x6e\x2f\x6f\x70\x65\x6e\x73\x73\154\x2e\x69\156\x73\164\141\154\154\141\164\151\x6f\x6e\56\160\x68\x70\x22\x20\164\x61\x72\x67\x65\164\75\x22\x5f\x62\154\x61\x6e\x6b\42\76\120\x48\120\40\157\160\145\156\x73\x73\154\x20\x65\x78\x74\x65\x6e\163\x69\x6f\156\74\x2f\141\x3e\40\x69\163\40\x6e\157\x74\x20\x69\156\163\164\x61\154\154\x65\144\x20\x6f\162\40\144\x69\163\141\x62\x6c\145\x64\x29\x3c\57\146\x6f\x6e\x74\x3e\x3c\x2f\160\76";
W3N:
echo "\74\x64\x69\166\40\143\x6c\141\163\x73\x3d\x22\167\x72\141\160\42\76\15\xa\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\74\150\61\x3e";
if ($LS == "\x6c\x69\x63\145\156\163\x69\x6e\147") {
goto xx5;
}
update_option("\155\x6f\137\x6c\x69\x63\x65\x6e\163\145\x5f\160\154\141\x6e\137\x66\x72\x6f\155\137\146\x65\x65\x64\x62\x61\143\153", '');
update_option("\x6d\157\137\x73\141\155\x6c\137\154\151\143\x65\156\x73\x65\137\x6d\145\163\163\x61\147\x65", '');
echo "\x6d\151\x6e\151\x4f\x72\x61\x6e\147\x65\40\x53\123\x4f\40\x75\163\151\156\x67\40\x53\x41\115\114\40\62\x2e\x30\46\x6e\x62\163\160\15\12\x20\40\40\x20\40\x20\40\40\x20\40\40\x20\40\40\x20\x20\x3c\x61\x20\x69\x64\x3d\x22\x6c\151\x63\145\x6e\x73\x65\137\x75\160\147\x72\x61\144\145\x22\x20\143\154\141\x73\x73\x3d\42\x61\144\144\55\x6e\x65\x77\x2d\x68\x32\40\141\144\x64\55\156\x65\x77\55\150\157\x76\x65\x72\42\x20\x73\x74\171\154\x65\x3d\x22\142\141\143\153\x67\162\x6f\x75\156\x64\55\x63\157\x6c\157\x72\72\x20\157\x72\x61\x6e\147\x65\40\41\151\x6d\160\157\x72\x74\x61\156\x74\x3b\x20\x62\157\162\144\145\162\55\143\x6f\x6c\x6f\162\72\x20\157\x72\141\x6e\147\145\73\x20\146\x6f\x6e\x74\55\x73\151\x7a\x65\72\40\x31\x36\160\x78\73\40\x63\x6f\154\157\x72\x3a\40\x23\60\60\x30\73\42\40\x68\x72\145\x66\75\42";
echo add_query_arg(array("\x74\x61\142" => "\x6c\151\143\x65\156\x73\x69\x6e\x67"), htmlentities($_SERVER["\122\105\x51\125\x45\123\124\x5f\x55\122\x49"]));
echo "\x22\x3e\125\x70\147\162\141\x64\x65\x20\x4e\157\167\74\x2f\x61\x3e\xd\xa\40\40\40\40\40\40\40\x20\40\x20\x20\x20\40\40\40\40\74\141\40\143\154\x61\x73\x73\75\42\x61\144\x64\x2d\x6e\x65\167\55\150\62\42\40\x68\162\x65\x66\x3d\42\150\x74\164\160\163\x3a\x2f\57\146\141\161\56\x6d\151\x6e\151\157\162\x61\x6e\147\145\x2e\x63\x6f\x6d\57\153\x62\x2f\163\x61\155\x6c\55\163\151\x6e\x67\x6c\x65\x2d\163\151\x67\x6e\55\157\x6e\57\42\x20\164\141\x72\147\145\x74\75\x22\x5f\142\x6c\141\156\153\42\x3e\x46\101\x51\163\74\x2f\x61\76\15\12\40\40\x20\40\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\74\x61\40\x63\x6c\x61\x73\x73\x3d\42\141\144\x64\x2d\x6e\145\167\x2d\150\x32\x22\40\150\162\x65\146\75\42\150\x74\x74\160\163\x3a\57\x2f\146\157\x72\x75\x6d\x2e\x6d\x69\156\x69\x6f\162\141\x6e\x67\145\x2e\x63\157\155\57\x22\x20\x74\x61\x72\x67\145\164\x3d\42\137\142\154\x61\156\153\42\76\x41\163\x6b\40\161\x75\x65\x73\164\151\x6f\x6e\163\x20\157\x6e\40\157\x75\x72\x20\146\157\x72\165\x6d\74\x2f\141\x3e";
goto aBH;
xx5:
echo "\x3c\x64\x69\x76\x20\163\164\x79\154\145\x3d\42\164\x65\170\164\x2d\x61\x6c\x69\147\156\72\x63\x65\156\164\145\162\x3b\x22\76\15\xa\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\40\x6d\151\x6e\x69\117\162\x61\156\x67\145\40\x53\123\117\40\x75\x73\x69\156\x67\x20\x53\101\115\114\x20\62\56\x30\74\x2f\x64\151\166\76\15\12\40\x20\x20\40\40\x20\40\40\40\x20\40\40\x20\40\x20\x20\40\40\x20\x20\x3c\x64\151\x76\40\x73\x74\x79\x6c\x65\x3d\42\x66\x6c\157\141\x74\x3a\154\x65\146\164\x3b\42\x3e\74\x61\40\x20\143\154\x61\163\163\75\x22\141\144\x64\x2d\156\145\167\55\150\x32\40\x61\x64\x64\55\x6e\145\167\x2d\150\157\166\145\162\42\x20\x73\x74\171\154\x65\75\42\x66\157\156\164\55\163\151\x7a\145\72\40\x31\x36\x70\170\73\x20\143\x6f\154\x6f\x72\x3a\x20\x23\x30\60\x30\73\42\40\150\162\x65\146\75\42";
echo add_query_arg(array("\164\x61\x62" => "\x73\x61\x76\145"), htmlentities($_SERVER["\x52\105\121\125\x45\123\x54\137\125\122\x49"]));
echo "\42\76\x3c\163\x70\141\156\x20\x63\x6c\x61\x73\x73\x3d\x22\144\x61\x73\x68\x69\x63\157\x6e\x73\x20\x64\x61\163\150\x69\x63\157\156\x73\55\141\x72\162\157\x77\55\154\x65\146\164\x2d\141\154\x74\x22\40\x73\x74\171\x6c\x65\x3d\42\166\x65\162\164\x69\143\141\154\x2d\141\154\151\147\156\72\40\142\157\x74\x74\x6f\155\x3b\x22\76\74\57\x73\160\141\156\76\x20\x42\x61\143\x6b\x20\124\157\40\x50\154\x75\x67\x69\x6e\x20\x43\x6f\156\146\151\147\165\x72\141\x74\151\157\x6e\74\57\141\76\74\57\144\x69\x76\x3e\xd\xa\x20\x20\40\x20\40\x20\40\40\40\40\40\x20\40\x20\40\x20\40\40\x20\40\x3c\x21\x2d\x2d\x20\x73\160\x61\x6e\40\x73\164\x79\x6c\x65\x3d\x22\x66\x6c\x6f\x61\x74\72\x72\151\x67\150\x74\73\x22\76\xd\12\40\x20\40\x20\x20\x20\40\40\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\x3c\141\40\x20\143\x6c\141\163\163\75\42\141\x64\x64\55\156\x65\x77\55\x68\62\40\x61\x64\x64\55\x6e\x65\167\x2d\x68\157\166\x65\x72\42\40\163\x74\x79\154\x65\75\42\x66\157\156\164\x2d\x73\151\172\145\72\40\61\66\160\170\x3b\40\x63\x6f\x6c\157\162\72\40\x23\x30\x30\60\73\x22\40\x64\x61\164\x61\x2d\164\157\147\147\154\x65\75\42\x6d\157\x64\x61\154\42\x20\144\x61\164\141\x2d\x74\141\x72\x67\x65\164\75\x22\43\163\x74\x61\156\x64\x61\x72\x64\x50\x72\x65\x6d\x69\165\155\x4d\157\144\x61\x6c\103\x65\x6e\x74\145\x72\x22\x20\x3e\x3c\163\160\141\x6e\40\143\x6c\141\x73\x73\x3d\42\x64\x61\x73\x68\x69\x63\x6f\x6e\x73\x20\144\x61\163\150\x69\x63\x6f\x6e\x73\x2d\167\141\x72\x6e\151\156\147\42\40\x73\x74\171\154\145\x3d\x22\166\145\162\x74\x69\143\x61\x6c\55\141\154\151\147\156\72\40\142\x6f\164\x74\x6f\x6d\x3b\42\76\x3c\57\163\160\x61\156\76\x20\x48\145\x6c\160\40\155\x65\x20\x63\150\x6f\157\163\x65\x20\x74\x68\145\x20\x72\151\147\x68\x74\x20\160\x6c\141\156\x3c\x2f\141\x3e\74\x2f\x73\160\141\x6e\x20\55\x2d\x3e\15\12\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\40\40\40\40\40\74\142\x72\x20\57\x3e\74\142\162\x2f\76\74\x64\x69\166\x20\163\164\x79\154\x65\x3d\x22\164\145\x78\x74\55\141\x6c\x69\x67\156\72\x63\145\x6e\164\145\162\x3b\40\143\x6f\x6c\157\x72\x3a\x20\x72\x67\142\x28\62\63\63\54\x20\x31\62\65\54\x20\x31\60\x34\x29\x3b\x22\76\xd\xa\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\x3c\154\x69\40\x73\164\171\x6c\145\x3d\x22\x63\x6f\154\x6f\x72\72\40\x64\x69\155\147\x72\x61\x79\73\x20\x6d\x61\x72\x67\151\156\55\x74\157\160\72\x20\60\x70\x78\x3b\x6c\151\163\x74\x2d\x73\x74\x79\x6c\x65\55\x74\x79\160\145\x3a\x20\x6e\157\156\145\x3b\x22\76\15\xa\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\40\xd\12\x20\40\40\40\x20\40\40\40\40\x20\x20\40\40\40\x20\40\x20\40\40\40\74\57\x6c\151\x3e\x3c\57\163\160\x61\156\76\x3c\x2f\144\x69\166\76";
aBH:
echo "\74\57\150\x31\x3e\15\12\xd\12\x20\40\40\40\x20\40\x20\40\74\57\x64\x69\166\x3e";
echo "\xd\12\74\x64\x69\x76\x20\x69\x64\x3d\x22\155\157\x5f\x73\x61\x6d\x6c\137\163\x65\164\x74\151\156\x67\163\x22\x3e\15\xa\x9\74\x64\151\x76\40\143\154\x61\x73\163\x3d\42\x6d\x69\x6e\151\157\x72\x61\156\x67\145\137\143\x6f\x6e\x74\x61\151\156\145\162\x22\76";
if ($LS != "\x6c\x69\143\x65\156\163\x69\156\x67") {
goto Sev;
}
if (!($LS == "\x6c\151\x63\x65\156\x73\x69\x6e\147")) {
goto Acr;
}
mo_saml_show_pricing_page();
Acr:
goto klF;
Sev:
if (!mo_check_certificate_expiry()) {
goto b1g;
}
$mY = get_option("\x6d\x6f\137\x73\141\x6d\154\137\x63\165\x72\162\145\x6e\164\x5f\143\x65\162\x74");
$f1 = openssl_x509_parse($mY);
$bj = $f1["\x76\x61\x6c\x69\144\124\157\137\x74\x69\x6d\145\137\164"];
$Ww = $bj - time();
$ki = round($Ww / (60 * 60 * 24));
if ($ki >= 0) {
goto x3_;
}
echo "\74\x64\x69\x76\40\143\x6c\141\x73\x73\x3d\42\x6e\x6f\x74\x69\x63\x65\40\156\x6f\x74\151\143\x65\55\145\162\162\x6f\x72\x20\x69\163\x2d\144\x69\x73\x6d\151\163\163\x69\142\154\145\x22\x3e\x3c\x70\76\x3c\x62\x3e\123\145\x63\x75\162\151\164\x79\x20\101\x6c\x65\162\164\x20\x3a\74\57\142\76\40\x59\157\x75\162\40\x63\145\162\164\151\x66\151\143\141\x74\x65\x20\150\x61\163\40\x65\170\160\x69\x72\145\x64\x2c\40\x70\154\x65\x61\163\x65\40\x75\160\147\x72\141\x64\x65\x20\171\x6f\165\162\40\x63\x65\x72\164\x69\146\151\143\141\x74\145\40\x69\x6d\155\x65\144\151\x61\x74\145\x6c\x79\56\x20";
echo "\x20\40\40\40\40\40\40\40\40\40\40\x20\x20\x20\40\x20\74\141\40\150\162\x65\146\75\42";
echo add_query_arg(array("\164\141\142" => "\x63\165\163\x74\x6f\155\137\x63\x65\x72\x74\151\x66\x69\143\x61\x74\x65"), $_SERVER["\122\105\x51\125\x45\x53\x54\x5f\x55\x52\111"]);
echo "\x22\x3e";
echo "\125\160\147\162\141\x64\x65\40\x79\x6f\x75\x72\40\143\145\x72\164\x69\x66\x69\143\141\x74\145";
echo "\x3c\x2f\x61\x3e";
echo "\x20\157\x72\40\171\157\165\162\40\x53\123\x4f\40\167\151\x6c\154\40\163\x74\x6f\160\x2e\x3c\57\160\x3e\x3c\x2f\144\151\166\x3e";
goto XvQ;
x3_:
echo "\x3c\x64\151\x76\40\x63\154\141\x73\163\75\42\156\157\164\151\x63\x65\40\x6e\x6f\x74\151\x63\x65\x2d\167\x61\x72\x6e\x69\156\147\x20\x69\163\55\x64\x69\x73\155\151\163\x73\151\x62\154\145\x22\76\74\160\x3e\74\x62\x3e\x53\145\143\x75\162\151\164\x79\x20\x41\x6c\x65\x72\164\40\x3a\74\57\142\x3e\40\131\x6f\165\162\x20\143\145\162\x74\x69\x66\151\x63\x61\164\x65\x20\x69\x73\x20\x65\170\x70\x69\162\x69\156\x67\x20\163\x6f\x6f\156\x2c\x20\160\154\145\141\163\x65\x20\165\160\147\162\141\144\x65\40\x79\x6f\165\162\40\143\x65\x72\x74\x69\x66\151\143\141\x74\145\x2e\x20";
echo "\x20\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\74\x61\x20\x68\162\145\146\x3d\42";
echo add_query_arg(array("\164\x61\x62" => "\143\165\x73\164\x6f\x6d\x5f\x63\145\x72\x74\x69\146\x69\143\141\x74\x65"), $_SERVER["\x52\105\x51\125\x45\123\x54\x5f\x55\x52\111"]);
echo "\42\76";
echo "\125\160\147\x72\141\144\145\x20\x79\x6f\165\x72\x20\143\x65\162\164\151\146\x69\x63\x61\164\145";
echo "\x3c\x2f\141\x3e";
echo "\x20\157\162\40\171\157\165\162\40\123\x53\117\x20\x6d\x61\x79\x20\163\x74\x6f\160\40\x69\156\40" . $ki . "\x20\x64\141\x79\163\x2e\x3c\57\160\x3e\x3c\57\x64\x69\x76\x3e";
XvQ:
b1g:
echo "\x3c\x74\x61\x62\x6c\x65\x20\x73\164\x79\154\145\75\x22\x77\x69\x64\x74\150\72\x31\x30\60\45\73\42\76\15\12\11\x9\x3c\x74\162\76\15\xa\x9\x9\x3c\x68\62\40\143\x6c\x61\163\x73\x3d\x22\156\x61\166\x2d\164\141\142\x2d\167\162\141\160\160\145\x72\x22\x3e";
if (!(!mo_saml_is_customer_registered_saml() && !mo_saml_is_customer_license_key_verified() || mo_saml_is_customer_registered_saml() && !mo_saml_is_customer_license_key_verified())) {
goto Xtz;
}
echo "\74\x61\40\143\154\x61\163\x73\75\x22\x6e\x61\166\x2d\164\x61\x62\40" . ($LS == "\154\x6f\x67\151\x6e" ? "\x6e\x61\166\x2d\x74\x61\x62\x2d\141\x63\164\151\x76\x65" : '') . "\x22\40\150\162\x65\146\75\x22" . add_query_arg(array("\164\x61\142" => "\x6c\x6f\x67\151\x6e"), $_SERVER["\x52\x45\121\125\x45\x53\124\137\125\x52\x49"]) . "\42\76\x41\143\x63\x6f\165\156\164\40\123\x65\164\x75\160\x3c\57\x61\76";
Xtz:
echo "\40\74\141\40\143\154\x61\163\x73\x3d\42\x6e\141\166\x2d\x74\x61\x62\40" . ($LS == "\x73\x70\137\155\x65\x74\x61\x64\x61\x74\141" ? "\156\141\166\55\x74\141\142\x2d\141\143\x74\151\166\145" : '') . "\x22\15\12\11\x20\40\40\x68\162\145\146\x3d\42" . add_query_arg(array("\x74\141\142" => "\x73\160\137\x6d\x65\164\x61\x64\141\x74\x61"), $_SERVER["\122\105\x51\125\105\x53\124\x5f\x55\x52\x49"]) . "\42\x3e\x53\x65\162\x76\x69\143\145\xd\12\x9\40\40\x20\120\162\x6f\166\x69\144\x65\x72\x20\115\x65\164\x61\x64\x61\164\x61\x3c\x2f\x61\x3e\15\xa\x9\40\40\40\xd\xa\x9\40\40\40\x3c\141\40\143\154\141\163\x73\x3d\x22\x6e\x61\x76\x2d\164\141\x62\x20" . ($LS == "\x73\x61\166\145" ? "\x6e\141\x76\x2d\164\x61\142\55\x61\x63\x74\151\166\145" : '') . "\42\15\xa\x9\x9\x9\40\x20\40\x68\x72\x65\x66\75\x22" . add_query_arg(array("\x74\141\x62" => "\x73\x61\166\145"), $_SERVER["\x52\x45\121\125\x45\123\124\137\125\x52\x49"]) . "\x22\x3e\x53\145\162\x76\151\143\x65\xd\xa\x9\11\11\40\x20\x20\x50\x72\x6f\x76\x69\x64\x65\x72\40\x53\145\164\x75\x70\74\x2f\141\76\xd\12\x9\11\x9\x20\40\x20\15\12\11\11\11\40\x20\15\12\11\11\11\x20\40\40\x3c\141\40\x63\154\x61\163\x73\x3d\x22\x6e\x61\166\x2d\x74\141\x62\40" . ($LS == "\x64\x6f\x6d\141\x69\156\163" ? "\156\141\166\x2d\164\141\x62\x2d\x61\143\x74\x69\x76\145" : '') . "\42\xd\12\x9\11\11\x20\x20\40\150\x72\145\146\75\x22" . add_query_arg(array("\x74\141\142" => "\144\157\x6d\x61\x69\x6e\x73"), $_SERVER["\122\x45\121\x55\105\123\124\x5f\125\x52\x49"]) . "\x22\x3e\x44\157\155\141\x69\156\15\12\x9\x9\11\40\x20\x20\x4d\x61\x70\x70\151\156\x67\x3c\x2f\x61\76\15\xa\11\11\11\40\40\40\x3c\x61\x20\143\x6c\x61\163\x73\75\x22\x6e\x61\166\55\x74\141\x62\x20" . ($LS == "\141\x74\x74\162\151\x62\x75\164\x65\137\162\157\x6c\x65" ? "\x6e\x61\166\55\x74\141\142\55\141\143\x74\151\166\145" : '') . "\42\15\xa\x9\11\11\x20\40\40\150\x72\x65\146\x3d\42" . add_query_arg(array("\x74\141\x62" => "\x61\x74\x74\162\151\142\165\x74\x65\x5f\162\x6f\x6c\x65"), $_SERVER["\x52\x45\x51\x55\105\x53\124\137\x55\122\x49"]) . "\x22\x3e\101\164\x74\x72\151\x62\x75\164\x65\x2f\122\x6f\x6c\x65\15\12\x9\11\x9\40\40\40\115\x61\160\160\x69\x6e\x67\74\x2f\141\76";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto Yn3;
}
echo "\x3c\141\x20\143\154\141\x73\163\75\42\x6e\141\166\55\x74\141\x62\40" . ($LS == "\x73\x65\x74\164\x69\x6e\x67\x73" ? "\156\141\166\x2d\164\x61\142\55\x61\x63\x74\x69\166\x65" : '') . "\42\15\12\11\x9\11\x9\11\40\x20\40\150\x72\x65\146\75\42" . add_query_arg(array("\164\141\142" => "\x73\145\x74\164\x69\x6e\x67\163"), $_SERVER["\122\105\x51\125\x45\x53\124\x5f\x55\x52\x49"]) . "\42\76\122\145\144\x69\x72\145\x63\x74\151\157\156\x20\46\40\x53\123\x4f\40\114\x69\x6e\153\163\x3c\57\141\76";
Yn3:
echo "\15\12\xd\xa\x9\11\11\40\x20\40\74\141\x20\x63\154\141\x73\x73\x3d\x22\156\141\166\x2d\164\x61\142\40" . ($LS == "\x63\165\163\x74\157\155\137\143\x65\162\164\x69\146\151\x63\141\164\x65" ? "\x6e\141\x76\x2d\x74\x61\142\x2d\141\x63\x74\151\166\145" : '') . "\42\15\xa\11\11\40\x20\x20\40\40\40\40\150\162\x65\146\x3d\42" . add_query_arg(array("\164\x61\x62" => "\143\165\x73\x74\157\x6d\137\143\145\162\164\151\x66\151\x63\x61\x74\145"), $_SERVER["\x52\105\x51\x55\x45\x53\x54\x5f\125\122\111"]) . "\42\76\x4d\x61\x6e\x61\147\x65\x20\103\145\x72\x74\151\146\x69\143\141\x74\145\74\x2f\x61\76\15\xa\15\xa\x9\11\x9\40\40\x20\74\141\40\x63\154\x61\x73\x73\75\42\x6e\x61\x76\55\164\141\x62\40" . ($LS == "\143\165\163\164\x6f\x6d\137\x6d\145\x73\x73\x61\x67\145\163" ? "\x6e\x61\x76\x2d\x74\x61\x62\x2d\141\x63\x74\151\x76\145" : '') . "\x22\15\12\11\11\11\x20\x20\x20\x68\x72\145\146\75\42" . add_query_arg(array("\x74\141\x62" => "\143\x75\x73\x74\157\x6d\137\x6d\x65\163\x73\x61\x67\x65\163"), $_SERVER["\x52\105\121\125\105\123\x54\137\125\x52\111"]) . "\42\x3e\x43\x75\x73\x74\x6f\x6d\40\115\x65\163\x73\141\147\x65\163\x3c\x2f\141\x3e";
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto jnm;
}
echo "\x3c\x61\40\x63\x6c\x61\163\163\x3d\42\x6e\141\x76\55\164\x61\x62\x20" . ($LS == "\141\x63\143\x6f\165\x6e\164\x5f\151\156\146\x6f" ? "\156\x61\x76\x2d\164\x61\x62\55\x61\143\164\151\166\145" : '') . "\42\15\12\x9\11\11\11\150\162\x65\x66\75\x22" . add_query_arg(array("\x74\141\x62" => "\x61\x63\143\157\165\x6e\x74\137\x69\x6e\146\157"), $_SERVER["\122\105\x51\125\105\123\124\137\125\x52\111"]) . "\42\x3e\101\x63\143\157\x75\x6e\164\40\x49\156\x66\157\x3c\57\x61\76";
jnm:
echo "\x3c\57\x68\x32\76";
if ($LS == "\x73\x61\x76\x65") {
goto rik;
}
echo "\74\x74\x64\40\x73\164\x79\x6c\145\x3d\x22\166\145\x72\x74\151\x63\141\x6c\55\141\x6c\x69\147\x6e\72\40\164\157\160\73\40\167\x69\x64\x74\150\x3a\40\x36\65\45\x3b\x22\76";
goto IVz;
rik:
echo "\x3c\164\144\40\x73\x74\171\x6c\x65\x3d\42\166\x65\162\x74\x69\x63\141\x6c\55\x61\x6c\x69\147\156\72\x20\164\x6f\160\x3b\40\167\151\144\164\150\x3a\40\71\x35\x25\x3b\42\76";
IVz:
if ($LS == "\163\141\166\x65") {
goto eir;
}
if ($LS == "\141\x74\164\x72\151\x62\165\x74\x65\x5f\x72\x6f\x6c\x65") {
goto CC2;
}
if ($LS == "\144\x6f\x6d\x61\x69\156\x73") {
goto vAL;
}
if ($LS == "\163\x70\x5f\x6d\145\164\141\144\x61\164\141") {
goto Gly;
}
if ($LS == "\163\145\164\164\151\156\x67\163") {
goto Uks;
}
if ($LS == "\154\151\143\x65\156\163\x69\x6e\x67") {
goto zfC;
}
if ($LS == "\x63\x75\x73\x74\157\x6d\x5f\143\x65\162\164\151\x66\x69\143\x61\164\x65") {
goto BaI;
}
if ($LS == "\x63\x75\x73\x74\x6f\155\137\155\x65\x73\x73\141\x67\x65\163") {
goto yp2;
}
if ($LS == "\141\x63\x63\157\x75\156\x74\x5f\151\x6e\x66\x6f" && mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified()) {
goto UKq;
}
if (get_option("\155\x6f\x5f\x73\x61\155\154\x5f\166\x65\x72\151\x66\171\x5f\x63\x75\163\164\x6f\155\x65\x72") == "\x74\162\x75\145") {
goto bvl;
}
if (trim(get_option("\155\x6f\x5f\163\x61\155\154\137\x61\144\x6d\x69\x6e\x5f\x65\155\x61\x69\x6c")) != '' && trim(get_option("\155\x6f\137\163\141\x6d\154\137\x61\x64\155\x69\156\x5f\141\x70\151\137\153\145\171")) == '' && get_option("\155\x6f\137\x73\x61\x6d\x6c\x5f\x6e\145\167\137\162\x65\147\x69\x73\x74\162\141\164\x69\x6f\156") != "\164\x72\165\145") {
goto Mgm;
}
if (get_option("\155\157\137\x73\141\x6d\x6c\x5f\162\x65\147\x69\x73\x74\162\x61\164\151\x6f\x6e\137\x73\x74\x61\x74\x75\163") == "\x4d\x4f\137\117\124\120\137\x44\x45\x4c\x49\x56\105\x52\105\104\137\x53\x55\x43\103\105\x53\123\137\105\x4d\101\111\114" || get_option("\x6d\x6f\137\x73\x61\155\x6c\137\162\x65\x67\151\x73\164\x72\x61\x74\151\157\156\137\163\x74\x61\164\165\163") == "\115\117\137\117\124\120\137\x44\105\x4c\111\x56\105\x52\x45\104\137\123\x55\x43\103\x45\x53\123\137\120\x48\x4f\116\105" || get_option("\155\x6f\137\x73\141\155\154\137\x72\145\147\151\x73\164\162\x61\164\x69\157\156\137\163\x74\141\164\x75\x73") == "\x4d\x4f\x5f\117\x54\x50\x5f\x56\101\x4c\111\x44\101\x54\111\117\116\137\x46\x41\111\x4c\125\122\x45\x5f\x45\115\x41\111\x4c" || get_option("\x6d\x6f\137\x73\x61\155\x6c\x5f\162\x65\x67\x69\163\164\x72\x61\x74\x69\157\x6e\137\163\x74\141\x74\x75\x73") == "\115\117\x5f\117\x54\x50\x5f\126\101\114\x49\x44\x41\x54\x49\x4f\116\137\x46\x41\x49\114\125\x52\x45\137\x50\x48\117\116\x45" || get_option("\155\x6f\x5f\x73\141\x6d\x6c\137\x72\145\x67\151\163\164\162\141\x74\151\157\156\x5f\163\x74\x61\164\x75\x73") == "\115\117\x5f\x4f\x54\120\x5f\104\105\114\111\x56\x45\x52\x45\x44\x5f\x46\x41\111\114\x55\x52\105") {
goto e2s;
}
if (!mo_saml_is_customer_registered_saml()) {
goto U_o;
}
if (mo_saml_is_customer_registered_saml() && (!mo_saml_is_customer_license_key_verified() || Utilities::mo_idp_limit_reached())) {
goto nOb;
}
mo_saml_general_login_page();
goto t5A;
nOb:
mo_saml_show_verify_license_page();
t5A:
goto sUp;
U_o:
mo_saml_show_verify_password_page_saml();
sUp:
goto jd2;
e2s:
mo_saml_show_otp_verification();
jd2:
goto Eo3;
Mgm:
mo_saml_show_verify_password_page_saml();
Eo3:
goto QP6;
bvl:
mo_saml_show_verify_password_page_saml();
QP6:
goto ze8;
UKq:
mo_saml_display_account_information();
ze8:
goto ZmD;
yp2:
mo_saml_add_custom_messages();
ZmD:
goto by7;
BaI:
mo_saml_add_custom_certificate();
by7:
goto meL;
zfC:
mo_saml_show_pricing_page();
meL:
goto A98;
Uks:
mo_saml_general_login_page();
A98:
goto R4u;
Gly:
mo_saml_configuration_steps();
R4u:
goto a8C;
vAL:
mo_saml_domain_mapping_page();
a8C:
goto sTf;
CC2:
mo_saml_save_optional_config();
sTf:
goto i22;
eir:
mo_saml_apps_config_saml();
i22:
echo "\74\x2f\164\144\x3e\15\12\x9\11\11\74\164\144\x20\x73\x74\171\x6c\x65\x3d\x22\x76\145\x72\164\151\143\x61\154\x2d\141\154\x69\147\x6e\72\164\x6f\x70\73\160\141\144\x64\151\x6e\147\55\154\x65\x66\x74\72\61\45\73\x22\76";
$LD = get_option("\x6d\157\137\163\141\155\x6c\x5f\x61\164\164\x72\137\155\141\x70\160\151\156\147\x5f\x69\x64\x70\x5f\x6e\x61\x6d\145");
$Wk = maybe_unserialize(get_option("\x6d\x6f\137\163\141\x6d\154\x5f\164\145\x73\164\x5f\143\x6f\x6e\x66\151\x67\x5f\x61\x74\164\162\x73"));
if (!($LS !== "\163\x61\x76\x65")) {
goto BJs;
}
if ($LS !== "\141\164\x74\162\x69\x62\165\x74\145\x5f\x72\x6f\x6c\x65" || !(!empty($Wk) and !empty($LD) and isset($Wk[$LD]))) {
goto XfQ;
}
mo_saml_display_attrs_list($LD);
goto FYF;
XfQ:
miniorange_support_saml();
if (!(mo_saml_is_customer_registered_saml() && mo_saml_is_customer_license_key_verified())) {
goto EC6;
}
miniorange_keep_configuration_saml();
EC6:
FYF:
BJs:
echo "\74\x2f\x74\144\x3e\xd\xa\x9\11\x3c\x2f\164\x72\76\15\xa\11\74\x2f\x74\x61\142\154\145\76\xd\12\x9\x3c\x2f\x64\151\x76\76";
klF:
echo "\74\146\157\x72\155\40\156\141\x6d\145\75\x22\x66\x22\40\155\x65\164\x68\x6f\144\x3d\x22\x70\x6f\x73\164\x22\x20\x61\x63\x74\x69\x6f\156\x3d\x22\x22\x20\151\x64\75\x22\155\157\x5f\163\x61\155\154\x5f\143\x68\145\x63\x6b\x5f\x6c\151\x63\145\x6e\x73\145\x22\x3e";
wp_nonce_field("\x6d\x6f\137\163\141\155\x6c\137\143\x68\145\143\153\137\x6c\151\x63\145\156\x73\x65");
echo "\74\151\x6e\x70\165\x74\40\164\171\160\145\75\x22\150\151\144\144\145\x6e\x22\40\156\x61\x6d\145\75\42\x6f\x70\x74\151\x6f\156\42\40\x76\141\x6c\x75\145\x3d\x22\x6d\157\137\163\141\155\x6c\x5f\143\x68\x65\143\x6b\x5f\154\x69\143\x65\156\x73\x65\x22\57\76\15\xa\x9\11\74\x2f\146\157\162\x6d\x3e\xd\12\x9\11\x3c\x66\x6f\x72\155\40\163\x74\x79\154\x65\75\x22\x64\151\163\x70\x6c\x61\171\x3a\x6e\x6f\x6e\145\73\x22\x20\x69\x64\75\42\x6c\157\147\x69\156\146\157\x72\x6d\x22\x20\141\143\x74\151\x6f\x6e\75\42" . mo_options_plugin_constants::HOSTNAME . "\57\155\157\141\163\x2f\x6c\x6f\147\151\x6e\42\15\12\11\11\164\141\x72\147\145\164\75\42\x5f\142\x6c\x61\156\153\x22\x20\x6d\145\x74\x68\157\x64\x3d\42\x70\157\163\164\x22\76\xd\xa\x9\x9\x3c\151\x6e\x70\165\x74\x20\164\171\x70\145\x3d\x22\x65\155\141\151\x6c\42\x20\x6e\x61\x6d\x65\x3d\x22\x75\x73\x65\x72\156\141\155\x65\42\40\x76\141\x6c\165\145\x3d\x22" . mo_options_plugin_constants::HOSTNAME . "\42\x20\57\x3e\xd\xa\x9\11\x3c\151\156\160\x75\x74\x20\x74\x79\x70\145\x3d\x22\164\145\170\164\x22\40\156\141\155\145\x3d\42\x72\145\x64\x69\x72\x65\x63\164\x55\162\x6c\x22\x20\x76\141\154\x75\x65\x3d\x22" . mo_options_plugin_constants::HOSTNAME . "\57\155\x6f\141\x73\x2f\166\151\x65\x77\x6c\151\x63\x65\x6e\163\x65\x6b\145\x79\x73\42\40\x2f\76\xd\12\x9\11\x3c\151\x6e\160\165\164\x20\164\171\160\x65\x3d\42\x74\x65\x78\x74\42\x20\156\141\155\145\75\42\162\x65\161\x75\145\x73\x74\x4f\162\151\x67\151\x6e\x22\x20\x76\x61\x6c\165\145\x3d\x22\x77\160\137\163\141\x6d\x6c\137\x73\x73\x6f\137\x62\x61\x73\151\x63\137\x70\x6c\141\156\42\40\40\57\76\15\xa\x9\11\74\57\146\x6f\x72\155\x3e\xd\12\11\11\74\x73\143\162\151\x70\164\x3e\15\xa\11\x9\11\152\121\x75\x65\x72\171\50\x22\x61\x5b\x68\x72\x65\x66\75\x5c\x22\43\x61\x63\x74\151\x76\x61\164\145\154\x69\x63\x65\156\163\x65\134\42\135\x22\51\56\x63\154\x69\x63\x6b\50\x66\x75\x6e\143\x74\151\x6f\x6e\50\51\x7b\15\12\x9\11\11\11\x6a\x51\165\145\162\x79\50\x22\43\x6d\157\137\163\x61\x6d\154\x5f\143\x68\145\x63\x6b\x5f\x6c\151\x63\145\156\x73\x65\42\51\56\163\x75\x62\x6d\x69\x74\50\51\x3b\xd\xa\x9\x9\11\175\x29\73\15\12\11\11\74\57\x73\143\x72\151\160\164\76";
}
function mo_saml_is_extension_installed($p9)
{
if (in_array($p9, get_loaded_extensions())) {
goto o8b;
}
return 0;
goto w95;
o8b:
return 1;
w95:
}
function mo_saml_show_new_registration_page_saml()
{
update_option("\155\157\137\x73\x61\155\x6c\x5f\x6e\x65\x77\x5f\x72\145\x67\x69\x73\164\162\141\164\x69\157\x6e", "\164\162\165\x65");
echo "\x3c\146\157\162\155\40\x6e\141\155\x65\75\42\146\x22\40\155\145\164\x68\x6f\x64\75\42\x70\157\163\164\42\40\x61\143\x74\151\157\x6e\75\42\42\76";
wp_nonce_field("\x6d\157\x5f\163\141\x6d\x6c\x5f\x72\145\147\x69\x73\x74\145\162\137\x63\x75\x73\164\x6f\155\x65\x72");
echo "\74\x69\156\x70\165\164\x20\164\171\x70\145\x3d\x22\x68\x69\144\x64\145\x6e\x22\x20\x6e\x61\x6d\x65\x3d\x22\157\160\x74\x69\x6f\x6e\42\x20\x76\141\154\165\145\x3d\x22\155\x6f\x5f\x73\x61\155\154\137\162\145\x67\151\x73\164\145\162\137\x63\x75\163\164\157\155\x65\162\x22\x20\57\x3e\xd\12\11\11\11\74\x64\151\x76\40\143\154\141\x73\163\x3d\x22\x6d\157\137\x73\141\155\x6c\x5f\x74\141\x62\154\x65\137\154\141\x79\x6f\165\x74\42\40\163\164\x79\154\x65\75\x22\x70\x61\144\144\x69\x6e\147\x2d\142\157\164\x74\x6f\x6d\x3a\67\x32\160\x78\x3b\42\x3e\xd\xa\x9\x9\x9\x9\11\x3c\x68\x33\x3e\x52\x65\147\151\163\164\145\162\40\x77\151\164\x68\x20\155\x69\x6e\151\x4f\162\141\156\147\x65\74\57\x68\63\x3e\15\12\11\11\11\x9\x9\74\x70\76\74\141\40\x68\x72\145\x66\75\x22\x23\x22\40\151\x64\x3d\x22\150\145\x6c\160\x5f\x72\145\x67\x69\x73\x74\145\x72\x5f\154\151\x6e\153\42\76\133\x20\127\150\171\40\x73\150\157\165\154\144\40\111\40\x72\x65\147\151\163\164\x65\162\x3f\40\135\x3c\57\141\x3e\x3c\x2f\160\x3e\xd\xa\11\11\11\11\x9\x3c\144\x69\166\x20\150\151\144\144\145\x6e\40\x69\x64\75\x22\150\145\154\160\137\x72\x65\x67\x69\x73\164\x65\162\137\x64\145\163\143\42\x20\143\x6c\x61\163\x73\75\x22\155\157\x5f\163\x61\x6d\154\137\x68\145\x6c\x70\137\x64\x65\x73\x63\x22\76\xd\12\x9\11\x9\11\11\11\x59\x6f\165\x20\x73\x68\157\x75\154\144\40\162\x65\x67\151\163\x74\145\x72\x20\x73\157\x20\164\150\141\x74\x20\x69\156\x20\143\141\163\145\x20\171\157\165\40\156\145\x65\x64\40\x68\x65\154\x70\54\x20\167\145\40\143\x61\156\40\x68\x65\154\160\40\x79\x6f\165\x20\167\151\x74\x68\40\163\164\x65\x70\40\142\171\40\163\x74\145\x70\40\151\x6e\x73\164\x72\x75\143\164\151\x6f\x6e\x73\x2e\40\127\x65\x20\x73\x75\160\x70\x6f\x72\x74\40\x61\154\154\40\153\156\x6f\167\x6e\40\111\x64\x50\x73\40\55\x20\74\142\76\101\x44\x46\123\x2c\x20\117\x6b\x74\141\x2c\x20\x53\141\154\145\x73\146\157\162\x63\x65\54\40\x53\150\x69\142\x62\157\x6c\145\164\x68\x2c\40\x53\x69\x6d\160\x6c\145\123\x41\x4d\114\x70\x68\160\54\40\117\160\x65\156\x41\x4d\54\x20\103\145\156\x74\x72\x69\146\171\x2c\40\x50\151\x6e\x67\x2c\x20\x52\123\x41\x2c\40\x49\102\x4d\x2c\x20\117\162\141\143\x6c\x65\x2c\x20\117\156\x65\x4c\x6f\147\x69\156\x2c\x20\102\x69\164\x69\165\155\54\40\x4a\x42\157\x73\x73\40\113\x65\171\143\154\157\141\x6b\x20\145\164\x63\74\57\142\76\56\xd\12\x9\11\x9\11\11\74\57\144\x69\166\76\15\xa\11\x9\x9\x9\11\x3c\x2f\160\x3e\15\xa\11\x9\11\11\x9\74\164\x61\142\x6c\145\x20\143\154\x61\x73\163\x3d\x22\x6d\157\137\163\x61\x6d\154\x5f\x73\145\x74\x74\x69\156\147\163\x5f\164\141\x62\154\x65\x22\76\xd\xa\x9\11\x9\11\11\x9\x3c\164\x72\76\xd\12\x9\x9\x9\11\11\11\11\74\164\144\76\74\x62\76\74\x66\157\156\164\x20\143\157\154\x6f\x72\75\42\x23\x46\x46\x30\x30\x30\60\x22\x3e\52\x3c\57\146\157\x6e\x74\x3e\x45\x6d\x61\x69\154\x3a\x3c\x2f\142\x3e\74\57\x74\144\76\15\12\x9\11\11\11\11\11\11\74\164\x64\76\x3c\x69\156\x70\165\x74\40\143\154\141\x73\x73\75\42\x6d\x6f\137\x73\x61\x6d\154\137\x74\x61\x62\154\x65\x5f\x74\145\170\x74\x62\x6f\x78\42\40\164\x79\x70\145\x3d\42\x65\x6d\x61\x69\154\x22\40\156\x61\155\x65\75\42\x65\x6d\141\x69\x6c\42\15\xa\x9\11\x9\11\x9\x9\11\11\x72\x65\x71\x75\x69\x72\145\x64\40\160\x6c\x61\143\145\150\157\x6c\x64\x65\162\75\42\x70\x65\162\163\157\156\100\x65\170\141\155\160\x6c\145\56\x63\x6f\155\x22\15\xa\x9\11\11\x9\x9\11\x9\x9\x76\x61\154\165\x65\75\42" . get_option("\x6d\x6f\x5f\x73\141\155\154\137\x61\x64\155\x69\156\x5f\145\155\x61\x69\154") . "\42\x20\x2f\x3e\x3c\57\x74\x64\76\15\xa\x9\11\11\x9\x9\x9\x3c\57\x74\162\76\xd\xa\xd\xa\11\11\x9\x9\x9\11\74\x74\x72\76\xd\12\11\x9\11\11\11\x9\11\x3c\x74\x64\x3e\74\x62\76\x50\x68\157\156\x65\x20\x6e\165\155\142\145\x72\x3a\x3c\57\x62\x3e\74\57\x74\x64\76\xd\12\11\11\11\11\x9\x9\x9\74\164\x64\x3e\74\x69\x6e\160\x75\164\40\x63\154\141\x73\163\75\x22\155\157\x5f\163\141\155\154\x5f\x74\x61\142\154\x65\137\164\145\170\x74\x62\x6f\x78\42\40\164\x79\x70\x65\75\x22\x74\x65\154\42\x20\x69\x64\75\x22\160\x68\157\156\145\137\143\157\x6e\x74\x61\143\164\x22\x20\x73\164\171\154\145\75\42\167\x69\x64\x74\x68\72\x38\x30\x25\73\42\15\xa\11\x9\x9\x9\x9\11\11\x9\x70\x61\164\164\145\x72\x6e\75\42\x5b\x5c\53\x5d\134\144\x7b\61\61\54\61\x34\x7d\174\133\134\x2b\x5d\x5c\x64\173\x31\x2c\x34\x7d\50\x5b\x5c\163\x5d\x7b\60\x2c\x31\x7d\x29\50\134\x64\x7b\60\175\x7c\x5c\x64\x7b\71\x2c\61\x30\x7d\51\42\x20\x63\154\x61\163\163\x3d\42\x6d\x6f\x5f\163\x61\x6d\154\x5f\x74\141\142\x6c\145\x5f\x74\x65\170\x74\142\x6f\170\42\x20\156\141\x6d\x65\75\x22\x70\150\157\x6e\x65\42\15\12\11\x9\11\x9\11\x9\x9\11\x74\x69\x74\x6c\x65\75\x22\120\150\157\156\145\40\x77\x69\164\150\40\143\x6f\x75\156\x74\x72\171\x20\143\x6f\144\x65\x20\x65\x67\x2e\40\53\61\170\x78\170\x78\x78\170\170\x78\x78\x78\x22\xd\xa\11\x9\11\x9\x9\x9\11\x9\160\x6c\x61\x63\x65\x68\157\x6c\144\x65\162\x3d\42\x50\150\157\x6e\x65\40\167\x69\164\150\40\x63\157\x75\x6e\x74\162\x79\40\x63\157\144\145\x20\x65\x67\56\40\53\x31\x78\x78\x78\170\x78\x78\170\170\170\170\x22\15\12\11\11\x9\11\11\11\x9\11\x76\141\x6c\x75\145\75\x22" . get_option("\155\157\x5f\x73\x61\x6d\x6c\x5f\x61\144\x6d\x69\x6e\x5f\160\150\157\x6e\x65") . "\42\x20\57\x3e\74\x2f\x74\x64\76\15\xa\11\x9\x9\11\11\x9\x3c\57\x74\162\x3e\xd\xa\11\x9\x9\11\11\11\x9\74\x74\162\76\xd\xa\x9\x9\11\x9\x9\x9\11\11\74\x74\x64\76\74\57\164\x64\76\15\12\x9\11\x9\11\x9\x9\x9\x9\74\x74\x64\76\127\x65\x20\167\x69\154\154\40\x63\x61\154\154\x20\157\x6e\x6c\171\40\x69\146\40\171\x6f\165\x20\x6e\x65\145\144\x20\163\165\x70\160\x6f\162\164\56\x3c\x2f\164\x64\x3e\15\12\11\11\11\x9\11\11\x9\74\57\164\162\76\15\12\11\11\11\x9\x9\11\x3c\164\x72\x3e\xd\12\11\x9\x9\11\x9\11\x9\x3c\x74\x64\76\74\x62\x3e\x3c\146\x6f\156\x74\x20\x63\x6f\154\x6f\x72\x3d\42\43\106\x46\x30\x30\60\60\x22\x3e\x2a\x3c\x2f\x66\x6f\156\164\x3e\120\141\x73\x73\167\157\x72\144\72\74\x2f\x62\76\x3c\57\164\144\x3e\15\xa\x9\11\11\x9\11\x9\11\74\x74\144\x3e\74\x69\x6e\x70\x75\x74\40\143\154\141\x73\x73\x3d\x22\x6d\157\x5f\x73\x61\155\x6c\x5f\x74\141\x62\x6c\x65\137\164\x65\170\164\142\157\x78\x22\x20\162\145\161\x75\151\162\145\x64\40\x74\x79\x70\145\75\42\160\x61\x73\163\167\157\x72\144\x22\15\12\11\11\x9\11\x9\11\11\x9\156\x61\155\x65\75\x22\x70\x61\163\x73\x77\157\162\x64\42\x20\x70\x6c\x61\x63\145\150\157\x6c\144\145\x72\75\x22\103\150\157\157\163\x65\x20\171\157\x75\162\x20\160\x61\163\x73\x77\x6f\x72\144\40\50\115\151\156\56\x20\x6c\145\x6e\x67\164\x68\x20\66\51\x22\15\12\x9\11\11\x9\x9\x9\x9\x9\155\151\156\x6c\x65\x6e\x67\164\x68\x3d\x22\66\x22\40\160\141\x74\x74\145\x72\156\75\42\136\x5b\50\134\x77\51\52\50\41\x40\x23\44\x25\136\46\52\x2d\x5f\x29\x2a\x5d\x2b\x24\42\xd\xa\x9\x9\11\x9\11\11\x9\x9\x74\151\164\x6c\x65\75\x22\115\x69\x6e\x69\x6d\165\155\40\x36\x20\143\150\x61\162\141\143\x74\x65\162\x73\x20\x73\x68\x6f\x75\x6c\144\40\142\145\x20\x70\162\x65\163\x65\156\x74\56\x20\x4d\x61\x78\151\155\x75\x6d\40\x31\x35\x20\x63\x68\x61\x72\x61\x63\x74\x65\x72\x73\x20\163\x68\157\x75\154\x64\40\x62\x65\40\x70\x72\x65\x73\x65\x6e\x74\56\40\117\156\x6c\x79\40\x66\x6f\154\154\157\x77\x69\x6e\x67\x20\x73\x79\155\142\x6f\x6c\x73\40\50\41\x40\x23\x2e\44\45\x5e\x26\52\55\137\x29\x20\163\x68\x6f\x75\x6c\144\x20\x62\x65\x20\160\162\x65\163\145\x6e\x74\x22\15\xa\x9\x9\11\11\x9\x9\11\x9\57\76\x3c\57\164\144\76\xd\12\11\x9\11\x9\11\11\74\57\x74\x72\x3e\15\xa\x9\11\11\x9\11\11\x3c\164\162\x3e\15\xa\11\11\x9\x9\x9\11\11\74\164\144\x3e\74\142\76\x3c\x66\157\156\164\40\x63\x6f\x6c\157\x72\75\x22\x23\106\x46\60\x30\x30\x30\x22\76\x2a\x3c\57\x66\x6f\x6e\164\x3e\103\157\x6e\146\x69\162\155\x20\x50\141\x73\163\167\x6f\x72\144\x3a\74\x2f\x62\76\74\x2f\164\x64\76\15\xa\11\11\11\11\11\x9\x9\74\x74\144\76\x3c\151\156\x70\x75\164\40\143\154\x61\x73\x73\x3d\x22\155\157\137\x73\x61\155\154\137\x74\x61\142\154\145\137\164\x65\170\164\142\x6f\x78\42\40\162\145\161\165\x69\162\145\144\40\x74\171\x70\x65\75\x22\x70\141\x73\x73\x77\157\x72\x64\42\15\xa\11\x9\11\11\x9\11\11\x9\x6e\x61\155\x65\75\x22\x63\x6f\156\146\151\x72\155\x50\141\163\163\x77\x6f\x72\x64\42\40\x70\x6c\141\x63\145\150\x6f\154\x64\x65\x72\75\x22\x43\x6f\x6e\x66\151\162\155\40\171\x6f\x75\162\40\160\x61\x73\163\167\x6f\162\144\x22\xd\xa\11\x9\x9\11\11\x9\11\11\155\x69\156\x6c\x65\x6e\x67\164\150\x3d\42\x36\42\40\160\141\x74\x74\145\x72\x6e\x3d\42\136\133\50\x5c\x77\51\52\50\41\100\43\44\45\x5e\46\x2a\x2d\x5f\51\x2a\135\53\x24\x22\15\12\11\x9\x9\11\x9\x9\x9\11\164\151\164\154\x65\x3d\42\115\151\x6e\151\155\x75\155\40\x36\x20\143\150\141\162\141\x63\x74\x65\162\x73\x20\163\150\157\165\154\x64\x20\x62\x65\x20\160\x72\145\x73\145\x6e\x74\56\40\115\141\x78\151\x6d\165\x6d\x20\x31\65\x20\x63\150\141\x72\141\143\164\x65\x72\x73\x20\163\150\157\x75\x6c\144\x20\142\145\x20\x70\x72\x65\x73\145\x6e\164\56\x20\117\x6e\x6c\171\x20\146\157\154\154\x6f\167\151\156\147\40\163\x79\155\x62\157\x6c\x73\40\50\41\x40\x23\56\44\45\x5e\46\x2a\55\137\x29\40\x73\x68\157\x75\154\144\40\x62\145\40\160\162\145\163\145\156\x74\42\15\12\11\x9\x9\11\11\x9\11\x9\x2f\x3e\x3c\x2f\164\x64\76\15\xa\11\11\11\x9\x9\11\74\57\164\x72\76\xd\12\x9\11\x9\11\11\x9\x3c\164\x72\76\15\xa\x9\x9\x9\11\x9\x9\x9\74\164\144\x3e\46\156\x62\x73\160\x3b\74\x2f\x74\x64\x3e\15\12\11\11\11\11\x9\11\x9\74\x74\x64\x3e\74\x69\x6e\160\165\x74\x20\x74\x79\160\x65\x3d\42\x73\x75\x62\x6d\x69\164\42\x20\156\141\x6d\x65\75\x22\163\165\x62\x6d\151\x74\42\40\166\x61\154\165\x65\75\x22\122\x65\147\151\x73\164\145\x72\42\xd\12\11\11\x9\x9\11\11\x9\x9\143\154\x61\x73\163\x3d\x22\x62\x75\164\164\x6f\156\40\x62\165\x74\x74\157\156\55\160\162\x69\x6d\x61\x72\x79\x20\x62\x75\164\164\157\156\x2d\x6c\x61\x72\147\x65\x22\40\x2f\76\x3c\57\164\x64\76\xd\xa\11\x9\x9\11\x9\11\x3c\57\164\162\76\xd\12\x9\x9\x9\x9\x9\x3c\57\164\141\142\154\145\76\15\xa\x9\x9\x9\x3c\57\x64\151\166\x3e\xd\12\11\x9\74\x2f\146\x6f\x72\155\x3e";
}
function mo_saml_show_verify_password_page_saml()
{
echo "\74\x66\157\x72\155\40\156\x61\x6d\x65\x3d\x22\146\42\40\155\x65\164\150\x6f\x64\x3d\x22\160\x6f\163\164\42\x20\x61\x63\x74\151\x6f\156\x3d\42\x22\x3e";
wp_nonce_field("\155\x6f\137\163\x61\155\x6c\137\x76\145\162\151\146\171\137\x63\x75\163\x74\x6f\x6d\145\x72");
echo "\x3c\x69\x6e\160\x75\164\40\164\x79\x70\x65\75\x22\150\151\x64\x64\x65\156\x22\40\x6e\141\155\x65\x3d\42\x6f\x70\164\x69\157\x6e\42\40\x76\x61\154\x75\145\75\42\x6d\x6f\x5f\163\141\x6d\x6c\x5f\166\145\x72\151\146\x79\137\x63\165\163\164\157\x6d\x65\x72\x22\40\57\x3e\xd\xa\x9\11\11\74\x64\151\x76\x20\143\154\x61\x73\163\75\42\x6d\157\137\x73\x61\x6d\x6c\137\164\141\x62\x6c\x65\137\x6c\141\171\157\x75\164\x22\x20\163\164\171\154\x65\75\x22\160\141\x64\x64\151\156\147\55\x62\157\164\x74\157\x6d\x3a\x37\x32\x70\x78\73\42\76\xd\xa\x9\11\11\x9\x3c\144\x69\x76\40\151\144\75\x22\164\157\x67\x67\x6c\x65\61\x22\x3e\15\xa\x9\11\11\x9\11\x3c\150\x33\x3e\x4c\x6f\147\151\156\40\x77\x69\164\150\x20\x6d\151\156\x69\117\x72\141\156\147\145\x3c\x2f\150\63\76\15\xa\11\x9\x9\x9\x3c\57\x64\151\166\76\xd\12\11\x9\x9\x9\11\74\41\55\55\x3c\160\x3e\74\142\76\111\164\x20\x73\145\x65\x6d\163\x20\171\157\x75\40\x61\154\x72\145\x61\x64\x79\40\x68\x61\x76\x65\40\141\x6e\x20\141\143\x63\157\165\x6e\164\x20\x77\x69\x74\150\x20\x6d\x69\x6e\151\x4f\x72\141\156\147\145\x2e\40\120\154\x65\x61\163\145\40\x65\156\x74\145\162\40\171\x6f\165\162\40\155\x69\156\151\117\162\141\156\147\x65\x20\x65\x6d\x61\151\x6c\40\x61\x6e\x64\40\160\141\x73\163\167\157\x72\144\x2e\74\x62\162\x2f\76\x2d\x2d\76\15\12\x9\11\11\11\11\74\x70\x3e\74\x62\76\74\141\40\x68\162\x65\146\75\42\x68\164\164\160\x73\72\x2f\x2f\154\157\147\151\156\56\170\x65\143\165\162\x69\146\x79\x2e\143\157\155\57\x6d\157\141\163\x2f\151\x64\160\57\162\x65\163\x65\164\x70\x61\x73\163\x77\x6f\162\144\x22\40\164\141\162\x67\x65\164\x3d\42\x5f\x62\x6c\141\156\153\x22\76\x43\154\x69\x63\153\40\x68\x65\162\x65\x20\151\x66\40\x79\157\165\40\146\x6f\x72\147\157\164\40\x79\x6f\x75\162\x20\160\141\x73\163\167\x6f\x72\x64\x3f\74\x2f\x61\76\74\57\142\x3e\x3c\57\x70\x3e\xd\xa\x9\11\x9\x9\11\74\142\162\x2f\x3e\xd\12\x9\x9\x9\11\x9\x3c\x74\141\142\x6c\145\x20\x63\154\x61\x73\163\75\42\x6d\x6f\137\163\141\155\154\137\163\x65\164\164\x69\156\x67\163\x5f\x74\x61\142\154\145\42\76\15\12\x9\x9\x9\11\x9\x9\x3c\164\x72\x3e\15\12\x9\11\11\11\11\11\11\x3c\x74\x64\76\x3c\142\x3e\74\146\157\x6e\164\40\143\x6f\154\x6f\162\x3d\42\x23\x46\x46\60\60\x30\60\x22\76\x2a\74\x2f\x66\157\x6e\x74\x3e\105\x6d\x61\x69\x6c\x3a\x3c\57\142\x3e\74\57\x74\x64\76\xd\12\x9\11\11\11\11\x9\x9\x3c\x74\x64\76\74\x69\156\160\165\x74\x20\x63\154\141\163\163\75\42\155\157\x5f\x73\x61\x6d\154\137\x74\x61\x62\154\x65\137\x74\x65\x78\x74\142\157\170\x22\x20\164\x79\160\x65\x3d\42\x65\155\141\151\x6c\42\x20\x6e\x61\x6d\145\x3d\x22\x65\155\x61\x69\x6c\42\15\xa\11\x9\x9\11\x9\x9\11\x9\162\x65\x71\165\151\162\x65\144\x20\x70\154\141\x63\x65\x68\x6f\154\144\145\x72\75\x22\x70\145\x72\163\157\x6e\100\x65\170\x61\x6d\160\154\145\x2e\x63\x6f\155\x22\15\xa\11\11\x9\11\x9\x9\11\x9\x76\x61\x6c\165\x65\75\x22" . get_option("\x6d\x6f\137\x73\x61\155\154\x5f\x61\x64\155\x69\156\x5f\x65\155\x61\x69\154") . "\x22\40\x2f\x3e\x3c\x2f\164\x64\76\15\xa\11\11\x9\x9\11\x9\74\57\x74\x72\76\xd\xa\11\x9\x9\11\11\11\x3c\164\162\x3e\xd\12\x9\11\x9\x9\11\11\74\x74\144\76\x3c\142\x3e\74\x66\157\x6e\164\x20\143\157\154\157\162\75\x22\43\106\x46\x30\60\60\60\x22\76\52\74\57\x66\157\156\x74\x3e\120\x61\163\x73\x77\157\x72\144\72\x3c\x2f\x62\x3e\x3c\x2f\x74\144\76\xd\12\x9\x9\x9\11\11\11\74\164\x64\76\74\x69\156\x70\x75\164\40\143\154\141\163\x73\x3d\x22\x6d\157\137\163\141\155\154\x5f\x74\141\142\154\x65\x5f\x74\x65\x78\164\x62\x6f\x78\x22\40\162\x65\161\165\x69\162\145\144\x20\x74\x79\160\145\x3d\x22\x70\141\x73\163\x77\157\x72\144\x22\xd\xa\x9\11\11\11\x9\11\11\156\141\x6d\x65\75\x22\160\x61\163\163\167\x6f\x72\x64\42\x20\160\154\x61\x63\x65\x68\x6f\154\144\x65\x72\x3d\42\x43\x68\x6f\x6f\163\145\x20\171\157\x75\x72\40\x70\141\163\x73\167\x6f\162\x64\x22\xd\xa\x9\11\x9\x9\x9\x9\11\x6d\x69\156\x6c\145\x6e\x67\x74\x68\x3d\x22\66\x22\40\x70\141\x74\x74\x65\162\x6e\75\x22\x5e\133\x28\x5c\x77\51\x2a\50\41\x40\x23\x24\45\x5e\46\52\55\137\x29\x2a\135\x2b\44\42\15\xa\x9\x9\x9\11\11\11\11\164\x69\x74\x6c\145\75\x22\x4d\x69\x6e\151\x6d\x75\155\40\66\x20\x63\150\141\162\x61\143\164\145\x72\163\40\163\150\157\165\154\x64\x20\142\145\x20\160\162\x65\163\145\x6e\164\56\40\115\141\170\151\x6d\165\155\40\61\65\x20\143\150\x61\162\141\x63\x74\x65\x72\x73\40\x73\x68\157\x75\x6c\x64\x20\x62\145\x20\160\162\145\x73\145\x6e\164\56\40\117\156\154\x79\40\x66\x6f\x6c\154\x6f\x77\151\x6e\x67\40\163\x79\155\142\157\154\x73\40\x28\x21\100\x23\x2e\x24\x25\136\46\52\x2d\x5f\x29\x20\x73\x68\157\x75\154\x64\40\142\x65\x20\x70\162\145\x73\145\x6e\x74\42\15\12\x9\11\11\x9\11\11\x9\x2f\x3e\74\57\x74\144\x3e\15\12\x9\11\11\11\x9\x9\x3c\x2f\x74\x72\76\15\xa\xd\12\x9\x9\11\x9\11\x9\x3c\164\x72\76\xd\12\x9\x9\x9\x9\11\x9\11\74\164\x64\x3e\x26\x6e\142\163\160\73\x3c\57\164\x64\x3e\xd\xa\11\x9\x9\11\11\x9\x9\x3c\x74\x64\x3e\15\xa\x9\11\x9\11\11\11\11\x3c\151\156\x70\x75\x74\x20\x74\171\x70\x65\75\42\163\x75\142\155\151\x74\x22\x20\156\141\x6d\x65\75\42\x73\165\x62\155\151\164\42\40\166\141\x6c\165\145\x3d\42\x4c\x6f\147\x69\156\x22\xd\xa\11\x9\11\11\x9\x9\x9\11\143\x6c\x61\163\163\x3d\x22\142\165\x74\x74\x6f\x6e\x20\142\x75\164\x74\157\156\55\x70\162\x69\x6d\x61\162\171\40\x62\165\164\164\157\x6e\x2d\154\x61\162\147\x65\42\40\x2f\76\x3c\x2f\164\x64\x3e\xd\xa\11\x9\x9\11\11\x9\x3c\x2f\x74\x72\76\15\12\x9\11\x9\x9\x9\74\x2f\x74\x61\142\x6c\x65\x3e\xd\xa\11\x9\x9\x3c\x2f\x64\151\166\76\xd\xa\x9\11\x3c\57\x66\157\x72\155\76\15\xa\x9\x9\74\146\157\x72\x6d\40\x6e\141\155\x65\75\42\146\42\40\155\145\164\x68\157\144\x3d\42\x70\157\163\x74\42\40\141\143\164\151\157\x6e\x3d\x22\42\40\x69\144\75\x22\x6d\157\137\163\141\x6d\x6c\x5f\147\157\x62\x61\x63\153\x5f\x66\x6f\162\155\x22\x3e";
wp_nonce_field("\x6d\x6f\x5f\163\x61\155\154\137\x67\x6f\137\142\141\143\x6b");
echo "\74\x69\x6e\x70\165\164\40\164\x79\x70\145\x3d\x22\x68\151\x64\x64\145\x6e\x22\40\156\141\155\x65\75\42\157\x70\164\x69\157\156\x22\40\166\141\x6c\165\x65\x3d\42\x6d\x6f\137\163\141\155\154\x5f\147\157\137\142\x61\143\153\42\57\x3e\xd\xa\x9\11\x3c\x2f\x66\x6f\162\x6d\76\xd\xa\11\11\x3c\146\157\x72\155\x20\x6e\x61\155\x65\75\42\146\42\x20\155\145\164\x68\x6f\144\x3d\42\160\157\163\164\42\40\x61\x63\x74\x69\157\x6e\75\x22\x22\40\151\144\x3d\42\155\157\x5f\163\141\155\154\137\146\157\x72\x67\157\164\x70\x61\x73\x73\x77\157\x72\x64\137\146\157\162\x6d\42\76";
wp_nonce_field("\x6d\157\x5f\163\141\155\154\137\146\x6f\162\x67\x6f\x74\x5f\x70\x61\163\x73\167\x6f\x72\144\137\x66\157\162\x6d\137\x6f\x70\164\151\x6f\156");
echo "\x3c\151\156\160\x75\x74\40\x74\171\x70\145\x3d\42\150\151\144\144\145\156\42\40\x6e\141\x6d\x65\x3d\x22\157\160\x74\151\x6f\x6e\42\x20\x76\141\x6c\x75\145\75\42\155\x6f\137\x73\x61\x6d\x6c\x5f\146\157\x72\x67\x6f\x74\x5f\x70\x61\163\163\x77\x6f\x72\144\x5f\x66\x6f\x72\x6d\x5f\157\160\164\x69\x6f\156\42\x2f\x3e\15\xa\x9\x9\74\57\x66\157\162\x6d\x3e\xd\xa\x9\11\74\163\143\x72\x69\x70\x74\76\xd\12\11\x9\x9\x6a\x51\x75\x65\x72\171\x28\42\43\155\x6f\137\x73\x61\x6d\x6c\137\147\157\142\141\143\153\42\51\56\143\154\x69\143\x6b\x28\146\165\156\x63\164\x69\x6f\156\x28\51\173\xd\xa\x9\x9\11\11\152\121\x75\145\x72\171\x28\42\43\x6d\157\x5f\163\141\x6d\154\137\x67\157\142\x61\x63\153\137\x66\157\x72\155\x22\x29\x2e\x73\165\142\x6d\x69\x74\50\x29\73\xd\xa\x9\x9\11\x7d\x29\x3b\xd\12\11\11\11\x6a\x51\x75\145\162\171\x28\x22\x61\133\150\162\x65\x66\x3d\x5c\42\43\x6d\157\137\163\141\155\x6c\x5f\x66\157\162\147\x6f\164\137\160\x61\x73\163\x77\x6f\162\144\x5f\x6c\151\x6e\x6b\134\42\x5d\42\51\x2e\x63\x6c\151\143\153\x28\x66\165\156\143\x74\151\x6f\156\50\x29\173\xd\xa\x9\x9\11\11\x6a\x51\x75\145\x72\171\50\42\x23\155\x6f\x5f\x73\x61\155\x6c\137\x66\x6f\162\x67\x6f\164\160\x61\x73\x73\167\157\162\x64\x5f\146\x6f\x72\x6d\x22\x29\56\163\165\x62\x6d\151\164\50\51\x3b\xd\12\x9\11\x9\x7d\51\73\15\12\x9\x9\x3c\57\163\143\162\x69\x70\164\x3e";
}
function mo_saml_show_verify_license_page()
{
echo "\x3c\144\x69\166\40\143\154\x61\x73\x73\x3d\x22\155\157\137\x73\141\x6d\154\x5f\x74\141\142\x6c\145\137\x6c\x61\171\x6f\165\x74\x22\40\x73\164\171\154\145\x3d\x22\x70\x61\144\144\151\x6e\x67\x2d\x62\x6f\164\164\157\x6d\x3a\65\60\x70\x78\x3b\x21\151\x6d\160\157\x72\164\x61\x6e\x74\42\76";
echo "\x3c\x68\63\76\126\x65\x72\151\x66\x79\40\114\x69\x63\145\156\x73\x65\40\40\133\x20\x3c\163\x70\x61\156\40\x73\164\171\154\145\x3d\x22\x66\157\x6e\164\x2d\x73\x69\172\145\72\61\63\160\170\73\x66\157\x6e\164\55\x73\164\171\x6c\x65\x3a\156\157\x72\x6d\x61\154\x3b\x22\x3e\74\141\x20\x73\164\x79\x6c\x65\75\x22\143\165\162\x73\x6f\x72\72\x70\157\151\156\x74\145\162\x3b\x22\40\157\x6e\x63\x6c\151\143\x6b\75\x22\147\145\x74\x6c\x69\x63\145\156\163\x65\153\145\x79\163\146\157\x72\x6d\x28\51\42\40\x3e\x43\x6c\151\143\x6b\40\x68\x65\x72\x65\x20\x74\157\40\x76\x69\x65\x77\40\171\157\165\x72\40\154\151\143\145\x6e\x73\x65\40\153\145\x79\x3c\57\x61\x3e\x3c\57\163\160\141\x6e\76\x20\x5d\x3c\57\x68\63\x3e\x3c\x68\162\76\xd\xa\15\12\x9\x9\x9\x9\x9\x3c\146\157\162\155\40\x6e\141\x6d\145\x3d\x22\x66\42\40\155\x65\164\x68\x6f\144\x3d\x22\160\x6f\163\164\x22\40\141\x63\x74\151\157\156\x3d\x22\x22\x3e";
wp_nonce_field("\155\x6f\x5f\x73\141\x6d\154\x5f\166\x65\x72\151\x66\x79\137\154\x69\x63\145\x6e\163\145");
echo "\74\x69\x6e\160\x75\164\40\164\x79\x70\145\75\x22\x68\x69\x64\144\145\x6e\42\x20\156\141\x6d\145\x3d\42\x6f\160\164\x69\x6f\156\42\40\166\x61\x6c\x75\x65\x3d\x22\155\157\137\x73\141\155\154\137\x76\x65\x72\151\x66\171\137\x6c\x69\143\145\x6e\163\x65\x22\x20\57\76\xd\xa\xd\12\x9\11\11\11\x9\11\x9\74\x70\x3e\74\142\76\x3c\x66\157\x6e\x74\x20\x63\x6f\154\x6f\162\75\42\43\x46\106\x30\x30\x30\x30\x22\76\52\x3c\x2f\146\x6f\156\164\x3e\x45\x6e\x74\x65\162\40\171\157\x75\162\x20\154\151\x63\145\156\163\145\x20\153\145\x79\40\x74\x6f\x20\141\143\x74\x69\x76\x61\164\145\40\x74\150\x65\x20\160\154\x75\x67\151\156\72\74\57\x62\x3e\xd\12\x9\11\x9\x9\x9\x9\x9\74\151\156\x70\x75\x74\x20\143\154\x61\x73\163\x3d\42\155\157\137\163\x61\155\154\x5f\x74\141\142\x6c\145\137\164\x65\x78\x74\x62\x6f\x78\42\x20\x72\145\x71\x75\151\162\145\144\x20\164\171\160\145\x3d\42\x74\x65\x78\x74\x22\40\x73\x74\x79\154\145\x3d\42\155\x61\162\147\x69\156\x2d\154\145\146\164\72\x34\60\160\170\73\x77\151\x64\164\x68\72\x33\x30\x30\160\x78\73\x22\xd\12\x9\11\11\x9\11\11\x9\11\x6e\141\x6d\x65\75\x22\155\x6f\137\x73\x61\x6d\154\x5f\154\x69\143\145\x6e\x73\145\137\x6b\145\171\x22\x20\160\x6c\x61\143\145\150\x6f\x6c\x64\145\x72\x3d\x22\x45\156\164\145\x72\40\x79\x6f\x75\162\x20\154\x69\143\145\156\163\x65\x20\153\x65\x79\40\164\x6f\40\x61\143\164\151\x76\141\x74\x65\40\164\x68\145\x20\160\x6c\x75\x67\151\156\42\x20\57\x3e\15\12\x9\x9\x9\11\x9\11\x9\x3c\x2f\x70\76\15\12\11\11\x9\x9\x9\11\11\x3c\x70\x3e\x3c\142\x3e\74\x66\157\x6e\x74\40\143\x6f\154\157\162\75\x22\x23\106\x46\60\60\x30\60\x22\76\x2a\x3c\x2f\146\157\156\164\76\x50\x6c\x65\141\163\x65\x20\x63\150\x65\x63\153\x20\x74\150\x69\163\x20\164\157\x20\143\157\x6e\x66\151\x72\x6d\x20\164\150\x61\164\40\x79\x6f\165\x20\x68\x61\166\x65\x20\x72\x65\141\x64\x20\151\x74\72\x20\74\x2f\142\x3e\46\156\142\163\x70\73\46\156\x62\x73\160\x3b\74\x69\x6e\160\x75\164\40\x72\x65\161\x75\x69\x72\x65\x64\40\164\x79\160\x65\x3d\x22\x63\x68\x65\x63\x6b\x62\x6f\170\x22\x20\x6e\141\155\x65\x3d\x22\154\151\143\x65\156\163\x65\x5f\143\157\x6e\144\x69\x74\151\x6f\156\163\42\x20\x2f\x3e\x3c\57\160\x3e\xd\xa\11\11\11\11\11\x9\11\x3c\x2f\160\76\15\12\xd\12\11\x9\11\11\11\x9\11\74\x6f\154\76\xd\12\x9\11\x9\11\11\11\x9\74\x6c\151\76\114\151\143\145\156\x73\x65\x20\153\x65\x79\40\171\157\165\x20\x68\x61\x76\145\40\145\x6e\x74\x65\x72\x65\x64\40\x68\x65\162\x65\x20\151\x73\40\141\163\x73\x6f\143\x69\x61\x74\145\144\x20\x77\151\164\x68\40\x74\x68\151\163\40\163\x69\x74\145\x20\x69\x6e\x73\x74\141\156\143\145\x2e\40\x49\x6e\x20\x66\x75\164\x75\162\x65\54\x20\x69\146\x20\x79\x6f\165\x20\x61\x72\145\x20\x72\145\x2d\151\156\163\x74\x61\154\x6c\x69\x6e\x67\x20\164\150\x65\40\160\154\165\147\x69\x6e\x20\x6f\162\40\171\x6f\x75\x72\x20\x73\x69\x74\145\40\146\157\162\x20\x61\x6e\171\40\162\x65\x61\x73\x6f\x6e\56\40\131\157\x75\x20\x73\150\x6f\x75\154\x64\x20\x64\x65\x61\x63\x74\x69\166\141\164\x65\x20\141\x6e\x64\x20\x74\150\x65\x6e\40\144\145\154\145\164\145\40\x74\150\145\40\x70\154\165\147\x69\x6e\40\146\x72\157\x6d\x20\x77\x6f\162\x64\160\x72\145\163\163\x20\143\x6f\x6e\x73\x6f\x6c\x65\40\141\156\144\40\163\x68\157\x75\x6c\144\x20\x6e\157\164\x20\x6d\x61\156\165\141\x6c\x6c\171\40\x64\x65\x6c\x65\x74\x65\40\164\150\145\x20\x70\154\x75\147\x69\x6e\40\146\x6f\x6c\144\x65\x72\56\x20\x53\157\x20\x74\x68\x61\x74\40\171\x6f\x75\40\143\141\x6e\x20\x72\145\x73\165\x73\145\40\x74\x68\145\x20\163\141\155\145\x20\x6c\x69\x63\145\x6e\x73\145\40\153\x65\171\56\x3c\57\x6c\151\76\74\x62\162\76\xd\xa\11\11\11\11\x9\11\11\74\154\x69\76\74\x62\x3e\x54\x68\151\x73\x20\x69\x73\x20\156\x6f\164\x20\141\40\144\145\166\x65\x6c\157\x70\145\x72\x27\x73\40\154\151\143\145\156\x73\x65\56\74\x2f\142\x3e\x20\x4d\141\x6b\x69\x6e\147\x20\x61\x6e\171\40\153\151\x6e\144\x20\x6f\146\40\x63\x68\141\x6e\147\x65\40\164\157\x20\x74\x68\145\40\160\154\165\147\151\x6e\47\163\40\x63\157\x64\x65\40\167\151\x6c\x6c\40\x64\x65\154\145\x74\x65\x20\141\154\154\x20\171\157\x75\x72\40\143\x6f\x6e\x66\151\147\165\162\141\164\x69\157\x6e\x20\x61\x6e\144\40\155\x61\x6b\x65\40\x74\150\145\x20\160\154\x75\x67\x69\156\40\x75\156\165\163\141\142\154\145\56\x3c\57\154\x69\76\xd\12\x9\x9\11\11\11\11\x9\x3c\x62\x72\x3e\15\xa\11\11\x9\11\11\11\x9\11\x3c\151\156\160\165\164\40\164\171\160\145\x3d\42\163\x75\142\155\151\164\42\x20\156\x61\x6d\145\x3d\x22\x73\x75\x62\x6d\x69\164\42\40\x76\x61\154\x75\145\x3d\x22\x41\x63\x74\x69\x76\141\164\x65\40\x4c\151\143\x65\156\163\145\x22\x20\143\x6c\141\163\163\75\x22\x62\165\x74\164\157\156\40\x62\165\164\x74\157\x6e\x2d\160\162\x69\155\141\x72\x79\x20\142\165\164\164\157\x6e\55\x6c\x61\x72\147\145\42\x20\x2f\76\15\12\x3c\151\156\160\x75\164\40\x74\x79\160\145\x3d\42\x62\x75\x74\164\x6f\156\x22\40\x63\154\141\x73\x73\x3d\42\x62\x75\x74\164\x6f\x6e\40\x62\x75\164\x74\x6f\156\55\160\162\x69\155\141\162\171\40\x62\x75\x74\164\x6f\156\x2d\x6c\141\x72\x67\145\42\x20\166\141\x6c\165\x65\75\x22\102\141\x63\153\x22\x20\157\x6e\143\154\x69\143\x6b\75\x22\144\x6f\x63\x75\155\145\156\x74\x2e\x66\157\x72\155\163\x5b\x27\155\157\137\x73\141\155\154\137\x62\141\143\x6b\x5f\x6c\x69\x63\145\x6e\163\145\x27\x5d\x2e\x73\165\142\155\151\x74\50\x29\x3b\42\x2f\x3e\xd\12\x9\x9\x9\x9\x9\74\57\x66\x6f\162\155\x3e\x3c\57\x64\151\x76\76\15\xa\15\12\x9\11\74\146\x6f\x72\155\40\156\x61\x6d\145\x3d\x22\146\x22\40\x6d\x65\164\x68\157\144\75\42\160\157\x73\164\42\x20\141\143\x74\151\157\156\x3d\x22\42\40\151\144\75\42\x6d\x6f\x5f\x73\x61\x6d\x6c\137\x63\150\x65\x63\x6b\137\x6c\x69\x63\145\156\163\x65\42\76";
wp_nonce_field("\155\x6f\137\x73\x61\x6d\154\x5f\143\x68\x65\143\x6b\x5f\x6c\151\143\145\x6e\163\x65");
echo "\x3c\x69\156\160\x75\164\40\164\171\160\x65\x3d\x22\x68\151\x64\x64\x65\156\x22\x20\156\141\155\145\75\x22\x6f\x70\x74\151\157\156\x22\40\x76\141\x6c\165\145\x3d\42\x6d\x6f\x5f\163\141\x6d\154\x5f\143\150\145\143\x6b\137\x6c\x69\143\x65\x6e\x73\x65\x22\57\76\xd\xa\11\11\74\x2f\x66\157\x72\x6d\x3e\15\12\x9\x9\11\11\x3c\x66\157\x72\x6d\40\x6e\141\x6d\145\x3d\42\146\42\40\155\x65\x74\150\157\x64\x3d\42\160\x6f\x73\x74\x22\40\141\143\164\151\x6f\x6e\75\x22\42\x20\151\144\75\x22\x6d\157\137\163\141\x6d\154\137\142\x61\x63\x6b\x5f\154\x69\x63\145\156\163\x65\x22\x3e";
wp_nonce_field("\155\157\x5f\x73\x61\x6d\154\x5f\162\x65\x6d\157\x76\145\x5f\x61\x63\143\157\x75\156\164");
echo "\74\151\156\x70\x75\164\40\x74\171\x70\x65\75\42\150\151\x64\x64\x65\156\x22\x20\156\x61\x6d\145\75\42\157\x70\x74\151\x6f\156\x22\40\166\141\x6c\165\145\75\42\155\157\x5f\x73\141\155\154\x5f\162\145\155\157\x76\145\x5f\141\143\143\157\x75\156\164\x22\57\x3e\15\xa\x9\11\74\x2f\x66\157\x72\x6d\x3e\xd\12\x9\x9\74\146\x6f\162\155\x20\163\164\171\x6c\x65\x3d\42\144\151\163\x70\x6c\141\x79\72\x6e\x6f\x6e\145\x3b\x22\40\151\144\x3d\42\x6c\157\147\x69\x6e\146\x6f\162\x6d\42\x20\x61\143\164\151\x6f\156\75\42" . mo_options_plugin_constants::HOSTNAME . "\57\x6d\157\141\163\x2f\154\x6f\x67\x69\x6e\x22\15\12\x9\11\x74\141\162\147\145\164\x3d\x22\x5f\x62\154\x61\x6e\x6b\x22\40\x6d\145\x74\x68\157\x64\75\x22\x70\157\x73\164\42\76\xd\12\11\x9\x3c\x69\156\160\165\164\40\164\171\x70\145\75\x22\145\x6d\x61\151\x6c\x22\x20\156\141\155\x65\x3d\42\165\x73\145\162\x6e\x61\x6d\145\x22\x20\166\141\154\x75\x65\x3d\42" . get_option("\155\157\137\x73\141\x6d\x6c\x5f\x61\x64\x6d\151\x6e\137\x65\155\141\151\x6c") . "\42\40\57\x3e\15\xa\x9\11\x3c\151\156\x70\x75\x74\40\164\x79\160\145\x3d\x22\x74\145\170\x74\x22\40\156\x61\155\x65\x3d\42\162\145\x64\151\162\x65\143\164\125\x72\154\x22\x20\166\141\154\165\x65\75\42" . mo_options_plugin_constants::HOSTNAME . "\57\155\157\141\x73\57\166\x69\145\x77\x6c\151\143\x65\x6e\163\145\153\145\x79\x73\42\x20\57\x3e\xd\xa\x9\11\74\x69\156\160\x75\164\40\x74\171\160\x65\75\x22\x74\x65\170\164\x22\40\156\141\155\x65\x3d\42\162\145\x71\x75\x65\163\x74\x4f\x72\151\x67\151\156\42\x20\166\141\154\165\x65\x3d\x22\x77\160\x5f\163\x61\155\154\x5f\x73\163\157\x5f\x62\x61\163\151\143\x5f\x70\x6c\141\x6e\42\40\40\57\76\15\xa\11\11\x3c\57\x66\x6f\162\x6d\76\15\12\11\x9\x3c\163\x63\162\151\x70\164\x3e\15\12\x9\11\x9\x6a\121\165\x65\162\x79\x28\42\141\x5b\x68\x72\145\x66\75\x5c\x22\x23\141\143\x74\151\x76\x61\x74\145\154\151\x63\145\x6e\163\x65\134\42\x5d\x22\51\x2e\143\154\x69\143\153\50\x66\x75\x6e\x63\164\x69\x6f\x6e\x28\x29\173\15\12\x9\x9\x9\11\x6a\x51\165\x65\162\x79\50\x22\43\155\x6f\x5f\163\x61\155\154\137\x63\x68\145\143\x6b\x5f\154\x69\x63\145\x6e\x73\x65\42\x29\56\x73\165\x62\x6d\151\x74\x28\51\73\15\12\x9\11\11\x7d\x29\x3b\xd\xa\x9\x9\11\x66\x75\x6e\143\164\151\x6f\x6e\x20\x67\145\164\x6c\x69\143\145\x6e\163\145\153\x65\x79\x73\146\x6f\x72\155\x28\51\x20\173\15\12\x9\11\x9\x9\152\x51\x75\x65\x72\171\x28\42\x23\x6c\x6f\x67\151\156\146\x6f\x72\155\42\51\x2e\163\x75\142\x6d\151\x74\x28\51\x3b\xd\12\11\x9\11\175\15\xa\x9\x9\x3c\57\163\x63\162\x69\x70\164\76";
}
function mo_saml_show_otp_verification()
{
echo "\x3c\146\157\162\155\x20\156\x61\x6d\145\x3d\x22\146\x22\40\x6d\x65\164\150\x6f\144\75\42\160\157\163\164\x22\40\x69\144\x3d\x22\157\164\160\x5f\146\x6f\x72\155\x22\40\x61\x63\x74\151\157\156\75\42\42\76";
wp_nonce_field("\155\157\137\163\141\x6d\154\137\x76\141\154\x69\x64\141\x74\145\137\157\164\160");
echo "\x3c\x69\156\x70\x75\164\40\164\171\x70\x65\x3d\42\150\x69\144\x64\145\156\x22\x20\x6e\141\x6d\145\75\42\157\160\164\151\x6f\x6e\42\40\166\141\154\x75\145\75\x22\155\157\137\163\141\x6d\x6c\x5f\166\x61\x6c\151\144\141\164\145\x5f\x6f\x74\160\42\x20\57\76\xd\12\x9\x9\11\74\x64\151\166\x20\x63\154\141\163\x73\x3d\42\x6d\x6f\137\x73\x61\x6d\x6c\137\x74\141\x62\x6c\x65\x5f\x6c\x61\171\x6f\165\164\x22\76\xd\xa\x9\x9\11\x9\x3c\164\x61\x62\x6c\x65\x20\x63\x6c\x61\x73\x73\x3d\42\155\157\137\163\141\155\154\137\x73\145\164\164\x69\156\147\x73\137\x74\x61\x62\154\145\x22\40\163\164\171\x6c\x65\x3d\42\160\x61\144\x64\151\x6e\x67\x2d\142\157\164\x74\157\x6d\x3a\67\x32\x70\170\73\x22\x3e\xd\12\x9\11\x9\x9\11\74\x68\63\76\126\145\162\151\146\x79\x20\131\x6f\x75\162\x20\x45\155\x61\x69\154\74\57\150\x33\x3e\15\xa\11\11\11\x9\11\74\x74\x72\x3e\15\xa\x9\x9\11\x9\11\11\74\164\x64\x3e\74\142\x3e\74\x66\x6f\x6e\164\x20\143\157\154\157\x72\x3d\42\x23\106\106\60\x30\x30\60\x22\76\x2a\74\57\x66\157\x6e\x74\x3e\x45\156\164\145\162\40\117\124\120\x3a\x3c\57\142\x3e\x3c\x2f\x74\144\76\xd\xa\11\x9\11\11\11\11\x3c\164\144\x20\143\x6f\154\x73\160\141\156\75\x22\x32\x22\x3e\74\151\156\160\x75\164\x20\x63\x6c\x61\x73\x73\x3d\x22\x6d\x6f\x5f\163\141\x6d\154\137\x74\141\142\154\x65\137\x74\x65\x78\164\x62\x6f\170\42\40\141\165\x74\157\146\157\x63\x75\x73\x3d\42\x74\x72\x75\x65\x22\40\164\171\160\145\75\42\x74\145\x78\x74\42\40\x6e\141\155\x65\75\42\x6f\164\160\137\164\157\153\x65\156\42\x20\162\x65\161\165\151\x72\x65\x64\40\x70\x6c\x61\143\145\150\157\154\144\x65\x72\x3d\42\105\x6e\x74\145\162\40\117\124\x50\42\40\x73\x74\x79\x6c\145\x3d\42\167\151\144\164\150\x3a\66\x31\x25\73\x22\40\160\x61\x74\164\x65\x72\x6e\x3d\x22\x7b\66\54\x38\175\x22\x2f\76\15\xa\x9\x9\x9\11\11\x9\x20\x26\x6e\x62\x73\x70\73\46\156\x62\163\x70\73\74\141\x20\163\164\171\x6c\x65\x3d\x22\143\x75\x72\163\157\162\72\160\157\151\156\164\x65\162\x3b\42\40\x6f\156\143\x6c\151\x63\x6b\x3d\x22\144\157\x63\165\155\145\156\164\56\147\145\164\x45\x6c\x65\155\x65\x6e\x74\x42\171\x49\144\50\x27\162\x65\163\x65\156\144\x5f\157\x74\160\137\x66\157\162\x6d\x27\x29\56\163\165\x62\155\x69\x74\x28\x29\x3b\42\x3e\x52\x65\163\145\x6e\x64\40\117\124\120\74\x2f\x61\76\74\57\x74\144\76\xd\12\11\x9\x9\11\11\x3c\x2f\164\162\76\xd\12\11\11\x9\x9\11\x3c\164\162\76\74\164\144\x20\143\157\x6c\163\x70\x61\x6e\x3d\42\63\42\76\74\57\x74\144\76\x3c\57\164\x72\x3e\xd\xa\x9\11\11\11\x9\74\x74\x72\76\15\12\15\12\11\x9\11\x9\11\11\74\x74\x64\x3e\x26\156\142\163\x70\x3b\x3c\x2f\x74\x64\x3e\15\xa\x9\11\x9\x9\11\x9\x3c\x74\144\40\x73\164\171\154\145\75\42\167\x69\x64\x74\x68\72\61\67\45\42\76\15\12\11\11\11\11\11\11\74\151\x6e\x70\165\164\x20\x74\171\x70\145\x3d\x22\163\x75\142\x6d\151\164\x22\x20\x6e\141\x6d\145\x3d\x22\163\x75\142\155\x69\x74\42\40\166\x61\x6c\x75\145\75\42\x56\141\x6c\151\144\141\x74\x65\40\117\124\x50\42\40\x63\154\141\x73\x73\x3d\42\x62\x75\x74\164\157\156\40\x62\x75\164\164\x6f\156\55\160\x72\151\155\x61\x72\x79\x20\142\x75\x74\x74\x6f\156\x2d\x6c\x61\162\x67\145\x22\x20\57\x3e\x3c\57\164\x64\x3e\xd\xa\15\xa\x9\11\74\x2f\x66\157\x72\x6d\76\xd\xa\x9\x9\x3c\146\157\162\x6d\40\156\x61\x6d\x65\x3d\42\x66\x22\40\155\145\164\150\x6f\x64\75\x22\x70\157\163\x74\x22\76\15\12\11\11\x9\x9\x9\x9\x3c\164\144\40\163\164\171\154\145\x3d\x22\x77\x69\144\164\150\72\61\x38\45\42\76";
wp_nonce_field("\x6d\x6f\137\x73\141\155\154\137\x67\x6f\x5f\x62\x61\x63\x6b");
echo "\74\x69\x6e\160\x75\164\40\x74\x79\160\x65\75\x22\x68\x69\x64\144\x65\x6e\x22\x20\156\x61\x6d\x65\x3d\x22\157\x70\164\x69\x6f\156\x22\40\x76\141\154\x75\x65\x3d\42\155\x6f\137\x73\x61\155\x6c\137\x67\157\137\x62\141\x63\153\42\x2f\x3e\15\12\x9\x9\11\11\x9\x9\11\x3c\x69\156\160\x75\164\x20\164\171\160\145\x3d\42\x73\165\x62\x6d\x69\164\x22\x20\156\141\155\x65\75\x22\x73\165\x62\155\151\x74\42\40\40\166\141\x6c\165\x65\x3d\42\x42\141\143\x6b\x22\x20\143\154\141\163\163\75\x22\x62\165\x74\x74\157\x6e\x20\x62\x75\164\164\x6f\156\55\x70\162\151\x6d\x61\x72\171\40\x62\x75\164\164\157\156\x2d\x6c\141\x72\147\x65\42\x20\x2f\76\xd\xa\x9\x9\11\11\11\x9\74\57\x74\x64\76\xd\12\11\11\x3c\57\x66\x6f\162\x6d\76\xd\xa\x9\x9\74\146\157\162\x6d\40\156\x61\x6d\145\75\42\x66\x22\x20\x69\x64\x3d\x22\162\x65\x73\x65\156\x64\137\157\x74\x70\137\146\x6f\x72\x6d\42\x20\155\x65\164\x68\157\144\75\x22\160\157\x73\x74\42\x20\141\x63\x74\151\157\156\75\42\42\76\15\12\11\x9\11\x9\11\x9\74\164\144\x3e";
if (get_option("\x6d\157\x5f\163\x61\x6d\x6c\x5f\x72\145\x67\151\x73\164\x72\x61\x74\x69\157\156\137\x73\x74\141\x74\x75\x73") == "\x4d\117\x5f\x4f\x54\120\x5f\104\105\x4c\111\x56\105\122\x45\x44\x5f\123\125\x43\x43\x45\x53\123\137\x45\115\101\111\x4c" || get_option("\155\157\x5f\163\141\x6d\x6c\x5f\x72\x65\x67\151\x73\x74\162\x61\x74\151\157\156\137\163\164\x61\x74\x75\163") == "\115\x4f\x5f\x4f\124\120\137\126\x41\x4c\x49\104\x41\124\x49\x4f\x4e\x5f\x46\101\111\x4c\x55\122\105\137\x45\x4d\x41\111\114") {
goto Q23;
}
wp_nonce_field("\x6d\x6f\x5f\163\141\155\x6c\x5f\162\145\x73\x65\x6e\x64\x5f\157\x74\x70\x5f\160\150\x6f\x6e\x65");
echo "\74\151\156\x70\165\164\x20\164\x79\x70\145\75\x22\150\x69\144\144\145\156\42\x20\156\141\155\x65\75\42\x6f\x70\x74\x69\x6f\156\42\x20\x76\x61\154\x75\x65\75\x22\x6d\157\137\x73\141\155\154\x5f\x72\145\163\x65\x6e\144\137\x6f\164\160\x5f\160\150\x6f\x6e\x65\x22\57\76";
goto mTb;
Q23:
wp_nonce_field("\155\157\x5f\x73\x61\155\154\137\x72\x65\163\x65\x6e\144\137\x6f\164\160\137\145\x6d\x61\151\x6c");
echo "\74\x69\156\160\x75\164\x20\x74\x79\x70\145\75\42\150\x69\x64\144\145\156\42\x20\156\141\155\x65\x3d\42\157\160\x74\x69\x6f\156\42\40\x76\x61\154\x75\145\75\42\x6d\157\137\163\x61\x6d\154\x5f\x72\x65\163\x65\x6e\x64\x5f\x6f\164\x70\137\x65\155\141\151\154\x22\x2f\76";
mTb:
echo "\74\x2f\x74\144\x3e\15\xa\xd\12\11\x9\74\57\x66\x6f\x72\155\76\xd\xa\x9\11\x3c\x2f\x74\162\x3e\xd\xa\11\x9\11\74\x2f\x74\141\142\x6c\x65\x3e";
if (!(get_option("\155\157\137\x73\141\x6d\154\x5f\162\145\147\x69\x73\x74\162\141\x74\x69\x6f\x6e\137\x73\x74\x61\164\x75\163") == "\x4d\x4f\x5f\x4f\124\120\x5f\x44\105\x4c\x49\126\x45\122\105\x44\137\123\125\103\x43\x45\123\123\x5f\105\115\x41\x49\x4c" || get_option("\155\157\137\x73\141\155\x6c\137\x72\x65\x67\x69\163\164\x72\x61\164\x69\x6f\156\137\x73\164\x61\x74\165\163") == "\x4d\117\137\x4f\x54\120\x5f\126\101\x4c\x49\x44\101\x54\111\117\x4e\x5f\106\101\x49\x4c\125\x52\x45\x5f\105\x4d\x41\111\x4c")) {
goto IM1;
}
echo "\74\x68\162\x3e\15\12\15\12\x9\11\x9\11\x3c\x68\x33\x3e\111\40\144\x69\144\x20\156\157\x74\40\x72\145\x63\151\145\x76\x65\40\141\x6e\171\x20\x65\155\x61\151\x6c\x20\x77\x69\x74\150\x20\x4f\x54\120\x20\56\40\127\150\141\164\40\x73\150\x6f\x75\154\x64\40\x49\x20\x64\157\x20\77\74\x2f\x68\x33\x3e\xd\xa\11\x9\11\11\74\146\x6f\x72\155\40\151\x64\x3d\42\155\x6f\137\x73\x61\x6d\154\137\162\145\147\x69\x73\x74\145\162\x5f\167\151\x74\150\137\160\x68\157\156\145\x5f\x66\x6f\162\x6d\42\x20\x6d\x65\164\150\157\x64\x3d\x22\160\x6f\x73\164\42\x20\x61\143\164\x69\157\156\x3d\42\42\x3e";
wp_nonce_field("\155\157\x5f\x73\x61\155\154\137\x72\145\147\151\163\x74\x65\162\137\167\x69\164\150\137\x70\x68\x6f\x6e\145\x5f\157\x70\x74\151\157\x6e");
echo "\74\151\x6e\x70\165\x74\x20\164\x79\160\x65\75\x22\150\151\x64\144\145\156\x22\40\x6e\141\155\x65\75\x22\x6f\x70\x74\151\x6f\156\x22\x20\x76\141\x6c\165\145\x3d\x22\x6d\x6f\x5f\163\x61\x6d\154\x5f\x72\145\147\x69\163\x74\145\162\137\x77\151\x74\x68\x5f\x70\150\x6f\x6e\145\137\x6f\x70\x74\x69\x6f\x6e\42\x20\x2f\x3e\15\xa\11\11\x9\11\x9\40\111\146\40\171\x6f\x75\40\x63\141\x6e\156\157\164\40\x73\145\x65\x20\x74\x68\x65\x20\145\155\141\x69\x6c\40\x66\x72\x6f\x6d\40\x6d\x69\x6e\x69\x4f\162\x61\156\147\x65\40\x69\x6e\x20\x79\x6f\x75\x72\x20\x6d\141\151\154\163\x2c\x20\x70\x6c\145\141\163\x65\x20\x63\150\x65\x63\x6b\x20\171\157\165\x72\x20\x3c\x62\x3e\x53\120\101\115\x3c\57\x62\x3e\x20\x66\157\154\144\x65\x72\x2e\40\x49\146\x20\x79\x6f\x75\40\x64\x6f\156\47\164\40\163\x65\145\x20\141\x6e\40\x65\x6d\141\151\154\x20\x65\166\145\156\40\x69\156\x20\x74\x68\x65\x20\x53\x50\101\x4d\x20\146\157\154\144\145\162\x2c\40\166\145\x72\151\146\171\x20\x79\x6f\x75\162\40\151\x64\x65\x6e\164\151\x74\171\40\x77\x69\164\x68\x20\x6f\165\162\40\141\154\x74\145\162\156\141\x74\145\x20\x6d\145\164\150\x6f\x64\x2e\xd\xa\x9\11\11\11\11\40\x3c\x62\x72\76\x3c\x62\162\76\xd\xa\11\x9\11\11\x9\11\74\142\76\105\x6e\164\x65\x72\40\171\x6f\165\162\x20\x76\x61\x6c\x69\x64\40\160\x68\157\x6e\x65\40\156\165\x6d\x62\x65\162\x20\x68\x65\x72\x65\40\x61\x6e\144\x20\166\145\162\151\146\171\x20\171\157\x75\x72\x20\151\x64\145\156\x74\151\x74\x79\x20\165\163\151\x6e\147\x20\x6f\156\x65\40\164\151\155\x65\x20\160\x61\x73\163\143\x6f\144\145\x20\x73\145\156\164\40\x74\x6f\40\x79\x6f\x75\x72\x20\160\150\x6f\156\145\x2e\x3c\x2f\142\x3e\x3c\142\x72\76\74\142\x72\76\xd\xa\11\x9\11\11\x9\11\74\151\x6e\x70\165\x74\40\x63\x6c\x61\163\x73\75\42\x6d\157\x5f\x73\x61\x6d\154\x5f\x74\x61\142\154\145\x5f\x74\145\x78\x74\142\x6f\x78\x22\x20\164\x79\160\145\75\42\164\x65\x6c\42\40\x69\144\75\42\x70\150\157\x6e\145\137\x63\x6f\156\164\x61\143\x74\x22\40\x73\x74\x79\x6c\x65\75\42\167\x69\144\x74\x68\72\x34\x30\x25\73\x22\15\xa\11\11\x9\x9\11\x9\11\x9\160\141\164\164\x65\x72\156\x3d\x22\x5b\134\53\135\134\x64\x7b\61\x31\x2c\x31\x34\175\174\x5b\x5c\x2b\135\x5c\144\173\x31\x2c\64\x7d\x28\x5b\134\x73\x5d\173\60\54\61\x7d\x29\x28\134\x64\x7b\x30\x7d\x7c\x5c\x64\173\x39\54\61\60\x7d\x29\x22\x20\x63\x6c\x61\163\x73\75\x22\155\157\x5f\x73\x61\x6d\154\137\x74\x61\142\154\x65\x5f\164\x65\x78\x74\x62\157\x78\x22\40\x6e\141\155\145\75\42\x70\150\157\x6e\x65\x22\15\12\x9\x9\x9\11\11\11\11\x9\x74\151\x74\154\x65\75\x22\x50\x68\x6f\156\x65\40\167\151\x74\x68\40\143\157\165\156\x74\x72\x79\40\x63\x6f\x64\145\x20\145\x67\x2e\x20\x2b\61\x78\x78\x78\x78\x78\x78\x78\170\x78\170\42\40\162\x65\x71\x75\x69\x72\145\x64\xd\12\x9\11\11\11\x9\x9\x9\x9\x70\154\141\143\145\x68\x6f\154\144\x65\162\75\x22\x50\x68\x6f\156\145\x20\x77\x69\x74\x68\40\x63\157\x75\156\164\x72\x79\x20\143\x6f\x64\145\40\145\147\x2e\40\53\x31\170\x78\170\x78\x78\170\170\x78\170\x78\x22\15\xa\11\x9\11\11\x9\11\11\11\166\141\154\165\x65\75\42" . get_option("\155\157\x5f\163\x61\x6d\x6c\x5f\x61\144\x6d\x69\156\137\160\x68\x6f\x6e\x65") . "\x22\x20\x2f\76\15\xa\11\x9\x9\11\11\11\x3c\x62\162\40\x2f\x3e\74\142\x72\x20\x2f\76\74\151\x6e\x70\x75\x74\x20\164\171\160\145\x3d\x22\163\165\142\x6d\x69\x74\42\x20\x76\x61\154\x75\x65\x3d\42\123\x65\x6e\144\x20\117\x54\x50\x22\x20\x63\154\x61\x73\x73\75\42\142\165\164\164\x6f\x6e\x20\142\x75\164\164\157\x6e\55\160\x72\151\x6d\141\162\171\40\142\165\x74\164\x6f\x6e\55\154\x61\x72\x67\x65\x22\40\x2f\76\xd\xa\xd\xa\x9\11\11\x9\74\57\146\x6f\x72\155\x3e";
IM1:
echo "\x3c\x2f\144\151\x76\76";
}
function displaySearchResultIDPs($lH)
{
$an = get_option("\x73\141\155\154\137\x69\x64\x65\156\164\151\x74\171\x5f\x70\162\x6f\x76\151\x64\145\162\x73");
$an = maybe_unserialize($an);
$hb = array();
if (!(!empty($an) and is_array($an))) {
goto T_W;
}
foreach ($an as $pi) {
$yD = $pi["\151\x64\160\137\x6e\141\x6d\145"];
$RJ = $pi["\x69\x64\x70\x5f\145\x6e\164\x69\x74\x79\137\151\144"];
if (!(stripos($yD, $lH) !== false || stripos($RJ, $lH) !== false)) {
goto aHq;
}
$hb[$yD] = $pi;
aHq:
gc_:
}
OzL:
T_W:
update_option("\163\x61\155\154\137\163\145\x61\x72\143\150\x5f\x69\x64\160", $hb);
if (!empty($hb)) {
goto CsB;
}
echo "\x3c\x64\x69\x76\x20\x73\x74\171\154\145\x3d\42\144\151\x73\160\x6c\x61\x79\72\x20\x62\154\157\143\153\x3b\143\157\x6c\157\x72\72\40\43\x65\x39\62\142\x31\64\73\142\141\x63\x6b\x67\162\x6f\165\156\144\x2d\x63\157\x6c\157\162\72\40\43\x66\x63\146\x38\145\63\73\x70\141\x64\144\151\156\x67\x3a\40\61\60\160\x78\x3b\x62\157\162\144\145\x72\72\40\x73\157\154\x69\144\40\x31\x70\170\40\43\x66\141\x65\142\143\143\x3b\x77\151\x64\164\150\x3a\x39\x36\x25\x3b\42\x3e\15\xa\x9\11\x3c\x73\160\141\156\76\x3c\x62\76\116\157\x20\115\141\164\143\150\x69\x6e\147\40\111\104\120\40\146\x6f\165\x6e\x64\56\74\57\142\x3e\x3c\x2f\163\160\x61\156\x3e\xd\12\x9\11\74\57\x64\151\x76\76";
goto Q2u;
CsB:
displayIDPList($hb);
Q2u:
}
function displayIDPList($an)
{
foreach ($an as $yD => $LD) {
echo "\74\x74\162\76\11\xd\12\11\x9\x9\x3c\x74\x64\x20\163\164\x79\x6c\x65\x3d\42\x70\141\x64\x64\x69\156\147\x3a\40\65\160\170\40\65\160\170\x3b\x22\40\x77\x69\x64\x74\x68\75\42\61\x35\45\x22\76\x3c\163\x70\x61\156\x20\163\164\171\154\145\75\x22\160\141\144\144\x69\x6e\147\72\62\x70\170\42\x3e" . $yD . "\74\57\x73\160\x61\156\76";
if (!get_option("\x73\x61\155\154\x5f\144\145\x66\x61\165\154\164\137\151\x64\x70")) {
goto GPD;
}
if (!(get_option("\163\x61\155\x6c\137\144\x65\146\141\x75\x6c\x74\137\x69\144\x70") === $yD)) {
goto EFY;
}
echo "\x3c\x62\162\x2f\x3e\x3c\163\160\141\156\x20\x73\x74\x79\x6c\x65\x3d\42\x62\x61\x63\153\147\162\157\x75\x6e\144\x2d\143\x6f\x6c\157\162\x3a\43\62\x31\67\x35\71\142\73\40\x63\157\x6c\x6f\x72\x3a\43\x46\106\x46\106\106\106\x3b\x20\x62\x6f\x72\144\x65\x72\55\x72\x61\x64\151\x75\163\72\62\x70\x78\73\x20\160\141\144\x64\x69\x6e\x67\x3a\62\x70\170\x3b\x20\146\157\x6e\164\55\163\x69\172\x65\72\71\60\45\73\42\76\x44\x65\146\141\165\154\164\40\x49\104\x50\x3c\x73\x70\141\x6e\76";
EFY:
GPD:
echo "\74\x2f\x74\144\x3e\15\xa\11\x9\x9\x3c\164\144\x20\x73\x74\171\x6c\145\75\x22\x70\x61\x64\144\x69\x6e\147\x3a\x20\x35\160\170\40\x30\x70\x78\73\x22\40\x77\151\144\x74\150\75\x22\x36\x30\x25\42\76" . $LD["\x69\144\x70\x5f\145\156\x74\x69\x74\171\x5f\x69\x64"] . "\x3c\x2f\164\144\76\xd\xa\15\xa\11\11\11\74\x74\144\x20\163\164\171\154\x65\75\x22\160\x61\x64\144\x69\156\x67\x3a\40\x35\160\170\x20\x30\160\170\73\x20\164\145\170\x74\x2d\141\154\x69\x67\156\72\143\x65\x6e\164\145\162\x3b\x22\x20\x77\151\144\164\x68\75\x22\61\x30\x25\x22\x3e\x3c\x6c\x61\x62\145\x6c\x20\x63\154\x61\163\163\75\x22\x73\x77\151\x74\x63\x68\42\76\74\151\156\160\x75\164\40\x74\x79\x70\x65\75\x22\143\x68\145\x63\x6b\142\157\x78\x22\x20\x6e\x61\155\145\75\x22\x65\156\x61\142\154\145\137\x69\144\160\x5b\x5d\42\40\x76\x61\154\165\145\75\x22" . $yD . "\x22";
if (array_key_exists("\145\x6e\141\142\x6c\x65\x5f\151\144\160", $LD)) {
goto OQ9;
}
$LD["\x65\x6e\141\x62\x6c\x65\x5f\151\x64\x70"] = false;
OQ9:
if (!$LD["\145\x6e\x61\142\154\x65\x5f\x69\x64\x70"]) {
goto cfw;
}
echo "\40\x63\x68\145\143\153\145\x64\x20";
cfw:
echo "\x3e\x3c\163\160\141\156\40\x63\154\x61\163\x73\x3d\42\163\154\151\x64\145\162\40\x72\157\x75\x6e\x64\x22\x3e\74\x2f\x73\160\x61\156\76\15\xa\11\x9\11\74\57\154\x61\142\x65\154\x3e\x3c\x2f\164\144\x3e\xd\xa\15\xa\11\x9\x9\x3c\164\x64\x20\167\151\x64\x74\x68\75\42\61\65\45\42\x3e\x3c\x73\160\x61\x6e\x20\163\164\171\x6c\145\75\42\146\154\157\x61\164\x3a\x72\x69\x67\150\x74\42\x3e\xd\12\x9\x9\x9\74\144\151\166\40\143\x6c\141\163\x73\75\x22\x62\157\157\x74\163\x74\x72\x61\160\55\x74\157\147\147\154\145\42\76\15\12\11\11\x9\x3c\144\x69\x76\40\x63\x6c\141\x73\x73\x3d\x22\144\x72\x6f\160\x64\x6f\167\x6e\x22\76\xd\12\x9\11\11\x3c\142\x75\164\164\x6f\156\40\143\154\141\163\163\75\x22\x62\164\156\x20\142\x74\156\55\x70\162\151\x6d\x61\x72\x79\x20\144\162\x6f\x70\x64\x6f\167\x6e\x2d\164\x6f\x67\x67\154\145\42\40";
if (mo_saml_is_customer_license_key_verified()) {
goto Lw7;
}
echo "\x20\x64\151\x73\x61\142\x6c\145\144\x20";
Lw7:
echo "\164\x79\160\x65\x3d\42\x62\165\x74\x74\x6f\x6e\x22\x20\x64\x61\164\141\55\164\x6f\147\x67\154\x65\75\42\x64\x72\x6f\x70\x64\157\x77\x6e\x22\76\123\145\154\x65\143\164\x20\x61\x6e\x20\x41\143\164\x69\x6f\156\15\12\11\x9\11\74\163\x70\x61\x6e\x20\x63\154\x61\163\163\75\x22\143\141\x72\x65\164\x22\76\74\x2f\x73\x70\x61\156\x3e\74\57\x62\x75\164\x74\157\x6e\x3e\15\12\x9\11\x9\x3c\x75\154\x20\143\x6c\x61\x73\x73\75\42\144\x72\x6f\x70\x64\157\x77\156\55\155\145\156\x75\42\76\15\xa\11\x9\x9\x9\74\x6c\x69\x3e\74\x61\x20\150\162\x65\x66\x3d\42" . admin_url() . "\141\x64\x6d\x69\x6e\56\x70\x68\x70\77\x70\141\147\x65\x3d\x6d\x6f\x5f\163\141\155\x6c\x5f\x73\x65\164\x74\x69\x6e\147\163\x26\164\141\x62\x3d\x73\141\166\145\x26\x61\143\164\x69\157\x6e\75\x65\144\151\x74\x26\x69\144\160\75" . $yD . "\42\x3e\x45\144\x69\164\40\103\x6f\x6e\146\151\x67\165\162\141\164\151\157\156\74\x2f\x61\76\x3c\x2f\154\151\76\15\12\11\11\x9\11\x3c\x6c\151\76\x3c\141\x20\x68\162\145\146\75\x22\x23\42\40\x6f\156\x63\154\151\x63\x6b\x3d\42\x73\150\157\x77\124\145\x73\164\x57\x69\x6e\x64\x6f\x77\x28\x27" . $yD . "\x27\51\x3b\42\76\124\x65\x73\x74\x20\x43\x6f\156\x66\151\x67\165\x72\141\x74\151\x6f\x6e\x3c\x2f\141\76\x3c\x2f\x6c\x69\x3e\xd\xa\11\x9\x9\11\x3c\x6c\151\76\74\x61\x20\150\162\x65\x66\x3d\42" . admin_url() . "\141\144\x6d\151\x6e\x2e\160\150\160\77\x70\141\x67\x65\75\x6d\157\x5f\163\141\155\x6c\137\163\145\164\164\x69\x6e\x67\163\x26\x74\141\142\75\163\141\166\145\x26\x61\143\164\151\x6f\156\x3d\143\165\x73\164\157\x6d\x26\x69\x64\160\75" . $yD . "\x22\76\103\x75\163\x74\157\155\x20\127\x69\x64\x67\145\x74\x20\102\165\164\x74\157\156\x3c\57\x61\76\74\57\x6c\x69\76\xd\xa\11\11\11\11\x3c\x6c\151\x3e\x3c\x61\x20\150\x72\x65\146\75\x22" . admin_url() . "\141\x64\155\151\156\56\160\x68\x70\77\x70\x61\147\145\x3d\155\x6f\137\163\141\155\x6c\x5f\163\145\164\164\x69\156\147\163\46\164\x61\x62\75\163\x61\x76\145\46\141\143\x74\x69\x6f\156\75\144\145\x6c\x65\x74\145\46\151\144\160\x3d" . $yD . "\x22\76\104\x65\x6c\x65\x74\x65\x20\x49\104\x50\74\x2f\x61\76\74\57\154\151\76\15\12\15\12\x9\11\11\x3c\57\165\x6c\x3e\15\12\11\x9\x20\x20\74\x2f\144\x69\166\76\x20\xd\12\11\x9\40\40\74\x2f\x64\151\x76\76\x3c\x2f\163\x70\x61\x6e\76\xd\xa\x9\11\x9\74\x2f\164\x64\x3e\15\xa\11\11\11\x3c\57\x74\x72\76\15\xa\x9\11\x9\x3c\57\146\x6f\162\155\76";
echo "\x3c\146\157\x72\x6d\40\155\x65\164\x68\x6f\x64\x3d\42\160\x6f\x73\x74\42\x20\141\x63\x74\151\x6f\x6e\75\x22\42\40\x6e\x61\155\145\75\x22\x6d\x6f\x5f\145\170\x70\157\162\164\x22\x20\151\x64\75\x22\x6d\157\x5f\145\x78\160\x6f\x72\x74\x22\x3e";
wp_nonce_field("\x6d\157\137\x73\141\x6d\154\x5f\x65\x78\x70\x6f\162\164");
echo "\x3c\x69\x6e\x70\x75\164\40\164\x79\x70\145\x3d\42\x68\x69\144\x64\x65\x6e\42\x20\x6e\141\155\x65\75\x22\157\x70\x74\151\x6f\x6e\42\x20\166\x61\154\x75\x65\x3d\42\x6d\157\137\x73\141\x6d\x6c\137\145\170\160\157\x72\x74\42\x20\57\x3e\74\x2f\146\157\x72\x6d\x3e";
tz0:
}
sRf:
}
function update_customer_idp_count($M6)
{
$sv = get_option("\x6d\157\x5f\163\141\155\154\x5f\143\x75\x73\x74\157\155\x65\x72\x5f\x74\x6f\153\145\x6e");
update_option("\156\157\137\157\146\x5f\x73\x70", AESEncryption::encrypt_data($M6["\156\x6f\117\146\123\120"], $sv));
}
function mo_saml_display_attrs_list($LD)
{
$Wk = get_option("\155\x6f\x5f\x73\x61\x6d\154\137\x74\145\x73\x74\x5f\x63\157\x6e\146\x69\147\137\141\164\x74\162\x73");
$Wk = maybe_unserialize($Wk);
if (!(!empty($Wk) && !empty($LD) && isset($Wk[$LD]))) {
goto BR6;
}
$Wk = $Wk[$LD];
echo "\74\144\151\166\x20\x63\154\x61\163\x73\x3d\x22\x6d\x6f\x5f\x73\141\155\154\137\163\x75\160\x70\x6f\x72\x74\x5f\154\141\x79\x6f\x75\x74\x22\x20\x73\164\171\154\145\x3d\x22\160\141\x64\144\151\156\147\x2d\142\157\x74\x74\x6f\155\x3a\x32\60\x70\170\73\x20\160\141\x64\144\x69\156\x67\x2d\x72\x69\x67\x68\164\x3a\65\x70\170\x3b\42\76\xd\12\x9\11\x3c\x68\63\x3e\x41\164\164\x72\151\x62\165\164\x65\x73\x20\x72\x65\143\145\x69\x76\x65\144\40\x66\162\x6f\155\x20\x74\150\145\40\x49\x64\145\x6e\164\151\x74\171\x20\120\162\x6f\x76\x69\144\145\x72\x3a\x3c\x2f\x68\63\76\xd\xa\x9\x9\11\11\x3c\x64\x69\x76\x3e\xd\12\11\11\x9\11\11\x3c\164\x61\x62\x6c\x65\40\163\164\171\x6c\x65\x3d\42\142\157\x72\x64\x65\162\55\x63\157\154\x6c\x61\x70\x73\x65\x3a\x63\157\x6c\x6c\x61\x70\163\x65\73\142\x6f\x72\144\x65\x72\x2d\163\160\x61\x63\x69\x6e\147\72\x30\x3b\164\141\x62\x6c\x65\55\154\141\x79\x6f\165\x74\x3a\x20\146\x69\170\145\144\73\40\167\151\144\x74\x68\x3a\40\71\x35\x25\73\x62\x61\143\153\147\x72\x6f\x75\156\144\55\x63\157\154\x6f\x72\x3a\x23\x66\146\x66\x66\x66\x66\x3b\x22\76\xd\12\11\x9\11\11\x9\x3c\x74\x72\40\x73\x74\171\154\145\x3d\42\x74\x65\x78\x74\x2d\x61\154\x69\x67\156\72\x63\145\156\x74\145\x72\x3b\42\x3e\74\164\x64\x20\163\x74\171\154\145\x3d\42\146\157\156\164\55\x77\x65\151\147\150\x74\x3a\x62\x6f\154\144\73\142\157\162\x64\145\162\72\61\160\170\40\163\157\154\151\144\40\43\x39\64\71\x30\x39\60\73\x70\x61\x64\144\x69\156\x67\72\62\x25\73\x20\x77\151\x64\164\x68\72\66\65\45\73\x22\76\101\124\x54\122\111\x42\x55\124\x45\40\x4e\x41\115\105\74\57\x74\x64\x3e\74\164\x64\40\x73\164\x79\x6c\x65\x3d\42\x66\157\156\164\x2d\167\x65\x69\x67\x68\164\x3a\142\157\x6c\144\x3b\x70\x61\x64\x64\x69\156\x67\x3a\62\45\73\142\x6f\x72\144\145\162\72\x31\x70\x78\x20\x73\157\154\x69\144\x20\x23\71\64\x39\60\x39\60\73\40\167\x6f\162\x64\x2d\167\162\x61\x70\72\142\x72\145\141\153\55\167\x6f\162\x64\73\40\167\151\x64\164\150\x3a\63\65\x25\73\42\76\101\124\124\122\111\x42\125\x54\x45\40\x56\101\x4c\125\x45\74\57\x74\144\x3e\74\57\x74\x72\x3e";
foreach ($Wk as $tA => $pI) {
echo "\74\164\162\40\163\164\x79\x6c\145\x3d\x22\164\x65\170\x74\x2d\x61\154\x69\x67\x6e\72\x63\145\x6e\164\x65\x72\x3b\42\76\74\164\x64\x20\x73\164\171\x6c\x65\75\x22\146\157\x6e\x74\55\167\145\x69\x67\150\164\x3a\142\x6f\x6c\144\x3b\142\x6f\162\144\x65\x72\72\x31\x70\170\40\x73\x6f\x6c\151\144\x20\x23\71\64\71\x30\x39\x30\x3b\x70\x61\144\144\151\x6e\147\72\62\x25\x3b\40\x77\157\x72\x64\x2d\x77\x72\x61\x70\72\x62\162\x65\x61\x6b\55\167\157\x72\x64\73\42\x3e" . $tA . "\74\x2f\x74\x64\76";
echo "\x3c\164\x64\x20\163\x74\171\154\145\75\42\160\141\x64\144\151\x6e\x67\72\x32\45\x3b\x62\x6f\162\x64\x65\x72\72\61\x70\170\40\x73\157\154\151\x64\40\x23\x39\64\71\x30\x39\x30\x3b\x20\x77\x6f\162\144\55\167\162\x61\x70\72\x62\x72\x65\x61\x6b\x2d\x77\x6f\162\x64\x3b\42\x3e" . implode("\74\x68\x72\x2f\x3e", $pI) . "\x3c\57\164\144\x3e\15\xa\x9\11\11\x9\x9\11\11\x3c\57\164\162\76";
BfX:
}
f_b:
echo "\15\xa\11\x9\11\11\x9\x3c\x2f\164\141\142\x6c\x65\x3e\15\xa\11\11\11\11\x9\x3c\x62\162\57\76\xd\12\x9\x9\11\x9\11\74\x69\156\160\165\x74\40\164\171\160\x65\75\42\142\x75\164\x74\157\156\x22\x20\143\x6c\x61\x73\163\x3d\x22\142\x75\164\164\x6f\x6e\x2d\160\x72\151\155\x61\x72\171\42";
if (mo_saml_is_customer_license_key_verified()) {
goto SoD;
}
echo "\x20\144\x69\163\141\x62\x6c\x65\x64\x20";
SoD:
echo "\166\x61\x6c\x75\x65\75\x22\103\154\x65\x61\162\x20\x41\x74\x74\x72\x69\142\165\164\x65\x73\x20\114\151\x73\x74\x22\x20\x6f\156\x63\154\151\x63\x6b\x3d\x22\x64\157\143\x75\x6d\x65\156\x74\56\x66\x6f\x72\x6d\x73\x5b\47\x61\164\x74\x72\x73\137\x6c\x69\x73\164\137\146\x6f\x72\155\47\135\x2e\x73\x75\142\x6d\x69\164\x28\51\73\x22\76\15\12\x9\11\x9\11\x9\74\160\x3e\x3c\142\76\116\117\124\x45\x20\x3a\74\x2f\x62\x3e\40\120\x6c\145\x61\x73\x65\x20\143\x6c\x65\x61\x72\40\x74\150\151\x73\x20\x6c\151\x73\164\x20\141\146\164\145\162\x20\143\x6f\x6e\x66\x69\x67\x75\x72\x69\156\x67\x20\x74\x68\x65\x20\x70\154\x75\x67\x69\x6e\x20\164\x6f\x20\150\151\x64\145\40\x79\x6f\x75\x72\x20\x63\157\156\146\x69\144\145\156\x74\x69\x61\154\40\x61\164\164\x72\x69\142\x75\164\x65\163\x2e\x3c\x62\162\57\76\xd\12\x9\x9\11\x9\11\x43\x6c\151\x63\x6b\40\x6f\x6e\x20\74\x62\x3e\x54\145\163\x74\x20\x63\x6f\156\146\151\x67\x75\x72\x61\x74\x69\x6f\156\x3c\x2f\x62\76\x20\x69\x6e\40\74\142\76\x53\x65\162\166\x69\x63\x65\40\120\162\157\x76\x69\x64\x65\x72\x20\x53\x65\164\165\160\x3c\57\142\x3e\x20\164\141\x62\x20\x74\157\x20\x70\x6f\x70\x75\x6c\x61\164\x65\x20\x74\x68\x65\x20\x6c\x69\x73\x74\x20\x61\x67\141\151\x6e\56\74\x2f\x70\76\15\12\11\x9\x9\x9\x9\x3c\146\157\162\x6d\40\155\145\164\x68\x6f\144\x3d\x22\160\157\163\x74\42\x20\x61\143\164\151\x6f\156\x3d\42\x22\x20\x69\x64\75\x22\x61\164\164\x72\163\137\154\151\x73\x74\137\146\157\162\x6d\42\76\15\12\x9\11\11\11\x9\74\x69\x6e\160\x75\164\40\x74\171\x70\x65\x3d\42\x68\x69\144\x64\145\156\x22\x20\x6e\x61\155\145\75\x22\x69\144\160\x5f\156\141\x6d\145\42\40\x76\x61\x6c\165\145\75\x22" . $LD . "\x22\76";
wp_nonce_field("\x63\154\x65\141\x72\x5f\x61\164\164\162\x73\137\x6c\x69\x73\164");
echo "\74\x69\156\160\x75\164\x20\x74\x79\x70\x65\75\42\150\x69\144\x64\x65\156\x22\x20\x6e\141\x6d\x65\x3d\x22\157\x70\164\151\x6f\156\x22\40\166\141\154\165\x65\75\42\143\x6c\145\x61\162\137\x61\164\x74\162\x73\137\154\x69\163\164\42\76\xd\12\x9\x9\x9\11\x9\x3c\57\x66\157\162\x6d\76\15\xa\11\11\11\x9\x3c\x2f\144\151\166\76\xd\12\11\11\x3c\57\144\x69\x76\76";
BR6:
}
function mo_saml_get_test_url($yD, $Lv = false)
{
$vP = home_url() . "\x2f\x3f\x6f\x70\x74\x69\157\x6e\75\164\x65\163\164\103\157\x6e\x66\151\147\x26\151\x64\x70\x3d" . $yD;
$dv = $Lv ? $vP . "\x26\x6e\145\167\x63\145\x72\164\75\164\162\165\145" : $vP;
return $dv;
}
function mo_saml_is_customer_registered_saml()
{
$jA = get_option("\x6d\x6f\137\163\141\x6d\154\x5f\141\x64\155\151\156\x5f\145\x6d\141\x69\x6c");
$UU = get_option("\x6d\157\137\x73\141\x6d\154\137\x61\144\x6d\x69\x6e\x5f\143\165\163\164\x6f\x6d\145\162\x5f\153\145\171");
if (!$jA || !$UU || !is_numeric(trim($UU))) {
goto bk5;
}
return 1;
goto nba;
bk5:
return 0;
nba:
}
function mo_saml_is_customer_license_key_verified()
{
$g1 = get_option("\163\155\x6c\x5f\154\x6b");
$jA = get_option("\155\x6f\x5f\163\141\x6d\154\x5f\x61\x64\x6d\x69\156\137\145\x6d\141\x69\x6c");
$UU = get_option("\155\157\137\x73\141\x6d\x6c\x5f\x61\144\x6d\x69\x6e\x5f\x63\165\163\164\157\155\x65\162\137\x6b\145\x79");
if (!$g1 || !$jA || !$UU || !is_numeric(trim($UU))) {
goto SCH;
}
return 1;
goto owZ;
SCH:
return 0;
owZ:
}
function mo_saml_is_sp_configured()
{
$rw = get_option("\163\x61\155\154\x5f\x69\144\145\x6e\164\151\x74\x79\137\x70\x72\157\166\x69\144\145\162\163");
$rw = maybe_unserialize($rw);
if (!empty($rw)) {
goto qdO;
}
return 0;
goto jDf;
qdO:
return 1;
jDf:
}
function mo_saml_download_logs($BX, $RQ, $yt = '')
{
echo "\74\x64\x69\166\40\x73\x74\171\154\x65\x3d\42\x66\x6f\156\164\x2d\x66\141\155\x69\154\x79\72\x43\x61\x6c\x69\x62\162\x69\73\160\141\x64\x64\151\156\x67\72\60\x20\x33\x25\73\42\x3e";
echo "\74\150\162\x20\x63\154\141\x73\163\x3d\x22\150\x65\x61\144\x65\162\x22\57\76";
echo "\40\x20\x20\40\40\x20\40\x20\x20\40\x3c\160\40\x73\164\171\x6c\x65\x3d\x22\x66\x6f\156\x74\55\x73\151\172\145\72\x20\x6c\x61\x72\147\x65\x72\40\x20\40\40\x20\x20\x20\42\76\120\154\x65\x61\x73\x65\x20\164\162\171\40\164\x68\145\40\x73\x6f\x6c\165\164\x69\157\x6e\40\147\x69\166\145\x6e\x20\x61\x62\x6f\x76\145\56\111\146\x20\x74\150\x65\x20\x70\x72\x6f\x62\154\x65\x6d\x20\160\145\162\x73\151\x73\164\163\54\x64\x6f\x77\156\154\x6f\x61\144\x20\164\150\x65\40\x70\x6c\165\147\151\x6e\x20\143\157\156\146\151\x67\x75\x72\141\x74\x69\157\x6e\x20\x62\171\40\x63\154\x69\x63\x6b\151\x6e\x67\40\157\x6e\x20\105\x78\160\157\x72\164\x20\x50\x6c\165\x67\x69\x6e\40\103\x6f\x6e\146\151\x67\165\162\x61\x74\x69\157\x6e\x20\x61\x6e\x64\40\x6d\141\x69\154\40\x75\x73\x20\x61\164\40\74\141\40\150\x72\145\146\x3d\42\155\x61\x69\x6c\x74\157\x3a\x69\x6e\x66\157\100\155\x69\x6e\151\157\162\141\156\147\x65\56\143\157\155\x22\x3e\x69\156\x66\157\x40\x6d\x69\x6e\151\157\x72\141\x6e\x67\145\56\143\x6f\x6d\74\x2f\x61\x3e\56\74\x2f\160\x3e\15\12\11\11\11\11\11\74\160\x3e\127\145\40\167\x69\x6c\154\x20\x67\x65\164\40\x62\x61\143\153\40\x74\157\40\171\x6f\x75\40\x73\x6f\157\x6e\41\x3c\x70\76\15\12\11\11\x9\x9\11\x3c\57\144\x69\x76\x3e\15\12\11\11\11\11\x9\x3c\144\151\x76\x20\x73\164\x79\x6c\145\75\x22\155\141\x72\147\151\156\x3a\x33\45\73\144\151\x73\x70\x6c\x61\x79\72\142\x6c\157\x63\x6b\73\x74\145\x78\x74\55\x61\154\x69\x67\x6e\x3a\143\x65\x6e\x74\x65\x72\x3b\42\76\xd\12\11\x9\x9\x9\x9\74\x64\x69\166\x20\163\x74\171\x6c\x65\x3d\42\155\x61\x72\x67\x69\156\x3a\x33\x25\73\144\x69\x73\160\154\141\x79\72\x62\x6c\157\143\x6b\x3b\164\145\x78\x74\55\141\154\151\x67\156\72\143\145\x6e\x74\145\162\x3b\x22\x3e\xd\12\x9\x9\11\11\11\x3c\146\x6f\162\155\40\155\x65\x74\x68\157\144\75\42\x67\145\164\42\40\x61\143\x74\151\x6f\156\75\x22\x22\x20\x6e\141\155\145\x3d\42\x6d\x6f\137\145\x78\160\x6f\x72\164\x22\x20\151\144\75\x22\155\157\x5f\145\x78\160\157\x72\164\x22\76";
wp_nonce_field("\145\x78\160\x6f\x72\x74\137\x63\x6f\156\146\x69\x67\x75\162\x61\x74\x69\157\156");
echo "\x3c\x69\156\160\165\x74\x20\x74\x79\x70\x65\x3d\x22\150\151\144\144\x65\x6e\x22\x20\x6e\x61\x6d\145\75\42\x6f\x70\x74\151\x6f\156\x22\x20\x76\x61\154\x75\145\75\x22\x65\170\x70\157\162\164\x5f\x63\157\x6e\x66\151\147\165\162\x61\x74\151\157\156\42\40\x2f\x3e\15\12\11\11\11\x9\74\x69\156\160\165\164\x20\164\171\x70\x65\x3d\42\163\x75\142\x6d\151\x74\x22\40\x63\154\x61\x73\x73\x3d\x22\x6d\151\156\151\157\x72\141\x6e\x67\145\x2d\x62\165\164\x74\157\x6e\x22\40\166\x61\x6c\x75\x65\x3d\42\x45\x78\160\157\x72\164\40\120\154\x75\147\x69\x6e\x20\103\157\156\146\151\147\165\x72\x61\164\151\x6f\x6e\42\76\xd\12\x9\11\11\x9\x3c\151\156\x70\x75\x74\40\x63\154\x61\x73\163\75\x22\155\x69\x6e\151\157\162\x61\156\x67\x65\55\x62\x75\164\164\x6f\x6e\42\40\x74\171\x70\145\75\x22\142\165\x74\164\157\x6e\42\40\x76\x61\x6c\x75\145\75\42\103\x6c\x6f\163\145\x22\x20\x6f\x6e\x63\x6c\151\x63\153\x3d\x22\163\145\154\146\56\143\x6c\x6f\163\x65\x28\51\x22\76\74\57\146\x6f\162\155\76\xd\12\11\11\11\40\40\40";
echo "\x26\x6e\142\163\x70\x3b\x26\156\142\163\160\x3b";
$an = get_option("\163\141\155\154\x5f\151\x64\x65\x6e\164\151\164\x79\x5f\160\x72\x6f\166\151\x64\x65\x72\x73");
$an = maybe_unserialize($an);
$Pj = $_POST["\x53\101\x4d\x4c\122\145\x73\160\x6f\x6e\x73\x65"];
$rA = array("\x45\162\x72\x6f\x72" => $BX, "\103\141\x75\x73\145" => $RQ);
$JF = array("\x73\141\x6d\154\x5f\x72\x65\x73\160\x6f\156\163\x65" => $Pj, "\x74\145\163\x74\x5f\163\x74\x61\164\x75\163" => $rA);
if (empty($yt)) {
goto dJK;
}
$an[$yt] = array_merge($an[$yt], $JF);
$an = array_filter($an, "\x66\x69\154\x74\x65\162\x5f\x65\x6d\160\x74\x79\x5f\166\x61\154\165\x65\x73");
update_option("\163\x61\x6d\x6c\x5f\151\144\x65\x6e\x74\151\164\171\x5f\x70\x72\x6f\166\x69\x64\145\x72\x73", $an);
dJK:
echo "\11\74\x73\x74\x79\x6c\x65\76\xd\12\11\56\155\x69\156\151\x6f\x72\141\156\147\145\55\x62\165\164\x74\x6f\x6e\40\173\15\xa\x9\160\x61\x64\144\151\x6e\147\72\61\45\x3b\xd\12\x9\x62\141\x63\x6b\x67\162\157\165\156\144\72\x20\43\x30\60\x39\61\x43\x44\x20\x6e\x6f\x6e\x65\x20\x72\145\160\x65\141\164\x20\163\143\162\157\154\x6c\x20\x30\45\40\60\x25\73\xd\12\11\x63\x75\x72\163\x6f\162\72\x20\x70\157\151\x6e\164\145\162\73\146\157\x6e\164\x2d\163\x69\172\145\x3a\x31\65\x70\170\73\xd\12\11\142\157\x72\x64\145\x72\x2d\167\151\144\x74\x68\72\x20\x31\x70\170\73\142\157\x72\144\145\162\55\163\x74\x79\154\x65\x3a\40\x73\x6f\x6c\151\144\x3b\xd\12\11\142\x6f\x72\144\x65\x72\x2d\162\x61\x64\x69\x75\163\72\40\x33\x70\x78\x3b\x77\150\151\164\145\x2d\163\x70\141\x63\x65\x3a\x20\x6e\157\x77\x72\x61\x70\73\xd\12\11\142\x6f\170\x2d\x73\151\x7a\x69\156\x67\x3a\40\142\x6f\162\144\145\162\55\x62\x6f\170\73\142\157\x72\144\x65\x72\x2d\x63\x6f\x6c\157\162\x3a\x20\43\x30\x30\67\x33\x41\x41\x3b\xd\xa\x9\142\x6f\170\55\163\150\x61\144\157\167\x3a\40\x30\x70\x78\x20\61\160\x78\40\60\160\x78\40\x72\x67\x62\x61\50\x31\x32\x30\x2c\40\62\x30\60\x2c\40\62\x33\60\54\x20\60\x2e\66\51\40\x69\156\x73\145\164\73\x63\x6f\154\157\x72\72\x20\x23\106\x46\x46\x3b\xd\xa\x9\155\x61\162\x67\151\156\x3a\x20\62\62\160\170\x3b\15\xa\11\x7d\15\12\x3c\x2f\x73\164\171\154\x65\76\xd\12\11";
exit;
}
function check_plugin_state()
{
echo "\x3c\164\x72\76";
if (!mo_saml_is_customer_registered_saml()) {
goto pab;
}
if (mo_saml_is_customer_license_key_verified()) {
goto DNx;
}
echo "\74\164\144\40\x63\157\154\x73\x70\x61\x6e\x3d\x22\x32\x22\76\74\144\x69\166\x20\163\164\x79\154\145\75\x22\x64\x69\x73\160\x6c\x61\x79\x3a\x62\154\157\x63\153\x3b\x6d\x61\x72\147\151\x6e\55\x74\x6f\160\72\x31\x30\x70\170\x3b\143\x6f\154\157\x72\x3a\162\x65\144\73\x62\141\x63\153\147\162\x6f\165\156\144\55\x63\x6f\x6c\x6f\x72\x3a\x72\x67\142\x61\x28\62\x35\61\54\x20\x32\x33\62\54\x20\x30\x2c\x20\x30\x2e\x31\65\51\x3b\x70\x61\144\144\151\x6e\x67\x3a\65\160\170\x3b\142\x6f\162\144\145\162\x3a\x73\x6f\x6c\x69\144\40\x31\x70\x78\40\x72\x67\x62\141\x28\62\x35\65\54\x20\x30\54\x20\71\54\x20\60\56\63\x36\51\x3b\x22\x3e";
echo "\120\x6c\x65\141\x73\145\40\x65\x6e\x74\145\x72\40\x79\x6f\x75\x72\74\x61\40\x68\162\145\146\x3d\42" . add_query_arg(array("\164\141\142" => "\154\157\147\151\156"), $_SERVER["\x52\105\x51\x55\105\123\x54\137\125\122\111"]) . "\42\76\40\154\x69\x63\145\x6e\x73\x65\x20\x6b\x65\x79\x3c\x2f\141\76\x20\164\157\40\141\x63\x74\x69\166\141\x74\145\x20\164\x68\145\x20\160\154\x75\147\x69\x6e\x2e";
echo "\x3c\57\x64\151\x76\76\x3c\57\164\144\76";
DNx:
goto nzj;
pab:
echo "\x3c\164\x64\x20\143\x6f\154\x73\x70\x61\x6e\75\x22\62\x22\76\74\x64\151\x76\40\163\164\171\154\x65\x3d\42\x64\151\163\160\x6c\x61\x79\x3a\x62\154\x6f\143\153\73\x6d\141\x72\x67\x69\156\x2d\x74\157\x70\x3a\x31\x30\160\x78\73\143\x6f\154\x6f\x72\x3a\x72\x65\144\73\x62\141\143\x6b\x67\162\x6f\165\156\x64\55\143\157\154\x6f\x72\x3a\x72\147\x62\x61\50\x32\x35\x31\54\40\62\63\x32\x2c\40\x30\x2c\40\60\56\61\65\x29\x3b\x70\141\144\144\x69\x6e\x67\72\65\160\170\x3b\142\157\x72\x64\145\162\x3a\163\x6f\x6c\x69\144\40\61\x70\x78\40\162\x67\142\141\x28\x32\x35\65\54\40\x30\x2c\x20\71\x2c\x20\60\x2e\x33\x36\x29\73\x22\76\x50\x6c\x65\141\163\x65\40\74\x61\40\150\x72\x65\146\75\x22" . add_query_arg(array("\x74\x61\142" => "\x6c\157\147\151\156"), $_SERVER["\x52\x45\x51\125\105\x53\x54\137\x55\122\x49"]) . "\42\x3e\122\x65\147\x69\163\164\145\x72\40\157\162\x20\x4c\157\x67\x69\x6e\x20\x77\151\164\x68\x20\x6d\151\x6e\151\117\162\x61\156\x67\145\x3c\x2f\x61\76\40\x74\x6f\40\143\157\x6e\146\151\147\165\162\145\40\164\x68\x65\40\x6d\x69\x6e\x69\x4f\x72\141\x6e\x67\x65\40\x53\x41\x4d\x4c\40\x50\x6c\165\x67\x69\x6e\56\74\x2f\x64\x69\x76\76\x3c\x2f\164\144\76";
nzj:
echo "\74\x2f\x74\x72\x3e";
}
function mo_saml_display_account_information()
{
echo "\74\144\x69\166\x20\x73\x74\171\154\x65\75\x22\x62\141\143\153\147\162\x6f\x75\x6e\144\55\143\x6f\x6c\157\x72\x3a\43\106\106\x46\x46\106\x46\x3b\x20\x62\x6f\162\x64\x65\162\x3a\x31\160\170\x20\163\157\154\x69\144\x20\x23\103\103\103\103\103\103\x3b\x20\x70\x61\144\144\151\x6e\147\x3a\60\x70\x78\x20\x30\160\170\x20\x30\x70\x78\x20\x31\60\x70\170\73\42\76\xd\12\11\x3c\x64\x69\x76\76\xd\xa\x9\x3c\150\63\x3e\131\x6f\x75\x72\40\x50\162\x6f\x66\x69\154\145";
if (!get_site_option("\x73\x6d\154\x5f\x6c\x6b")) {
goto FTM;
}
echo "\74\x73\x70\141\x6e\x20\x73\x74\x79\x6c\145\75\42\146\154\x6f\141\164\72\x72\x69\x67\150\x74\73\155\x61\x72\147\x69\x6e\x2d\162\151\147\150\164\72\61\65\x70\x78\73\42\x3e\74\x69\156\160\165\x74\40\164\171\x70\145\x3d\42\142\x75\164\164\x6f\x6e\42\40\156\141\x6d\x65\75\42\x6f\x6b\x5f\142\x74\x6e\x22\x20\x63\154\141\x73\x73\75\42\142\x75\x74\x74\157\156\40\142\x75\x74\x74\x6f\156\x2d\160\162\151\x6d\141\162\x79\40\142\x75\x74\164\x6f\x6e\55\x6c\141\162\147\145\x22\40\166\141\154\165\145\75\42\103\x6f\156\146\151\x72\155\40\114\x69\143\x65\x6e\x73\145\x22\40\157\156\143\x6c\x69\x63\x6b\x3d\42\143\x6f\x6e\146\151\162\155\x6c\x69\143\145\156\163\145\x66\157\162\x6d\x28\x29\42\40\57\76\xd\12\x9\x9\x9\46\156\142\163\x70\x3b\46\x6e\x62\x73\x70\x3b\x3c\151\156\x70\165\164\x20\164\171\160\145\x3d\42\142\165\x74\164\x6f\156\42\40\x6e\x61\155\x65\x3d\42\157\153\x5f\142\x74\156\x22\40\143\154\141\x73\x73\75\x22\x62\x75\164\x74\x6f\156\x20\x62\165\x74\164\157\x6e\55\x70\162\151\155\141\x72\x79\x20\x62\x75\x74\x74\157\156\x2d\x6c\141\162\147\145\42\x20\x76\141\x6c\x75\145\x3d\42\107\x65\x74\x20\114\x69\x63\x65\156\x73\145\x20\113\145\x79\x73\x22\40\157\156\143\154\x69\143\153\x3d\42\147\145\x74\154\x69\143\x65\x6e\x73\145\153\x65\171\163\146\x6f\162\x6d\x28\x29\x22\x20\x2f\76\x3c\57\150\x33\x3e\74\57\x64\x69\166\76";
FTM:
echo "\74\146\x6f\162\155\40\x73\x74\x79\x6c\x65\75\x22\144\x69\163\x70\154\x61\x79\x3a\156\157\x6e\x65\x3b\x22\x20\151\x64\x3d\42\154\151\x63\x65\x6e\x73\x65\146\x6f\162\155\42\x20\x61\x63\164\151\157\x6e\75\42" . mo_options_plugin_constants::HOSTNAME . "\57\155\157\x61\x73\57\154\x6f\x67\151\x6e\42\xd\xa\x9\x9\164\x61\x72\147\x65\164\x3d\42\x5f\x62\154\141\156\153\x22\x20\155\x65\164\x68\157\144\75\42\160\157\163\164\x22\76\xd\12\11\x9\74\151\x6e\x70\x75\164\40\164\x79\160\145\x3d\x22\x65\155\141\151\154\x22\x20\x6e\141\155\x65\75\x22\165\163\x65\162\x6e\x61\x6d\145\x22\40\166\x61\154\x75\x65\x3d\x22" . get_option("\155\157\137\163\x61\x6d\x6c\x5f\141\144\155\x69\x6e\137\145\x6d\141\x69\x6c") . "\42\x20\x2f\x3e\xd\xa\11\x9\74\151\x6e\x70\x75\x74\40\164\171\x70\x65\75\42\x74\x65\170\x74\42\x20\x6e\141\155\x65\x3d\x22\x72\145\x64\151\x72\145\x63\x74\125\162\154\42\40\x76\141\154\x75\x65\75\42" . mo_options_plugin_constants::HOSTNAME . "\x2f\155\157\141\163\x2f\x76\x69\x65\x77\154\151\143\x65\156\x73\145\153\145\171\x73\42\40\57\76\74\x69\156\160\165\x74\40\x74\x79\x70\x65\x3d\x22\x74\x65\x78\164\x22\40\156\x61\x6d\145\x3d\x22\162\x65\x71\165\x65\163\x74\117\162\x69\x67\151\156\42\40\151\144\x3d\x22\162\145\161\165\145\163\164\x4f\x72\151\147\151\156\62\42\x20\40\x2f\76\15\12\11\x9\x3c\57\146\157\162\x6d\76\15\xa\x9\11\74\146\x6f\x72\155\x20\156\x61\155\x65\x3d\x22\x66\42\x20\x6d\x65\x74\150\x6f\x64\x3d\x22\x70\157\x73\164\42\x20\141\143\x74\x69\x6f\x6e\75\42\42\40\151\144\75\x22\155\157\x5f\163\141\x6d\x6c\x5f\x63\150\145\143\153\x5f\154\x69\x63\145\156\163\x65\42\76";
wp_nonce_field("\155\157\137\x73\141\155\x6c\x5f\143\150\145\x63\x6b\137\154\151\x63\145\x6e\163\x65");
echo "\x3c\151\x6e\x70\165\164\40\x74\171\x70\x65\x3d\42\x68\x69\x64\x64\x65\x6e\x22\40\156\141\x6d\x65\75\42\x6f\x70\x74\x69\157\156\42\x20\x76\x61\154\x75\145\75\42\155\157\137\163\x61\155\x6c\x5f\143\150\145\x63\153\x5f\x6c\x69\143\145\156\x73\x65\42\x2f\x3e\15\xa\x9\11\x3c\x2f\x66\x6f\162\155\x3e\15\12\x9\11\x3c\x73\x63\x72\x69\x70\164\x3e\15\xa\x9\x9\11\15\12\x9\11\11\x66\165\156\143\164\151\157\x6e\40\x67\145\164\154\x69\143\x65\x6e\x73\145\153\145\171\x73\x66\157\162\x6d\x28\51\40\173\xd\12\x9\11\11\11\x6a\121\x75\x65\162\171\x28\x22\43\154\x69\x63\x65\x6e\163\x65\146\157\162\155\42\51\x2e\163\165\x62\x6d\x69\164\x28\51\73\xd\12\11\11\11\175\xd\xa\11\x9\11\xd\12\x9\11\x9\x66\165\156\x63\x74\151\157\156\x20\x63\x6f\x6e\146\x69\162\x6d\154\151\143\145\x6e\x73\145\146\157\x72\x6d\x28\x29\40\173\xd\xa\x9\11\11\x9\x6a\121\x75\x65\162\171\x28\x22\43\x6d\x6f\137\x73\x61\155\x6c\x5f\143\150\x65\143\153\x5f\154\151\x63\145\x6e\x73\x65\42\x29\56\x73\165\142\155\151\164\50\51\73\xd\12\x9\11\11\x7d\xd\xa\11\x9\74\x2f\163\143\162\151\160\164\76";
echo "\74\x74\x61\142\154\x65\x20\142\157\162\x64\145\162\x3d\x22\x31\42\40\163\164\171\x6c\x65\x3d\42\142\141\143\x6b\x67\162\157\165\156\144\x2d\143\157\x6c\157\162\72\x23\106\x46\106\106\106\x46\73\40\x62\x6f\x72\x64\x65\x72\72\x31\160\x78\40\x73\x6f\154\151\x64\x20\x23\103\103\103\103\103\103\73\x20\x62\x6f\x72\x64\145\x72\x2d\143\157\x6c\x6c\141\x70\163\145\72\40\x63\x6f\154\x6c\x61\x70\163\x65\73\40\x70\x61\144\144\x69\156\147\72\x30\x70\170\x20\x30\160\170\x20\60\x70\x78\40\61\x30\x70\170\73\40\x6d\x61\162\x67\151\x6e\72\x32\x70\x78\x3b\x20\x77\151\144\164\x68\72\70\x35\45\x22\x3e\xd\12\11\x9\x3c\164\162\x3e\15\12\11\x9\x9\x3c\x74\x64\40\x73\x74\171\x6c\145\x3d\x22\167\151\x64\x74\x68\x3a\x34\65\x25\x3b\40\x70\x61\144\144\x69\156\147\x3a\x20\61\60\160\x78\73\x22\x3e\155\x69\x6e\151\117\x72\141\x6e\147\145\x20\x41\143\143\x6f\165\156\x74\x20\105\155\x61\x69\x6c\x3c\x2f\164\x64\76\xd\xa\x9\11\11\74\164\144\40\163\164\x79\x6c\145\75\x22\x77\x69\144\x74\150\x3a\65\x35\45\73\40\160\x61\x64\144\x69\x6e\x67\72\40\61\60\x70\170\x3b\x22\76" . get_option("\155\x6f\137\x73\x61\155\154\x5f\141\144\x6d\x69\156\x5f\x65\x6d\x61\151\154") . "\74\x2f\164\x64\76\15\12\11\11\x3c\57\x74\162\x3e\xd\xa\11\x9\74\164\x72\x3e\xd\xa\x9\x9\x9\x3c\164\144\40\x73\164\x79\154\x65\x3d\42\x77\151\144\x74\x68\72\x34\65\x25\x3b\x20\x70\141\144\x64\x69\x6e\x67\x3a\x20\61\60\x70\170\x3b\42\x3e\103\x75\163\164\157\x6d\x65\x72\x20\x49\x44\74\57\164\x64\x3e\xd\xa\x9\11\x9\74\x74\x64\40\x73\164\171\x6c\145\75\42\167\x69\144\164\150\x3a\x35\65\45\x3b\40\x70\141\x64\144\151\x6e\147\72\40\61\60\160\170\73\42\x3e" . get_option("\x6d\157\137\163\x61\x6d\154\137\x61\144\155\x69\x6e\x5f\143\x75\163\164\x6f\155\145\x72\137\x6b\145\x79") . "\74\x2f\x74\x64\x3e\15\xa\11\x9\74\57\x74\162\x3e\15\12\15\12\x9\x3c\57\164\141\142\x6c\145\76\15\12\x9\x3c\144\x69\x76\x20\x73\x74\x79\x6c\x65\x3d\x22\x64\151\163\x70\154\141\171\x3a\142\154\157\x63\x6b\x3b\x74\x65\x78\x74\55\x61\x6c\x69\x67\x6e\72\143\145\x6e\x74\145\x72\73\155\141\162\x67\x69\156\x3a\x32\x25\73\x20\x6d\141\x72\x67\151\156\x2d\154\x65\x66\x74\72\40\55\61\x30\45\42\76\xd\12\x9\74\151\156\160\165\164\x20\x74\171\160\145\75\42\142\x75\164\x74\157\x6e\x22\x20\x6e\141\x6d\145\x3d\42\155\157\137\x73\x61\155\154\x5f\x72\x65\155\157\166\x65\137\141\x63\143\x6f\x75\156\x74\x22\40\x69\144\x3d\42\155\x6f\137\x73\x61\x6d\154\137\162\145\x6d\x6f\x76\145\137\141\143\x63\x6f\165\x6e\164\42\x20\x76\141\154\165\145\75\x22\x52\x65\x6d\x6f\x76\145\x20\101\143\143\157\165\156\164\42\x20\143\x6c\141\163\x73\75\42\142\x75\x74\x74\x6f\156\x20\x62\x75\164\x74\157\156\x2d\x70\162\151\x6d\141\162\x79\x20\x62\x75\x74\164\157\x6e\55\x6c\x61\162\147\x65\x22\40\x2f\x3e\xd\12\11\x3c\57\144\151\x76\x3e\xd\xa\x3c\x2f\144\151\166\76\x3c\142\x72\57\76";
if (!get_option("\155\x6f\x5f\163\x61\x6d\154\x5f\154\x69\x63\x65\156\x73\145\x5f\145\x78\160\151\x72\x79\x5f\x64\141\164\145")) {
goto Iz6;
}
echo "\x3c\144\x69\x76\x20\x73\164\171\x6c\x65\x3d\x22\x62\x61\143\x6b\147\162\157\165\x6e\x64\55\143\157\154\x6f\x72\x3a\43\x46\x46\x46\106\106\x46\x3b\x20\142\x6f\162\x64\145\162\72\61\160\170\x20\163\157\x6c\151\144\x20\x23\103\x43\x43\103\103\103\73\40\160\141\144\144\x69\156\147\72\60\160\x78\40\x30\160\x78\x20\60\x70\x78\40\61\x30\x70\170\x3b\x22\76\x3c\x68\63\x3e\x4c\151\143\x65\x6e\x73\x65\40\104\x65\x74\x61\151\x6c\x73\74\57\150\x33\x3e\xd\12\11\74\x74\x61\x62\x6c\145\x20\x62\157\162\x64\145\162\75\x22\61\x22\40\x73\164\171\154\x65\x3d\42\x62\x61\143\153\x67\162\157\165\156\144\55\143\157\x6c\x6f\162\72\43\106\106\106\106\106\x46\73\x20\142\157\x72\x64\x65\x72\x3a\61\160\170\x20\x73\x6f\154\151\144\x20\x23\103\x43\103\103\x43\103\x3b\x20\x62\157\162\144\145\x72\55\x63\157\x6c\x6c\x61\x70\163\x65\72\40\143\157\x6c\154\x61\160\x73\145\x3b\40\x70\x61\144\144\151\x6e\x67\72\x30\160\x78\x20\x30\160\x78\40\x30\160\x78\x20\61\x30\160\x78\x3b\40\155\x61\x72\x67\151\x6e\x3a\62\x70\x78\73\40\x77\151\x64\x74\x68\x3a\x38\x35\45\x22\x3e\15\xa\11\11\x3c\164\162\x3e\15\12\11\11\x9\74\164\144\x20\x73\164\171\154\145\x3d\x22\167\151\144\164\x68\x3a\64\65\x25\x3b\40\160\141\144\144\151\x6e\147\x3a\40\61\60\160\x78\x3b\42\x3e\x4c\151\x63\x65\x6e\x73\x65\40\105\x78\x70\151\x72\x79\x20\x44\x61\164\x65\74\57\164\144\76\15\12\x9\11\x9\74\x74\144\x20\163\x74\171\154\x65\75\x22\x77\x69\144\x74\x68\72\65\65\45\73\x20\160\141\x64\x64\151\156\147\72\40\x31\60\x70\x78\73\x22\x3e" . get_option("\155\x6f\137\x73\141\155\154\137\154\x69\x63\x65\156\x73\145\137\x65\170\x70\151\x72\171\x5f\144\x61\164\x65") . "\74\x2f\x74\x64\x3e\15\xa\11\11\74\57\164\162\x3e\15\12\x9\x9\x3c\x74\x72\x3e\15\12\x9\11\11\x3c\x74\144\40\163\x74\x79\x6c\x65\75\x22\x77\x69\144\x74\x68\72\64\65\45\x3b\x20\x70\x61\x64\x64\151\156\x67\72\40\x31\60\x70\x78\73\42\x3e\114\x69\143\145\x6e\x73\x65\x20\x52\x65\156\x65\167\141\154\x20\x4c\151\x6e\x6b\40\74\57\164\x64\x3e\15\xa\11\11\x9\74\164\144\x20\163\x74\171\154\145\x3d\x22\x77\x69\144\x74\150\72\65\x35\x25\73\40\x70\141\144\144\x69\x6e\147\72\40\61\x30\x70\x78\x3b\x22\x3e\74\141\40\x68\162\145\x66\x3d\x22" . mo_options_plugin_constants::HOSTNAME . "\57\x6d\x6f\x61\163\x2f\154\157\147\151\x6e\x3f\162\x65\144\151\x72\145\x63\x74\125\162\x6c\75" . mo_options_plugin_constants::HOSTNAME . "\x2f\x6d\x6f\x61\x73\57\141\144\x6d\151\156\x2f\143\x75\163\164\157\x6d\x65\162\x2f\154\x69\x63\145\156\x73\145\162\145\x6e\145\167\x61\x6c\x73\77\162\145\156\145\x77\141\x6c\x72\145\161\x75\145\163\x74\x3d" . mo_options_plugin_constants::LICENSE_TYPE . "\x22\x20\x63\x6c\141\163\163\75\42\142\x75\164\x74\x6f\x6e\40\x62\165\164\x74\157\156\x2d\x70\x72\x69\155\141\x72\171\x22\x20\x74\141\162\147\x65\164\x3d\42\x5f\x62\154\141\x6e\153\42\76\x52\145\156\145\x77\x20\171\x6f\165\162\40\163\165\x70\160\157\x72\164\x20\154\x69\x63\x65\x6e\163\145\74\57\x61\x3e\x2e\x3c\57\164\144\x3e\15\xa\11\11\74\57\164\x72\x3e\xd\xa\xd\xa\11\74\x2f\x74\141\142\154\145\76\74\x62\x72\40\57\x3e\x3c\142\x72\x20\57\76\74\57\144\151\166\76";
Iz6:
echo "\74\x66\157\162\155\40\156\141\155\145\x3d\x22\146\42\40\155\145\164\150\x6f\x64\75\42\160\x6f\163\164\42\40\141\143\x74\x69\157\156\x3d\x22\42\x20\x69\x64\x3d\42\x6d\x6f\137\x73\141\155\x6c\x5f\x72\x65\155\157\166\145\x5f\141\143\x63\x6f\165\156\x74\x5f\x66\x6f\162\155\42\x3e";
wp_nonce_field("\x6d\157\x5f\x73\141\x6d\x6c\x5f\162\x65\155\157\x76\145\137\141\x63\x63\x6f\x75\156\x74");
echo "\74\x69\156\160\x75\164\x20\164\171\x70\x65\75\42\150\x69\x64\144\145\x6e\42\x20\156\141\155\145\75\x22\157\x70\x74\x69\x6f\x6e\x22\x20\166\x61\x6c\165\x65\75\42\155\x6f\x5f\x73\x61\155\x6c\137\162\x65\x6d\x6f\166\x65\137\141\x63\x63\x6f\x75\x6e\x74\42\57\x3e\xd\12\74\57\146\157\162\x6d\76\xd\12\x3c\x73\x63\x72\x69\x70\164\76\xd\xa\152\x51\165\145\162\x79\50\42\43\x6d\157\137\163\141\155\x6c\137\x72\145\x6d\x6f\x76\x65\x5f\141\x63\x63\157\165\x6e\x74\42\51\x2e\143\x6c\x69\x63\153\50\x66\165\x6e\x63\x74\x69\x6f\x6e\x28\51\173\xd\12\11\152\121\165\x65\x72\171\50\x22\x23\155\x6f\x5f\163\x61\x6d\x6c\137\162\x65\x6d\x6f\x76\x65\x5f\141\x63\x63\157\165\156\164\x5f\x66\x6f\x72\155\42\x29\56\x73\165\142\155\x69\x74\x28\51\x3b\xd\xa\x7d\51\73\xd\xa\x3c\x2f\x73\x63\x72\x69\x70\x74\x3e";
}
function miniorange_generate_metadata($SR = false, $Lv = false)
{
$he = get_option("\155\x6f\137\163\141\155\x6c\x5f\163\x70\x5f\x62\x61\x73\145\137\x75\162\154");
if (!empty($he)) {
goto Von;
}
$he = home_url();
Von:
if (!(substr($he, -1) == "\x2f")) {
goto YF4;
}
$he = substr($he, 0, -1);
YF4:
$Y1 = get_option("\155\157\137\163\x61\155\154\x5f\163\x70\x5f\x65\156\164\151\164\171\x5f\x69\144");
if (!empty($Y1)) {
goto VxV;
}
$Y1 = $he . "\x2f\x77\160\55\143\157\x6e\164\145\x6e\x74\x2f\x70\x6c\x75\147\151\156\x73\57\x6d\151\156\x69\157\x72\141\156\147\x65\x2d\163\x61\155\x6c\55\x32\x30\55\x73\x69\x6e\147\154\x65\x2d\x73\x69\x67\x6e\x2d\157\156\x2f";
VxV:
$Em = $Y1;
$AJ = $he . "\57";
if ($Lv) {
goto huT;
}
$mY = get_option("\155\x6f\x5f\x73\x61\x6d\x6c\x5f\143\165\x72\162\x65\156\164\x5f\x63\x65\x72\x74");
goto okJ;
huT:
$mY = file_get_contents(plugin_dir_path(__FILE__) . "\x72\145\x73\x6f\x75\x72\143\145\x73" . DIRECTORY_SEPARATOR . mo_options_enum_default_sp_certificate::SP_PUBLIC_CERT_FILE_NAME);
okJ:
$lB = Utilities::getValidUntilDateFromCert($mY);
$mY = Utilities::desanitize_certificate($mY);
if (!ob_get_contents()) {
goto YzV;
}
ob_clean();
YzV:
header("\x43\157\156\x74\x65\x6e\164\55\x54\x79\160\x65\x3a\x20\164\145\x78\x74\x2f\170\x6d\154");
if (!$SR) {
goto mQM;
}
header("\103\x6f\156\x74\x65\156\x74\55\x44\151\x73\x70\x6f\163\151\x74\x69\157\x6e\x3a\x20\141\164\x74\x61\x63\x68\155\145\156\x74\x3b\x20\146\x69\154\x65\x6e\141\x6d\145\75\42\155\157\x2d\x73\141\x6d\154\55\x73\x70\x2d\155\145\x74\x61\144\141\x74\141\x2e\x78\x6d\154\x22");
mQM:
echo "\x3c\77\170\x6d\154\40\x76\x65\x72\x73\x69\157\156\75\x22\x31\56\x30\x22\77\x3e\15\12\74\155\144\72\x45\x6e\164\151\x74\171\104\x65\163\x63\x72\x69\160\164\157\x72\40\170\x6d\154\156\163\x3a\x6d\x64\75\42\165\162\156\x3a\157\x61\163\x69\163\x3a\156\x61\155\x65\163\72\x74\143\x3a\x53\x41\115\x4c\72\x32\56\x30\x3a\x6d\145\164\x61\144\141\x74\x61\x22\x20\166\141\x6c\151\x64\125\156\x74\x69\x6c\75\x22" . $lB . "\x22\x20\x63\x61\143\150\x65\104\165\162\x61\x74\x69\x6f\x6e\75\42\x50\124\x31\x34\x34\66\70\x30\x38\x37\71\62\123\42\x20\x65\x6e\164\151\x74\x79\x49\104\75\x22" . $Em . "\x22\x3e\15\12\x20\40\74\x6d\x64\72\x53\x50\x53\123\x4f\104\145\163\x63\x72\x69\x70\164\x6f\162\40\101\165\x74\150\x6e\122\x65\161\x75\x65\163\164\163\x53\151\147\156\x65\144\x3d\42\164\x72\x75\145\42\x20\127\x61\x6e\164\x41\x73\163\145\162\x74\151\157\x6e\x73\x53\x69\x67\156\x65\x64\x3d\x22\x74\x72\165\145\42\x20\x70\162\157\x74\157\143\157\154\123\165\160\x70\157\162\164\105\156\165\x6d\145\x72\x61\x74\x69\157\x6e\75\42\165\162\156\x3a\157\141\163\151\163\x3a\156\x61\x6d\145\x73\x3a\x74\x63\72\123\x41\115\114\72\x32\56\x30\72\160\162\x6f\x74\x6f\143\157\x6c\x22\76\15\12\11\x3c\155\x64\72\x45\x78\x74\145\156\x73\151\x6f\156\x73\76\xd\12\11\11\x3c\151\x64\x70\x64\151\163\143\72\104\151\163\143\157\166\145\162\171\x52\x65\x73\160\157\156\163\x65\x20\151\156\144\x65\x78\x3d\x22\61\x22\15\12\11\x9\x9\170\x6d\x6c\156\x73\72\151\x64\x70\144\x69\163\143\75\x22\x75\x72\156\x3a\157\x61\163\151\x73\x3a\x6e\141\155\145\x73\x3a\164\143\72\123\101\x4d\114\x3a\160\162\x6f\x66\x69\154\x65\x73\72\x53\x53\117\x3a\x69\144\160\55\144\x69\163\x63\157\x76\145\x72\171\55\x70\162\x6f\x74\x6f\143\x6f\x6c\42\xd\12\x9\x9\11\x42\151\156\144\151\x6e\x67\x3d\x22\x75\x72\x6e\x3a\x6f\x61\163\x69\x73\x3a\156\x61\x6d\145\163\x3a\164\x63\72\x53\x41\x4d\114\72\160\162\157\146\151\x6c\145\163\x3a\x53\x53\x4f\72\151\144\160\x2d\x64\151\163\143\x6f\166\x65\162\x79\55\x70\x72\157\164\157\x63\157\x6c\x22\15\xa\11\x9\x9\x4c\157\x63\141\x74\x69\157\x6e\75\42" . $AJ . "\42\57\x3e\15\12\11\x3c\x2f\x6d\x64\x3a\105\170\164\x65\156\163\151\x6f\x6e\163\76\15\12\x20\11\74\155\144\x3a\x4b\x65\x79\x44\145\x73\x63\162\151\160\x74\x6f\162\x20\165\163\x65\75\x22\x73\151\147\x6e\151\x6e\x67\42\76\15\12\x20\40\40\x20\40\40\74\144\163\72\x4b\145\x79\111\156\x66\x6f\40\x78\155\154\x6e\x73\72\x64\x73\75\42\150\164\x74\160\72\57\x2f\167\x77\167\56\x77\x33\x2e\x6f\162\147\x2f\62\60\x30\60\57\x30\71\57\170\x6d\154\x64\x73\151\147\43\x22\76\xd\xa\40\40\x20\40\40\x20\x20\x20\x3c\144\x73\72\130\65\60\x39\104\141\x74\141\76\xd\12\x20\x20\40\x20\x20\40\40\40\40\40\x3c\x64\x73\72\130\x35\60\71\x43\x65\162\x74\151\146\x69\143\141\x74\x65\x3e" . $mY . "\74\x2f\x64\x73\72\130\65\60\x39\x43\145\162\164\x69\146\151\x63\141\x74\145\x3e\xd\12\40\x20\40\x20\x20\x20\x20\x20\74\57\x64\x73\x3a\x58\x35\x30\71\104\141\164\141\76\15\12\x20\x20\x20\40\x20\40\74\x2f\x64\163\72\x4b\145\171\x49\156\146\157\76\15\xa\x20\40\40\x20\x3c\x2f\155\x64\x3a\113\145\171\104\145\x73\143\162\x69\x70\164\x6f\x72\76\xd\xa\x20\x20\x20\x20\74\155\x64\72\x4b\145\x79\104\145\163\143\x72\151\160\x74\x6f\162\40\165\163\x65\x3d\42\x65\156\143\x72\171\160\x74\x69\157\156\42\x3e\15\12\40\40\40\40\40\x20\x3c\x64\163\72\x4b\x65\171\111\156\146\x6f\x20\x78\x6d\154\x6e\x73\x3a\x64\163\x3d\x22\150\x74\164\x70\x3a\x2f\57\167\x77\167\56\x77\63\x2e\x6f\x72\147\x2f\62\x30\60\x30\57\x30\71\57\170\x6d\x6c\144\163\x69\147\x23\x22\x3e\xd\12\40\40\40\x20\x20\40\40\x20\74\144\x73\72\130\x35\x30\x39\104\x61\164\x61\76\15\xa\x20\x20\x20\40\x20\x20\x20\40\40\40\x3c\144\163\x3a\x58\65\x30\71\103\145\162\164\151\x66\x69\x63\141\164\x65\76" . $mY . "\x3c\57\x64\163\72\x58\65\x30\x39\103\145\162\x74\151\x66\151\143\141\x74\145\76\xd\12\x20\40\x20\x20\x20\x20\40\40\x3c\57\x64\x73\x3a\130\x35\60\71\104\x61\164\141\76\xd\12\40\40\40\40\x20\40\74\x2f\x64\x73\x3a\113\145\171\x49\156\x66\x6f\76\xd\xa\40\40\40\x20\74\x2f\155\144\x3a\x4b\x65\171\104\x65\x73\x63\x72\151\160\164\157\x72\x3e\xd\xa\x9\74\x6d\x64\x3a\x53\x69\x6e\x67\x6c\x65\114\x6f\147\x6f\x75\x74\123\145\162\x76\151\143\145\x20\102\x69\156\144\151\156\x67\75\42\x75\x72\156\72\x6f\x61\163\x69\x73\72\x6e\x61\155\x65\x73\72\x74\143\x3a\123\101\x4d\114\x3a\62\56\x30\x3a\x62\151\x6e\x64\151\156\147\163\72\x48\124\x54\x50\55\120\117\123\124\42\40\114\157\143\141\x74\x69\x6f\x6e\x3d\x22" . $AJ . "\x22\x2f\76\xd\12\40\x20\40\x20\x3c\155\x64\72\x53\x69\x6e\x67\x6c\x65\114\x6f\x67\x6f\165\x74\123\145\x72\166\151\x63\x65\x20\102\151\x6e\144\151\156\x67\x3d\42\x75\x72\x6e\72\x6f\x61\x73\151\x73\x3a\x6e\141\155\145\163\x3a\x74\x63\x3a\123\101\x4d\114\x3a\62\56\x30\x3a\x62\x69\x6e\x64\151\x6e\x67\x73\x3a\x48\124\x54\120\x2d\122\145\x64\x69\x72\x65\x63\x74\42\x20\114\157\x63\x61\x74\151\x6f\x6e\75\x22" . $AJ . "\x22\57\x3e\xd\12\x20\x20\x20\40\74\155\144\72\116\x61\x6d\145\x49\x44\106\x6f\x72\x6d\141\x74\76\x75\162\156\72\157\x61\163\151\x73\x3a\156\141\x6d\x65\x73\72\x74\143\72\123\101\x4d\114\x3a\x31\56\61\72\x6e\141\x6d\145\x69\x64\55\146\x6f\x72\x6d\141\164\x3a\165\x6e\x73\160\145\x63\151\x66\x69\145\144\x3c\x2f\x6d\x64\72\x4e\141\x6d\x65\111\104\106\x6f\162\155\141\164\x3e\15\xa\11\x3c\x6d\x64\72\x4e\x61\x6d\x65\x49\104\106\157\x72\x6d\x61\164\76\x75\x72\x6e\x3a\157\141\x73\151\163\72\156\141\x6d\x65\163\x3a\164\143\x3a\123\101\115\x4c\x3a\x31\x2e\61\x3a\x6e\141\x6d\145\x69\x64\55\x66\157\162\x6d\141\164\x3a\145\x6d\141\151\x6c\x41\144\x64\162\x65\x73\163\74\57\x6d\x64\72\x4e\x61\155\145\111\x44\106\157\162\x6d\141\x74\76\xd\12\11\x3c\155\144\x3a\x4e\x61\155\x65\111\104\x46\x6f\x72\155\141\164\x3e\165\162\x6e\72\x6f\141\x73\151\x73\x3a\x6e\141\x6d\x65\163\72\x74\x63\x3a\x53\x41\x4d\x4c\72\62\56\60\72\156\x61\155\x65\151\x64\55\x66\157\x72\155\141\164\72\160\145\162\163\151\163\x74\145\x6e\164\x3c\57\x6d\x64\x3a\116\x61\155\x65\x49\x44\x46\x6f\x72\155\141\164\x3e\xd\12\x9\74\x6d\x64\x3a\116\x61\155\x65\111\104\106\x6f\162\x6d\141\x74\x3e\165\x72\x6e\x3a\x6f\x61\x73\151\x73\72\156\x61\x6d\145\163\x3a\164\143\x3a\123\101\115\x4c\72\62\56\x30\x3a\x6e\x61\155\145\151\144\x2d\x66\x6f\x72\x6d\x61\x74\x3a\x74\x72\x61\x6e\163\151\145\156\164\74\x2f\x6d\x64\x3a\116\x61\x6d\145\x49\x44\x46\157\162\155\x61\164\x3e\15\12\x20\40\40\40\74\155\x64\72\x41\163\163\x65\x72\164\x69\157\156\x43\x6f\156\x73\x75\155\x65\162\123\145\162\166\151\143\145\x20\x42\x69\x6e\144\x69\156\147\x3d\x22\165\x72\x6e\x3a\x6f\x61\163\x69\x73\72\x6e\141\x6d\x65\x73\72\164\x63\72\x53\x41\x4d\x4c\72\x32\56\60\72\x62\151\156\144\x69\156\x67\x73\72\110\124\124\120\55\120\x4f\123\124\42\40\x4c\157\143\141\x74\x69\157\156\x3d\42" . $AJ . "\x22\x20\151\156\144\x65\170\75\42\x31\x22\57\x3e\xd\12\x20\x20\74\57\155\144\72\x53\120\123\x53\117\x44\x65\163\143\x72\x69\160\x74\x6f\x72\x3e\xd\xa\x20\x20\x3c\x6d\144\x3a\x4f\162\147\x61\x6e\x69\172\141\164\151\x6f\x6e\x3e\15\12\40\x20\40\x20\x3c\x6d\144\x3a\x4f\162\147\141\x6e\x69\x7a\x61\x74\151\157\156\x4e\x61\155\145\40\170\x6d\154\72\154\x61\x6e\x67\x3d\x22\x65\156\x2d\x55\123\42\76\155\151\156\151\117\x72\x61\x6e\147\x65\74\57\155\144\x3a\117\162\x67\x61\x6e\151\172\x61\x74\151\x6f\x6e\x4e\141\x6d\145\76\15\12\40\40\40\40\x3c\155\144\x3a\117\x72\x67\x61\156\x69\x7a\x61\x74\x69\157\x6e\104\151\163\x70\154\x61\x79\x4e\141\x6d\x65\x20\x78\x6d\x6c\72\x6c\x61\x6e\x67\x3d\x22\145\x6e\x2d\125\123\x22\x3e\155\x69\156\x69\117\x72\x61\156\147\145\x3c\x2f\x6d\144\x3a\117\162\x67\141\156\x69\172\x61\164\151\x6f\156\x44\x69\x73\160\154\x61\171\x4e\141\x6d\x65\76\xd\xa\40\x20\40\x20\74\155\144\72\x4f\162\x67\x61\156\151\x7a\x61\x74\151\x6f\156\x55\122\x4c\40\x78\155\x6c\x3a\x6c\x61\x6e\147\75\x22\145\x6e\55\x55\x53\x22\76\150\x74\x74\160\x3a\x2f\57\155\x69\x6e\151\157\162\141\156\147\145\x2e\143\x6f\x6d\x3c\57\155\x64\72\117\162\147\x61\x6e\151\x7a\141\x74\151\157\156\125\x52\x4c\x3e\15\12\x20\40\x3c\x2f\x6d\144\x3a\x4f\162\x67\x61\156\x69\x7a\141\x74\x69\157\x6e\76\15\xa\40\40\74\155\x64\72\x43\x6f\156\164\x61\x63\164\x50\x65\x72\163\157\156\40\x63\157\156\164\141\x63\x74\124\x79\x70\x65\x3d\x22\x74\x65\143\x68\x6e\x69\143\141\x6c\x22\x3e\15\12\x20\x20\x20\40\x3c\x6d\144\x3a\x47\x69\166\145\156\116\141\x6d\x65\76\155\x69\x6e\151\117\x72\x61\x6e\x67\x65\74\57\x6d\144\72\107\x69\166\x65\156\116\141\155\x65\76\xd\12\x20\40\x20\x20\x3c\x6d\x64\72\x45\x6d\141\151\154\x41\x64\x64\162\145\163\163\76\151\x6e\x66\x6f\x40\155\151\x6e\151\157\x72\141\x6e\x67\145\56\143\x6f\155\74\x2f\155\144\72\105\155\141\151\154\x41\x64\x64\x72\x65\x73\x73\x3e\15\xa\40\x20\74\57\x6d\144\72\x43\x6f\156\164\x61\x63\164\x50\x65\x72\x73\x6f\x6e\76\xd\12\x20\40\74\155\144\x3a\103\157\156\x74\x61\143\164\x50\x65\x72\163\157\x6e\x20\143\x6f\156\164\x61\143\x74\124\x79\160\x65\x3d\x22\163\165\x70\160\x6f\x72\x74\x22\76\xd\12\40\x20\x20\40\74\x6d\144\72\107\151\x76\145\x6e\116\141\155\x65\76\155\x69\156\151\117\x72\141\x6e\147\145\x3c\x2f\155\144\x3a\x47\151\166\145\x6e\x4e\141\x6d\x65\76\xd\xa\x20\40\40\x20\x3c\x6d\x64\x3a\105\x6d\x61\x69\154\x41\144\x64\x72\x65\x73\x73\76\x69\x6e\x66\x6f\x40\x6d\151\156\151\x6f\x72\141\156\x67\x65\x2e\143\x6f\155\x3c\x2f\155\144\72\x45\x6d\x61\x69\154\101\144\144\x72\x65\163\163\76\15\12\40\x20\x3c\57\155\x64\x3a\103\x6f\156\x74\141\143\164\120\x65\162\163\157\x6e\76\xd\xa\x3c\57\155\144\72\105\x6e\x74\151\x74\171\104\145\x73\x63\162\151\160\x74\157\x72\x3e";
exit;
}
function mo_check_certificate_expiry()
{
$kT = openssl_x509_parse(get_option("\x6d\157\x5f\x73\141\x6d\x6c\137\x63\165\162\x72\x65\x6e\x74\137\143\145\162\164"))["\166\141\154\151\x64\x54\x6f\137\x74\x69\x6d\x65\x5f\164"];
$Ww = $kT - time();
$ki = round($Ww / (60 * 60 * 24));
return $ki < 60;
}
function get_sso_button($Jg, $qw)
{
if (isset($Jg[$qw])) {
goto AFV;
}
$jm = "\x6c\157\x6e\x67\x62\165\x74\x74\x6f\156";
$Ct = "\x35\x30";
$NQ = "\61\x30\60";
$J9 = "\x35\x30";
$QE = "\x35";
$JC = "\114\x6f\x67\x69\x6e";
$FX = "\x30\60\70\65\x62\x61";
$Pm = "\x32\x30";
$Q1 = "\x66\x66\146\x66\x66\146";
$U4 = "\x61\x62\x6f\x76\x65";
goto ky7;
AFV:
$Jg = $Jg[$qw];
$jm = isset($Jg["\142\x75\164\164\157\x6e\137\x74\171\x70\x65"]) ? $Jg["\142\165\164\164\x6f\156\x5f\164\171\x70\x65"] : "\154\x6f\156\x67\x62\165\x74\164\157\x6e";
$Ct = isset($Jg["\x62\165\164\x74\157\x6e\x5f\x73\151\x7a\x65"]) ? $Jg["\x62\165\164\x74\157\156\137\x73\151\172\145"] : "\65\60";
$NQ = isset($Jg["\x62\x75\164\164\157\x6e\137\x77\151\144\164\150"]) ? $Jg["\142\165\164\164\x6f\x6e\137\x77\x69\144\164\x68"] : "\61\60\60";
$J9 = isset($Jg["\142\165\164\164\157\156\137\150\145\x69\147\x68\164"]) ? $Jg["\142\165\x74\164\x6f\156\137\x68\145\151\x67\150\x74"] : "\65\x30";
$QE = isset($Jg["\142\165\164\x74\157\x6e\x5f\x63\x75\162\166\x65"]) ? $Jg["\x62\x75\x74\164\157\156\x5f\143\165\x72\x76\145"] : "\65";
$JC = isset($Jg["\x62\165\x74\x74\157\x6e\x5f\x74\145\x78\164"]) ? $Jg["\x62\165\x74\164\157\x6e\137\164\145\x78\164"] : $qw;
$FX = isset($Jg["\x62\165\164\x74\x6f\156\x5f\x63\157\x6c\157\162"]) ? $Jg["\142\165\164\x74\157\x6e\x5f\143\x6f\154\157\x72"] : "\x30\x30\x38\65\x62\141";
$Pm = isset($Jg["\146\x6f\x6e\x74\137\163\x69\x7a\145"]) ? $Jg["\146\157\156\164\137\163\x69\x7a\x65"] : "\x32\x30";
$Q1 = isset($Jg["\146\x6f\156\164\137\x63\x6f\x6c\157\x72"]) ? $Jg["\x66\x6f\156\x74\x5f\x63\x6f\154\x6f\x72"] : "\x66\x66\x66\146\x66\146";
$U4 = isset($Jg["\142\x75\164\164\157\156\x5f\x70\x6f\163\151\164\x69\157\156"]) ? $Jg["\x62\165\x74\x74\x6f\x6e\137\160\157\x73\151\164\x69\157\156"] : "\x61\x62\157\x76\145";
ky7:
$O3 = "\74\151\x6e\160\165\x74\x20\164\x79\x70\x65\75\42\x62\165\164\164\157\x6e\42\40\156\x61\x6d\145\x3d\x22\155\157\x5f\163\141\x6d\154\137\167\x70\x5f\x73\x73\157\137\142\165\x74\x74\x6f\x6e\42\x20\166\141\154\x75\145\75\42" . $JC . "\42\x20\163\164\x79\154\x65\75\x22";
$aN = '';
if ($jm == "\154\157\156\x67\x62\165\164\x74\x6f\x6e") {
goto Pps;
}
if ($jm == "\x63\151\x72\x63\154\x65") {
goto xrH;
}
if ($jm == "\x6f\x76\141\x6c") {
goto mOD;
}
if ($jm == "\163\x71\x75\x61\x72\x65") {
goto BUj;
}
goto mi2;
xrH:
$aN = $aN . "\x77\x69\x64\164\x68\72" . $Ct . "\x70\170\73";
$aN = $aN . "\150\x65\x69\x67\x68\x74\72" . $Ct . "\x70\170\73";
$aN = $aN . "\142\x6f\162\x64\145\162\x2d\162\x61\144\151\x75\163\72\x39\71\71\160\170\73";
goto mi2;
mOD:
$aN = $aN . "\167\x69\144\x74\x68\72" . $Ct . "\x70\170\x3b";
$aN = $aN . "\x68\x65\x69\x67\x68\x74\x3a" . $Ct . "\x70\170\x3b";
$aN = $aN . "\142\x6f\162\144\x65\162\55\x72\141\144\151\165\163\x3a\65\x70\170\x3b";
goto mi2;
BUj:
$aN = $aN . "\x77\151\144\164\x68\72" . $Ct . "\x70\170\73";
$aN = $aN . "\150\x65\x69\147\150\164\x3a" . $Ct . "\x70\x78\x3b";
$aN = $aN . "\x62\157\x72\x64\x65\162\55\x72\141\x64\x69\x75\163\72\60\x70\x78\73";
$aN = $aN . "\160\x61\144\144\x69\156\147\x3a\x30\x70\x78\x3b";
mi2:
goto goq;
Pps:
$aN = $aN . "\x77\151\x64\x74\150\x3a" . $NQ . "\x70\x78\x3b";
$aN = $aN . "\x68\145\x69\x67\x68\x74\72" . $J9 . "\160\170\x3b";
$aN = $aN . "\142\157\x72\144\145\x72\x2d\162\141\144\151\165\163\72" . $QE . "\x70\170\x3b";
goq:
$aN = $aN . "\x62\141\x63\153\147\x72\x6f\x75\156\144\55\143\157\154\157\162\x3a\x23" . $FX . "\x3b";
$aN = $aN . "\142\157\162\144\145\x72\x2d\x63\157\x6c\157\x72\72\x74\x72\x61\156\163\x70\141\162\x65\156\164\x3b";
$aN = $aN . "\x63\157\x6c\x6f\x72\72\43" . $Q1 . "\73";
$aN = $aN . "\x66\x6f\156\164\55\x73\151\172\x65\72" . $Pm . "\160\170\x3b";
$aN = $aN . "\143\x75\x72\x73\x6f\x72\x3a\160\157\x69\156\x74\145\162";
$O3 = $O3 . $aN . "\42\57\x3e";
$MO = array("\x6c\x6f\147\x69\156\x5f\x62\165\164\164\157\156" => $O3, "\142\x75\x74\x74\157\x6e\x5f\160\x6f\x73\151\164\x69\157\x6e" => $U4);
return $MO;
}
function filter_empty_values($Eq)
{
return $Eq != NULL && $Eq != FALSE && $Eq != '';
}
function mo_saml_get_sp_private_key_for_idp($LD)
{
$sv = isset($LD["\x73\x70\137\x70\162\x69\166\x5f\x6b\x65\x79"]) ? $LD["\163\x70\x5f\x70\x72\151\x76\137\153\145\171"] : get_option("\x6d\x6f\x5f\163\141\155\154\137\x63\x75\162\162\145\156\x74\x5f\x63\x65\162\164\137\160\x72\x69\x76\x61\164\x65\137\153\x65\x79");
return $sv;
}
function mo_saml_get_sp_public_cert_for_idp($LD)
{
$KH = isset($LD["\x73\x70\137\143\x65\162\164"]) ? $LD["\163\160\x5f\143\x65\162\164"] : get_option("\155\157\137\x73\x61\x6d\x6c\137\x63\165\x72\x72\x65\x6e\x74\137\x63\x65\x72\164");
return $KH;
}
Function Calls
None |
Stats
MD5 | e450c0d566531095eebd3ca06645ca8c |
Eval Count | 0 |
Decode Time | 112 ms |