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 /* Plugin Name: LDAP/Active Directory Login for Intranet Sites Plugin URI: http:/..
Decoded Output download
<?php
/*
Plugin Name: LDAP/Active Directory Login for Intranet Sites
Plugin URI: http://miniorange.com
Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
Author: miniOrange
Version: 27.0.0
Author URI: http://miniorange.com
*/
require_once "mo_ldap_pages.php";
require "mo_ldap_support.php";
require "class-mo-ldap-customer-setup.php";
require "class-mo-ldap-utility.php";
require "class-mo-ldap-config.php";
require "class-mo-ldap-role-mapping.php";
require "mo_ldap_licensing_plans.php";
require_once "mo-utility-framework.php";
require_once "includes/lib/utility/autoloader.php";
require_once "includes/lib/utility/src/class-mo-utility-service.php";
require_once "mo-ldap-feedback-form.php";
require_once "mo-ldap-intranet-version-update.php";
require_once dirname(__FILE__) . "/includes/lib/export.php";
require_once dirname(__FILE__) . "/Directories/DirectoryFactory.php";
use MOLDAP\LicenseLibrary\Classes\Mo_Utility_Library;
use MOLDAP\LicenseLibrary\Mo_Utility_Service;
define("Tab_ldap_Class_Names", serialize(array("ldap_Login" => "mo_options_ldap_acc_details", "ldap_config" => "mo_options_ldap_config_details", "Role_Mapping" => "mo_option_ldap_role_mapping", "Attribute_Mapping" => "mo_options_ldap_enum_attribute_mapping", "Dirsync_Ldap_To_Wp_Sync" => "mo_option_ldap_dirsync_ldap_to_wp_sync", "Dirsync_Wp_To_Ldap_sync" => "mo_option_ldap_dirsync_wp_to_ldap_sync", "plugin_version" => "mo_plugin_info")));
define("MO_LDAP_LOCAL_HOST_NAME", "https://login.xecurify.com");
define("MO_LDAP_BASE_DIR_PATH", __DIR__);
error_reporting(E_ERROR);
class Mo_Ldap_Local_Login
{
function __construct()
{
$WX = 7;
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
$wi = new Mo_Utility_Library($Wm);
add_action("admin_menu", array($this, "mo_ldap_local_login_widget_menu"));
add_action("admin_init", array($this, "login_widget_save_options"));
add_action("init", array($this, "test_attribute_configuration"));
add_action("admin_enqueue_scripts", array($this, "mo_ldap_local_settings_style"));
add_action("admin_enqueue_scripts", array($this, "mo_ldap_local_settings_script"));
$na = get_option("mo_ldap_local_enable_update_ldap");
if (!($na == 1)) {
goto c0;
}
add_action("profile_update", array($this, "update_profile"), 10, 2);
c0:
$sh = !empty(get_option("mo_ldap_plugin_version")) ? get_option("mo_ldap_plugin_version") : "none";
if (!(strcasecmp($sh, "27.0.0") != 0)) {
goto ge;
}
Mo_Ldap_Local_Util::bp_hjey_hpfeh_dy_mysvejr($sh);
update_option("mo_ldap_plugin_version", "27.0.0");
ge:
remove_action("admin_notices", array($this, "success_message"));
remove_action("admin_notices", array($this, "error_message"));
register_deactivation_hook(__FILE__, array($this, "mo_ldap_local_deactivate"));
add_action("show_user_profile", array($this, "show_user_profile"));
add_action("edit_user_profile", array($this, "show_user_profile"));
$AZ = get_option("mo_ldap_local_authorized_users_only");
if (!($AZ == 1)) {
goto FX;
}
add_action("wp", array($this, "mo_ldap_local_login_redirect"));
FX:
if (!in_array("next-active-directory-integration/index.php", (array) get_option("active_plugins", array()), true)) {
goto hA;
}
$WX = 20;
hA:
$oh = get_option("mo_ldap_local_enable_login");
if (!($oh == 1)) {
goto CX;
}
remove_filter("authenticate", "wp_authenticate_username_password", 20, 3);
add_filter("authenticate", array($this, "ldap_login"), $WX, 3);
add_filter("login_redirect", array($this, "mo_ldap_local_custom_redirect"), 10, 3);
CX:
$at = get_option("mo_ldap_local_enable_attr_mapping");
if (!($at == 1)) {
goto e3;
}
add_action("mo_ldap_attribute_to_usermeta_update", array($this, "mo_ldap_custom_usermeta_update"), 101, 1);
e3:
register_activation_hook(__FILE__, array($this, "mo_ldap_activate"));
add_action("mo_ldap_local_utility_sync", array($this, "mo_ldap_local_utility_sync"));
add_action("flushcache", array($this, "update_status"), 10, 3);
add_filter("mo_check_config", array($this, "wa_hwfrqar_oehwj"));
if (!$Wm) {
goto NN;
}
add_action("admin_footer", array($this, "ldap_feedback_request"));
NN:
}
public function wa_hwfrqar_oehwj()
{
$zn = Mo_Utility_Service::wa_hwfrqar_rnywvrj();
$ux = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ("LICENSE_VALID" === $zn["CODE"]) {
goto RK;
}
if ($ux) {
goto Bt;
}
if (!$zn["STATUS"]) {
goto Mj;
}
goto E5;
Bt:
return false;
goto E5;
Mj:
return true;
E5:
goto nW;
RK:
return true;
nW:
return false;
}
public function ldap_feedback_request()
{
display_ldap_feedback_form();
}
function mo_ldap_local_custom_redirect($GX, $ST, $user)
{
$AW = get_option("mo_ldap_local_redirect_to");
if (!(isset($user->roles) && is_array($user->roles))) {
goto gg;
}
if (in_array("administrator", $user->roles)) {
goto dH;
}
if ($AW) {
goto gV;
}
goto qB;
dH:
return $GX;
goto qB;
gV:
if ($AW == "homepage") {
goto uR;
}
if ($AW == "profile") {
goto no;
}
if ($AW == "custom") {
goto N_;
}
goto Mo;
uR:
$GX = home_url();
goto Mo;
no:
$t4 = home_url() . "/wp-admin/profile.php";
$GX = $t4;
goto Mo;
N_:
$JY = get_option("mo_ldap_local_custom_redirect");
$GX = $JY;
Mo:
qB:
gg:
return $GX;
}
function mo_ldap_local_login_redirect()
{
$sr = get_queried_object_id();
$Wi = rtrim(get_permalink($sr), "/");
$ce = !empty(get_option("mo_ldap_public_pages_list")) ? unserialize(get_option("mo_ldap_public_pages_list")) : array();
if (!(empty(get_option("mo_ldap_public_pages_enable")) || !in_array(strtolower($Wi), $ce))) {
goto Q1;
}
if (is_user_logged_in()) {
goto vd;
}
auth_redirect();
vd:
Q1:
}
function bp_srz_fpqtws_azezma($XO)
{
if (!(strcasecmp(Jp_hwfrqar_mzwhwzl_arvowfra::bp_mzwhwzl_azeza($XO), "verified") == 0)) {
goto z9;
}
return true;
z9:
return false;
}
function mo_ldap_custom_usermeta_update($user)
{
$JE = get_option("mo_ldap_attribute_usermeta_mapping");
$bq = "mo_ldap_local_custom_attribute_";
foreach ($JE as $GT => $dE) {
$zA = $bq . $dE;
$kz = get_user_meta($user->ID, $zA, true);
if (empty($kz)) {
goto YD;
}
update_user_meta($user->ID, $GT, $kz);
YD:
t_:
}
CL:
}
function show_user_profile($user)
{
$bn = unserialize(get_option("mo_ldap_local_custom_attributes"));
echo " \x9<h3>Extra profile information</h3>
\xa\x9 <table class="form-table">
\xa \x9 <tr>\xd\xa \x9 \x9<td><b><label for="user_dn">User DN</label></b></td>\xd
\xd
\x9 <td>
\xa\x9\x9 \x9<b>";
echo esc_attr(get_the_author_meta("mo_ldap_user_dn", $user->ID));
echo "</b></td>
\x9\x9 </td>
</tr>
\x9 ";
if (!get_the_author_meta("mo_ldap_user_phone", $user->ID)) {
goto Sc;
}
echo " \x9\x9 <tr>\xd
<td><b><label for="user_phone">User Phone Number</label></b></td>\xd\xa
\xa\x9\x9 <td>\xd
\x9 \x9<b>";
echo esc_attr(get_the_author_meta("mo_ldap_user_phone", $user->ID));
echo "</b>
\xa \x9\x9\x9 </td>
</tr>\xd
\x9 ";
Sc:
foreach ($bn as $xS => $XO) {
$PY = get_user_meta($user->ID, $xS, true);
if (empty($PY)) {
goto CY;
}
echo " \x9\x9 \x9<tr>
\xa\x9 <td><b><font color="#FF0000"></font>";
echo $XO;
echo "</b></td>
\x9\x9 \x9";
if (is_array($PY)) {
goto o4;
}
echo "<td>";
echo "<b>" . $PY . "</b><br>";
echo "</td>";
goto dc;
o4:
echo "<td>";
foreach ($PY as $nn) {
echo "<b>" . $nn . "</b><br>";
PQ:
}
Oz:
echo "</td>";
dc:
echo " \x9\x9 \x9</tr>
\x9 ";
CY:
Fd:
}
S3:
echo " </table>
\xa
\xa\x9\x9";
}
function update_profile($iK, $U7 = null)
{
$w1 = apply_filters("mo_check_config", '');
if (!$w1) {
goto nf;
}
$bn = unserialize(get_option("mo_ldap_local_custom_attributes"));
$eW = array();
foreach ($bn as $xS => $XO) {
if (!isset($_POST[$XO])) {
goto lT;
}
$eW[$XO] = $_POST[$XO];
lT:
lo:
}
VZ:
$user = get_userdata($iK);
$Kv = new Mo_Ldap_Local_Config();
$Kv->modify_user_info_in_ldap($user, $eW);
nf:
}
function ldap_login($user, $BB, $B_)
{
$w1 = apply_filters("mo_check_config", '');
$Dq = get_option("active_plugins");
if (!in_array("miniorange-customize-wp-ldap-login-screen-add-on/add_login_message.php", $Dq)) {
goto sL;
}
add_filter("login_message", "add_login_messages");
function add_login_messages($Bi)
{
$Az = get_option("mo_ldap_login_messages");
foreach ($Az as $h_) {
$Bi = $Bi . "<p name='custom-login-message' id='custom-login-message' style='margin-top: 20px;margin-left: 0;padding: 8px 8px 8px;font-weight: 200;overflow: hidden;background: #fff;border: 4px solid #fff;box-shadow: 0 1px 3px rgba(0,0,0,.04);border-left-color: " . $h_["color"] . ";border-top: none;border-bottom: none;'><strong>" . $h_["message"] . "</strong></p>";
dX:
}
J1:
$Bi = $Bi . "<br>";
return $Bi;
}
sL:
$tE = get_option("mo_ldap_enable_user_session_sync");
if ($tE && in_array("miniorange-terminate-ldap-user-session-on-password-update-add-on/terminate_ldap_user_session_sync.php", $Dq)) {
goto zB;
}
$e2 = false;
goto VV;
zB:
$e2 = true;
VV:
error_log("Value for LDAP PWD sync : " . $e2);
if (!(empty($BB) || empty($B_))) {
goto Ch;
}
$C_ = new WP_Error();
if (!empty($BB)) {
goto s_;
}
$C_->add("empty_username", __("<strong>ERROR</strong>: Email field is empty."));
s_:
if (!empty($B_)) {
goto FY;
}
$C_->add("empty_password", __("<strong>ERROR</strong>: Password field is empty."));
FY:
return $C_;
Ch:
$qk = get_option("mo_ldap_local_enable_both_login");
$Kv = new Mo_Ldap_Local_Config();
$Tn = $Kv->authenticate_ldap_user($BB, $B_);
if ($Tn->statusCode == "LDAP_BIND_SUCCESS_USER_EXISTS" && $w1) {
goto Xb;
}
if (!empty($qk) || !$w1) {
goto bU;
}
if ($Tn->statusCode == "LDAP_CONNECTION_ERROR") {
goto f4;
}
if ($Tn->statusCode == "LDAP_BIND_ERROR_USER_EXISTS") {
goto yi;
}
if ($Tn->statusCode == "LDAP_EXTENSION_ERROR") {
goto g7;
}
if ($Tn->statusCode == "OPENSSL_EXTENSION_ERROR") {
goto yb;
}
$C_ = new WP_Error();
$C_->add("UNKNOWN_ERROR", __("<strong>ERROR</strong>: Unknown error occurred during authetication. Please contact your administrator."));
return $C_;
goto xa;
Xb:
$nP = get_option("mo_ldap_enable_ultimate_member_login");
$Pq = get_option("mo_ldap_enable_ultimate_member_profile");
$pF = $Tn->profileAttributesList;
$uY = $pF["mail"];
if (username_exists($BB) || email_exists($BB) || username_exists($uY) || email_exists($uY)) {
goto zh;
}
$UU = get_option("mo_ldap_local_register_user");
if (!$UU) {
goto Um;
}
$gq = get_option("mo_ldap_local_enable_fallback_login");
$g2 = wp_generate_password(10, false);
$uY = '';
$x2 = '';
$oB = '';
$oK = '';
$ZX = '';
$YM = get_option("mo_ldap_local_enable_attr_mapping");
if (!($YM == 1)) {
goto M6;
}
$Ku = strtolower(get_option("mo_ldap_local_fname_attribute"));
$Pv = strtolower(get_option("mo_ldap_local_lname_attribute"));
$uW = strtolower(get_option("mo_ldap_local_email_attribute"));
$my = strtolower(get_option("mo_ldap_local_phone_attribute"));
$bJ = strtolower(get_option("mo_ldap_local_nickname_attribute"));
$uY = $pF[$uW];
$x2 = $pF[$Ku];
$oB = $pF[$Pv];
$oK = $pF[$bJ];
$ZX = $pF[$my];
M6:
$bT = array("user_login" => $BB, "user_email" => $uY, "first_name" => $x2, "last_name" => $oB, "nickname" => $oK, "user_pass" => $g2);
if (!($YM == 1)) {
goto xe;
}
if (empty($oK)) {
goto km;
}
$bT["nickname"] = $oK;
km:
$dK = get_option("mo_ldap_local_display_name_attribute");
if (empty($dK)) {
goto go;
}
if ($dK == "nickname" && !empty($oK)) {
goto PY;
}
if ($dK == "email") {
goto HT;
}
if ($dK == "firstname") {
goto qN;
}
if ($dK == "firstlast") {
goto pG;
}
if ($dK == "lastfirst") {
goto sA;
}
goto pb;
PY:
$bT["display_name"] = $oK;
goto pb;
HT:
$bT["display_name"] = $uY;
goto pb;
qN:
$bT["display_name"] = $x2;
goto pb;
pG:
$bT["display_name"] = $x2 . " " . $oB;
goto pb;
sA:
$bT["display_name"] = $oB . " " . $x2;
pb:
go:
xe:
$iK = wp_insert_user($bT);
if (!is_wp_error($iK)) {
goto Qy;
}
$this->mo_ldap_report_update($BB, $Tn->statusMessage, "<strong>Login Error:</strong> There was an error registering your account. Please try again.");
$C_ = new WP_Error();
$C_->add("registration_error", __("<strong>ERROR</strong>: There was an error registering your account. Please try again."));
return $C_;
goto KM;
Qy:
$user = get_user_by("login", $BB);
if (!($e2 == true)) {
goto cI;
}
error_log("saving user meta key");
update_user_meta($user->ID, "mo_ldap_user_session_key", Mo_Ldap_Local_Util::encrypt($B_));
cI:
update_user_meta($user->ID, "mo_ldap_user_dn", $Tn->userDn, false);
update_user_meta($user->ID, "mo_ldap_user_phone", $ZX);
$P4 = get_option("mo_ldap_local_enable_role_mapping");
$nt = new Mo_Ldap_Local_Role_Mapping();
$Wo = $nt->get_member_of_attribute($BB);
if (!($P4 == 1)) {
goto cp;
}
$nt->mo_ldap_local_update_role_mapping($user->ID, $Wo);
cp:
$user = get_user_by("id", $user->ID);
if ($YM == 1) {
goto pP;
}
$bn = array();
goto zD;
pP:
$bn = $Tn->extraProfileAttributesList;
zD:
if (!array_key_exists("memberof", $bn)) {
goto rV;
}
$bn["memberof"] = $Wo;
rV:
foreach ($bn as $xS => $XO) {
update_user_meta($user->ID, $xS, $XO);
wl:
}
Dy:
do_action("mo_ldap_buddypress", $bn, $user);
do_action("mo_ldap_attribute_to_usermeta_update", $user);
do_action("mo_ldap_profile_picture_mapping", $user);
do_action("mo_ldap_buddypress_profile_picture_mapping", $user);
do_action("mo_wp_to_ldap_groups_mapping", $user, $Wo);
do_action("mo_ldap_learndash_groups_mapping", $user, $Wo);
do_action("mo_ldap_tutor_groups_mapping", $user, $Wo);
if (!($Pq == 1)) {
goto Wi;
}
delete_option("um_cache_userdata_{$user->ID}");
Wi:
if ($nP == 1) {
goto Y_;
}
$nM = get_option("mo_ldap_enable_role_restriction");
if (!$nM) {
goto N5;
}
$X5 = new Mo_Ldap_Local_Role_Mapping();
$bU = $X5->mo_ldap_is_user_login_restricted($user->roles);
if (!$bU) {
goto aU;
}
$C_ = new WP_Error();
$C_->add("UNKNOWN_ERROR", __("<strong>ERROR</strong>: You are not allowed to Login. Please contact your administrator"));
return $C_;
aU:
N5:
return $user;
goto UE;
Y_:
wp_set_auth_cookie($user->ID, false);
apply_filters("login_redirect", null, null, $user);
UE:
KM:
goto wj;
Um:
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error:</strong> Your Administrator has not enabled Auto Registration. Please contact your Administrator.");
$C_ = new WP_Error();
$C_->add("registration_disabled_error", __("<strong>ERROR</strong>: Your Administrator has not enabled Auto Registration. Please contact your Administrator."));
return $C_;
wj:
goto YF;
zh:
$uW = strtolower(get_option("mo_ldap_local_email_attribute"));
$user = false;
if (username_exists($BB)) {
goto sz;
}
if (email_exists($BB)) {
goto Oe;
}
if (isset($pF[$uW]) && email_exists($pF[$uW])) {
goto Om;
}
goto Gh;
sz:
$user = get_user_by("login", $BB);
goto Gh;
Oe:
$user = get_user_by("email", $BB);
goto Gh;
Om:
$user = get_user_by("email", $pF[$uW]);
Gh:
if ($user) {
goto PN;
}
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error:</strong> Invalid Username/Password combination");
goto fR;
PN:
if (!($e2 == true)) {
goto A2;
}
error_log("saving user meta key");
update_user_meta($user->ID, "mo_ldap_user_session_key", Mo_Ldap_Local_Util::encrypt($B_));
A2:
$Kv->fetch_or_update_user_attributes($user, $Tn);
$user = get_user_by("id", $user->ID);
if (!($Pq == 1)) {
goto uY;
}
delete_option("um_cache_userdata_{$user->ID}");
uY:
if ($nP == 1) {
goto uj;
}
$nM = get_option("mo_ldap_enable_role_restriction");
if (!$nM) {
goto iz;
}
$X5 = new Mo_Ldap_Local_Role_Mapping();
$bU = $X5->mo_ldap_is_user_login_restricted($user->roles);
if (!$bU) {
goto aH;
}
$C_ = new WP_Error();
$C_->add("UNKNOWN_ERROR", __("<strong>ERROR</strong>: You are not allowed to Login. Please contact your administrator"));
return $C_;
aH:
iz:
return $user;
goto Hk;
uj:
wp_set_auth_cookie($user->ID, false);
apply_filters("login_redirect", null, null, $user);
Hk:
fR:
YF:
wp_redirect(site_url());
exit;
goto xa;
bU:
$user = false;
if (username_exists($BB)) {
goto t8;
}
if (email_exists($BB)) {
goto n_;
}
goto RZ;
t8:
$user = get_user_by("login", $BB);
goto RZ;
n_:
$user = get_user_by("email", $BB);
RZ:
if ($user) {
goto AK;
}
if ($Tn->statusCode == "LDAP_CONNECTION_ERROR") {
goto DP;
}
if ($Tn->statusCode == "LDAP_BIND_ERROR_USER_EXISTS") {
goto OY;
}
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error</strong>: User with specified Username/Email address Not Found.");
$C_ = new WP_Error();
$C_->add("incorrect_credentials", __("<strong>Login Error</strong>: User with specified Username/Email address Not Found."));
return $C_;
goto Mm;
AK:
if (!(!$w1 && $Tn->statusCode == "LDAP_BIND_SUCCESS_USER_EXISTS")) {
goto VN;
}
$wQ = get_user_meta($user->ID, "mo_ldap_user_dn");
$wQ = !empty($wQ) ? $wQ : false;
if (!($wQ != false)) {
goto hU;
}
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Trial:</strong> Your Trial License has Expired");
$C_ = new WP_Error();
$C_->add("registration_disabled_error", __("<strong>ERROR</strong>: Your miniOrange LDAP/AD Login for Intranet Sites Trial License has expired."));
return $C_;
hU:
VN:
$oc = false;
if ($qk == "all" || !$w1) {
goto e5;
}
if ($qk == "admin" && user_can($user->ID, "manage_options")) {
goto uT;
}
goto r0;
e5:
$oc = true;
goto r0;
uT:
$oc = true;
r0:
if ($oc && wp_check_password($B_, $user->data->user_pass, $user->ID)) {
goto Bo;
}
if ($Tn->statusCode == "LDAP_CONNECTION_ERROR") {
goto uC;
}
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error</strong>: The password you entered for the User <strong>" . $BB . "</strong> is incorrect.");
$C_ = new WP_Error();
$C_->add("incorrect_credentials", __("<strong>Login Error</strong>: The password you entered for the User <strong>" . $BB . "</strong> is incorrect."));
return $C_;
goto qC;
Bo:
$nM = get_option("mo_ldap_enable_role_restriction");
if (!$nM) {
goto Og;
}
$X5 = new Mo_Ldap_Local_Role_Mapping();
$bU = $X5->mo_ldap_is_user_login_restricted($user->roles);
if (!$bU) {
goto JF;
}
$C_ = new WP_Error();
$C_->add("UNKNOWN_ERROR", __("<strong>ERROR</strong>: You are not allowed to Login. Please contact your administrator"));
return $C_;
JF:
Og:
return $user;
goto qC;
uC:
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error</strong>: LDAP server is not reachable. Authentication failed against Local WordPress server.");
$C_ = new WP_Error();
$C_->add("incorrect_credentials", __("<strong>Login Error</strong>: LDAP server is not reachable. Authentication failed against Local WordPress server."));
return $C_;
qC:
goto Mm;
DP:
$this->mo_ldap_report_update($BB, "ERROR", "<strong>ERROR</strong>: LDAP server is not reachable.");
$C_ = new WP_Error();
$C_->add("incorrect_credentials", __("<strong>ERROR</strong>: LDAP server is not reachable."));
return $C_;
goto Mm;
OY:
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error</strong>: The password you entered for the User <strong>" . $BB . "</strong> is incorrect.");
$C_ = new WP_Error();
$C_->add("incorrect_credentials", __("<strong>Login Error</strong>: The password you entered for the User <strong>" . $BB . "</strong> is incorrect."));
return $C_;
Mm:
goto xa;
f4:
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error</strong>: LDAP server is not reachable");
$C_ = new WP_Error();
$C_->add("incorrect_credentials", __("<strong>Login Error</strong>: LDAP server is not reachable. Fallback to local WordPress authentication is not enabled."));
return $C_;
goto xa;
yi:
$this->mo_ldap_report_update($BB, "ERROR", "<strong>Login Error</strong>: The password you entered for the User <strong>" . $BB . "</strong> is incorrect.");
$C_ = new WP_Error();
$C_->add("incorrect_credentials", __("<strong>Login Error</strong>: The password you entered for the User <strong>" . $BB . "</strong> is incorrect."));
return $C_;
goto xa;
g7:
$this->mo_ldap_report_update($BB, $Tn->statusMessage, "<strong>Login Error</strong>: <a target="_blank" href="http://php.net/manual/en/ldap.installation.php">PHP LDAP extension</a> is not installed or disabled. Please enable it.");
$C_ = new WP_Error();
$C_->add("LDAP_EXTENSION_ERROR", __("<strong>Login Error</strong>: <a target="_blank" href="http://php.net/manual/en/ldap.installation.php">PHP LDAP extension</a> is not installed or disabled. Please enable it."));
return $C_;
goto xa;
yb:
$this->mo_ldap_report_update($BB, $Tn->statusMessage, "<strong>Login Error</strong>: <a target="_blank" href="http://php.net/manual/en/openssl.installation.php">PHP OpenSSL extension</a> is not installed or disabled.");
$C_ = new WP_Error();
$C_->add("OPENSSL_EXTENSION_ERROR", __("<strong>Login Error</strong>: <a target="_blank" href="http://php.net/manual/en/openssl.installation.php">PHP OpenSSL extension</a> is not installed or disabled."));
return $C_;
xa:
}
function mo_ldap_local_login_widget_menu()
{
add_menu_page("LDAP/AD Login for Intranet", "LDAP/AD Login for Intranet", "activate_plugins", "mo_ldap_local_login", array($this, "mo_ldap_local_login_widget_options"), plugin_dir_url(__FILE__) . "includes/images/miniorange_icon.png");
}
function mo_ldap_local_login_widget_options()
{
$SZ = array("server_url" => "ldap://58.64.132.235:389", "service_account_dn" => "cn=testuser,cn=Users,dc=miniorange,dc=com", "admin_password" => "XXXXXXXX", "dn_attribute" => "distinguishedName", "search_base" => "cn=Users,dc=miniorange,dc=com", "username_attribute" => "sAMAccountName", "search_filter" => "(&(objectClass=*)(cn=?))", "test_username" => "testuser", "test_password" => "password");
update_option("mo_ldap_local_default_config", $SZ);
mo_ldap_local_settings();
}
function login_widget_save_options()
{
$w1 = apply_filters("mo_check_config", '');
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_local_verify_customer") == 0) {
goto yl;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_local_verify_license") == 0) {
goto I9;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo-check-license-button") == 0) {
goto kG;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo-change-account-button") == 0) {
goto nj;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_public_pages") == 0) {
goto qY;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_delete_page") == 0) {
goto P5;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_local_login_send_query") == 0) {
goto X9;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_login_send_query") == 0) {
goto mI;
}
if (isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_login_send_feature_request_query") == 0) {
goto Ai;
}
goto Mk;
yl:
$uY = '';
$B_ = '';
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["email"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["password"])) {
goto ip;
}
$uY = sanitize_email($_POST["email"]);
$B_ = $_POST["password"];
goto sm;
ip:
update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries.");
$this->show_error_message();
return;
sm:
update_option("mo_ldap_local_admin_email", $uY);
update_option("mo_ldap_local_password", $B_);
$xH = new Mo_Ldap_Local_Customer();
$Cg = $xH->get_customer_key();
$Ni = json_decode($Cg, true);
if (strcasecmp($Ni["status"], "SUCCESS") == 0) {
goto io;
}
if (strcasecmp($Ni["status"], "ERROR") == 0) {
goto iK;
}
update_option("mo_ldap_local_message", "Invalid username or password. Please try again.");
$this->show_error_message();
goto E7;
io:
update_option("mo_ldap_local_admin_phone", $Ni["phone"]);
$this->save_success_customer_config($Ni["id"], $Ni["apiKey"], $Ni["token"], "Your account has been retrieved successfully.");
update_option("mo_ldap_local_password", '');
goto E7;
iK:
update_option("mo_ldap_local_message", $Ni["statusMessage"]);
$this->show_error_message();
E7:
update_option("mo_ldap_local_password", '');
goto Mk;
I9:
if (!Mo_Ldap_Local_Util::check_empty_or_null($_POST["mo_ldap_local_license_key"])) {
goto gp;
}
update_option("mo_ldap_local_message", "All the fields are required. Please enter valid license key.");
$this->show_error_message();
return;
gp:
$yr = trim($_POST["mo_ldap_local_license_key"]);
$xH = new Mo_Ldap_Local_Customer();
$Cg = json_decode($xH->XfskodsfhHJ($yr), true);
if (isset($Cg["status"]) && $Cg["isTrial"] == true) {
goto Zb;
}
if (isset($Cg["status"]) && strcasecmp($Cg["status"], "SUCCESS") == 0) {
goto J_;
}
if (isset($Cg["status"]) && strcasecmp($Cg["status"], "FAILED") == 0) {
goto rQ;
}
update_option("mo_ldap_local_message", "An error occured while processing your request. Please Try again.");
$this->show_error_message();
goto oU;
Zb:
$L6 = Jp_hwfrqar_mzwhwzl_arvowfra::bp_efzwoezr_zvweh_hwfrqar($Cg, $yr);
update_option("mo_ldap_local_message", $L6["displayMsg"]);
if ($L6["trialStatus"]) {
goto id;
}
$this->show_error_message();
goto Tu;
id:
$this->show_success_message();
Tu:
goto oU;
J_:
update_option("mo_plugin_utility_key_stat", Jp_hwfrqar_mzwhwzl_arvowfra::rqfvlyz_mzwhwzl("premium"));
delete_option("mo_plugin_utility_key");
update_option("mo_ldap_local_license_verified", "true");
update_option("mo_ldap_local_license_key", Mo_Ldap_Local_Util::encrypt($yr));
update_option("mo_ldap_local_message", "Your license is verified. You can now setup the plugin.");
$this->show_success_message();
goto oU;
rQ:
if (isset($Cg["status"]) && strcasecmp($Cg["message"], "Code has Expired") == 0) {
goto x_;
}
update_option("mo_ldap_local_message", "You have entered an invalid license key. Please enter a valid license key.");
goto ux;
x_:
$Mc = add_query_arg(array("tab" => "pricing"), $_SERVER["REQUEST_URI"]);
update_option("mo_ldap_local_message", "License key you have entered has already been used. Please enter a key which has not been used before on any other instance or if you have exausted all your keys then <a href="" . $Mc . "">Click here</a> to buy more.");
ux:
$this->show_error_message();
oU:
goto Mk;
kG:
Mo_Utility_Service::vrtvrag_hwfrqar_rnywvl();
$yr = Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_license_key"));
$xH = new Mo_Ldap_Local_Customer();
$Cg = json_decode($xH->XfskodsfhHJ($yr), true);
$lI = Jp_hwfrqar_mzwhwzl_arvowfra::bp_myjezr_hwfrqar_mzwhwzl($Cg);
update_option("mo_ldap_local_message", $lI);
$this->show_success_message();
goto Mk;
nj:
Jp_hwfrqar_mzwhwzl_arvowfra::bp_hpspmz_fmazpbrv_mzwhwzl();
goto Mk;
qY:
$wf = $_POST["mo_ldap_custom_page_restriction_check"];
update_option("mo_ldap_public_pages_enable", $wf);
$K6 = 1;
$ce = !empty(get_option("mo_ldap_public_pages_list")) ? unserialize(get_option("mo_ldap_public_pages_list")) : array();
X3:
if (!isset($_POST["mo_ldap_custom_page_" . $K6])) {
goto nm;
}
if (!(strcasecmp($_POST["mo_ldap_custom_page_" . $K6], '') != 0)) {
goto JO;
}
$JF = rtrim(sanitize_text_field(strtolower($_POST["mo_ldap_custom_page_" . $K6])), "/");
if (!in_array($JF, $ce)) {
goto A0;
}
$Bi = "Page <b>" . $JF . "</b> Already Added.";
update_option("mo_ldap_local_message", $Bi);
$this->show_error_message();
goto Rk;
A0:
array_push($ce, $JF);
$Bi = "Page <b>" . $JF . "</b> Added Successfully";
update_option("mo_ldap_local_message", $Bi);
$this->show_success_message();
Rk:
JO:
$K6++;
goto X3;
nm:
update_option("mo_ldap_public_pages_list", serialize($ce));
goto Mk;
P5:
$JF = $_POST["mo_ldap_delete_page_name"];
$ce = !empty(get_option("mo_ldap_public_pages_list")) ? unserialize(get_option("mo_ldap_public_pages_list")) : array();
$O4 = array_search($JF, $ce);
unset($ce[$O4]);
update_option("mo_ldap_public_pages_list", serialize($ce));
$Bi = "Page <b>" . $JF . "</b> Removed Successfully.";
update_option("mo_ldap_local_message", $Bi);
$this->show_success_message();
goto Mk;
X9:
$PI = sanitize_text_field($_POST["query"]);
$uY = sanitize_text_field($_POST["query_email"]);
$ZX = sanitize_text_field($_POST["query_phone"]);
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ($Wm) {
goto cZ;
}
$PI = "[WP LDAP for Intranet (Premium single site)]: " . $PI;
goto xD;
cZ:
$PI = "[WP LDAP for Intranet (Free Trial single site)]: " . $PI;
xD:
$this->mo_ldap_send_query($uY, $ZX, $PI);
goto Mk;
mI:
$uY = sanitize_text_field($_POST["inner_form_email_id"]);
$ZX = sanitize_text_field($_POST["inner_form_phone_id"]);
$PI = sanitize_text_field($_POST["inner_form_query_id"]);
$jp = get_option("mo_ldap_directory_server_value");
if (strcasecmp($jp, "msad") == 0) {
goto yL;
}
if (strcasecmp($jp, "openldap") == 0) {
goto ZM;
}
if (strcasecmp($jp, "freeipa") == 0) {
goto Rj;
}
if (strcasecmp($jp, "jumpcloud") == 0) {
goto SM;
}
if (strcasecmp($jp, "other") == 0) {
goto vF;
}
$jp = "Not Configured";
goto wv;
yL:
$jp = "Microsoft Active Directory";
goto wv;
ZM:
$jp = "OpenLDAP";
goto wv;
Rj:
$jp = "FreeIPA";
goto wv;
SM:
$jp = "JumpCloud";
goto wv;
vF:
$jp = get_option("mo_ldap_directory_server_custom_value");
wv:
update_option("mo_ldap_local_directory_server", $jp);
$BN = $_POST["export_configuration_choice"];
if ($BN == "yes") {
goto R2;
}
if ($BN == "no") {
goto CQ;
}
goto sh;
R2:
$eg = $this->auto_email_ldap_export();
$eg = implode(" <br>", $eg);
$PI = $PI . " ,<br><br>Plugin Configuration:<br> " . $eg;
goto sh;
CQ:
$eg = "Configuration was not uploaded by user";
$PI = $PI . " ,<br><br>Plugin Configuration:<br> " . $eg;
sh:
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ($Wm) {
goto iR;
}
$PI = "[WP LDAP for Intranet (Premium single site)]: " . $PI;
goto K2;
iR:
$PI = "[WP LDAP for Intranet (Free Trial single site)]: " . $PI;
K2:
$this->mo_ldap_send_query($uY, $ZX, $PI);
goto Mk;
Ai:
$uY = sanitize_text_field($_POST["query_email"]);
$ZX = sanitize_text_field($_POST["query_phone"]);
$PI = sanitize_text_field($_POST["query"]);
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ($Wm) {
goto VX;
}
$PI = "[WP LDAP for Intranet (Premium single site)]: " . $PI;
goto Ko;
VX:
$PI = "[WP LDAP for Intranet (Free Trial single site)]: " . $PI;
Ko:
$this->mo_ldap_send_query($uY, $ZX, $PI);
Mk:
if (!(isset($_POST["option"]) && $w1)) {
goto PYH;
}
$jj = $_POST["option"];
switch ($jj) {
case "mo_ldap_local_save_config":
if (NddKoYsdasadJD()) {
goto dj;
}
update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key.");
$this->show_error_message();
goto nL;
dj:
$oo = isset($_POST["anonymous_bind"]) ? 1 : 0;
update_option("mo_ldap_local_anonymous_bind", $oo);
$Ge = '';
$gm = '';
$Ps = '';
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["ldap_server"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["dn"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["admin_password"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["mo_ldap_protocol"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["mo_ldap_server_port_no"])) {
goto Z6;
}
$k2 = $_POST["mo_ldap_protocol"];
$jH = sanitize_text_field($_POST["mo_ldap_server_port_no"]);
$Co = sanitize_text_field($_POST["ldap_server"]);
$Ge = $k2 . "://" . $Co . ":" . $jH;
$gm = sanitize_text_field($_POST["dn"]);
$Ps = $_POST["admin_password"];
goto Yy;
Z6:
update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries.");
$this->show_error_message();
return;
Yy:
if (!Mo_Ldap_Local_Util::is_extension_installed("openssl")) {
goto vQ;
}
$J5 = $_POST["mo_ldap_directory_server_value"];
if (strcasecmp($J5, "other") == 0) {
goto Dx;
}
delete_option("mo_ldap_directory_server_custom_value");
goto u4;
Dx:
$nC = isset($_POST["mo_ldap_directory_server_custom_value"]) && !empty($_POST["mo_ldap_directory_server_custom_value"]) ? $_POST["mo_ldap_directory_server_custom_value"] : "other";
update_option("mo_ldap_directory_server_custom_value", $nC);
u4:
update_option("mo_ldap_directory_server_value", $J5);
update_option("mo_ldap_local_ldap_protocol", $k2);
update_option("mo_ldap_local_ldap_server_address", Mo_Ldap_Local_Util::encrypt($Co));
if ($k2 == "ldap") {
goto mo;
}
if ($k2 == "ldaps") {
goto xX;
}
goto wU;
mo:
update_option("mo_ldap_local_ldap_port_number", $jH);
goto wU;
xX:
update_option("mo_ldap_local_ldaps_port_number", $jH);
wU:
update_option("mo_ldap_local_server_url", Mo_Ldap_Local_Util::encrypt($Ge));
update_option("mo_ldap_local_server_dn", Mo_Ldap_Local_Util::encrypt($gm));
update_option("mo_ldap_local_server_password", Mo_Ldap_Local_Util::encrypt($Ps));
$Kv = new Mo_Ldap_Local_Config();
$Bi = "Your configuration has been saved.";
$Tj = $Kv->test_connection();
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_BIND_SUCCESSFUL") == 0) {
goto r5;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_BIND_ERROR") == 0) {
goto Na;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_CONNECTION_ERROR") == 0) {
goto q1;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_EXTENSION_ERROR") == 0) {
goto PX;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "OPENSSL_EXTENSION_ERROR") == 0) {
goto XU;
}
goto Kd;
r5:
update_option("mo_ldap_local_message", " Connection was established successfully. " . $Bi . " Please configure LDAP User Mapping now.", '', "no");
update_option("mo_ldap_local_verify_ldap_connection", "true");
$this->show_success_message();
goto Kd;
Na:
$this->mo_ldap_report_update("LDAP CONNECTION TEST", "ERROR", "<strong>Test Connection Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
update_option("mo_ldap_local_verify_ldap_connection", "false");
$this->show_error_message();
goto Kd;
q1:
$this->mo_ldap_report_update("LDAP CONNECTION TEST", "ERROR", "<strong>Test Connection Error: </strong>Cannot connect to LDAP Server. Make sure you have entered correct LDAP server hostname or IP address.");
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
update_option("mo_ldap_local_verify_ldap_connection", "false");
$this->show_error_message();
goto Kd;
PX:
$this->mo_ldap_report_update("LDAP CONNECTION TEST", "ERROR", "<strong>Test Connection Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
update_option("mo_ldap_local_verify_ldap_connection", "false");
$this->show_error_message();
goto Kd;
XU:
$this->mo_ldap_report_update("LDAP CONNECTION TEST", "ERROR", "<strong>Test Connection Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
update_option("mo_ldap_local_verify_ldap_connection", "false");
$this->show_error_message();
Kd:
goto Hh;
vQ:
update_option("mo_ldap_local_message", "PHP OpenSSL extension is not installed or disabled. Please enable it first.");
$this->show_error_message();
Hh:
nL:
goto N0;
case "mo_ldap_local_tls_enable":
$c6 = isset($_POST["mo_ldap_local_tls_enable"]) ? $_POST["mo_ldap_local_tls_enable"] : 0;
update_option("mo_ldap_local_use_tls", $c6);
if ($c6 == 1) {
goto j9;
}
update_option("mo_ldap_local_message", "TLS has been disabled.");
$this->show_error_message();
goto tM;
j9:
update_option("mo_ldap_local_message", "TLS has been enabled.");
$this->show_success_message();
tM:
goto N0;
case "mo_ldap_local_save_user_mapping":
delete_option("mo_ldap_local_user_mapping_status");
update_option("mo_local_filter_check", isset($_POST["ldap_search_filters"]) ? 1 : 0);
$HB = '';
$HD = '';
$OP = '';
$mK = array();
$SE = array();
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["search_base"])) {
goto s7;
}
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["user_attribute_text"]) && Mo_Ldap_Local_Util::check_empty_or_null($_POST["search_filter"])) {
goto j_;
}
$HD = strtolower(sanitize_text_field($_POST["search_base"]));
goto JQ;
s7:
update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries.");
add_option("mo_ldap_local_user_mapping_status", "INVALID", '', "no");
$this->show_error_message();
return;
goto JQ;
j_:
update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries.");
add_option("mo_ldap_local_user_mapping_status", "INVALID", '', "no");
$this->show_error_message();
return;
JQ:
if (!Mo_Ldap_Local_Util::is_extension_installed("openssl")) {
goto e0;
}
$OP = sanitize_text_field($_POST["search_filter"]);
$M9 = sanitize_text_field($_POST["user_attribute_text"]);
$ur = sanitize_text_field($_POST["extra_user_attribute"]);
if (!isset($M9)) {
goto Wa;
}
foreach ($_POST["user_attribute_text"] as $O4 => $XO) {
$mK[$O4] = $XO;
i0:
}
GK:
Wa:
update_option("mo_ldap_local_search_filter", Mo_Ldap_Local_Util::encrypt($OP));
update_option("mo_ldap_local_username_attribute", $mK);
update_option("mo_ldap_local_extra_user_attribute", $ur);
update_option("mo_ldap_local_search_base", Mo_Ldap_Local_Util::encrypt($HD));
$Bi = "LDAP User Mapping Configuration has been saved. Please test authentication to verify LDAP User Mapping Configuration.";
update_option("mo_ldap_local_message", $Bi, '', "no");
add_option("mo_ldap_local_user_mapping_status", "VALID", '', "no");
$this->show_success_message();
update_option("mo_ldap_local_check_user_mapping_config", "true");
goto c2;
e0:
update_option("mo_ldap_local_message", "PHP OpenSSL extension is not installed or disabled. Please enable it first.");
add_option("mo_ldap_local_user_mapping_status", "INVALID", '', "no");
$this->show_error_message();
c2:
goto N0;
case "mo_ldap_local_test_auth":
if (NddKoYsdasadJD()) {
goto Kv;
}
update_option("mo_ldap_local_message", "Settings can't be tested without verifying your license key.");
$this->show_error_message();
goto tz;
Kv:
$Ge = get_option("mo_ldap_local_server_url");
$gm = get_option("mo_ldap_local_server_dn");
$Ps = get_option("mo_ldap_local_server_password");
$HD = get_option("mo_ldap_local_search_base");
$mK = get_option("mo_ldap_local_username_attribute");
$OP = get_option("mo_ldap_local_search_filter");
$d9 = '';
$ZU = '';
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["test_username"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["test_password"])) {
goto hk;
}
if (Mo_Ldap_Local_Util::check_empty_or_null($Ge) || Mo_Ldap_Local_Util::check_empty_or_null($gm) || Mo_Ldap_Local_Util::check_empty_or_null($Ps) || Mo_Ldap_Local_Util::check_empty_or_null($HD) || Mo_Ldap_Local_Util::check_empty_or_null($mK) || Mo_Ldap_Local_Util::check_empty_or_null($OP)) {
goto cq;
}
$d9 = sanitize_text_field($_POST["test_username"]);
$ZU = $_POST["test_password"];
goto GT;
hk:
$this->mo_ldap_report_update("Test Authentication ", "ERROR", "<strong>ERROR</strong>: All the fields are required. Please enter valid entries.");
update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries.", '', "no");
$this->show_error_message();
return;
goto GT;
cq:
$this->mo_ldap_report_update("Test authentication", "ERROR", "<strong>Test Authentication Error</strong>: Please save LDAP Configuration to test authentication.");
update_option("mo_ldap_local_message", "Please save LDAP Configuration to test authentication.", '', "no");
$this->show_error_message();
return;
GT:
$Kv = new Mo_Ldap_Local_Config();
$Tj = $Kv->test_authentication($d9, $ZU);
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_BIND_SUCCESS_USER_EXISTS") == 0) {
goto Gp;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_CONNECTION_ERROR") == 0) {
goto oE;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_BIND_ERROR_USER_EXISTS") == 0) {
goto mp;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_BIND_ERROR") == 0) {
goto OW;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_USER_NOT_EXIST") == 0) {
goto Ky;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_USER_SEARCH_ERROR") == 0) {
goto EG;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_EXTENSION_ERROR") == 0) {
goto F8;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "OPENSSL_EXTENSION_ERROR") == 0) {
goto mG;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "LDAP_LOCAL_SERVER_NOT_CONFIGURED") == 0) {
goto K1;
}
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong> There was an error processing your request. Please verify the Search Base(s) and Username attribute. Your user should be present in the Search base defined.");
update_option("mo_ldap_local_message", "There was an error processing your request. Please verify the Search Base(s) and Username attribute. Your user should be present in the Search base defined.");
$this->show_error_message();
goto BU;
Gp:
$jz = add_query_arg(array("tab" => "rolemapping"), $_SERVER["REQUEST_URI"]);
$Bi = "You have successfully configured your LDAP settings.<br>
\xa You can now do either of two things.<br>
1. Enable LDAP Login at the top and then <a href="" . wp_logout_url(get_permalink()) . "">Logout</a> from WordPress and login again with your LDAP credentials.<br> \xd
2. Do role mapping (<a href="" . $jz . "">Click here</a>)";
update_option("mo_ldap_local_message", $Bi, '', "no");
$this->show_success_message();
goto BU;
oE:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
goto BU;
mp:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
goto BU;
OW:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
goto BU;
Ky:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong> Cannot find user in the directory");
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
goto BU;
EG:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong> Cannot find user in the directory");
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
goto BU;
F8:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
goto BU;
mG:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
goto BU;
K1:
$this->mo_ldap_report_update($_POST["test_username"], "ERROR", "<strong>Test Authentication Error: </strong>" . $Tj->statusMessage);
update_option("mo_ldap_local_message", $Tj->statusMessage, '', "no");
$this->show_error_message();
BU:
tz:
goto N0;
case "mo_ldap_local_enable":
if (NddKoYsdasadJD()) {
goto DA;
}
update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key.");
$this->show_error_message();
goto Hu;
DA:
$oh = isset($_POST["enable_ldap_login"]) ? $_POST["enable_ldap_login"] : 0;
update_option("mo_ldap_local_enable_login", $oh);
if ($oh == 1) {
goto Dd;
}
update_option("mo_ldap_local_message", "Login through your LDAP has been disabled.");
$this->show_error_message();
goto EF;
Dd:
update_option("mo_ldap_local_message", "Login through your LDAP has been enabled.");
$this->show_success_message();
EF:
Hu:
goto N0;
case "mo_ldap_local_enable_both_login":
$kT = isset($_POST["mo_ldap_local_enable_both_login"]) ? $_POST["mo_ldap_local_enable_both_login"] : '';
update_option("mo_ldap_local_enable_both_login", $kT);
if ($kT == "admin") {
goto eg;
}
if ($kT == "all") {
goto lP;
}
update_option("mo_ldap_local_message", "Login using Local WordPress Credentials is <b>disabled</b>.");
$this->show_error_message();
goto eM;
eg:
update_option("mo_ldap_local_message", "Login using Local WordPress Credentials for <b>Administrators</b> is enabled.");
$this->show_success_message();
goto eM;
lP:
update_option("mo_ldap_local_message", "Login using Local WordPress Credentials for <b>All Users</b> is enabled.");
$this->show_success_message();
eM:
goto N0;
case "mo_ldap_local_save_login_redirect":
$x3 = $_POST["redirect_to"];
update_option("mo_ldap_local_redirect_to", $x3);
if ($x3 == "profile") {
goto WH;
}
if ($x3 == "homepage") {
goto xl;
}
goto JN;
WH:
update_option("mo_ldap_local_message", "Users will get redirected to Profile Page after login.");
goto JN;
xl:
update_option("mo_ldap_local_message", "Users will get redirected to Home Page after login.");
JN:
if ($x3 != "custom" && $x3 !== "none") {
goto gD;
}
if ($x3 == "none") {
goto I7;
}
goto zY;
gD:
$this->show_success_message();
goto zY;
I7:
update_option("mo_ldap_local_message", "Redirection after login is disabled.");
$this->show_error_message();
zY:
goto N0;
case "mo_ldap_local_custom_redirect":
$JY = $_POST["mo_ldap_local_custom_url"];
update_option("mo_ldap_local_custom_redirect", $JY);
update_option("mo_ldap_local_message", "Users will get redirected to custom redirect URL after login.");
$this->show_success_message();
goto N0;
case "mo_ldap_local_register_user":
if (NddKoYsdasadJD()) {
goto J5;
}
update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key.");
$this->show_error_message();
goto Hg;
J5:
$Td = isset($_POST["mo_ldap_local_register_user"]) ? $_POST["mo_ldap_local_register_user"] : 0;
update_option("mo_ldap_local_register_user", $Td);
if ($Td == 1) {
goto uQ;
}
update_option("mo_ldap_local_message", "Auto Registering users has been disabled.");
$this->show_error_message();
goto V5;
uQ:
update_option("mo_ldap_local_message", "Auto Registering users has been enabled.");
$this->show_success_message();
V5:
Hg:
goto N0;
case "mo_ldap_local_authorized_users_only":
if (NddKoYsdasadJD()) {
goto ef;
}
update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key.");
$this->show_error_message();
goto KE;
ef:
$Vl = isset($_POST["authorized_users_only"]) ? $_POST["authorized_users_only"] : 0;
update_option("mo_ldap_local_authorized_users_only", $Vl);
if ($Vl == 1) {
goto rD;
}
update_option("mo_ldap_local_message", "Protect Content by Login disabled.");
$this->show_error_message();
goto wM;
rD:
update_option("mo_ldap_local_message", "Protect Content by Login enabled.");
$this->show_success_message();
wM:
KE:
goto N0;
case "mo_ldap_local_group_role_mapping":
$yF = isset($_POST["enable_ldap_role_mapping_based_on_ldap_groups"]) ? $_POST["enable_ldap_role_mapping_based_on_ldap_groups"] : 0;
update_option("mo_ldap_local_enable_role_mapping_based_on_ldap_groups", $yF);
if ($yF == 1) {
goto qV;
}
update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been disabled.");
$this->show_error_message();
goto Ye;
qV:
update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been enabled.");
$this->show_success_message();
Ye:
goto N0;
case "mo_ldap_fetch_groups_list":
if (!isset($_REQUEST["mo_ldap_groups_search_base"])) {
goto bG;
}
$ty = trim($_REQUEST["mo_ldap_groups_search_base"]);
bG:
update_option("mo_ldap_local_groups_search_base", Mo_Ldap_Local_Util::encrypt($ty));
update_option("mo_ldap_show_groups", 1);
goto N0;
case "mo_ldap_local_save_mapping":
$YT = array();
$QY = array();
$SE = array();
$FC = 1;
$lf = 0;
$rv = $_POST["mapping_key_" . $FC];
sC:
if (!isset($rv)) {
goto Oc;
}
if (empty($rv)) {
goto zi;
}
$t5 = $_POST["selected_for_save_role_mapping_" . $FC];
if (!($t5 == "true")) {
goto Al;
}
$lf++;
$nr = $_POST["mapping_group_name_" . $FC];
$SE[$lf] = $nr;
$YT["mo_ldap_local_mapping_key_" . $lf] = trim($rv);
$QY["mo_ldap_local_mapping_value_" . $lf] = $_POST["mapping_value_" . $FC];
Al:
zi:
$FC++;
$rv = $_POST["mapping_key_" . $FC];
goto sC;
Oc:
update_option("mo_ldap_local_role_mapping_key_array", serialize($YT));
update_option("mo_ldap_local_role_mapping_value_array", serialize($QY));
update_option("mo_ldap_local_role_mapping_group_names", serialize($SE));
update_option("mo_ldap_local_role_mapping_count", $lf);
if (!isset($_POST["mapping_value_default"])) {
goto QD;
}
update_option("mo_ldap_local_mapping_value_default", $_POST["mapping_value_default"]);
QD:
if (!isset($_POST["mapping_memberof_attribute"])) {
goto L_;
}
update_option("mo_ldap_local_mapping_memberof_attribute", $_POST["mapping_memberof_attribute"]);
L_:
$kK = '';
$bw = get_option("mo_ldap_local_mapping_value_default");
$P4 = get_option("mo_ldap_local_enable_role_mapping");
if (!$bw) {
goto h8;
}
if ($P4 == 0) {
goto hi;
}
goto p1;
h8:
$kK = " Please select the Default Role and then check <b>"Enable Role Mapping"</b> to activate it.";
goto p1;
hi:
$kK = " Please check <b>"Enable Role Mapping"</b> to activate it.";
p1:
update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been updated." . $kK);
$this->show_success_message();
goto N0;
case "mo_ldap_ldap_ou_based_role_mapping":
$Gl = $_POST["enable_ldap_role_mapping_based_on_ldap_ou"];
$Ki = 1;
$r_ = array();
vN:
if (empty($_POST["mo_ldap_role_mapping_ou_value_" . $Ki])) {
goto A8;
}
$su = array();
if (empty($_POST["mo_ldap_role_mapping_ou_value_" . $Ki])) {
goto Bc;
}
$su["ou_value"] = trim($_POST["mo_ldap_role_mapping_ou_value_" . $Ki]);
$su["ou_based_wp_role_name"] = trim($_POST["mo_ldap_ou_mapping_role_name_" . $Ki]);
Bc:
array_push($r_, $su);
$Ki++;
goto vN;
A8:
update_option("mo_ldap_local_ou_role_mapping_options", serialize($r_));
if ($Gl == 1) {
goto MF;
}
update_option("mo_ldap_local_enable_role_mapping_based_on_ldap_ou", 0);
update_option("mo_ldap_local_message", "Disabled Role Mapping based on LDAP OU");
$this->show_error_message();
goto Pw;
MF:
update_option("mo_ldap_local_enable_role_mapping_based_on_ldap_ou", 1);
update_option("mo_ldap_local_message", "Successfully saved Role Mapping based on LDAP OU");
$this->show_success_message();
Pw:
goto N0;
case "mo_ldap_local_enable_role_mapping":
$P4 = isset($_POST["enable_ldap_role_mapping"]) ? $_POST["enable_ldap_role_mapping"] : 0;
update_option("mo_ldap_local_enable_role_mapping", $P4);
if ($P4 == 1) {
goto vZ;
}
update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been disabled.");
$this->show_error_message();
goto PU;
vZ:
update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been enabled.");
$this->show_success_message();
PU:
goto N0;
case "mo_ldap_local_keep_existing_user_roles":
$Sz = isset($_POST["keep_existing_user_roles"]) ? $_POST["keep_existing_user_roles"] : 0;
update_option("mo_ldap_local_keep_existing_user_roles", $Sz);
if ($Sz == 1) {
goto s9;
}
update_option("mo_ldap_local_message", "WP Roles of Existing users will be updated.");
$this->show_error_message();
goto Ca;
s9:
update_option("mo_ldap_local_message", "WP Roles of Existing users will not be removed.");
$this->show_success_message();
Ca:
goto N0;
case "mo_ldap_fetch_recursive_groups_enable":
$oV = isset($_POST["fetch_recursive_groups"]) ? $_POST["fetch_recursive_groups"] : 0;
update_option("mo_ldap_fetch_recursive_groups_enable", $oV);
if ($oV) {
goto ID;
}
update_option("mo_ldap_local_message", "Nested groups from the LDAP associated with the user will not be fetched.");
$this->show_error_message();
goto wA;
ID:
update_option("mo_ldap_local_message", "Nested groups from the LDAP associated with the user will be fetched.");
$this->show_success_message();
wA:
goto N0;
case "mo_ldap_save_default_role":
if (!isset($_POST["mapping_value_default"])) {
goto Oo;
}
update_option("mo_ldap_local_mapping_value_default", $_POST["mapping_value_default"]);
Oo:
goto N0;
case "mo_ldap_role_mapping_selection":
$BV = isset($_POST["mo_ldap_role_mapping_selected_tab"]) ? sanitize_text_field($_POST["mo_ldap_role_mapping_selected_tab"]) : 1;
update_option("mo_ldap_local_selected_role_mapping_subtab", $BV);
goto N0;
case "mo_ldap_enable_attribute_mapping":
$YM = isset($_POST["mo_ldap_local_enable_attr_mapping"]) ? 1 : 0;
update_option("mo_ldap_local_enable_attr_mapping", $YM);
if ($YM == 1) {
goto pm;
}
update_option("mo_ldap_local_message", "LDAP Attribute Mapping Disabled");
$this->show_error_message();
goto Im;
pm:
update_option("mo_ldap_local_message", "LDAP Attribute Mapping Enabled");
$this->show_success_message();
Im:
goto N0;
case "mo_ldap_enable_updating_ldap":
$bj = isset($_POST["enable_update_ldap"]) ? 1 : 0;
update_option("mo_ldap_local_enable_update_ldap", $bj);
if ($bj == 1) {
goto Fg;
}
update_option("mo_ldap_local_message", "Disabled updating information in LDAP when user edits profile");
$this->show_error_message();
goto Os;
Fg:
update_option("mo_ldap_local_message", "Enabled updating information in LDAP when user edits profile");
$this->show_success_message();
Os:
goto N0;
case "mo_ldap_save_attribute_config":
update_option("mo_ldap_directory_server_value", isset($_POST["mo_ldap_directory_server_value"]) ? $_POST["mo_ldap_directory_server_value"] : "msad");
$uW = sanitize_text_field($_POST["mo_ldap_email_attribute"]);
$my = sanitize_text_field($_POST["mo_ldap_phone_attribute"]);
$Ku = sanitize_text_field($_POST["mo_ldap_fname_attribute"]);
$Pv = sanitize_text_field($_POST["mo_ldap_lname_attribute"]);
$bJ = sanitize_text_field($_POST["mo_ldap_nickname_attribute"]);
$dK = sanitize_text_field($_POST["mo_ldap_display_name_attribute"]);
update_option("mo_ldap_local_email_attribute", $uW);
update_option("mo_ldap_local_phone_attribute", $my);
update_option("mo_ldap_local_fname_attribute", $Ku);
update_option("mo_ldap_local_lname_attribute", $Pv);
update_option("mo_ldap_local_nickname_attribute", $bJ);
update_option("mo_ldap_local_display_name_attribute", $dK);
$bn = unserialize(get_option("mo_ldap_local_custom_attributes"));
if (!Mo_Ldap_Local_Util::check_empty_or_null($bn)) {
goto Eg;
}
$bn = array();
Eg:
$ru = 1;
$wy = $_POST["mo_ldap_local_custom_attribute_" . $ru . "_name"];
vG:
if (!isset($wy)) {
goto DU;
}
if (empty($wy)) {
goto SF;
}
if (!(strpos($wy, " ") !== false)) {
goto NT;
}
$wy = str_replace(" ", '', $wy);
NT:
$aA = "mo_ldap_local_custom_attribute_" . strtolower(sanitize_text_field($wy));
$bn[$aA] = strtolower($wy);
SF:
$ru++;
$wy = $_POST["mo_ldap_local_custom_attribute_" . $ru . "_name"];
goto vG;
DU:
if (empty($bn)) {
goto dT;
}
$bn = array_unique($bn);
update_option("mo_ldap_local_custom_attributes", serialize(array_unique($bn)));
dT:
$qr = !empty(get_option("mo_ldap_attribute_usermeta_mapping")) ? get_option("mo_ldap_attribute_usermeta_mapping") : array();
$JE = array();
$cK = 0;
$iQ = "mo_ldap_usermeta_name_";
foreach ($_POST as $O4 => $XO) {
if (!(strpos($O4, $iQ) !== false)) {
goto LH;
}
$cK++;
$GT = strtolower(sanitize_text_field($XO));
$dE = strtolower(sanitize_text_field($_POST["mo_ldap_usermeta_value_" . $cK]));
$dE = str_replace(" ", '', $dE);
if (!(!empty($GT) && !empty($dE))) {
goto wL;
}
if (array_key_exists($GT, $JE)) {
goto I2;
}
$JE[$GT] = $dE;
I2:
update_option("mo_ldap_local_custom_attribute_" . $dE, $dE);
wL:
LH:
Vq:
}
ng:
update_option("mo_ldap_attribute_usermeta_mapping", $JE);
error_log(print_r($JE, true));
$qu = array();
$qu = array_diff($qr, $JE);
if (empty($qu)) {
goto VW;
}
foreach ($qu as $pm => $Z4) {
$i4 = get_users(array("meta_key" => $pm));
foreach ($i4 as $user) {
delete_user_meta($user->ID, $pm);
D4:
}
j4:
Hf:
}
Ik:
$O_ = "mo_ldap_local_custom_attribute_" . strtolower(sanitize_text_field($Z4));
unset($bn[$O_]);
VW:
if (!Mo_Ldap_Local_Util::check_empty_or_null($bn)) {
goto Oj;
}
$bn = array();
Oj:
foreach ($JE as $zA => $XO) {
$aA = "mo_ldap_local_custom_attribute_" . strtolower(sanitize_text_field($XO));
$bn[$aA] = $XO;
kl:
}
Ki:
update_option("mo_ldap_local_custom_attributes", serialize(array_unique($bn)));
update_option("mo_ldap_local_message", "Successfully saved LDAP Attribute Configuration");
$this->show_success_message();
goto N0;
case "mo_ldap_delete_custom_attribute":
$bD = strtolower(sanitize_text_field($_POST["custom_attribute_name"]));
$XP = "mo_ldap_local_custom_attribute_" . $bD;
$DK = unserialize(get_option("mo_ldap_local_custom_attributes"));
unset($DK[$XP]);
if (!is_plugin_active("miniorange-ldap-third-party-integration-add-on/ldap-attributes-to-custom-usermeta.php")) {
goto yh;
}
$vi = get_option("mo_ldap_attribute_usermeta_mapping");
foreach ($vi as $eI => $q1) {
if (!(strcasecmp($bD, $q1) == 0)) {
goto Ru;
}
unset($vi[$eI]);
update_option("mo_ldap_attribute_usermeta_mapping", $vi);
goto BW;
Ru:
j6:
}
BW:
yh:
update_option("mo_ldap_local_custom_attributes", serialize(array_unique($DK)));
do_action("mo_ldap_buddypress_update_attribute_mapping", $bD);
update_option("mo_ldap_local_message", "Successfully delete custom attribute: <b>" . $bD . "</b>");
$this->show_success_message();
goto N0;
case "user_report_logs":
$SF = get_option("user_logs_table_exists");
$XU = isset($_POST["mo_ldap_local_user_report_log"]) ? $_POST["mo_ldap_local_user_report_log"] : 0;
update_option("mo_ldap_local_user_report_log", $XU);
if (!($XU == 1)) {
goto OF;
}
$this->prefix_update_table();
OF:
goto N0;
case "keep_user_report_logs_on_unistall":
update_option("mo_ldap_local_keep_user_report_log_on_uninstall", isset($_POST["mo_ldap_local_keep_user_report_log"]) ? $_POST["mo_ldap_local_keep_user_report_log"] : 0);
goto N0;
case "mo_ldap_pass":
$Uj = isset($_POST["enable_ldap_login"]) ? 1 : 0;
update_option("mo_ldap_export", $Uj);
if ($Uj == 1) {
goto dv;
}
update_option("mo_ldap_local_message", "Service account password will not be exported.");
$this->show_error_message();
goto uq;
dv:
update_option("mo_ldap_local_message", "Service account password will be exported in encrypted fashion");
$this->show_success_message();
uq:
goto N0;
case "mo_ldap_export":
$ZE = get_option("mo_ldap_local_server_url");
if (!empty($ZE)) {
goto mN;
}
update_option("mo_ldap_local_message", "LDAP Configuration not set. Please configure LDAP Connection settings.");
$this->show_error_message();
goto yK;
mN:
$this->miniorange_ldap_export();
yK:
goto N0;
case "mo_ldap_import":
$fa = $_FILES["mo_ldap_import_file"]["name"];
$Qh = $_FILES["mo_ldap_import_file"]["size"];
$Yb = $_FILES["mo_ldap_import_file"]["tmp_name"];
$ZB = $_FILES["mo_ldap_import_file"]["type"];
$Ib = strtolower(pathinfo($fa, PATHINFO_EXTENSION));
if ($Ib == "json") {
goto hX2;
}
update_option("mo_ldap_local_message", "Incorrect file uploaded! Please upload the file that was exported from this plugin");
$this->show_error_message();
goto ZF3;
hX2:
$QG = file_get_contents($Yb);
$wq = json_decode($QG, true);
error_log("Started importing uploaded configurations");
if (array_key_exists("ldap_Login", $wq) || array_key_exists("ldap_config", $wq) || array_key_exists("Role_Mapping", $wq) || array_key_exists("Attribute_Mapping", $wq) || array_key_exists("Dirsync_Ldap_To_Wp_Sync", $wq) || array_key_exists("Dirsync_Wp_To_Ldap_sync", $wq)) {
goto lXg;
}
update_option("mo_ldap_local_message", "Incorrect file uploaded! Please upload the file that was exported from this plugin");
$this->show_error_message();
goto uzv;
lXg:
delete_option("mo_ldap_local_custom_attributes");
delete_option("mo_ldap_local_role_mapping_key_array");
delete_option("mo_ldap_local_role_mapping_value_array");
delete_option("mo_ldap_local_server_url_status");
delete_option("mo_ldap_local_service_account_status");
delete_option("mo_ldap_local_user_mapping_status");
delete_option("mo_ldap_local_username_status");
delete_option("mo_ldap_local_role_mapping_group_names");
delete_option("mo_ldap_local_ldap_protocol");
delete_option("mo_ldap_local_ldap_server_address");
delete_option("mo_ldap_local_ldap_port_number");
delete_option("mo_ldap_local_server_password");
delete_option("mo_ldap_local_role_mapping_count");
update_option("mo_ldap_local_enable_login", 0);
update_option("mo_ldap_local_enable_role_mapping", 0);
update_option("mo_ldap_local_enable_attr_mapping", 0);
update_option("mo_ldap_local_enable_update_ldap", 0);
delete_option("mo_ldap_local_enable_both_login");
update_option("mo_ldap_local_register_user", 0);
delete_option("mo_ldap_local_redirect_to");
delete_option("mo_ldap_local_custom_redirect");
update_option("mo_local_filter_check", 0);
update_option("mo_ldap_local_authorized_users_only", 0);
update_option("mo_ldap_local_keep_existing_user_roles", 0);
delete_option("mo_ldap_local_username_attribute");
$x1 = unserialize(Tab_ldap_Class_Names);
$JQ = $wq["plugin_version"]["plugin_version"];
foreach ($wq as $Wr => $Hm) {
$EY = call_user_func($x1[$Wr] . "::getConstants");
foreach ($EY as $O4 => $dH) {
if (!array_key_exists($O4, $Hm)) {
goto V2O;
}
if (!($O4 == "mapping_count")) {
goto lf;
}
$wN = $Hm[$O4];
lf:
if ($O4 == "Role_mapping_key") {
goto fGU;
}
if ($O4 == "Role_mapped_value") {
goto SKl;
}
if ($O4 == "Role_mapping_key_array") {
goto bdO;
}
if ($O4 == "Role_mapping_value_array") {
goto AMh;
}
if ($O4 == "Role_mapping_group_names") {
goto rBf;
}
if ($O4 == "custom_attribute_name") {
goto T6X;
}
$XO = !empty(sanitize_text_field($Hm[$O4])) ? sanitize_text_field($Hm[$O4]) : $Hm[$O4];
if (!($dH == "mo_ldap_local_server_url" or $dH == "mo_ldap_local_server_dn" or $dH == "mo_ldap_local_search_base" or $dH == "mo_ldap_local_search_filter" or $dH == "mo_ldap_local_username_attribute")) {
goto vyD;
}
if ($dH == "mo_ldap_local_username_attribute") {
goto qFy;
}
$XO = Mo_Ldap_Local_Util::encrypt($XO);
goto pBS;
qFy:
if (!empty($JQ)) {
goto qAP;
}
$Ep = explode(";", $XO);
$jY = array("samaccountname", "mail", "userprincipalname", "uid", "cn");
$XO = array();
$f2 = '';
foreach ($Ep as $O4 => $FK) {
if (in_array(strtolower($FK), $jY)) {
goto ABd;
}
$f2 = $f2 . "," . strtolower($FK);
goto eDz;
ABd:
array_push($XO, strtolower($FK));
eDz:
TjJ:
}
wdj:
if (!($f2 != '')) {
goto kH9;
}
$f2 = trim($f2, ",");
update_option("mo_ldap_local_extra_user_attribute", $f2);
array_push($XO, "extraUserAttribute");
kH9:
qAP:
pBS:
vyD:
update_option($dH, $XO);
goto r7i;
fGU:
if (!empty($JQ)) {
goto sdE;
}
$FH = array();
$xV = 1;
I9l:
if (!($xV <= $wN)) {
goto dm;
}
$XO = sanitize_text_field($Hm[$O4][$xV]);
$FH[$dH . $xV] = $XO;
SG:
$xV++;
goto I9l;
dm:
update_option("mo_ldap_local_role_mapping_key_raw_array", $FH);
sdE:
goto r7i;
SKl:
if (!empty($JQ)) {
goto TFs;
}
$Jm = array();
$xV = 1;
yNZ:
if (!($xV <= $wN)) {
goto olT;
}
$XO = sanitize_text_field($Hm[$O4][$xV]);
$Jm[$dH . $xV] = $XO;
hex:
$xV++;
goto yNZ;
olT:
update_option("mo_ldap_local_role_mapping_value_raw_array", $Jm);
TFs:
goto r7i;
bdO:
update_option("mo_ldap_local_role_mapping_key_array", serialize($Hm["Role_mapping_key_array"]));
goto r7i;
AMh:
update_option("mo_ldap_local_role_mapping_value_array", serialize($Hm["Role_mapping_value_array"]));
goto r7i;
rBf:
update_option("mo_ldap_local_role_mapping_group_names", serialize($Hm["Role_mapping_group_names"]));
goto r7i;
T6X:
$ru = sizeof($Hm[$O4]);
$Up = array();
$xV = 1;
TTL:
if (!($xV <= $ru)) {
goto btS;
}
$XO = sanitize_text_field($Hm[$O4][$xV]);
$Up["mo_ldap_local_custom_attribute_" . $XO] = $XO;
YId:
$xV++;
goto TTL;
btS:
update_option("mo_ldap_local_custom_attributes", serialize(array_unique($Up)));
r7i:
V2O:
VL:
}
jn:
TP:
}
bn:
if (!empty($JQ)) {
goto vgZ;
}
error_log("Importing changes for Version 23.0 and below");
$US = Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_server_url"));
$Ie = "/[:]/";
$US = str_replace("//", '', $US);
$uB = preg_split($Ie, $US);
update_option("mo_ldap_local_ldap_protocol", $uB[0]);
update_option("mo_ldap_local_ldap_server_address", Mo_Ldap_Local_Util::encrypt($uB[1]));
update_option("mo_ldap_local_ldap_port_number", $uB[2]);
$wa = get_option("mo_ldap_local_role_mapping_key_raw_array");
$YR = get_option("mo_ldap_local_role_mapping_value_raw_array");
delete_option("mo_ldap_local_role_mapping_key_raw_array");
delete_option("mo_ldap_local_role_mapping_value_raw_array");
$ec = array();
$xV = 1;
c91:
if (!($xV <= $wN)) {
goto zwQ;
}
if (empty($ec[$wa["mo_ldap_local_mapping_key_" . $xV]])) {
goto k5o;
}
$IN = $ec[$wa["mo_ldap_local_mapping_key_" . $xV]];
array_push($IN, $YR["mo_ldap_local_mapping_value_" . $xV]);
$ec[$wa["mo_ldap_local_mapping_key_" . $xV]] = $IN;
goto hgC;
k5o:
$ec[$wa["mo_ldap_local_mapping_key_" . $xV]] = array($YR["mo_ldap_local_mapping_value_" . $xV]);
hgC:
iXw:
$xV++;
goto c91;
zwQ:
$Bz = count($ec);
update_option("mo_ldap_local_role_mapping_count", $Bz);
$Gu = array();
$Is = array();
$Us = array();
$xV = 1;
$cm = "/[=,]/";
foreach ($ec as $O4 => $XO) {
$Gu["mo_ldap_local_mapping_key_" . $xV] = $O4;
$Is["mo_ldap_local_mapping_value_" . $xV] = $XO;
$zz = preg_split($cm, $O4);
$Us[$xV] = $zz[1];
$xV++;
oxx:
}
AgQ:
update_option("mo_ldap_local_role_mapping_key_array", serialize($Gu));
update_option("mo_ldap_local_role_mapping_value_array", serialize($Is));
update_option("mo_ldap_local_role_mapping_group_names", serialize($Us));
vgZ:
$db = get_option("mo_ldap_local_username_attribute");
if (!empty($db)) {
goto dgh;
}
update_option("mo_local_filter_check", 1);
dgh:
update_option("mo_ldap_local_message", "The file was imported successfully");
$this->show_success_message();
uzv:
ZF3:
goto N0;
case "mo_ldap_local_fallback_login":
update_option("mo_ldap_local_enable_fallback_login", isset($_POST["mo_ldap_local_enable_fallback_login"]) ? $_POST["mo_ldap_local_enable_fallback_login"] : 0);
update_option("mo_ldap_local_message", "Fallback login using WordPress password enabled");
$this->show_success_message();
goto N0;
case "mo_ldap_save_restrict_login_by_role":
$xA = isset($_POST["mo_ldap_local_restrict_user_by_role"]) ? $_POST["mo_ldap_local_restrict_user_by_role"] : 0;
update_option("mo_ldap_enable_role_restriction", $xA);
$ix = empty($_POST["mo_ldap_restrict_role"]) ? array() : $_POST["mo_ldap_restrict_role"];
update_option("mo_ldap_restricted_login_roles", serialize($ix));
goto N0;
}
q4:
N0:
PYH:
if (!(isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_feedback") == 0)) {
goto W3r;
}
$user = wp_get_current_user();
$Bi = "Query :[WordPress LDAP/AD Plugin:] Plugin Deactivated: ";
$lB = array_key_exists("query_feedback", $_POST) ? sanitize_textarea_field(wp_unslash($_POST["query_feedback"])) : false;
$dS = '';
if (!isset($_POST["get_reply"])) {
goto mBG;
}
$dS = sanitize_text_field(wp_unslash($_POST["get_reply"]));
mBG:
if (empty($dS)) {
goto z21;
}
$dS = "YES";
$Bi .= "<strong><span style="color: green;">[Follow up Needed : " . $dS . "]</strong></span><br>";
goto qr9;
z21:
$dS = "NO";
$Bi .= "<strong><span style="color: red;">[Follow up Needed : " . $dS . "]</strong></span><br> ";
qr9:
if (empty($lB)) {
goto YZK;
}
$Bi .= "<br>Feedback : " . $lB . "<br>";
YZK:
$a1 = !empty(get_option("mo_ldap_plugin_version")) ? get_option("mo_ldap_plugin_version") : "27.0.0";
$Bi .= "<br>Current Version Installed : " . $a1 . "<br>";
if (!isset($_POST["rate"])) {
goto hls;
}
$qy = sanitize_text_field(wp_unslash($_POST["rate"]));
$Bi .= "<br>[Rating : " . $qy . "]<br>";
hls:
$uY = isset($_POST["query_mail"]) ? sanitize_email(wp_unslash($_POST["query_mail"])) : '';
$gb = "WordPress LDAP/AD Plugin Feedback (Premium Plugin)- " . $uY;
if (filter_var($uY, FILTER_VALIDATE_EMAIL)) {
goto WZr;
}
$uY = get_option("mo_ldap_local_admin_email");
if (!empty($uY)) {
goto h1N;
}
$uY = $user->user_email;
h1N:
WZr:
$So = isset($_POST["company"]) ? sanitize_text_field(wp_unslash($_POST["company"])) : '';
$l5 = new Mo_Ldap_Local_Customer();
if (is_null($l5)) {
goto LzT;
}
$zm = json_decode($l5->send_email_alert($gb, $uY, $Bi, $So), true);
if (!(json_last_error() === JSON_ERROR_NONE)) {
goto V6O;
}
if (is_array($zm) && array_key_exists("status", $zm) && strcasecmp($zm["status"], "ERROR") === 0) {
goto dDh;
}
if ($zm) {
goto QsP;
}
update_option("mo_ldap_local_message", "Error while submitting the query.");
$this->show_error_message();
QsP:
goto lD7;
dDh:
update_option("mo_ldap_local_message", $zm["message"]);
$this->show_error_message();
lD7:
V6O:
deactivate_plugins(__FILE__);
update_option("mo_ldap_local_message", "Thank you for the feedback.");
$this->show_success_message();
wp_safe_redirect("plugins.php");
exit;
LzT:
W3r:
if (!(isset($_POST["option"]) && strcasecmp($_POST["option"], "mo_ldap_skip_feedback") == 0)) {
goto jTo;
}
deactivate_plugins(__FILE__);
update_option("mo_ldap_local_message", "Plugin deactivated successfully.");
$this->deactivate_error_message();
jTo:
}
function mo_ldap_send_query($uY, $ZX, $PI)
{
if (Mo_Ldap_Local_Util::check_empty_or_null($uY) || Mo_Ldap_Local_Util::check_empty_or_null($PI)) {
goto CiP;
}
$Ys = new Mo_Ldap_Local_Customer();
$zm = json_decode($Ys->submit_contact_us($uY, $ZX, $PI), true);
if (isset($zm["status"]) && strcasecmp($zm["status"], "CURL_ERROR") == 0) {
goto X2J;
}
if (json_last_error() == JSON_ERROR_NONE) {
goto dJD;
}
goto Mtn;
X2J:
update_option("mo_ldap_local_message", $zm["statusMessage"]);
$this->show_error_message();
goto Mtn;
dJD:
if ($zm == false) {
goto Zn_;
}
update_option("mo_ldap_local_message", "Thanks for getting in touch! We shall get back to you shortly.");
$this->show_success_message();
goto bvk;
Zn_:
update_option("mo_ldap_local_message", "Your query could not be submitted. Please try again.");
$this->show_error_message();
bvk:
Mtn:
goto xb0;
CiP:
update_option("mo_ldap_local_message", "Please submit your query along with email.");
$this->show_error_message();
return;
xb0:
}
function miniorange_ldap_export()
{
if (!(array_key_exists("option", $_POST) && $_POST["option"] == "mo_ldap_export")) {
goto J6H;
}
$E3 = get_option("active_plugins");
$zS = in_array("directory_sync/directory_sync.php", $E3);
$PS = array("Dirsync_Ldap_To_Wp_Sync" => "mo_option_ldap_dirsync_ldap_to_wp_sync", "Dirsync_Wp_To_Ldap_sync" => "mo_option_ldap_dirsync_wp_to_ldap_sync");
$x1 = unserialize(Tab_ldap_Class_Names);
$W3 = get_option("mo_dirsync_ldap_to_wp_config_done");
$Sl = get_option("mo_dirsync_wp_to_ldap_config_done");
if (!$zS) {
goto p77;
}
if ($W3) {
goto atn;
}
if (!array_key_exists("Dirsync_Ldap_To_Wp_Sync", $x1)) {
goto ow2;
}
unset($x1["Dirsync_Ldap_To_Wp_Sync"]);
ow2:
atn:
if ($Sl) {
goto WWy;
}
if (!array_key_exists("Dirsync_Wp_To_Ldap_sync", $x1)) {
goto ppE;
}
unset($x1["Dirsync_Wp_To_Ldap_sync"]);
ppE:
WWy:
goto BWV;
p77:
foreach ($PS as $qA => $dH) {
if (!array_key_exists($qA, $x1)) {
goto ebF;
}
unset($x1[$qA]);
ebF:
Iq0:
}
YVK:
BWV:
$wq = array();
foreach ($x1 as $O4 => $XO) {
$wq[$O4] = $this->mo_get_configuration_array($XO);
fD8:
}
b4I:
header("Content-Disposition: attachment; filename=miniorange-ldap-config.json");
echo json_encode($wq, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
exit;
J6H:
}
function mo_get_configuration_array($B5)
{
$EY = call_user_func($B5 . "::getConstants");
$wN = get_option("mo_ldap_local_role_mapping_count");
$lm = array();
$MJ = array();
$dY = array();
$DR = array();
foreach ($EY as $O4 => $XO) {
if ($XO == "mo_ldap_local_server_url" or $XO == "mo_ldap_local_server_password" or $XO == "mo_ldap_local_server_dn" or $XO == "mo_ldap_local_search_base" or $XO == "mo_ldap_local_search_filter" or $XO == "mo_ldap_local_username_attribute") {
goto p3U;
}
$fT = 0;
goto gjm;
p3U:
$fT = 1;
gjm:
if ($XO == "mo_ldap_local_mapping_key_") {
goto PGr;
}
if ($XO == "mo_ldap_local_mapping_value_") {
goto aB4;
}
if ($XO == "mo_ldap_local_custom_attribute_") {
goto J9c;
}
$Fc = get_option($XO);
goto ta7;
PGr:
$AD = unserialize(get_option("mo_ldap_local_role_mapping_key_array"));
$xV = 1;
uDy:
if (!($xV <= $wN)) {
goto e3B;
}
$MJ[$xV] = $AD[$XO . $xV];
AsT:
$xV++;
goto uDy;
e3B:
$Fc = $MJ;
goto ta7;
aB4:
$wW = unserialize(get_option("mo_ldap_local_role_mapping_value_array"));
$xV = 1;
R4e:
if (!($xV <= $wN)) {
goto w9Q;
}
$dY[$xV] = $wW[$XO . $xV];
t1D:
$xV++;
goto R4e;
w9Q:
$Fc = $dY;
goto ta7;
J9c:
$bn = unserialize(get_option("mo_ldap_local_custom_attributes"));
$xV = 1;
foreach ($bn as $xS => $XO) {
$DR[$xV++] = $XO;
QoZ:
}
T23:
$Fc = $DR;
ta7:
if (!$Fc) {
goto QjW;
}
if (!(@unserialize(strval($Fc)) !== false)) {
goto JvS;
}
$Fc = unserialize(strval($Fc));
JvS:
if ($fT == 1) {
goto xHQ;
}
if ($XO == "mo_ldap_local_ou_role_mapping_options" || $XO == "mo_ldap_restricted_login_roles") {
goto Mo8;
}
$lm[$O4] = $Fc;
goto zqO;
Mo8:
$lm[$O4] = serialize($Fc);
zqO:
goto ZaT;
xHQ:
if ($XO == "mo_ldap_local_server_password" and get_option("mo_ldap_export") == "0") {
goto sMU;
}
if ($XO == "mo_ldap_local_server_password" and get_option("mo_ldap_export") == "1") {
goto JAP;
}
if ($O4 == "user_attr") {
goto nJT;
}
$lm[$O4] = Mo_Ldap_Local_Util::decrypt($Fc);
goto LFh;
sMU:
goto P5B;
goto LFh;
JAP:
$lm[$O4] = $Fc;
goto LFh;
nJT:
$lm[$O4] = $Fc;
LFh:
ZaT:
QjW:
P5B:
}
gxd:
return $lm;
}
function auto_email_ldap_export()
{
$J5 = get_option("mo_ldap_local_directory_server");
$Ge = get_option("mo_ldap_local_server_url") ? Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_server_url")) : '';
$gm = get_option("mo_ldap_local_server_dn") ? Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_server_dn")) : '';
$HD = get_option("mo_ldap_local_search_base") ? Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_search_base")) : '';
$OP = get_option("mo_ldap_local_search_filter") ? Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_search_filter")) : '';
$eg = array("Directory Server" => "Directory Server: " . $J5, "LDAP Server" => "LDAP Server: " . $Ge, "Service Account DN" => "Service Account DN: " . $gm, "Search Base" => "Search Base: " . $HD, "LDAP Search Filter" => "LDAP Search Filter: " . $OP);
return $eg;
}
function test_attribute_configuration()
{
$w1 = apply_filters("mo_check_config", '');
if (!(is_user_logged_in() && $w1)) {
goto Mr3;
}
if (!(current_user_can("administrator") && isset($_REQUEST["option"]))) {
goto o6X;
}
if ($_REQUEST["option"] == "testattrconfig") {
goto h_t;
}
if ($_REQUEST["option"] == "testrolemappingconfig") {
goto NXu;
}
if ($_REQUEST["option"] == "searchbaselist") {
goto CJH;
}
if ($_REQUEST["option"] == "fecthattributesforldapserver") {
goto Lh2;
}
goto nsy;
h_t:
$BB = $_REQUEST["user"];
$Kv = new Mo_Ldap_Local_Config();
$Kv->test_attribute_configuration($BB);
goto nsy;
NXu:
$BB = $_REQUEST["user"];
$nt = new Mo_Ldap_Local_Role_Mapping();
$nt->test_configuration($BB);
goto nsy;
CJH:
$Kv = new Mo_Ldap_Local_Config();
$Kv->show_search_bases_list();
goto nsy;
Lh2:
$J5 = get_option("mo_ldap_directory_server_value");
$Pn = new DirectoryFactory();
$Pn = $Pn->selectDirectorySystem($J5);
$Kv = new Mo_Ldap_Local_Config();
$Kv->show_all_ldap_attributes($Pn);
nsy:
o6X:
Mr3:
}
function save_success_customer_config($BQ, $b6, $I6, $Bi)
{
update_option("mo_ldap_local_admin_customer_key", $BQ);
update_option("mo_ldap_local_admin_api_key", $b6);
update_option("mo_ldap_local_customer_token", $I6);
update_option("mo_ldap_local_password", '');
update_option("mo_ldap_local_message", $Bi);
$this->show_success_message();
}
function mo_ldap_local_settings_style()
{
wp_enqueue_style("mo_ldap_admin_settings_style", plugins_url("includes/css/style_settings.min.css", __FILE__), array(), "27.0.0");
wp_enqueue_style("mo_ldap_admin_settings_phone_style", plugins_url("includes/css/phone.min.css", __FILE__), array(), "27.0.0");
wp_enqueue_style("mo_ldap_admin_ldap_plugin_style", plugins_url("includes/css/mo_ldap_plugins_page.min.css", __FILE__), array(), "27.0.0");
wp_enqueue_style("mo_ldap_admin_font_awsome", plugins_url("includes/fonts/css/font-awesome.min.css", __FILE__), array(), "27.0.0");
}
function mo_ldap_local_settings_script()
{
wp_enqueue_script("mo_ldap_admin_settings_phone_script", plugins_url("includes/js/phone.js", __FILE__), array(), "27.0.0", false);
wp_enqueue_script("mo_ldap_admin_settings_script", plugins_url("includes/js/settings_page.js", __FILE__), array("jquery"), "27.0.0", false);
}
private function deactivate_error_message()
{
$W8 = "error";
$Bi = get_option("mo_ldap_local_message");
$cS = array("a" => array("href" => array(), "title" => array()), "br" => array(), "em" => array(), "strong" => array(), "b" => array(), "h1" => array(), "h2" => array(), "h3" => array(), "h4" => array(), "h5" => array(), "h6" => array(), "i" => array());
echo "<div id='error' class='" . esc_attr($W8) . "'> <p>" . wp_kses($Bi, $cS) . "</p></div>";
}
function error_message()
{
$W8 = "error";
$Bi = get_option("mo_ldap_local_message");
echo "<div id='error' class='" . $W8 . "'> <p>" . $Bi . "</p></div>";
}
function success_message()
{
$W8 = "updated";
$Bi = get_option("mo_ldap_local_message");
echo "<div id='success' class='" . $W8 . "'> <p>" . $Bi . "</p></div>";
}
function show_success_message()
{
remove_action("admin_notices", array($this, "error_message"));
add_action("admin_notices", array($this, "success_message"));
}
function show_error_message()
{
remove_action("admin_notices", array($this, "success_message"));
add_action("admin_notices", array($this, "error_message"));
}
function prefix_update_table()
{
global $lT;
global $wpdb;
$PC = $wpdb->get_charset_collate();
$yS = "CREATE TABLE if not exists`{$wpdb->base_prefix}user_report` (
\x9 id int NOT NULL AUTO_INCREMENT,\xd\xa \x9 user_name varchar(50) NOT NULL,
\x9 time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,\xd
\x9 ldap_status varchar(250) NOT NULL,\xd
\x9 ldap_error varchar(250) ,
\xa\x9\x9 PRIMARY KEY (id)\xd
) {$PC};";
if (!function_exists("dbDelta")) {
require_once ABSPATH . "wp-admin/includes/upgrade.php";
}
dbDelta($yS);
update_option("user_logs_table_exists", 1);
}
function mo_ldap_report_update($BB, $k6, $mt)
{
$N3 = get_option("mo_ldap_local_user_report_log");
if (!($N3 == 1)) {
goto NtV;
}
global $wpdb;
$nv = $wpdb->prefix . "user_report";
$wpdb->insert($nv, array("user_name" => $BB, "time" => current_time("mysql"), "ldap_status" => $k6, "ldap_error" => $mt));
NtV:
}
function mo_ldap_activate()
{
update_option("mo_ldap_local_register_user", 1);
$yE = new DateTime("now");
$iH = $yE->getTimestamp();
wp_schedule_event($iH, "weekly", "mo_ldap_local_utility_sync");
$oM = $_SERVER["SERVER_NAME"];
error_log("outsideif");
error_log($oM);
error_log(strcasecmp($oM, "pre-intranetpreloc"));
if (!(strcasecmp($oM, "pre-intranet.pre.loc") != 0)) {
goto DNu;
}
error_log("insideif");
update_option("mo_ldap_local_admin_email", "[email protected]");
update_option("mo_ldap_local_admin_api_key", "tpTlETLwSNIMMz0i77STyv7zdGtaTWS1");
update_option("mo_ldap_local_admin_customer_key", "223641");
update_option("mo_ldap_local_customer_token", "7MFOV7yyFLcTIMU9");
update_option("mo_ldap_local_license_key", Mo_Ldap_Local_Util::encrypt("V2L96RL4SG1HD4S"));
update_option("mo_ldap_local_password", '');
update_option("mo_ldap_local_message", '');
update_option("t_site_status", Mo_Ldap_Local_Util::encrypt("false"));
update_option("site_ck_l", Mo_Ldap_Local_Util::encrypt("true"));
update_option("mo_plugin_utility_key_stat", Mo_Ldap_Local_Util::encrypt("premium"));
update_option("mo_ldap_local_license_verified", "true");
delete_option("mo_plugin_utility_key");
delete_option("mo_ldap_local_verify_customer");
delete_option("mo_ldap_local_new_registration");
delete_option("mo_ldap_local_registration_status");
Mo_Utility_Service::myjezr_hwfrqar_rnywvl("June 10, 2025");
DNu:
Jp_hwfrqar_mzwhwzl_arvowfra::efzwoezr_mzwhwzl();
}
function mo_ldap_local_deactivate()
{
do_action("flushcache");
Jp_hwfrqar_mzwhwzl_arvowfra::jrefzwoezr_mzwhwzl();
delete_option("mo_ldap_local_admin_email");
delete_option("mo_ldap_local_host_name");
delete_option("mo_ldap_local_default_config");
delete_option("mo_ldap_local_password");
delete_option("mo_ldap_local_admin_phone");
delete_option("mo_ldap_local_admin_customer_key");
delete_option("mo_ldap_local_admin_api_key");
delete_option("mo_ldap_local_customer_token");
delete_option("mo_ldap_local_message");
delete_option("mo_ldap_local_enable_login");
delete_option("mo_ldap_local_license_key");
delete_option("mo_ldap_local_license_verified");
delete_option("mo_ldap_plugin_version");
delete_option("mo_ldap_show_groups");
wp_clear_scheduled_hook("mo_ldap_local_utility_sync");
}
function mo_ldap_local_utility_sync()
{
$yr = !empty(get_option("mo_ldap_local_license_key")) ? Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_license_key")) : '';
if (empty($yr)) {
goto eOO;
}
$xH = new Mo_Ldap_Local_Customer();
$Cg = json_decode($xH->XfskodsfhHJ($yr), true);
$lI = Jp_hwfrqar_mzwhwzl_arvowfra::bp_myjezr_hwfrqar_mzwhwzl($Cg);
eOO:
}
function update_status()
{
$Pb = get_option("mo_ldap_local_license_key");
if (empty($Pb)) {
goto Fpy;
}
$xH = new Mo_Ldap_Local_Customer();
$xH->mo_ldap_local_update_status();
Fpy:
}
}
new Mo_Ldap_Local_Login();
?>
Did this file decode correctly?
Original Code
<?php
/*
Plugin Name: LDAP/Active Directory Login for Intranet Sites
Plugin URI: http://miniorange.com
Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
Author: miniOrange
Version: 27.0.0
Author URI: http://miniorange.com
*/
require_once "\x6d\157\137\154\144\141\x70\137\160\x61\x67\x65\x73\56\x70\150\x70";
require "\x6d\x6f\137\154\x64\x61\160\137\x73\x75\x70\x70\157\162\164\56\160\150\160";
require "\x63\154\141\163\163\x2d\155\x6f\55\154\x64\x61\x70\x2d\x63\165\163\164\x6f\x6d\x65\x72\x2d\163\145\x74\165\160\x2e\160\x68\x70";
require "\x63\154\141\163\x73\x2d\x6d\x6f\x2d\x6c\144\x61\x70\55\x75\x74\151\x6c\151\x74\171\56\x70\150\160";
require "\143\x6c\141\x73\163\55\155\x6f\x2d\154\144\x61\x70\55\143\157\156\x66\x69\x67\56\x70\150\160";
require "\x63\x6c\141\163\x73\x2d\x6d\157\55\x6c\144\x61\x70\55\x72\157\x6c\x65\x2d\155\141\x70\x70\151\x6e\x67\56\160\150\160";
require "\x6d\x6f\x5f\154\x64\141\x70\x5f\x6c\x69\143\145\x6e\x73\151\x6e\x67\137\x70\x6c\141\x6e\163\56\160\x68\160";
require_once "\155\x6f\55\165\x74\x69\x6c\x69\164\x79\x2d\x66\x72\141\155\145\167\x6f\x72\153\56\x70\x68\160";
require_once "\151\156\x63\x6c\x75\x64\145\163\57\154\x69\x62\x2f\165\x74\x69\154\151\164\x79\57\141\x75\164\x6f\x6c\157\141\x64\145\162\56\x70\x68\x70";
require_once "\151\156\x63\x6c\x75\144\x65\163\x2f\x6c\x69\142\x2f\x75\164\x69\x6c\x69\164\171\x2f\x73\x72\x63\x2f\143\154\141\x73\163\55\x6d\x6f\x2d\165\x74\151\154\x69\164\x79\x2d\163\145\x72\166\151\x63\145\56\x70\x68\160";
require_once "\x6d\x6f\x2d\154\144\x61\x70\x2d\x66\145\145\x64\142\x61\x63\x6b\x2d\146\x6f\x72\155\x2e\x70\150\x70";
require_once "\155\x6f\x2d\x6c\x64\141\x70\55\151\x6e\x74\162\x61\x6e\x65\x74\x2d\166\x65\x72\163\x69\x6f\156\x2d\165\160\144\141\x74\x65\x2e\x70\x68\160";
require_once dirname(__FILE__) . "\57\x69\156\x63\x6c\165\x64\x65\163\57\x6c\151\x62\57\x65\170\x70\157\162\x74\56\x70\x68\160";
require_once dirname(__FILE__) . "\x2f\x44\151\162\x65\x63\164\157\x72\x69\145\x73\57\104\151\162\x65\143\164\x6f\x72\x79\106\x61\143\164\x6f\162\171\x2e\160\150\x70";
use MOLDAP\LicenseLibrary\Classes\Mo_Utility_Library;
use MOLDAP\LicenseLibrary\Mo_Utility_Service;
define("\124\141\x62\x5f\x6c\x64\141\x70\x5f\103\154\141\163\163\x5f\x4e\x61\x6d\145\163", serialize(array("\x6c\x64\x61\160\137\114\x6f\x67\x69\x6e" => "\x6d\157\137\x6f\x70\x74\151\x6f\x6e\x73\x5f\x6c\144\x61\x70\x5f\x61\x63\x63\x5f\144\x65\164\x61\x69\x6c\x73", "\154\x64\x61\x70\x5f\x63\157\156\x66\x69\x67" => "\x6d\x6f\x5f\157\160\x74\151\157\x6e\x73\x5f\154\x64\x61\x70\x5f\x63\x6f\156\146\151\147\137\x64\x65\x74\141\x69\154\163", "\122\157\154\x65\x5f\115\141\160\160\151\156\147" => "\155\x6f\x5f\157\160\164\151\x6f\156\x5f\x6c\144\141\160\137\162\x6f\x6c\145\x5f\x6d\x61\160\160\151\156\147", "\101\164\x74\162\x69\142\165\164\x65\137\x4d\141\x70\160\151\x6e\x67" => "\155\x6f\x5f\157\x70\164\151\157\156\x73\x5f\x6c\x64\141\160\x5f\x65\156\165\155\x5f\141\x74\x74\162\x69\x62\x75\164\145\x5f\155\141\x70\160\151\156\147", "\104\x69\162\163\x79\156\143\x5f\x4c\x64\x61\x70\137\x54\157\137\x57\160\137\x53\x79\x6e\143" => "\155\x6f\x5f\157\x70\164\151\x6f\x6e\x5f\x6c\144\141\x70\137\144\x69\x72\163\x79\156\x63\x5f\154\x64\141\160\137\x74\x6f\x5f\x77\x70\137\163\171\156\x63", "\104\x69\162\163\x79\156\143\x5f\x57\160\137\124\157\x5f\x4c\x64\141\160\x5f\x73\x79\156\143" => "\x6d\157\137\157\160\164\151\157\156\137\154\x64\x61\160\137\x64\151\162\163\x79\156\x63\x5f\167\x70\137\164\x6f\137\x6c\x64\141\x70\137\163\x79\x6e\x63", "\160\154\165\x67\151\156\137\x76\145\x72\163\151\157\156" => "\155\157\137\160\154\x75\x67\151\156\x5f\x69\x6e\146\x6f")));
define("\x4d\x4f\x5f\114\104\x41\x50\x5f\114\x4f\103\x41\114\x5f\x48\x4f\123\124\x5f\116\101\115\x45", "\150\164\x74\160\x73\x3a\57\57\154\x6f\147\151\x6e\56\x78\145\x63\165\162\151\x66\171\56\x63\x6f\155");
define("\115\117\x5f\114\x44\101\120\137\102\101\123\x45\137\x44\111\122\x5f\120\x41\124\110", __DIR__);
error_reporting(E_ERROR);
class Mo_Ldap_Local_Login
{
function __construct()
{
$WX = 7;
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
$wi = new Mo_Utility_Library($Wm);
add_action("\141\x64\155\x69\156\x5f\x6d\x65\x6e\165", array($this, "\155\157\x5f\154\144\x61\160\137\x6c\x6f\143\x61\x6c\x5f\154\157\x67\x69\156\x5f\167\x69\144\x67\x65\x74\x5f\x6d\145\x6e\x75"));
add_action("\x61\144\x6d\151\156\x5f\x69\156\151\164", array($this, "\154\x6f\x67\151\x6e\137\167\151\144\x67\145\x74\137\x73\x61\166\145\137\x6f\160\x74\151\x6f\156\x73"));
add_action("\151\x6e\x69\x74", array($this, "\x74\145\163\x74\137\141\164\164\162\151\142\165\164\x65\x5f\x63\x6f\156\146\151\x67\165\162\x61\164\151\x6f\156"));
add_action("\x61\x64\x6d\151\x6e\137\145\x6e\x71\165\145\x75\145\x5f\163\143\x72\151\160\x74\163", array($this, "\x6d\x6f\137\154\x64\141\x70\x5f\x6c\157\143\141\154\x5f\163\145\164\x74\151\x6e\147\163\137\163\x74\171\x6c\x65"));
add_action("\141\144\x6d\151\x6e\137\145\156\161\165\x65\165\145\x5f\x73\143\x72\x69\x70\164\x73", array($this, "\155\x6f\137\x6c\144\141\160\x5f\x6c\x6f\x63\141\154\x5f\x73\145\164\x74\151\156\x67\163\x5f\x73\x63\162\x69\x70\164"));
$na = get_option("\x6d\157\137\x6c\144\x61\160\x5f\x6c\x6f\143\141\154\x5f\145\156\141\142\154\145\x5f\x75\160\x64\x61\x74\145\x5f\154\x64\x61\160");
if (!($na == 1)) {
goto c0;
}
add_action("\160\162\x6f\146\151\x6c\145\137\x75\160\x64\x61\164\x65", array($this, "\x75\160\144\x61\164\145\137\160\162\157\146\x69\x6c\145"), 10, 2);
c0:
$sh = !empty(get_option("\x6d\x6f\x5f\154\144\x61\x70\137\x70\x6c\x75\x67\x69\156\137\x76\145\162\x73\x69\157\x6e")) ? get_option("\x6d\157\x5f\x6c\x64\x61\160\x5f\160\x6c\x75\147\x69\x6e\x5f\166\145\x72\x73\x69\157\156") : "\x6e\157\x6e\145";
if (!(strcasecmp($sh, "\62\67\x2e\x30\56\x30") != 0)) {
goto ge;
}
Mo_Ldap_Local_Util::bp_hjey_hpfeh_dy_mysvejr($sh);
update_option("\155\x6f\137\x6c\144\x61\x70\137\x70\x6c\165\147\x69\156\137\166\145\x72\x73\x69\157\x6e", "\62\67\56\x30\x2e\60");
ge:
remove_action("\x61\x64\x6d\151\156\x5f\x6e\157\164\x69\x63\145\x73", array($this, "\163\x75\143\x63\145\163\163\x5f\x6d\145\x73\163\x61\147\x65"));
remove_action("\141\x64\155\151\156\137\156\x6f\x74\x69\x63\x65\x73", array($this, "\x65\162\162\157\162\x5f\155\x65\163\x73\141\147\x65"));
register_deactivation_hook(__FILE__, array($this, "\x6d\157\137\154\x64\x61\160\137\x6c\x6f\143\x61\154\137\144\x65\141\x63\x74\x69\x76\x61\164\x65"));
add_action("\163\x68\x6f\167\137\165\163\x65\162\x5f\x70\162\x6f\146\x69\154\145", array($this, "\x73\150\x6f\167\137\165\x73\x65\x72\137\x70\162\x6f\146\x69\x6c\x65"));
add_action("\x65\x64\151\x74\137\x75\163\x65\162\137\160\162\x6f\146\x69\154\145", array($this, "\x73\x68\157\167\x5f\165\163\145\162\x5f\160\162\x6f\146\151\x6c\x65"));
$AZ = get_option("\x6d\x6f\x5f\x6c\x64\x61\160\x5f\x6c\x6f\x63\x61\x6c\x5f\141\165\x74\150\157\162\151\172\x65\144\137\x75\163\145\x72\x73\137\157\156\x6c\x79");
if (!($AZ == 1)) {
goto FX;
}
add_action("\x77\160", array($this, "\x6d\157\x5f\x6c\144\x61\x70\x5f\x6c\x6f\x63\141\x6c\137\x6c\x6f\x67\151\156\x5f\x72\x65\144\x69\162\x65\143\x74"));
FX:
if (!in_array("\x6e\145\170\164\55\x61\x63\x74\x69\166\145\x2d\144\x69\162\x65\143\x74\157\x72\x79\x2d\151\156\164\145\147\x72\x61\164\x69\157\x6e\57\x69\x6e\x64\x65\x78\56\160\150\160", (array) get_option("\141\143\x74\x69\x76\145\x5f\x70\x6c\x75\x67\151\156\x73", array()), true)) {
goto hA;
}
$WX = 20;
hA:
$oh = get_option("\155\157\x5f\154\x64\x61\160\x5f\x6c\x6f\143\x61\154\x5f\145\156\141\142\x6c\145\x5f\154\x6f\x67\x69\156");
if (!($oh == 1)) {
goto CX;
}
remove_filter("\x61\x75\164\x68\x65\156\164\x69\143\x61\x74\x65", "\167\x70\137\x61\165\164\150\x65\x6e\164\x69\x63\141\x74\x65\137\x75\x73\145\x72\x6e\141\x6d\145\x5f\160\x61\x73\163\x77\157\x72\x64", 20, 3);
add_filter("\x61\165\x74\x68\145\x6e\164\x69\x63\x61\x74\x65", array($this, "\x6c\144\x61\160\137\x6c\x6f\x67\151\156"), $WX, 3);
add_filter("\x6c\157\147\x69\156\137\x72\145\x64\x69\x72\x65\143\x74", array($this, "\155\157\x5f\154\x64\x61\x70\x5f\x6c\x6f\143\x61\x6c\x5f\x63\x75\x73\164\x6f\x6d\x5f\162\x65\x64\x69\x72\x65\x63\x74"), 10, 3);
CX:
$at = get_option("\x6d\x6f\137\x6c\x64\x61\x70\137\154\157\x63\141\154\x5f\145\156\141\x62\x6c\x65\137\x61\164\x74\162\137\x6d\x61\x70\x70\x69\x6e\x67");
if (!($at == 1)) {
goto e3;
}
add_action("\x6d\x6f\137\x6c\144\x61\160\137\141\x74\x74\x72\151\142\165\x74\145\137\x74\x6f\x5f\x75\163\x65\162\155\145\164\141\137\x75\x70\144\141\164\145", array($this, "\155\x6f\137\154\x64\x61\x70\137\143\165\163\x74\157\155\x5f\x75\x73\x65\x72\x6d\x65\164\x61\x5f\x75\160\144\x61\x74\145"), 101, 1);
e3:
register_activation_hook(__FILE__, array($this, "\155\x6f\137\x6c\x64\141\160\137\x61\x63\x74\x69\166\141\x74\x65"));
add_action("\x6d\x6f\137\154\x64\141\x70\x5f\x6c\x6f\x63\141\x6c\x5f\x75\164\151\154\151\x74\171\x5f\163\x79\x6e\143", array($this, "\155\x6f\137\x6c\x64\x61\x70\x5f\154\x6f\x63\141\154\137\165\x74\x69\154\151\x74\171\x5f\x73\x79\156\143"));
add_action("\146\154\x75\163\150\143\141\x63\150\x65", array($this, "\x75\x70\144\x61\164\145\137\x73\164\141\x74\165\163"), 10, 3);
add_filter("\155\x6f\x5f\143\150\145\143\153\137\x63\x6f\156\146\151\x67", array($this, "\x77\x61\137\150\x77\x66\162\161\141\x72\137\157\145\x68\167\152"));
if (!$Wm) {
goto NN;
}
add_action("\x61\x64\x6d\151\x6e\x5f\x66\x6f\157\x74\x65\x72", array($this, "\x6c\144\141\x70\x5f\146\x65\145\x64\x62\x61\143\x6b\137\x72\145\x71\165\145\163\164"));
NN:
}
public function wa_hwfrqar_oehwj()
{
$zn = Mo_Utility_Service::wa_hwfrqar_rnywvrj();
$ux = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ("\x4c\111\103\x45\x4e\x53\105\x5f\126\x41\x4c\111\x44" === $zn["\103\x4f\x44\x45"]) {
goto RK;
}
if ($ux) {
goto Bt;
}
if (!$zn["\123\124\x41\x54\x55\x53"]) {
goto Mj;
}
goto E5;
Bt:
return false;
goto E5;
Mj:
return true;
E5:
goto nW;
RK:
return true;
nW:
return false;
}
public function ldap_feedback_request()
{
display_ldap_feedback_form();
}
function mo_ldap_local_custom_redirect($GX, $ST, $user)
{
$AW = get_option("\155\157\137\154\x64\141\160\137\154\x6f\143\x61\154\137\162\145\144\x69\x72\x65\143\164\137\x74\x6f");
if (!(isset($user->roles) && is_array($user->roles))) {
goto gg;
}
if (in_array("\x61\x64\x6d\x69\156\151\163\x74\x72\x61\x74\x6f\162", $user->roles)) {
goto dH;
}
if ($AW) {
goto gV;
}
goto qB;
dH:
return $GX;
goto qB;
gV:
if ($AW == "\x68\157\x6d\x65\160\141\147\145") {
goto uR;
}
if ($AW == "\160\162\157\146\151\x6c\x65") {
goto no;
}
if ($AW == "\x63\x75\163\164\157\155") {
goto N_;
}
goto Mo;
uR:
$GX = home_url();
goto Mo;
no:
$t4 = home_url() . "\x2f\x77\160\x2d\x61\x64\x6d\151\x6e\x2f\x70\162\x6f\146\x69\154\x65\x2e\160\150\x70";
$GX = $t4;
goto Mo;
N_:
$JY = get_option("\x6d\157\x5f\154\144\x61\160\x5f\x6c\157\x63\x61\154\137\143\165\163\164\x6f\155\137\162\x65\x64\x69\x72\x65\143\164");
$GX = $JY;
Mo:
qB:
gg:
return $GX;
}
function mo_ldap_local_login_redirect()
{
$sr = get_queried_object_id();
$Wi = rtrim(get_permalink($sr), "\x2f");
$ce = !empty(get_option("\155\157\137\x6c\144\141\x70\137\x70\x75\142\x6c\151\x63\137\160\x61\147\x65\163\137\154\151\x73\x74")) ? unserialize(get_option("\x6d\x6f\x5f\x6c\144\x61\160\137\160\x75\x62\154\151\x63\137\x70\141\x67\x65\x73\137\154\x69\x73\x74")) : array();
if (!(empty(get_option("\155\x6f\x5f\x6c\x64\141\x70\137\160\x75\142\154\151\143\x5f\160\x61\x67\x65\x73\x5f\145\x6e\x61\142\x6c\145")) || !in_array(strtolower($Wi), $ce))) {
goto Q1;
}
if (is_user_logged_in()) {
goto vd;
}
auth_redirect();
vd:
Q1:
}
function bp_srz_fpqtws_azezma($XO)
{
if (!(strcasecmp(Jp_hwfrqar_mzwhwzl_arvowfra::bp_mzwhwzl_azeza($XO), "\x76\145\x72\151\x66\151\x65\x64") == 0)) {
goto z9;
}
return true;
z9:
return false;
}
function mo_ldap_custom_usermeta_update($user)
{
$JE = get_option("\x6d\157\137\154\144\x61\x70\137\x61\x74\164\x72\151\142\x75\x74\x65\x5f\165\163\145\x72\155\145\x74\x61\137\x6d\141\160\160\x69\x6e\147");
$bq = "\x6d\157\137\x6c\144\141\160\137\154\157\143\x61\x6c\x5f\x63\x75\163\164\x6f\155\137\141\x74\x74\x72\x69\x62\x75\164\145\137";
foreach ($JE as $GT => $dE) {
$zA = $bq . $dE;
$kz = get_user_meta($user->ID, $zA, true);
if (empty($kz)) {
goto YD;
}
update_user_meta($user->ID, $GT, $kz);
YD:
t_:
}
CL:
}
function show_user_profile($user)
{
$bn = unserialize(get_option("\x6d\x6f\x5f\154\144\141\160\x5f\x6c\x6f\x63\141\154\x5f\143\x75\x73\x74\157\x6d\x5f\x61\164\x74\x72\x69\142\x75\x74\145\x73"));
echo "\11\x9\74\x68\x33\x3e\105\x78\164\x72\x61\x20\x70\162\157\146\151\x6c\x65\40\x69\x6e\146\x6f\x72\155\x61\x74\x69\157\x6e\74\x2f\150\63\x3e\15\12\15\xa\x9\11\74\x74\141\x62\x6c\x65\40\143\x6c\x61\163\163\75\x22\x66\157\x72\x6d\55\164\x61\x62\154\145\x22\x3e\15\12\15\xa\11\x9\11\x3c\x74\162\x3e\xd\xa\11\x9\11\x9\74\164\144\x3e\74\x62\76\74\154\141\142\x65\x6c\40\x66\x6f\x72\x3d\x22\x75\x73\x65\x72\x5f\x64\156\x22\x3e\125\163\145\162\x20\x44\116\x3c\57\154\141\142\145\154\x3e\x3c\57\142\76\74\x2f\164\144\76\xd\12\xd\12\x9\11\11\11\74\x74\x64\x3e\15\xa\x9\x9\11\11\x9\74\142\76";
echo esc_attr(get_the_author_meta("\155\x6f\137\154\144\141\x70\137\x75\163\145\x72\x5f\144\x6e", $user->ID));
echo "\x3c\57\x62\x3e\x3c\x2f\164\x64\x3e\15\12\11\x9\x9\11\74\57\164\x64\76\15\12\11\11\11\x3c\x2f\164\162\x3e\15\12\11\x9\11";
if (!get_the_author_meta("\x6d\157\137\154\144\x61\160\x5f\x75\x73\145\x72\137\x70\x68\157\x6e\145", $user->ID)) {
goto Sc;
}
echo "\11\x9\x9\11\74\x74\162\76\xd\12\11\11\11\11\11\74\x74\x64\x3e\x3c\142\x3e\x3c\154\141\142\x65\x6c\40\146\x6f\x72\x3d\42\165\x73\145\162\137\x70\x68\x6f\156\x65\42\76\x55\x73\145\162\x20\x50\x68\157\x6e\x65\40\116\x75\155\142\145\x72\74\57\154\x61\142\x65\x6c\76\x3c\x2f\142\x3e\74\x2f\164\144\76\xd\xa\15\xa\x9\x9\11\11\11\x3c\164\144\76\xd\12\x9\11\11\11\11\x9\74\x62\76";
echo esc_attr(get_the_author_meta("\x6d\157\x5f\x6c\x64\141\x70\x5f\165\x73\x65\162\x5f\x70\x68\x6f\156\145", $user->ID));
echo "\74\x2f\x62\76\15\xa\11\x9\x9\x9\11\74\x2f\164\x64\x3e\15\12\11\11\11\11\74\x2f\x74\162\x3e\xd\12\11\11\x9\11";
Sc:
foreach ($bn as $xS => $XO) {
$PY = get_user_meta($user->ID, $xS, true);
if (empty($PY)) {
goto CY;
}
echo "\11\x9\x9\11\x9\x3c\x74\162\76\15\xa\x9\11\11\11\11\74\164\144\76\x3c\142\76\74\146\x6f\156\x74\x20\x63\x6f\x6c\x6f\162\x3d\x22\x23\x46\106\60\60\x30\60\x22\x3e\x3c\57\146\x6f\x6e\164\x3e";
echo $XO;
echo "\x3c\57\x62\x3e\x3c\x2f\164\144\76\15\12\x9\x9\11\11\x9";
if (is_array($PY)) {
goto o4;
}
echo "\x3c\164\144\x3e";
echo "\x3c\142\76" . $PY . "\x3c\x2f\142\76\x3c\x62\162\76";
echo "\x3c\57\164\144\x3e";
goto dc;
o4:
echo "\74\164\144\76";
foreach ($PY as $nn) {
echo "\x3c\142\76" . $nn . "\74\57\142\x3e\74\x62\x72\76";
PQ:
}
Oz:
echo "\x3c\x2f\x74\x64\76";
dc:
echo "\11\x9\x9\11\x9\74\x2f\164\162\76\15\12\11\x9\11\11\11";
CY:
Fd:
}
S3:
echo "\11\11\x3c\x2f\164\141\x62\x6c\x65\x3e\15\xa\15\xa\x9\x9";
}
function update_profile($iK, $U7 = null)
{
$w1 = apply_filters("\x6d\157\137\x63\x68\145\143\x6b\x5f\x63\x6f\x6e\x66\x69\x67", '');
if (!$w1) {
goto nf;
}
$bn = unserialize(get_option("\x6d\157\x5f\154\144\x61\x70\137\x6c\157\x63\141\x6c\x5f\x63\165\163\x74\157\x6d\137\x61\164\x74\162\x69\142\x75\x74\x65\163"));
$eW = array();
foreach ($bn as $xS => $XO) {
if (!isset($_POST[$XO])) {
goto lT;
}
$eW[$XO] = $_POST[$XO];
lT:
lo:
}
VZ:
$user = get_userdata($iK);
$Kv = new Mo_Ldap_Local_Config();
$Kv->modify_user_info_in_ldap($user, $eW);
nf:
}
function ldap_login($user, $BB, $B_)
{
$w1 = apply_filters("\155\x6f\x5f\x63\x68\145\x63\x6b\137\x63\157\x6e\x66\x69\147", '');
$Dq = get_option("\141\x63\x74\x69\x76\145\137\160\x6c\165\x67\151\x6e\x73");
if (!in_array("\x6d\151\156\151\x6f\162\x61\156\x67\145\55\143\x75\163\x74\x6f\x6d\151\x7a\145\55\x77\160\55\x6c\144\x61\160\x2d\154\x6f\147\x69\x6e\x2d\163\143\x72\x65\145\156\55\x61\x64\x64\x2d\x6f\156\57\141\x64\x64\x5f\154\157\147\151\156\137\155\145\x73\163\141\147\145\56\160\x68\160", $Dq)) {
goto sL;
}
add_filter("\x6c\157\x67\x69\156\137\x6d\145\163\163\x61\x67\145", "\141\x64\144\x5f\x6c\x6f\147\x69\156\137\155\145\x73\163\x61\147\145\163");
function add_login_messages($Bi)
{
$Az = get_option("\x6d\157\x5f\154\x64\x61\x70\137\x6c\157\147\151\156\137\x6d\x65\163\163\x61\x67\145\x73");
foreach ($Az as $h_) {
$Bi = $Bi . "\74\160\40\x6e\141\x6d\x65\75\47\143\165\163\164\157\155\55\x6c\157\147\x69\x6e\x2d\155\145\x73\x73\x61\147\145\x27\x20\151\144\75\47\x63\165\x73\x74\157\x6d\x2d\x6c\x6f\147\x69\156\x2d\155\145\163\x73\141\x67\x65\x27\40\x73\164\171\x6c\x65\75\x27\x6d\141\x72\147\x69\x6e\x2d\164\157\160\72\x20\x32\x30\x70\170\x3b\x6d\x61\x72\147\151\156\55\154\145\146\x74\x3a\40\60\73\x70\x61\x64\144\x69\x6e\147\72\40\x38\160\170\x20\x38\x70\x78\x20\70\x70\170\x3b\x66\157\x6e\164\x2d\167\x65\151\147\150\x74\x3a\40\62\x30\x30\x3b\157\166\x65\x72\146\154\157\167\x3a\40\150\151\x64\144\x65\156\73\142\141\x63\153\x67\162\x6f\x75\156\x64\x3a\x20\43\146\x66\146\x3b\142\x6f\162\144\145\162\72\x20\64\160\x78\x20\163\157\x6c\x69\144\40\43\x66\146\x66\x3b\142\x6f\x78\55\x73\x68\141\144\x6f\167\x3a\40\60\40\x31\x70\x78\40\63\160\x78\x20\x72\x67\142\x61\50\x30\x2c\x30\54\60\54\56\60\x34\51\73\142\157\162\144\145\x72\x2d\x6c\145\146\x74\55\143\x6f\x6c\x6f\162\72\x20" . $h_["\143\157\154\157\x72"] . "\73\142\157\x72\x64\x65\162\55\x74\x6f\160\72\x20\x6e\157\156\x65\x3b\142\x6f\x72\144\x65\x72\55\x62\x6f\164\164\157\x6d\72\x20\x6e\x6f\156\145\73\47\76\x3c\163\x74\x72\x6f\x6e\147\76" . $h_["\x6d\x65\163\163\141\x67\145"] . "\x3c\57\x73\164\162\x6f\156\x67\76\74\x2f\x70\x3e";
dX:
}
J1:
$Bi = $Bi . "\74\x62\162\76";
return $Bi;
}
sL:
$tE = get_option("\x6d\x6f\137\154\x64\141\x70\137\145\x6e\141\x62\x6c\145\x5f\165\x73\x65\162\137\163\145\163\163\x69\157\156\x5f\x73\x79\156\x63");
if ($tE && in_array("\155\x69\156\151\157\162\x61\x6e\x67\145\55\164\145\162\x6d\151\156\141\x74\145\x2d\154\x64\x61\x70\55\x75\163\x65\162\x2d\163\x65\x73\x73\151\157\x6e\55\157\x6e\55\160\x61\163\x73\167\x6f\x72\x64\x2d\x75\x70\144\x61\x74\145\55\x61\144\144\55\157\156\57\164\x65\162\x6d\151\x6e\x61\x74\145\x5f\154\144\x61\160\x5f\x75\163\x65\x72\x5f\x73\145\x73\163\151\157\156\137\x73\171\156\x63\56\160\150\x70", $Dq)) {
goto zB;
}
$e2 = false;
goto VV;
zB:
$e2 = true;
VV:
error_log("\126\141\x6c\x75\145\x20\x66\x6f\x72\40\114\x44\101\120\x20\120\127\x44\40\x73\x79\x6e\143\x20\72\40" . $e2);
if (!(empty($BB) || empty($B_))) {
goto Ch;
}
$C_ = new WP_Error();
if (!empty($BB)) {
goto s_;
}
$C_->add("\x65\155\x70\164\171\137\165\x73\145\x72\x6e\141\155\145", __("\x3c\x73\x74\162\157\156\x67\x3e\x45\122\122\x4f\122\74\57\163\164\162\157\156\x67\x3e\72\x20\x45\155\x61\151\x6c\40\x66\151\145\x6c\x64\x20\151\163\x20\x65\x6d\160\x74\x79\56"));
s_:
if (!empty($B_)) {
goto FY;
}
$C_->add("\145\155\x70\x74\171\137\160\141\163\x73\x77\x6f\162\x64", __("\x3c\163\164\162\x6f\156\147\76\x45\x52\x52\x4f\x52\74\x2f\163\x74\x72\157\156\x67\x3e\x3a\x20\120\x61\163\x73\167\157\162\144\40\x66\x69\x65\154\x64\x20\151\x73\x20\x65\x6d\x70\164\x79\x2e"));
FY:
return $C_;
Ch:
$qk = get_option("\x6d\157\137\154\144\141\160\x5f\154\x6f\143\x61\154\137\x65\156\x61\x62\x6c\145\x5f\142\x6f\x74\150\x5f\x6c\157\147\x69\156");
$Kv = new Mo_Ldap_Local_Config();
$Tn = $Kv->authenticate_ldap_user($BB, $B_);
if ($Tn->statusCode == "\x4c\x44\101\x50\x5f\102\x49\116\x44\x5f\123\x55\x43\103\105\x53\x53\137\125\123\105\122\137\105\x58\111\123\x54\x53" && $w1) {
goto Xb;
}
if (!empty($qk) || !$w1) {
goto bU;
}
if ($Tn->statusCode == "\x4c\104\x41\120\137\103\x4f\x4e\116\105\103\x54\111\x4f\116\137\x45\x52\122\117\122") {
goto f4;
}
if ($Tn->statusCode == "\x4c\104\101\x50\137\102\x49\x4e\x44\x5f\105\x52\x52\x4f\x52\137\x55\x53\x45\122\x5f\x45\130\111\x53\124\123") {
goto yi;
}
if ($Tn->statusCode == "\x4c\x44\101\x50\137\x45\130\124\105\x4e\x53\111\x4f\116\137\105\122\122\117\x52") {
goto g7;
}
if ($Tn->statusCode == "\x4f\x50\105\x4e\123\123\114\x5f\x45\x58\x54\105\x4e\123\x49\117\x4e\x5f\105\x52\122\117\122") {
goto yb;
}
$C_ = new WP_Error();
$C_->add("\x55\116\113\x4e\117\x57\x4e\137\105\122\x52\117\122", __("\x3c\163\x74\x72\x6f\x6e\x67\x3e\105\122\122\117\122\74\57\163\x74\x72\x6f\156\x67\x3e\72\x20\x55\x6e\153\x6e\157\167\156\40\145\x72\x72\157\x72\x20\x6f\x63\x63\x75\162\x72\x65\x64\x20\x64\x75\162\x69\x6e\147\40\141\165\164\x68\x65\x74\x69\x63\x61\x74\151\157\x6e\56\x20\x50\154\145\x61\163\145\40\143\157\156\164\x61\143\x74\40\171\x6f\x75\x72\40\x61\144\155\151\156\151\x73\164\x72\x61\x74\x6f\x72\x2e"));
return $C_;
goto xa;
Xb:
$nP = get_option("\x6d\157\137\154\x64\x61\160\x5f\145\156\x61\142\154\x65\137\165\x6c\x74\x69\155\141\164\x65\137\155\145\x6d\142\145\162\x5f\154\x6f\x67\x69\x6e");
$Pq = get_option("\155\157\137\x6c\x64\x61\x70\137\x65\156\141\x62\x6c\145\x5f\165\154\x74\151\155\x61\164\145\137\x6d\145\x6d\x62\x65\162\x5f\160\162\x6f\x66\x69\x6c\x65");
$pF = $Tn->profileAttributesList;
$uY = $pF["\x6d\141\x69\x6c"];
if (username_exists($BB) || email_exists($BB) || username_exists($uY) || email_exists($uY)) {
goto zh;
}
$UU = get_option("\155\157\137\x6c\x64\141\x70\x5f\x6c\x6f\x63\x61\x6c\x5f\162\145\147\151\163\x74\x65\162\137\165\163\x65\x72");
if (!$UU) {
goto Um;
}
$gq = get_option("\x6d\x6f\137\154\x64\x61\160\137\154\x6f\143\x61\x6c\137\x65\x6e\x61\142\154\145\x5f\x66\x61\154\x6c\142\x61\143\153\137\154\157\147\151\156");
$g2 = wp_generate_password(10, false);
$uY = '';
$x2 = '';
$oB = '';
$oK = '';
$ZX = '';
$YM = get_option("\155\x6f\137\x6c\144\x61\160\x5f\154\x6f\x63\141\x6c\137\145\x6e\x61\x62\154\145\137\141\164\164\162\137\x6d\x61\x70\160\151\x6e\x67");
if (!($YM == 1)) {
goto M6;
}
$Ku = strtolower(get_option("\155\x6f\x5f\154\x64\x61\x70\137\x6c\x6f\x63\x61\x6c\137\146\x6e\141\x6d\x65\x5f\x61\x74\x74\x72\x69\142\165\164\x65"));
$Pv = strtolower(get_option("\155\x6f\137\x6c\x64\x61\160\137\x6c\x6f\x63\x61\x6c\x5f\x6c\x6e\x61\155\x65\x5f\x61\x74\164\x72\151\142\165\164\145"));
$uW = strtolower(get_option("\155\157\137\x6c\144\x61\x70\x5f\x6c\x6f\x63\x61\154\x5f\x65\x6d\x61\151\154\x5f\141\x74\x74\162\151\x62\x75\x74\x65"));
$my = strtolower(get_option("\155\x6f\x5f\x6c\144\141\x70\137\x6c\157\143\141\x6c\137\160\150\x6f\156\145\x5f\x61\x74\x74\162\151\142\x75\x74\x65"));
$bJ = strtolower(get_option("\155\157\137\x6c\144\x61\160\x5f\x6c\x6f\143\x61\x6c\x5f\x6e\x69\143\153\156\x61\x6d\x65\137\141\x74\164\x72\x69\x62\x75\x74\145"));
$uY = $pF[$uW];
$x2 = $pF[$Ku];
$oB = $pF[$Pv];
$oK = $pF[$bJ];
$ZX = $pF[$my];
M6:
$bT = array("\165\163\x65\x72\137\x6c\157\147\x69\156" => $BB, "\x75\x73\145\162\x5f\x65\155\x61\151\154" => $uY, "\146\x69\x72\x73\x74\137\x6e\x61\155\x65" => $x2, "\x6c\141\163\x74\x5f\x6e\141\x6d\145" => $oB, "\x6e\151\143\153\156\x61\155\x65" => $oK, "\165\163\145\x72\137\x70\141\163\163" => $g2);
if (!($YM == 1)) {
goto xe;
}
if (empty($oK)) {
goto km;
}
$bT["\156\151\x63\x6b\x6e\x61\x6d\145"] = $oK;
km:
$dK = get_option("\x6d\x6f\x5f\154\144\141\x70\137\x6c\x6f\143\x61\x6c\137\144\151\163\160\154\x61\x79\137\x6e\141\155\145\137\141\164\x74\x72\151\x62\165\x74\145");
if (empty($dK)) {
goto go;
}
if ($dK == "\x6e\x69\143\x6b\156\x61\x6d\x65" && !empty($oK)) {
goto PY;
}
if ($dK == "\145\x6d\x61\151\154") {
goto HT;
}
if ($dK == "\146\x69\x72\x73\164\x6e\x61\x6d\x65") {
goto qN;
}
if ($dK == "\146\151\x72\163\x74\x6c\x61\x73\164") {
goto pG;
}
if ($dK == "\x6c\141\x73\164\x66\151\162\163\164") {
goto sA;
}
goto pb;
PY:
$bT["\x64\151\x73\x70\154\141\171\x5f\156\x61\x6d\145"] = $oK;
goto pb;
HT:
$bT["\x64\x69\163\160\x6c\x61\x79\137\156\x61\155\x65"] = $uY;
goto pb;
qN:
$bT["\x64\x69\x73\160\x6c\x61\171\x5f\156\x61\x6d\145"] = $x2;
goto pb;
pG:
$bT["\144\151\163\x70\154\x61\171\x5f\x6e\x61\x6d\x65"] = $x2 . "\40" . $oB;
goto pb;
sA:
$bT["\144\151\163\160\154\x61\171\x5f\x6e\141\x6d\x65"] = $oB . "\x20" . $x2;
pb:
go:
xe:
$iK = wp_insert_user($bT);
if (!is_wp_error($iK)) {
goto Qy;
}
$this->mo_ldap_report_update($BB, $Tn->statusMessage, "\74\163\x74\x72\157\156\x67\76\x4c\x6f\x67\x69\156\40\x45\162\x72\x6f\162\x3a\x3c\57\x73\164\x72\x6f\x6e\x67\76\40\124\150\x65\x72\x65\x20\x77\x61\163\40\141\x6e\40\145\162\x72\157\162\x20\x72\145\147\151\x73\x74\145\x72\x69\156\147\x20\x79\x6f\165\162\x20\x61\x63\143\x6f\165\x6e\164\x2e\x20\120\x6c\145\x61\163\x65\40\x74\x72\171\x20\x61\x67\141\x69\x6e\x2e");
$C_ = new WP_Error();
$C_->add("\x72\145\147\x69\x73\164\x72\141\164\x69\157\x6e\137\x65\x72\x72\157\x72", __("\x3c\x73\x74\162\157\x6e\x67\x3e\x45\122\122\x4f\x52\74\x2f\163\164\162\157\156\147\x3e\x3a\40\124\150\x65\x72\x65\40\167\141\163\40\x61\x6e\x20\x65\162\162\x6f\x72\40\x72\x65\147\151\x73\164\x65\x72\151\156\147\40\x79\157\165\x72\40\x61\143\143\x6f\165\x6e\164\x2e\40\x50\154\145\141\x73\x65\x20\164\x72\171\40\141\x67\x61\x69\x6e\56"));
return $C_;
goto KM;
Qy:
$user = get_user_by("\x6c\157\147\x69\156", $BB);
if (!($e2 == true)) {
goto cI;
}
error_log("\163\141\166\x69\x6e\x67\40\165\163\x65\x72\40\x6d\x65\x74\x61\x20\x6b\x65\x79");
update_user_meta($user->ID, "\x6d\157\x5f\154\x64\141\160\137\x75\163\x65\x72\x5f\163\x65\x73\x73\x69\x6f\156\x5f\x6b\145\x79", Mo_Ldap_Local_Util::encrypt($B_));
cI:
update_user_meta($user->ID, "\155\x6f\137\x6c\144\141\x70\x5f\x75\x73\145\x72\137\144\156", $Tn->userDn, false);
update_user_meta($user->ID, "\x6d\157\137\x6c\x64\141\x70\x5f\165\x73\x65\162\x5f\160\x68\x6f\x6e\145", $ZX);
$P4 = get_option("\x6d\x6f\x5f\154\144\141\160\x5f\154\157\143\x61\154\137\145\156\x61\142\154\145\137\x72\x6f\154\x65\x5f\155\141\x70\160\x69\x6e\147");
$nt = new Mo_Ldap_Local_Role_Mapping();
$Wo = $nt->get_member_of_attribute($BB);
if (!($P4 == 1)) {
goto cp;
}
$nt->mo_ldap_local_update_role_mapping($user->ID, $Wo);
cp:
$user = get_user_by("\151\x64", $user->ID);
if ($YM == 1) {
goto pP;
}
$bn = array();
goto zD;
pP:
$bn = $Tn->extraProfileAttributesList;
zD:
if (!array_key_exists("\x6d\x65\x6d\142\145\x72\x6f\146", $bn)) {
goto rV;
}
$bn["\155\x65\155\142\x65\162\x6f\146"] = $Wo;
rV:
foreach ($bn as $xS => $XO) {
update_user_meta($user->ID, $xS, $XO);
wl:
}
Dy:
do_action("\x6d\x6f\137\154\x64\x61\160\137\142\165\x64\144\171\x70\162\x65\163\x73", $bn, $user);
do_action("\x6d\x6f\x5f\154\144\x61\x70\137\x61\164\x74\162\x69\x62\x75\x74\145\x5f\x74\157\137\x75\x73\x65\162\x6d\x65\x74\141\137\165\x70\x64\141\164\x65", $user);
do_action("\155\157\x5f\x6c\144\x61\160\137\x70\162\x6f\x66\151\x6c\x65\137\x70\x69\x63\x74\165\x72\x65\x5f\x6d\x61\160\x70\151\x6e\x67", $user);
do_action("\x6d\x6f\x5f\x6c\144\141\160\x5f\x62\x75\144\x64\171\x70\162\145\163\163\137\160\x72\x6f\146\x69\154\x65\137\160\151\x63\x74\x75\x72\x65\x5f\155\x61\160\x70\151\156\x67", $user);
do_action("\x6d\x6f\x5f\167\160\x5f\x74\x6f\x5f\x6c\144\141\x70\x5f\147\162\157\165\x70\163\x5f\155\141\160\160\151\x6e\x67", $user, $Wo);
do_action("\155\157\x5f\154\x64\x61\160\137\154\x65\x61\162\156\144\x61\163\150\137\147\162\157\165\x70\163\x5f\155\x61\x70\x70\151\156\147", $user, $Wo);
do_action("\155\157\137\154\x64\x61\x70\x5f\164\x75\x74\x6f\162\x5f\147\x72\x6f\x75\x70\x73\137\155\x61\160\160\151\x6e\x67", $user, $Wo);
if (!($Pq == 1)) {
goto Wi;
}
delete_option("\x75\155\x5f\143\x61\x63\150\145\137\x75\x73\145\x72\144\141\164\x61\137{$user->ID}");
Wi:
if ($nP == 1) {
goto Y_;
}
$nM = get_option("\155\157\x5f\x6c\x64\x61\x70\137\x65\156\x61\142\x6c\x65\137\162\157\x6c\145\137\162\145\x73\x74\162\x69\x63\164\151\157\x6e");
if (!$nM) {
goto N5;
}
$X5 = new Mo_Ldap_Local_Role_Mapping();
$bU = $X5->mo_ldap_is_user_login_restricted($user->roles);
if (!$bU) {
goto aU;
}
$C_ = new WP_Error();
$C_->add("\125\x4e\113\x4e\117\x57\x4e\x5f\x45\122\x52\x4f\x52", __("\x3c\x73\x74\x72\x6f\156\x67\76\105\x52\122\x4f\122\74\57\x73\164\x72\x6f\x6e\x67\x3e\72\40\x59\157\165\40\141\x72\x65\40\156\x6f\x74\40\x61\x6c\x6c\157\x77\145\x64\40\164\x6f\x20\x4c\157\x67\151\x6e\56\x20\x50\154\145\141\163\145\40\x63\157\156\164\141\143\164\x20\171\x6f\165\162\40\141\x64\x6d\151\156\x69\163\x74\x72\141\164\157\162"));
return $C_;
aU:
N5:
return $user;
goto UE;
Y_:
wp_set_auth_cookie($user->ID, false);
apply_filters("\x6c\x6f\147\151\156\137\x72\x65\144\151\162\145\143\x74", null, null, $user);
UE:
KM:
goto wj;
Um:
$this->mo_ldap_report_update($BB, "\105\122\122\117\122", "\x3c\163\x74\162\157\156\147\76\114\x6f\147\151\156\40\105\162\162\157\162\x3a\x3c\57\x73\x74\x72\157\x6e\147\x3e\40\x59\157\x75\162\x20\101\144\x6d\x69\156\x69\163\x74\x72\x61\x74\x6f\x72\40\x68\141\x73\x20\x6e\157\164\x20\145\156\141\x62\154\145\144\40\101\165\x74\x6f\x20\x52\x65\147\151\163\x74\x72\x61\x74\151\x6f\156\x2e\40\x50\x6c\x65\141\x73\x65\40\x63\157\x6e\164\141\143\x74\40\171\157\165\x72\x20\101\x64\155\151\156\151\x73\164\162\141\x74\x6f\162\56");
$C_ = new WP_Error();
$C_->add("\x72\x65\147\x69\163\164\162\141\x74\151\157\x6e\137\x64\151\x73\x61\x62\x6c\145\144\137\x65\162\162\157\x72", __("\74\163\164\x72\x6f\x6e\x67\76\x45\122\122\117\x52\74\57\x73\x74\x72\157\x6e\147\x3e\x3a\x20\131\157\165\x72\x20\x41\144\x6d\x69\156\151\163\x74\162\141\x74\157\162\40\150\141\x73\x20\156\x6f\164\40\145\x6e\141\x62\x6c\145\x64\x20\x41\165\x74\157\40\x52\x65\x67\151\163\x74\x72\141\x74\x69\157\x6e\x2e\40\120\154\x65\141\163\145\40\x63\157\x6e\x74\x61\x63\164\40\x79\x6f\x75\162\x20\x41\x64\155\151\156\x69\x73\x74\x72\x61\164\157\x72\56"));
return $C_;
wj:
goto YF;
zh:
$uW = strtolower(get_option("\155\x6f\x5f\154\x64\141\160\137\x6c\157\143\141\154\137\x65\155\141\x69\154\x5f\141\x74\164\x72\151\142\165\x74\145"));
$user = false;
if (username_exists($BB)) {
goto sz;
}
if (email_exists($BB)) {
goto Oe;
}
if (isset($pF[$uW]) && email_exists($pF[$uW])) {
goto Om;
}
goto Gh;
sz:
$user = get_user_by("\154\157\x67\151\x6e", $BB);
goto Gh;
Oe:
$user = get_user_by("\145\155\141\x69\154", $BB);
goto Gh;
Om:
$user = get_user_by("\145\155\x61\151\154", $pF[$uW]);
Gh:
if ($user) {
goto PN;
}
$this->mo_ldap_report_update($BB, "\105\122\122\117\x52", "\74\x73\x74\x72\157\x6e\x67\x3e\x4c\157\x67\151\x6e\40\x45\162\162\157\x72\72\74\x2f\x73\164\162\x6f\156\x67\76\40\111\x6e\x76\x61\x6c\x69\x64\x20\x55\x73\x65\162\x6e\141\155\145\57\x50\x61\163\163\x77\157\x72\x64\x20\x63\x6f\155\142\151\x6e\141\164\151\x6f\x6e");
goto fR;
PN:
if (!($e2 == true)) {
goto A2;
}
error_log("\x73\x61\x76\151\x6e\147\x20\x75\x73\145\x72\40\x6d\x65\x74\141\40\153\145\x79");
update_user_meta($user->ID, "\155\x6f\x5f\154\144\141\160\137\165\163\145\x72\137\x73\145\163\x73\151\157\x6e\137\x6b\x65\171", Mo_Ldap_Local_Util::encrypt($B_));
A2:
$Kv->fetch_or_update_user_attributes($user, $Tn);
$user = get_user_by("\x69\144", $user->ID);
if (!($Pq == 1)) {
goto uY;
}
delete_option("\x75\x6d\x5f\x63\x61\x63\x68\145\x5f\x75\163\145\162\144\141\x74\141\137{$user->ID}");
uY:
if ($nP == 1) {
goto uj;
}
$nM = get_option("\155\157\x5f\154\x64\141\x70\x5f\145\156\x61\x62\x6c\145\137\162\157\154\x65\137\162\145\x73\x74\162\151\x63\x74\151\x6f\x6e");
if (!$nM) {
goto iz;
}
$X5 = new Mo_Ldap_Local_Role_Mapping();
$bU = $X5->mo_ldap_is_user_login_restricted($user->roles);
if (!$bU) {
goto aH;
}
$C_ = new WP_Error();
$C_->add("\125\116\x4b\x4e\x4f\127\x4e\x5f\105\x52\x52\x4f\122", __("\74\x73\164\162\x6f\x6e\147\76\105\x52\x52\x4f\122\74\x2f\x73\x74\162\x6f\156\x67\76\x3a\x20\131\157\165\x20\x61\162\145\40\156\157\164\x20\141\x6c\x6c\x6f\167\145\144\x20\164\x6f\x20\x4c\x6f\147\151\156\56\40\x50\154\145\141\x73\145\x20\x63\x6f\x6e\x74\141\143\164\40\171\157\x75\x72\40\141\144\x6d\151\156\x69\x73\164\162\141\x74\x6f\162"));
return $C_;
aH:
iz:
return $user;
goto Hk;
uj:
wp_set_auth_cookie($user->ID, false);
apply_filters("\154\157\147\x69\156\x5f\x72\x65\x64\x69\x72\145\x63\x74", null, null, $user);
Hk:
fR:
YF:
wp_redirect(site_url());
exit;
goto xa;
bU:
$user = false;
if (username_exists($BB)) {
goto t8;
}
if (email_exists($BB)) {
goto n_;
}
goto RZ;
t8:
$user = get_user_by("\154\157\x67\x69\156", $BB);
goto RZ;
n_:
$user = get_user_by("\x65\x6d\x61\x69\x6c", $BB);
RZ:
if ($user) {
goto AK;
}
if ($Tn->statusCode == "\114\x44\x41\x50\137\103\117\116\116\105\103\124\111\x4f\x4e\137\x45\122\122\x4f\122") {
goto DP;
}
if ($Tn->statusCode == "\114\x44\x41\x50\137\102\111\116\x44\x5f\105\122\122\117\122\137\x55\x53\105\x52\137\105\x58\x49\123\124\123") {
goto OY;
}
$this->mo_ldap_report_update($BB, "\x45\x52\x52\117\x52", "\74\x73\164\162\157\156\147\x3e\114\x6f\x67\x69\156\40\x45\x72\x72\x6f\162\x3c\57\x73\164\162\157\x6e\x67\x3e\x3a\40\125\163\x65\162\40\x77\151\x74\x68\x20\163\x70\x65\x63\x69\146\151\x65\x64\x20\x55\x73\x65\x72\x6e\x61\155\x65\57\x45\155\x61\x69\x6c\x20\x61\x64\144\x72\145\x73\x73\40\x4e\157\x74\40\x46\157\165\x6e\144\56");
$C_ = new WP_Error();
$C_->add("\x69\156\143\x6f\x72\162\x65\143\164\x5f\x63\x72\145\144\x65\156\x74\151\x61\154\163", __("\x3c\163\164\162\157\x6e\x67\76\x4c\x6f\x67\x69\156\x20\105\x72\x72\157\162\x3c\x2f\163\x74\x72\x6f\156\147\76\72\x20\125\163\145\x72\x20\167\151\164\x68\x20\x73\160\x65\143\x69\146\151\145\144\x20\125\163\145\x72\x6e\141\x6d\145\x2f\105\155\141\151\x6c\40\141\x64\144\x72\x65\x73\163\x20\x4e\157\x74\x20\106\x6f\x75\x6e\144\x2e"));
return $C_;
goto Mm;
AK:
if (!(!$w1 && $Tn->statusCode == "\114\104\x41\120\x5f\102\x49\116\x44\x5f\123\x55\103\103\105\123\x53\x5f\125\x53\105\x52\x5f\105\130\111\123\124\x53")) {
goto VN;
}
$wQ = get_user_meta($user->ID, "\155\x6f\x5f\x6c\x64\141\160\137\x75\x73\145\162\137\x64\x6e");
$wQ = !empty($wQ) ? $wQ : false;
if (!($wQ != false)) {
goto hU;
}
$this->mo_ldap_report_update($BB, "\x45\122\x52\117\122", "\x3c\x73\x74\162\x6f\156\147\76\x54\162\151\x61\154\x3a\74\57\163\164\x72\157\156\x67\76\x20\131\157\x75\162\40\x54\x72\151\141\154\40\114\x69\143\145\x6e\x73\145\40\x68\x61\x73\40\105\170\160\x69\x72\x65\144");
$C_ = new WP_Error();
$C_->add("\x72\145\147\x69\x73\x74\x72\x61\164\x69\157\156\137\x64\x69\163\141\x62\154\x65\144\x5f\145\x72\162\x6f\162", __("\x3c\163\x74\x72\157\156\x67\76\105\x52\122\x4f\122\x3c\x2f\163\164\x72\x6f\156\x67\x3e\72\40\x59\x6f\165\162\x20\155\151\x6e\x69\x4f\x72\x61\156\147\x65\x20\114\104\x41\120\x2f\101\104\x20\114\157\x67\x69\x6e\40\146\157\x72\40\111\156\x74\x72\141\x6e\x65\164\40\x53\151\x74\145\163\40\124\162\x69\141\154\40\x4c\151\143\x65\156\163\x65\x20\x68\141\x73\40\x65\170\x70\151\x72\145\144\56"));
return $C_;
hU:
VN:
$oc = false;
if ($qk == "\141\x6c\154" || !$w1) {
goto e5;
}
if ($qk == "\x61\144\155\x69\156" && user_can($user->ID, "\155\141\x6e\x61\147\145\x5f\x6f\x70\164\x69\x6f\156\163")) {
goto uT;
}
goto r0;
e5:
$oc = true;
goto r0;
uT:
$oc = true;
r0:
if ($oc && wp_check_password($B_, $user->data->user_pass, $user->ID)) {
goto Bo;
}
if ($Tn->statusCode == "\x4c\x44\x41\x50\137\103\117\116\116\105\x43\124\111\x4f\x4e\137\105\x52\x52\x4f\x52") {
goto uC;
}
$this->mo_ldap_report_update($BB, "\x45\122\122\x4f\x52", "\74\163\x74\x72\x6f\156\147\x3e\x4c\x6f\147\151\x6e\40\x45\162\162\x6f\x72\74\57\x73\164\162\x6f\156\x67\x3e\x3a\40\124\x68\x65\40\160\141\x73\x73\x77\157\x72\x64\x20\x79\x6f\x75\40\145\156\164\145\x72\145\x64\40\x66\x6f\x72\40\x74\150\x65\40\x55\163\x65\x72\x20\74\x73\x74\162\157\156\x67\76" . $BB . "\74\57\x73\164\x72\157\x6e\147\76\x20\x69\x73\40\x69\156\143\x6f\x72\x72\x65\x63\164\56");
$C_ = new WP_Error();
$C_->add("\x69\x6e\x63\x6f\x72\x72\145\143\164\137\x63\x72\x65\144\x65\x6e\x74\151\141\154\x73", __("\x3c\163\x74\x72\157\156\147\x3e\114\x6f\147\151\x6e\40\105\162\x72\x6f\x72\x3c\57\163\x74\x72\157\156\147\76\x3a\x20\x54\x68\145\x20\160\x61\x73\x73\x77\157\162\x64\40\171\x6f\165\x20\145\156\x74\x65\x72\x65\x64\x20\x66\x6f\x72\x20\x74\150\145\x20\x55\x73\145\x72\40\x3c\x73\x74\x72\157\156\147\x3e" . $BB . "\74\57\x73\x74\x72\157\156\x67\x3e\40\x69\x73\x20\x69\156\x63\x6f\x72\162\145\x63\x74\x2e"));
return $C_;
goto qC;
Bo:
$nM = get_option("\155\157\137\x6c\144\141\160\x5f\145\x6e\141\142\154\x65\137\x72\x6f\154\145\x5f\x72\x65\x73\x74\x72\x69\143\x74\x69\x6f\x6e");
if (!$nM) {
goto Og;
}
$X5 = new Mo_Ldap_Local_Role_Mapping();
$bU = $X5->mo_ldap_is_user_login_restricted($user->roles);
if (!$bU) {
goto JF;
}
$C_ = new WP_Error();
$C_->add("\125\x4e\x4b\116\117\x57\116\x5f\105\122\x52\x4f\122", __("\74\163\164\x72\157\x6e\147\x3e\x45\122\122\117\122\x3c\x2f\163\164\162\x6f\156\x67\76\72\x20\x59\157\165\40\x61\162\x65\40\156\157\164\x20\x61\x6c\x6c\x6f\167\145\144\40\x74\x6f\x20\x4c\157\x67\151\x6e\56\40\x50\154\145\x61\163\145\x20\143\157\x6e\164\x61\143\164\40\171\x6f\165\162\40\141\x64\155\x69\x6e\151\163\x74\x72\x61\x74\157\162"));
return $C_;
JF:
Og:
return $user;
goto qC;
uC:
$this->mo_ldap_report_update($BB, "\105\x52\122\x4f\122", "\x3c\x73\164\162\157\x6e\x67\76\114\157\x67\151\x6e\40\x45\162\x72\157\x72\x3c\x2f\x73\x74\x72\157\x6e\x67\x3e\72\40\x4c\x44\101\x50\x20\x73\x65\162\166\145\162\40\151\x73\40\156\157\x74\40\x72\145\141\x63\150\141\x62\154\145\x2e\40\x41\x75\164\150\145\156\x74\x69\x63\x61\x74\x69\157\156\x20\x66\141\151\x6c\145\x64\40\x61\x67\141\151\156\x73\164\40\114\157\x63\141\x6c\40\x57\157\x72\x64\x50\x72\x65\x73\163\x20\x73\x65\x72\x76\145\162\x2e");
$C_ = new WP_Error();
$C_->add("\151\x6e\x63\x6f\x72\x72\x65\143\x74\137\x63\162\145\x64\x65\156\x74\151\141\x6c\x73", __("\x3c\163\164\162\x6f\x6e\147\x3e\114\x6f\147\x69\156\x20\x45\162\162\157\162\74\57\x73\164\162\x6f\156\147\x3e\72\x20\x4c\x44\101\120\x20\163\145\x72\x76\x65\162\40\151\163\40\156\157\x74\x20\162\x65\x61\143\150\x61\142\x6c\x65\x2e\40\x41\x75\164\150\x65\x6e\x74\151\143\141\164\151\x6f\x6e\x20\x66\141\151\154\x65\144\40\141\x67\141\151\x6e\x73\x74\x20\114\157\143\141\x6c\40\127\157\162\x64\x50\162\x65\x73\163\40\163\145\162\x76\145\162\x2e"));
return $C_;
qC:
goto Mm;
DP:
$this->mo_ldap_report_update($BB, "\105\122\122\117\122", "\74\163\164\x72\157\156\147\76\105\x52\122\117\x52\x3c\57\x73\x74\162\157\156\x67\x3e\72\40\x4c\x44\101\120\40\163\145\162\166\x65\x72\40\151\x73\x20\156\157\164\x20\162\x65\x61\143\x68\141\142\154\145\x2e");
$C_ = new WP_Error();
$C_->add("\151\156\143\157\x72\x72\x65\x63\164\x5f\143\x72\x65\144\x65\156\164\x69\141\154\x73", __("\x3c\x73\164\162\x6f\156\x67\x3e\105\x52\122\117\x52\x3c\57\163\164\162\157\156\x67\76\x3a\x20\x4c\104\101\x50\x20\x73\x65\x72\166\x65\x72\x20\151\163\x20\x6e\157\x74\40\x72\x65\x61\143\150\141\142\x6c\145\56"));
return $C_;
goto Mm;
OY:
$this->mo_ldap_report_update($BB, "\x45\122\122\117\122", "\x3c\163\164\162\x6f\x6e\x67\76\x4c\157\147\151\156\40\x45\x72\x72\157\x72\74\57\163\164\x72\157\x6e\147\76\x3a\40\x54\x68\x65\40\160\x61\163\163\x77\157\x72\144\40\x79\x6f\x75\x20\145\x6e\x74\x65\162\145\x64\x20\x66\157\x72\x20\164\x68\x65\x20\125\x73\x65\x72\x20\74\x73\x74\x72\x6f\x6e\x67\x3e" . $BB . "\74\57\x73\x74\162\x6f\156\x67\76\40\x69\163\40\151\156\143\x6f\x72\162\145\143\x74\x2e");
$C_ = new WP_Error();
$C_->add("\x69\x6e\143\157\x72\162\x65\x63\164\137\x63\162\145\x64\145\156\x74\x69\x61\x6c\x73", __("\74\163\164\x72\157\156\x67\x3e\x4c\x6f\x67\x69\156\40\x45\x72\x72\157\162\x3c\x2f\x73\164\162\x6f\x6e\x67\76\72\40\124\150\145\40\x70\141\163\x73\x77\x6f\162\x64\40\171\x6f\165\40\x65\156\164\145\x72\145\x64\40\146\157\x72\x20\164\x68\145\40\x55\163\145\162\x20\74\x73\164\x72\x6f\x6e\x67\76" . $BB . "\74\x2f\163\164\162\x6f\156\x67\76\40\151\x73\x20\151\x6e\143\x6f\x72\x72\145\143\164\56"));
return $C_;
Mm:
goto xa;
f4:
$this->mo_ldap_report_update($BB, "\105\122\x52\x4f\x52", "\x3c\x73\x74\162\x6f\156\x67\76\x4c\157\x67\151\x6e\40\105\162\162\x6f\x72\74\x2f\163\x74\x72\157\156\147\x3e\x3a\40\x4c\x44\101\120\x20\x73\x65\162\x76\x65\x72\x20\151\x73\40\156\x6f\x74\x20\x72\145\x61\x63\150\x61\142\154\x65");
$C_ = new WP_Error();
$C_->add("\x69\x6e\x63\157\x72\x72\145\x63\x74\137\143\x72\145\144\x65\156\164\151\x61\x6c\163", __("\x3c\163\164\162\157\x6e\x67\76\114\x6f\x67\x69\x6e\x20\x45\x72\162\x6f\162\x3c\57\x73\x74\162\x6f\156\147\76\72\x20\114\x44\x41\x50\40\163\145\162\x76\145\162\x20\x69\x73\40\156\157\x74\x20\162\145\x61\143\150\141\x62\x6c\x65\56\40\x46\141\x6c\154\142\141\143\153\x20\x74\x6f\x20\x6c\x6f\x63\141\x6c\40\127\x6f\162\x64\x50\162\x65\163\163\40\141\165\x74\x68\145\x6e\164\x69\143\141\164\151\157\x6e\x20\151\163\x20\156\157\164\x20\x65\x6e\x61\142\x6c\x65\144\x2e"));
return $C_;
goto xa;
yi:
$this->mo_ldap_report_update($BB, "\105\122\122\117\122", "\x3c\x73\x74\x72\x6f\156\147\x3e\114\x6f\x67\x69\156\40\105\x72\162\x6f\x72\74\57\163\164\162\157\156\147\76\72\x20\x54\150\145\40\160\141\x73\x73\x77\x6f\162\144\x20\x79\157\x75\x20\145\156\x74\145\162\x65\144\40\146\157\x72\x20\164\x68\x65\x20\125\x73\145\162\40\x3c\163\x74\x72\x6f\156\147\x3e" . $BB . "\x3c\57\163\164\162\157\x6e\x67\76\x20\151\x73\x20\x69\x6e\143\x6f\x72\162\145\x63\164\56");
$C_ = new WP_Error();
$C_->add("\x69\156\143\x6f\162\x72\x65\x63\x74\137\143\x72\x65\x64\145\x6e\164\x69\141\x6c\163", __("\x3c\163\164\162\x6f\x6e\x67\x3e\x4c\157\x67\151\156\40\105\162\162\x6f\162\x3c\57\163\x74\162\x6f\156\147\76\72\x20\124\x68\145\x20\x70\141\163\x73\x77\x6f\x72\144\40\x79\x6f\165\40\x65\156\164\x65\162\x65\x64\40\146\x6f\x72\x20\x74\x68\145\40\125\163\145\x72\x20\x3c\x73\164\x72\157\156\x67\x3e" . $BB . "\x3c\57\163\164\162\x6f\156\147\x3e\40\x69\x73\40\x69\x6e\x63\157\162\162\x65\143\x74\x2e"));
return $C_;
goto xa;
g7:
$this->mo_ldap_report_update($BB, $Tn->statusMessage, "\74\163\164\162\x6f\156\147\76\114\x6f\147\x69\156\40\105\162\x72\x6f\x72\x3c\x2f\x73\x74\x72\157\x6e\x67\76\x3a\x20\74\x61\40\x74\x61\x72\147\145\164\x3d\42\137\x62\154\x61\x6e\153\42\x20\x68\162\145\x66\75\42\x68\x74\164\x70\72\x2f\57\x70\x68\160\x2e\156\145\164\x2f\x6d\x61\x6e\165\141\154\57\145\156\57\154\x64\x61\x70\56\x69\x6e\x73\164\x61\x6c\154\141\x74\151\157\156\56\160\150\x70\42\x3e\120\110\120\40\x4c\x44\101\120\x20\145\x78\164\x65\156\x73\151\157\156\74\57\141\x3e\x20\151\163\x20\156\x6f\164\x20\151\156\x73\164\141\154\x6c\145\144\x20\157\162\40\x64\151\163\141\x62\x6c\x65\144\56\40\120\154\x65\141\163\145\40\145\x6e\141\142\154\x65\x20\151\x74\56");
$C_ = new WP_Error();
$C_->add("\x4c\x44\x41\120\x5f\105\x58\124\105\x4e\x53\x49\x4f\x4e\137\x45\x52\122\117\122", __("\x3c\x73\x74\162\x6f\156\147\76\x4c\157\147\x69\x6e\40\105\162\x72\157\162\x3c\57\x73\x74\162\157\156\x67\76\x3a\x20\x3c\141\40\164\x61\162\147\x65\164\75\x22\137\x62\x6c\x61\156\x6b\x22\x20\x68\162\x65\146\x3d\42\150\x74\x74\160\72\57\57\160\150\160\56\156\145\x74\57\x6d\141\x6e\x75\x61\154\x2f\x65\156\x2f\x6c\144\141\x70\x2e\151\x6e\163\164\141\154\x6c\141\x74\x69\x6f\x6e\x2e\x70\x68\x70\42\76\x50\110\x50\40\x4c\104\101\120\x20\145\170\164\145\x6e\163\x69\157\156\74\x2f\x61\76\x20\x69\163\40\156\157\164\40\x69\156\x73\x74\x61\x6c\154\x65\x64\40\x6f\162\x20\x64\x69\x73\141\x62\154\x65\144\56\40\x50\154\145\x61\163\145\x20\145\x6e\141\x62\154\145\40\151\x74\x2e"));
return $C_;
goto xa;
yb:
$this->mo_ldap_report_update($BB, $Tn->statusMessage, "\74\163\x74\162\157\156\147\x3e\114\x6f\147\x69\156\x20\x45\162\162\x6f\x72\x3c\57\x73\164\162\x6f\156\147\x3e\72\40\x3c\x61\40\x74\141\162\x67\145\x74\75\x22\137\142\154\x61\156\153\x22\x20\x68\x72\x65\x66\75\42\150\x74\164\160\x3a\57\57\x70\150\x70\56\156\145\164\x2f\155\x61\x6e\x75\x61\x6c\57\145\x6e\57\x6f\x70\145\x6e\x73\x73\x6c\56\151\x6e\163\164\141\x6c\x6c\141\x74\x69\157\156\56\x70\x68\x70\x22\76\120\x48\x50\40\117\x70\145\x6e\123\123\x4c\40\145\170\x74\x65\x6e\163\x69\x6f\x6e\x3c\57\141\76\x20\151\x73\40\156\157\x74\x20\151\156\163\x74\x61\154\x6c\145\x64\x20\157\162\x20\144\151\x73\x61\x62\x6c\145\144\x2e");
$C_ = new WP_Error();
$C_->add("\x4f\120\105\x4e\123\x53\114\x5f\x45\x58\124\x45\116\123\111\x4f\116\x5f\105\122\x52\x4f\x52", __("\74\x73\164\x72\x6f\x6e\x67\76\114\157\147\x69\156\x20\105\x72\162\x6f\x72\74\57\163\164\x72\157\x6e\147\76\72\40\x3c\141\x20\164\141\162\147\x65\164\75\x22\x5f\x62\154\141\x6e\x6b\x22\x20\x68\x72\x65\146\75\x22\x68\x74\x74\160\72\x2f\57\x70\x68\160\56\x6e\145\164\57\x6d\141\x6e\x75\141\x6c\x2f\x65\x6e\x2f\x6f\160\145\156\x73\163\154\x2e\x69\x6e\x73\x74\141\154\154\x61\164\x69\x6f\156\56\160\150\x70\42\x3e\x50\x48\120\40\117\160\145\156\123\123\x4c\x20\145\170\x74\x65\x6e\x73\x69\157\156\x3c\x2f\141\76\40\151\x73\40\156\157\164\x20\x69\156\x73\164\x61\154\x6c\x65\144\x20\x6f\162\40\144\x69\x73\141\x62\x6c\145\144\x2e"));
return $C_;
xa:
}
function mo_ldap_local_login_widget_menu()
{
add_menu_page("\114\x44\101\120\x2f\x41\x44\40\x4c\157\x67\151\156\x20\146\157\x72\40\x49\x6e\x74\162\x61\156\145\x74", "\x4c\104\101\x50\57\101\104\x20\x4c\157\147\x69\x6e\x20\x66\157\x72\x20\x49\156\164\162\x61\156\x65\x74", "\141\x63\x74\151\x76\141\x74\145\x5f\x70\x6c\165\x67\x69\156\x73", "\155\x6f\x5f\154\144\x61\160\x5f\154\157\143\141\x6c\137\x6c\x6f\147\151\x6e", array($this, "\x6d\x6f\x5f\x6c\144\x61\160\137\154\157\x63\x61\x6c\x5f\x6c\x6f\147\x69\156\x5f\x77\151\144\147\145\x74\x5f\x6f\160\x74\151\x6f\156\x73"), plugin_dir_url(__FILE__) . "\151\156\143\x6c\165\144\145\x73\57\151\155\x61\147\x65\163\x2f\155\x69\x6e\151\x6f\x72\x61\x6e\x67\x65\137\x69\143\157\156\x2e\160\x6e\x67");
}
function mo_ldap_local_login_widget_options()
{
$SZ = array("\x73\145\x72\x76\145\x72\137\165\162\x6c" => "\154\x64\141\x70\72\57\57\65\70\56\x36\64\x2e\61\x33\62\56\x32\x33\65\x3a\63\x38\x39", "\x73\145\162\x76\x69\143\145\137\141\143\x63\x6f\x75\x6e\164\x5f\x64\156" => "\x63\156\x3d\x74\x65\163\x74\165\163\145\162\x2c\143\x6e\75\125\163\145\162\163\54\x64\x63\x3d\x6d\x69\156\x69\x6f\x72\x61\x6e\x67\145\54\x64\143\x3d\143\157\155", "\x61\x64\155\x69\x6e\137\x70\141\163\x73\167\x6f\162\144" => "\130\130\x58\x58\130\x58\130\x58", "\144\x6e\137\x61\x74\164\x72\151\x62\x75\164\145" => "\x64\x69\163\164\x69\156\x67\165\x69\163\x68\x65\144\116\x61\x6d\x65", "\x73\145\x61\162\x63\x68\137\x62\141\x73\145" => "\143\x6e\x3d\125\163\145\162\x73\x2c\x64\x63\x3d\155\151\x6e\151\x6f\162\x61\x6e\x67\x65\x2c\x64\143\x3d\x63\x6f\155", "\x75\x73\145\x72\x6e\141\x6d\145\137\141\x74\x74\162\x69\142\165\164\x65" => "\163\x41\115\x41\143\143\x6f\x75\156\164\x4e\x61\x6d\145", "\163\145\x61\162\x63\x68\137\x66\x69\154\x74\x65\162" => "\50\x26\x28\157\142\x6a\145\x63\164\103\154\x61\163\163\x3d\52\x29\x28\x63\156\75\77\51\51", "\x74\145\x73\x74\x5f\x75\x73\145\x72\x6e\x61\155\x65" => "\x74\145\x73\164\x75\x73\145\162", "\x74\x65\163\x74\137\x70\141\x73\163\x77\x6f\x72\144" => "\160\141\x73\x73\167\157\162\x64");
update_option("\x6d\157\137\154\144\141\x70\137\x6c\157\x63\x61\x6c\137\x64\145\146\x61\x75\x6c\x74\x5f\x63\157\156\146\151\x67", $SZ);
mo_ldap_local_settings();
}
function login_widget_save_options()
{
$w1 = apply_filters("\x6d\157\x5f\x63\x68\x65\143\x6b\137\143\157\x6e\x66\151\147", '');
if (isset($_POST["\x6f\160\x74\151\157\156"]) && strcasecmp($_POST["\x6f\160\164\x69\157\156"], "\x6d\157\137\154\x64\141\x70\x5f\154\157\x63\x61\154\x5f\x76\x65\162\x69\x66\171\x5f\x63\165\x73\164\157\155\145\x72") == 0) {
goto yl;
}
if (isset($_POST["\157\160\164\151\x6f\156"]) && strcasecmp($_POST["\157\x70\x74\151\x6f\x6e"], "\155\x6f\x5f\154\144\141\x70\x5f\x6c\157\143\141\x6c\x5f\166\145\x72\151\146\x79\137\154\x69\x63\x65\156\163\145") == 0) {
goto I9;
}
if (isset($_POST["\157\x70\x74\151\x6f\156"]) && strcasecmp($_POST["\x6f\160\164\x69\157\x6e"], "\x6d\x6f\x2d\143\x68\145\x63\153\x2d\154\x69\x63\145\156\x73\x65\55\142\165\164\x74\157\156") == 0) {
goto kG;
}
if (isset($_POST["\x6f\160\164\x69\157\x6e"]) && strcasecmp($_POST["\157\160\x74\151\x6f\x6e"], "\155\x6f\55\143\x68\x61\156\147\x65\x2d\141\143\143\x6f\x75\156\164\55\142\x75\x74\x74\x6f\156") == 0) {
goto nj;
}
if (isset($_POST["\x6f\x70\164\151\x6f\156"]) && strcasecmp($_POST["\x6f\160\164\151\157\x6e"], "\x6d\x6f\137\154\x64\x61\x70\x5f\160\x75\x62\x6c\151\143\137\160\141\x67\145\163") == 0) {
goto qY;
}
if (isset($_POST["\x6f\160\x74\151\x6f\156"]) && strcasecmp($_POST["\157\160\x74\151\x6f\x6e"], "\x6d\157\137\x6c\x64\x61\x70\x5f\144\145\154\145\164\x65\137\160\141\147\x65") == 0) {
goto P5;
}
if (isset($_POST["\x6f\x70\x74\x69\x6f\156"]) && strcasecmp($_POST["\x6f\160\x74\151\x6f\156"], "\155\157\x5f\154\x64\x61\160\x5f\154\157\143\x61\154\x5f\154\x6f\147\151\x6e\x5f\x73\145\156\x64\137\161\165\x65\162\x79") == 0) {
goto X9;
}
if (isset($_POST["\157\160\x74\x69\157\156"]) && strcasecmp($_POST["\x6f\x70\x74\x69\x6f\156"], "\x6d\x6f\x5f\154\144\x61\160\x5f\154\x6f\147\151\x6e\137\163\x65\x6e\144\x5f\161\165\x65\x72\171") == 0) {
goto mI;
}
if (isset($_POST["\157\160\x74\151\x6f\156"]) && strcasecmp($_POST["\x6f\x70\x74\151\157\156"], "\x6d\x6f\x5f\x6c\144\x61\x70\137\x6c\x6f\x67\x69\156\137\163\x65\x6e\144\x5f\146\145\141\164\165\162\x65\x5f\x72\x65\161\x75\145\x73\164\137\161\x75\145\x72\171") == 0) {
goto Ai;
}
goto Mk;
yl:
$uY = '';
$B_ = '';
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\145\x6d\x61\151\154"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x70\x61\163\163\167\157\162\144"])) {
goto ip;
}
$uY = sanitize_email($_POST["\x65\155\x61\x69\154"]);
$B_ = $_POST["\x70\x61\x73\x73\167\x6f\x72\144"];
goto sm;
ip:
update_option("\x6d\x6f\137\x6c\x64\141\160\137\x6c\x6f\x63\141\x6c\137\155\x65\x73\x73\x61\147\145", "\101\154\x6c\40\x74\150\x65\x20\146\x69\145\x6c\x64\163\x20\x61\x72\145\40\x72\145\x71\165\151\162\x65\x64\56\x20\x50\154\145\141\163\x65\x20\145\156\164\x65\162\40\166\141\x6c\151\144\40\x65\x6e\x74\162\x69\145\x73\x2e");
$this->show_error_message();
return;
sm:
update_option("\155\157\137\154\144\x61\160\137\x6c\x6f\143\141\x6c\x5f\141\144\155\151\x6e\x5f\x65\x6d\141\151\x6c", $uY);
update_option("\155\157\x5f\x6c\144\141\160\137\x6c\157\143\x61\154\x5f\x70\x61\x73\x73\167\157\162\144", $B_);
$xH = new Mo_Ldap_Local_Customer();
$Cg = $xH->get_customer_key();
$Ni = json_decode($Cg, true);
if (strcasecmp($Ni["\x73\x74\141\164\165\x73"], "\x53\x55\103\103\x45\x53\123") == 0) {
goto io;
}
if (strcasecmp($Ni["\x73\164\x61\x74\165\x73"], "\x45\122\122\x4f\122") == 0) {
goto iK;
}
update_option("\155\157\x5f\x6c\x64\x61\160\x5f\154\157\143\x61\x6c\x5f\155\x65\x73\163\141\147\145", "\x49\x6e\166\x61\x6c\x69\x64\x20\165\163\x65\162\156\x61\155\x65\40\157\x72\x20\x70\141\x73\x73\167\x6f\x72\x64\56\x20\x50\x6c\x65\x61\163\x65\40\164\162\x79\x20\141\147\141\x69\x6e\x2e");
$this->show_error_message();
goto E7;
io:
update_option("\155\x6f\137\154\144\x61\x70\137\154\x6f\143\141\x6c\x5f\x61\x64\x6d\151\x6e\137\160\x68\157\156\x65", $Ni["\160\150\157\x6e\x65"]);
$this->save_success_customer_config($Ni["\x69\x64"], $Ni["\x61\160\151\113\145\171"], $Ni["\x74\157\153\145\x6e"], "\131\157\x75\162\40\141\143\x63\x6f\165\156\164\40\150\x61\163\x20\142\145\x65\x6e\x20\162\x65\164\162\151\145\166\x65\x64\x20\163\165\143\143\x65\x73\163\146\165\154\x6c\171\x2e");
update_option("\x6d\x6f\137\154\144\141\x70\137\154\x6f\143\141\x6c\137\x70\x61\163\x73\x77\157\x72\144", '');
goto E7;
iK:
update_option("\x6d\157\137\x6c\144\x61\160\137\x6c\157\143\x61\154\137\155\x65\163\x73\x61\147\x65", $Ni["\x73\x74\x61\x74\165\x73\115\x65\163\x73\x61\x67\x65"]);
$this->show_error_message();
E7:
update_option("\155\x6f\x5f\x6c\144\x61\160\137\154\157\143\141\154\137\x70\x61\163\x73\167\x6f\x72\x64", '');
goto Mk;
I9:
if (!Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x6d\x6f\x5f\x6c\144\141\x70\137\154\x6f\143\x61\154\x5f\154\151\143\145\x6e\163\145\137\x6b\145\171"])) {
goto gp;
}
update_option("\x6d\157\x5f\x6c\x64\x61\x70\x5f\154\x6f\143\141\x6c\x5f\155\145\163\x73\x61\x67\145", "\101\154\x6c\40\164\x68\x65\40\x66\x69\x65\x6c\144\163\x20\x61\162\145\x20\162\145\x71\x75\x69\162\x65\x64\x2e\x20\x50\154\145\141\x73\145\x20\x65\x6e\164\145\x72\x20\x76\x61\154\151\144\x20\x6c\151\143\145\x6e\163\x65\x20\x6b\x65\171\56");
$this->show_error_message();
return;
gp:
$yr = trim($_POST["\x6d\x6f\x5f\154\x64\x61\x70\x5f\154\x6f\x63\x61\x6c\x5f\154\151\143\145\156\x73\x65\x5f\x6b\145\171"]);
$xH = new Mo_Ldap_Local_Customer();
$Cg = json_decode($xH->XfskodsfhHJ($yr), true);
if (isset($Cg["\x73\x74\x61\x74\165\x73"]) && $Cg["\151\x73\x54\x72\151\x61\154"] == true) {
goto Zb;
}
if (isset($Cg["\163\164\141\164\165\163"]) && strcasecmp($Cg["\x73\x74\x61\164\165\163"], "\123\125\x43\x43\x45\x53\x53") == 0) {
goto J_;
}
if (isset($Cg["\x73\x74\141\x74\165\x73"]) && strcasecmp($Cg["\163\164\141\164\x75\x73"], "\106\101\111\114\105\104") == 0) {
goto rQ;
}
update_option("\x6d\x6f\x5f\x6c\x64\x61\160\x5f\154\x6f\143\141\x6c\x5f\155\145\x73\163\141\x67\x65", "\x41\x6e\40\x65\162\162\x6f\162\40\x6f\143\x63\165\162\x65\x64\40\167\150\x69\154\x65\40\x70\162\x6f\143\145\x73\163\151\156\147\x20\x79\157\165\x72\40\162\145\x71\x75\145\163\x74\x2e\x20\120\154\x65\x61\x73\x65\x20\x54\162\x79\x20\x61\147\x61\x69\156\56");
$this->show_error_message();
goto oU;
Zb:
$L6 = Jp_hwfrqar_mzwhwzl_arvowfra::bp_efzwoezr_zvweh_hwfrqar($Cg, $yr);
update_option("\x6d\157\137\x6c\x64\141\x70\137\154\x6f\143\x61\x6c\x5f\x6d\x65\163\163\x61\147\145", $L6["\x64\x69\x73\x70\x6c\x61\x79\x4d\163\147"]);
if ($L6["\164\162\x69\x61\154\123\164\141\164\165\x73"]) {
goto id;
}
$this->show_error_message();
goto Tu;
id:
$this->show_success_message();
Tu:
goto oU;
J_:
update_option("\x6d\x6f\x5f\x70\154\165\147\x69\156\137\x75\x74\151\x6c\x69\x74\x79\137\153\x65\x79\x5f\x73\x74\141\164", Jp_hwfrqar_mzwhwzl_arvowfra::rqfvlyz_mzwhwzl("\160\162\x65\x6d\x69\165\155"));
delete_option("\x6d\157\137\160\x6c\x75\147\x69\156\137\x75\x74\151\154\x69\x74\x79\x5f\153\145\171");
update_option("\155\x6f\137\x6c\x64\141\160\137\154\x6f\x63\x61\154\137\154\151\x63\145\x6e\163\x65\137\166\145\x72\x69\x66\151\145\x64", "\164\x72\x75\x65");
update_option("\x6d\x6f\137\154\144\141\160\x5f\154\157\143\141\x6c\x5f\154\x69\143\145\x6e\x73\145\137\x6b\x65\x79", Mo_Ldap_Local_Util::encrypt($yr));
update_option("\x6d\x6f\x5f\x6c\144\141\x70\137\x6c\157\143\141\x6c\137\x6d\145\x73\x73\x61\147\145", "\x59\157\165\162\x20\154\x69\x63\145\x6e\x73\x65\x20\151\163\40\x76\145\162\151\146\x69\x65\144\x2e\x20\131\x6f\x75\x20\143\141\156\x20\x6e\157\x77\x20\163\145\x74\x75\160\40\164\150\145\40\x70\154\165\147\x69\x6e\56");
$this->show_success_message();
goto oU;
rQ:
if (isset($Cg["\x73\x74\x61\164\x75\x73"]) && strcasecmp($Cg["\155\145\163\x73\141\x67\145"], "\103\157\144\x65\40\150\x61\163\40\x45\x78\x70\151\162\145\144") == 0) {
goto x_;
}
update_option("\155\157\137\154\x64\x61\x70\137\x6c\157\143\141\x6c\137\x6d\145\163\163\x61\x67\x65", "\131\x6f\165\x20\150\141\x76\145\x20\x65\156\164\145\162\x65\x64\40\x61\x6e\x20\151\x6e\x76\x61\x6c\x69\x64\x20\154\x69\143\x65\x6e\163\x65\40\153\145\x79\56\x20\x50\x6c\x65\141\163\145\40\x65\x6e\x74\145\x72\x20\x61\x20\x76\x61\154\151\x64\x20\x6c\x69\143\145\x6e\163\145\x20\x6b\145\x79\x2e");
goto ux;
x_:
$Mc = add_query_arg(array("\x74\x61\142" => "\x70\x72\151\143\x69\x6e\x67"), $_SERVER["\122\x45\x51\x55\x45\x53\x54\x5f\125\122\x49"]);
update_option("\155\x6f\x5f\x6c\144\x61\160\137\154\x6f\143\141\154\x5f\x6d\x65\x73\x73\141\x67\145", "\x4c\151\x63\145\x6e\x73\145\40\x6b\145\x79\x20\x79\157\x75\x20\x68\x61\x76\x65\40\145\x6e\x74\145\162\145\x64\40\150\141\163\40\x61\x6c\162\x65\x61\144\x79\40\142\145\145\x6e\40\x75\x73\x65\x64\56\40\x50\154\145\141\163\145\x20\145\x6e\x74\x65\x72\40\141\x20\x6b\145\171\x20\167\150\x69\x63\x68\x20\x68\141\x73\40\x6e\157\164\40\x62\145\145\156\40\x75\x73\145\x64\x20\x62\145\x66\x6f\x72\145\40\157\156\x20\x61\156\x79\x20\x6f\x74\150\145\162\40\151\x6e\x73\x74\x61\x6e\143\x65\40\x6f\162\x20\x69\146\x20\x79\157\165\40\150\141\166\x65\40\145\170\141\x75\x73\164\145\x64\40\x61\x6c\x6c\x20\171\x6f\165\x72\x20\x6b\x65\x79\x73\x20\164\150\145\x6e\40\x3c\x61\40\x68\162\x65\146\75\42" . $Mc . "\42\x3e\x43\x6c\x69\143\153\x20\150\145\x72\x65\74\x2f\x61\76\40\x74\157\x20\142\x75\171\x20\x6d\157\162\x65\x2e");
ux:
$this->show_error_message();
oU:
goto Mk;
kG:
Mo_Utility_Service::vrtvrag_hwfrqar_rnywvl();
$yr = Mo_Ldap_Local_Util::decrypt(get_option("\x6d\x6f\137\x6c\x64\x61\160\x5f\x6c\x6f\x63\141\x6c\137\x6c\x69\x63\x65\x6e\x73\x65\137\153\x65\x79"));
$xH = new Mo_Ldap_Local_Customer();
$Cg = json_decode($xH->XfskodsfhHJ($yr), true);
$lI = Jp_hwfrqar_mzwhwzl_arvowfra::bp_myjezr_hwfrqar_mzwhwzl($Cg);
update_option("\155\157\137\x6c\x64\x61\160\137\154\157\x63\141\x6c\x5f\x6d\x65\x73\163\141\x67\x65", $lI);
$this->show_success_message();
goto Mk;
nj:
Jp_hwfrqar_mzwhwzl_arvowfra::bp_hpspmz_fmazpbrv_mzwhwzl();
goto Mk;
qY:
$wf = $_POST["\155\x6f\x5f\154\144\x61\160\x5f\x63\165\x73\x74\157\155\x5f\160\141\x67\x65\x5f\x72\145\163\x74\162\151\x63\164\x69\x6f\x6e\137\x63\150\145\x63\153"];
update_option("\155\x6f\137\154\x64\141\x70\137\x70\165\x62\x6c\x69\143\137\160\x61\x67\145\163\137\x65\156\141\x62\x6c\x65", $wf);
$K6 = 1;
$ce = !empty(get_option("\155\157\137\154\x64\141\160\137\x70\165\x62\154\151\143\x5f\160\141\x67\x65\163\x5f\x6c\x69\163\164")) ? unserialize(get_option("\x6d\157\x5f\154\144\x61\x70\x5f\160\165\x62\x6c\x69\x63\x5f\160\141\147\145\163\x5f\x6c\x69\x73\164")) : array();
X3:
if (!isset($_POST["\x6d\x6f\137\x6c\144\141\x70\137\143\165\x73\x74\157\x6d\137\x70\x61\x67\x65\137" . $K6])) {
goto nm;
}
if (!(strcasecmp($_POST["\155\157\137\x6c\x64\141\x70\137\143\165\x73\x74\157\x6d\x5f\160\141\x67\145\x5f" . $K6], '') != 0)) {
goto JO;
}
$JF = rtrim(sanitize_text_field(strtolower($_POST["\x6d\x6f\137\x6c\144\x61\x70\137\x63\165\163\x74\157\155\x5f\160\141\x67\x65\x5f" . $K6])), "\57");
if (!in_array($JF, $ce)) {
goto A0;
}
$Bi = "\120\141\x67\145\x20\74\x62\76" . $JF . "\x3c\x2f\x62\76\x20\101\x6c\162\x65\141\144\171\40\101\144\x64\x65\x64\56";
update_option("\155\157\x5f\x6c\x64\141\160\x5f\154\x6f\x63\x61\154\137\155\x65\163\163\x61\147\x65", $Bi);
$this->show_error_message();
goto Rk;
A0:
array_push($ce, $JF);
$Bi = "\x50\x61\147\x65\x20\x3c\x62\76" . $JF . "\x3c\57\x62\76\40\101\x64\x64\x65\144\x20\123\x75\143\x63\x65\163\x73\146\x75\x6c\154\x79";
update_option("\155\x6f\137\x6c\144\x61\160\137\x6c\x6f\143\x61\x6c\137\x6d\x65\163\x73\141\x67\x65", $Bi);
$this->show_success_message();
Rk:
JO:
$K6++;
goto X3;
nm:
update_option("\x6d\x6f\x5f\154\144\141\160\x5f\160\x75\142\x6c\x69\x63\x5f\160\141\x67\145\x73\x5f\154\x69\x73\x74", serialize($ce));
goto Mk;
P5:
$JF = $_POST["\x6d\157\x5f\154\x64\x61\x70\x5f\144\145\154\x65\x74\x65\137\x70\141\147\x65\137\x6e\141\155\x65"];
$ce = !empty(get_option("\155\157\x5f\x6c\x64\x61\160\x5f\160\x75\142\x6c\x69\x63\137\160\141\x67\x65\x73\x5f\154\x69\163\x74")) ? unserialize(get_option("\x6d\157\137\154\x64\x61\x70\x5f\x70\165\142\x6c\151\x63\x5f\160\x61\147\x65\x73\137\154\151\163\164")) : array();
$O4 = array_search($JF, $ce);
unset($ce[$O4]);
update_option("\155\157\x5f\154\144\141\160\137\160\x75\142\154\x69\143\137\x70\141\147\x65\163\x5f\x6c\x69\x73\x74", serialize($ce));
$Bi = "\x50\141\147\x65\40\x3c\x62\76" . $JF . "\x3c\57\142\x3e\x20\x52\145\155\157\166\x65\144\x20\x53\x75\143\x63\145\x73\x73\146\165\154\154\x79\56";
update_option("\x6d\157\137\154\x64\x61\x70\137\x6c\157\143\141\x6c\x5f\155\145\163\x73\141\147\145", $Bi);
$this->show_success_message();
goto Mk;
X9:
$PI = sanitize_text_field($_POST["\x71\165\145\x72\171"]);
$uY = sanitize_text_field($_POST["\x71\165\145\162\x79\137\x65\x6d\141\151\x6c"]);
$ZX = sanitize_text_field($_POST["\161\x75\x65\162\171\137\x70\150\x6f\x6e\x65"]);
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ($Wm) {
goto cZ;
}
$PI = "\133\x57\120\x20\x4c\x44\x41\x50\40\x66\157\162\x20\x49\x6e\164\162\141\x6e\145\164\x20\50\x50\x72\x65\x6d\x69\165\155\x20\x73\x69\156\x67\x6c\145\40\163\151\x74\145\51\135\72\x20" . $PI;
goto xD;
cZ:
$PI = "\133\127\120\x20\x4c\104\101\120\40\146\157\162\40\x49\156\164\x72\141\x6e\x65\x74\x20\50\x46\162\x65\x65\x20\124\x72\x69\141\x6c\40\163\151\x6e\x67\x6c\x65\40\163\151\x74\145\51\x5d\x3a\x20" . $PI;
xD:
$this->mo_ldap_send_query($uY, $ZX, $PI);
goto Mk;
mI:
$uY = sanitize_text_field($_POST["\x69\x6e\x6e\x65\162\137\x66\x6f\162\x6d\137\145\155\141\x69\154\x5f\x69\x64"]);
$ZX = sanitize_text_field($_POST["\x69\x6e\x6e\x65\162\x5f\x66\x6f\162\x6d\x5f\160\x68\157\x6e\x65\x5f\x69\144"]);
$PI = sanitize_text_field($_POST["\x69\x6e\156\145\x72\137\146\x6f\x72\155\x5f\161\165\x65\x72\x79\137\x69\144"]);
$jp = get_option("\155\157\x5f\154\x64\x61\x70\x5f\144\x69\162\145\143\164\x6f\162\x79\x5f\163\145\x72\166\145\162\137\x76\141\154\165\x65");
if (strcasecmp($jp, "\155\x73\141\144") == 0) {
goto yL;
}
if (strcasecmp($jp, "\x6f\160\145\156\x6c\x64\x61\x70") == 0) {
goto ZM;
}
if (strcasecmp($jp, "\x66\162\x65\x65\151\160\141") == 0) {
goto Rj;
}
if (strcasecmp($jp, "\x6a\165\x6d\160\x63\154\x6f\x75\144") == 0) {
goto SM;
}
if (strcasecmp($jp, "\157\164\150\145\x72") == 0) {
goto vF;
}
$jp = "\116\x6f\x74\40\x43\157\x6e\146\x69\x67\x75\162\x65\144";
goto wv;
yL:
$jp = "\115\x69\x63\x72\x6f\163\x6f\x66\164\x20\101\143\164\151\x76\x65\x20\x44\x69\162\145\x63\x74\157\162\171";
goto wv;
ZM:
$jp = "\x4f\160\145\x6e\x4c\104\x41\x50";
goto wv;
Rj:
$jp = "\106\162\145\145\111\x50\x41";
goto wv;
SM:
$jp = "\112\x75\155\x70\103\154\157\x75\x64";
goto wv;
vF:
$jp = get_option("\x6d\x6f\137\154\144\141\x70\137\144\x69\x72\145\x63\x74\157\162\171\137\x73\145\162\x76\145\x72\137\143\165\x73\164\x6f\x6d\137\166\x61\154\165\145");
wv:
update_option("\x6d\x6f\137\x6c\x64\x61\160\x5f\154\157\x63\x61\x6c\x5f\144\151\162\145\143\x74\157\162\x79\137\163\145\162\x76\x65\x72", $jp);
$BN = $_POST["\x65\x78\x70\157\x72\x74\x5f\x63\157\x6e\146\x69\x67\x75\x72\x61\164\151\x6f\156\x5f\143\x68\x6f\x69\x63\x65"];
if ($BN == "\x79\145\163") {
goto R2;
}
if ($BN == "\156\x6f") {
goto CQ;
}
goto sh;
R2:
$eg = $this->auto_email_ldap_export();
$eg = implode("\x20\74\142\x72\76", $eg);
$PI = $PI . "\40\x2c\x3c\x62\162\x3e\74\x62\162\x3e\x50\x6c\165\147\x69\x6e\40\x43\x6f\156\x66\x69\147\165\x72\141\164\x69\x6f\x6e\72\74\x62\162\76\x20" . $eg;
goto sh;
CQ:
$eg = "\103\x6f\156\x66\151\x67\165\162\x61\x74\x69\x6f\156\x20\x77\x61\x73\x20\x6e\x6f\164\x20\165\160\x6c\157\x61\x64\145\144\40\x62\171\40\165\x73\x65\162";
$PI = $PI . "\40\x2c\74\142\x72\76\74\142\162\76\120\154\x75\147\x69\x6e\40\x43\157\x6e\146\151\147\x75\x72\x61\164\x69\x6f\156\72\x3c\142\162\x3e\40" . $eg;
sh:
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ($Wm) {
goto iR;
}
$PI = "\133\x57\120\40\114\104\x41\x50\40\x66\157\x72\40\x49\x6e\x74\x72\x61\x6e\145\164\40\x28\120\x72\x65\x6d\x69\165\x6d\40\163\x69\156\147\x6c\145\x20\x73\x69\164\x65\x29\135\72\40" . $PI;
goto K2;
iR:
$PI = "\133\127\x50\x20\x4c\x44\x41\120\40\146\x6f\x72\x20\x49\x6e\164\x72\x61\156\145\164\x20\50\x46\162\145\x65\x20\x54\162\151\141\154\40\x73\151\x6e\147\x6c\145\40\163\x69\x74\145\51\x5d\72\x20" . $PI;
K2:
$this->mo_ldap_send_query($uY, $ZX, $PI);
goto Mk;
Ai:
$uY = sanitize_text_field($_POST["\x71\165\145\x72\171\137\x65\155\141\151\154"]);
$ZX = sanitize_text_field($_POST["\161\x75\x65\162\171\x5f\160\150\x6f\x6e\x65"]);
$PI = sanitize_text_field($_POST["\x71\165\145\x72\x79"]);
$Wm = Jp_hwfrqar_mzwhwzl_arvowfra::wa_zvweh_fmazpbrv();
if ($Wm) {
goto VX;
}
$PI = "\133\x57\120\40\x4c\104\x41\120\x20\x66\x6f\x72\x20\x49\156\x74\162\141\x6e\145\x74\40\x28\120\162\x65\155\151\x75\x6d\40\x73\x69\156\147\154\x65\40\x73\151\164\x65\51\135\x3a\x20" . $PI;
goto Ko;
VX:
$PI = "\x5b\x57\120\40\114\104\101\120\40\146\157\162\x20\x49\156\164\x72\141\156\145\164\x20\x28\106\x72\x65\145\x20\x54\x72\151\x61\154\40\x73\x69\156\147\154\x65\x20\x73\x69\x74\x65\51\x5d\72\40" . $PI;
Ko:
$this->mo_ldap_send_query($uY, $ZX, $PI);
Mk:
if (!(isset($_POST["\157\160\x74\151\x6f\x6e"]) && $w1)) {
goto PYH;
}
$jj = $_POST["\x6f\160\164\151\157\156"];
switch ($jj) {
case "\155\157\137\154\144\x61\x70\x5f\x6c\x6f\143\141\x6c\137\163\141\x76\x65\x5f\143\x6f\x6e\146\x69\x67":
if (NddKoYsdasadJD()) {
goto dj;
}
update_option("\x6d\x6f\137\154\144\141\160\137\154\157\143\141\154\137\x6d\x65\163\163\x61\x67\145", "\x53\145\x74\x74\x69\156\147\163\x20\143\x61\156\x27\164\x20\x62\145\x20\x73\141\166\x65\x64\x20\x77\x69\164\150\x6f\165\x74\40\166\x65\x72\x69\146\171\151\156\x67\40\171\x6f\x75\162\40\154\151\x63\145\x6e\163\145\x20\x6b\145\171\56");
$this->show_error_message();
goto nL;
dj:
$oo = isset($_POST["\141\156\157\x6e\171\155\x6f\x75\x73\x5f\x62\151\156\x64"]) ? 1 : 0;
update_option("\155\x6f\137\x6c\x64\x61\x70\137\x6c\x6f\143\141\x6c\x5f\x61\x6e\x6f\x6e\x79\x6d\157\165\x73\x5f\142\151\156\x64", $oo);
$Ge = '';
$gm = '';
$Ps = '';
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\154\144\x61\x70\x5f\x73\145\x72\166\145\x72"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\144\156"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x61\x64\x6d\x69\156\137\x70\141\x73\163\167\x6f\162\144"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x6d\157\x5f\x6c\144\x61\160\137\x70\162\x6f\164\x6f\143\157\x6c"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\155\157\x5f\x6c\144\x61\x70\137\163\x65\x72\166\x65\x72\x5f\160\x6f\162\x74\137\156\157"])) {
goto Z6;
}
$k2 = $_POST["\155\x6f\x5f\154\x64\x61\x70\x5f\160\162\157\164\x6f\x63\157\x6c"];
$jH = sanitize_text_field($_POST["\x6d\157\x5f\154\144\141\160\x5f\x73\145\x72\x76\145\162\x5f\x70\157\x72\x74\137\x6e\x6f"]);
$Co = sanitize_text_field($_POST["\154\144\x61\160\x5f\x73\x65\x72\x76\145\x72"]);
$Ge = $k2 . "\x3a\57\57" . $Co . "\x3a" . $jH;
$gm = sanitize_text_field($_POST["\144\156"]);
$Ps = $_POST["\141\144\155\151\156\137\x70\141\x73\x73\x77\x6f\162\x64"];
goto Yy;
Z6:
update_option("\155\157\137\154\144\x61\160\x5f\x6c\157\x63\141\154\137\155\x65\x73\163\141\x67\x65", "\x41\x6c\154\40\x74\x68\145\x20\x66\151\x65\154\x64\163\x20\x61\162\145\x20\162\145\161\x75\151\x72\145\x64\x2e\x20\120\x6c\145\141\x73\x65\40\x65\156\164\145\162\40\x76\x61\x6c\151\144\40\145\156\164\x72\x69\x65\163\x2e");
$this->show_error_message();
return;
Yy:
if (!Mo_Ldap_Local_Util::is_extension_installed("\x6f\x70\x65\156\163\163\154")) {
goto vQ;
}
$J5 = $_POST["\x6d\x6f\x5f\x6c\144\141\x70\137\144\x69\162\x65\x63\x74\157\162\171\x5f\x73\x65\162\x76\145\x72\x5f\x76\141\x6c\165\x65"];
if (strcasecmp($J5, "\157\164\150\145\162") == 0) {
goto Dx;
}
delete_option("\x6d\157\x5f\x6c\x64\141\160\137\x64\151\162\145\x63\x74\x6f\x72\171\137\x73\145\162\166\x65\162\137\x63\165\x73\x74\157\155\x5f\166\x61\154\x75\x65");
goto u4;
Dx:
$nC = isset($_POST["\155\x6f\x5f\x6c\144\x61\x70\137\144\151\162\145\x63\x74\157\162\x79\x5f\x73\x65\x72\x76\145\162\137\x63\x75\x73\164\x6f\x6d\137\x76\x61\154\165\x65"]) && !empty($_POST["\155\x6f\x5f\x6c\x64\x61\x70\137\144\x69\x72\145\143\x74\x6f\162\171\x5f\163\145\x72\x76\x65\x72\137\143\165\163\164\x6f\x6d\x5f\166\141\x6c\165\x65"]) ? $_POST["\155\157\x5f\x6c\144\141\160\x5f\144\151\162\x65\x63\164\157\x72\x79\x5f\x73\x65\162\166\x65\162\x5f\x63\x75\x73\x74\157\x6d\x5f\x76\x61\154\165\x65"] : "\x6f\164\x68\145\x72";
update_option("\x6d\157\x5f\154\x64\141\x70\x5f\144\x69\162\x65\143\164\x6f\x72\171\x5f\163\x65\x72\166\145\x72\x5f\143\165\x73\x74\x6f\155\137\x76\141\154\x75\145", $nC);
u4:
update_option("\x6d\x6f\137\154\x64\141\160\137\x64\x69\162\145\x63\164\157\x72\171\x5f\163\x65\162\x76\x65\x72\137\166\x61\154\x75\145", $J5);
update_option("\155\x6f\137\x6c\144\x61\160\137\154\157\143\x61\x6c\137\154\x64\141\x70\x5f\160\162\157\x74\x6f\143\x6f\x6c", $k2);
update_option("\x6d\x6f\137\x6c\144\141\x70\137\x6c\157\143\x61\x6c\137\x6c\144\141\160\137\163\x65\x72\166\x65\162\x5f\141\144\144\x72\145\x73\163", Mo_Ldap_Local_Util::encrypt($Co));
if ($k2 == "\x6c\x64\x61\x70") {
goto mo;
}
if ($k2 == "\154\144\x61\160\x73") {
goto xX;
}
goto wU;
mo:
update_option("\155\157\x5f\154\x64\141\x70\x5f\154\157\x63\x61\x6c\x5f\x6c\144\141\160\137\x70\x6f\162\x74\137\156\165\155\x62\x65\162", $jH);
goto wU;
xX:
update_option("\x6d\x6f\x5f\x6c\144\x61\x70\137\154\x6f\x63\141\154\x5f\x6c\144\141\160\163\137\x70\157\162\x74\137\x6e\x75\155\142\145\x72", $jH);
wU:
update_option("\x6d\157\137\x6c\x64\141\x70\x5f\x6c\x6f\143\141\154\137\163\x65\162\x76\x65\x72\x5f\x75\162\154", Mo_Ldap_Local_Util::encrypt($Ge));
update_option("\x6d\x6f\137\x6c\x64\x61\160\137\154\x6f\143\141\x6c\x5f\x73\x65\162\166\x65\x72\x5f\144\x6e", Mo_Ldap_Local_Util::encrypt($gm));
update_option("\155\x6f\137\x6c\144\141\160\x5f\154\x6f\x63\x61\154\137\163\x65\x72\166\x65\x72\137\160\141\x73\163\167\157\162\x64", Mo_Ldap_Local_Util::encrypt($Ps));
$Kv = new Mo_Ldap_Local_Config();
$Bi = "\131\157\x75\x72\x20\x63\x6f\156\146\x69\x67\165\162\141\x74\151\x6f\156\x20\x68\141\163\40\x62\145\145\156\40\163\141\166\x65\144\56";
$Tj = $Kv->test_connection();
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\114\104\x41\120\x5f\102\x49\116\104\x5f\x53\125\103\x43\x45\x53\x53\x46\125\x4c") == 0) {
goto r5;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\x4c\x44\x41\120\x5f\102\111\116\x44\x5f\105\122\122\117\x52") == 0) {
goto Na;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\114\104\101\120\x5f\103\117\x4e\x4e\105\103\124\x49\117\116\137\x45\x52\122\x4f\x52") == 0) {
goto q1;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\114\104\x41\120\137\x45\130\x54\105\116\123\111\x4f\116\x5f\105\122\x52\x4f\122") == 0) {
goto PX;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\117\x50\x45\x4e\123\123\x4c\x5f\x45\130\x54\105\116\123\x49\x4f\x4e\x5f\105\x52\122\117\x52") == 0) {
goto XU;
}
goto Kd;
r5:
update_option("\x6d\x6f\137\x6c\144\141\x70\x5f\x6c\x6f\143\x61\x6c\137\x6d\x65\x73\x73\141\x67\x65", "\40\x43\x6f\x6e\156\x65\143\x74\x69\157\156\x20\167\x61\163\x20\x65\x73\164\x61\142\154\151\x73\x68\145\x64\x20\163\165\x63\x63\145\163\x73\x66\165\x6c\x6c\171\x2e\x20" . $Bi . "\x20\120\154\x65\x61\163\145\40\143\x6f\156\146\151\x67\x75\162\145\40\x4c\104\x41\x50\40\125\163\x65\162\x20\115\141\160\x70\151\x6e\x67\x20\x6e\x6f\x77\x2e", '', "\x6e\157");
update_option("\155\157\x5f\x6c\x64\x61\x70\137\x6c\x6f\143\141\154\137\x76\145\x72\x69\146\x79\x5f\x6c\144\141\x70\x5f\x63\157\156\x6e\x65\x63\x74\151\157\x6e", "\164\162\x75\x65");
$this->show_success_message();
goto Kd;
Na:
$this->mo_ldap_report_update("\114\104\101\120\x20\x43\117\x4e\x4e\105\103\x54\x49\x4f\x4e\40\x54\x45\x53\124", "\105\122\122\x4f\x52", "\74\163\x74\162\157\156\147\76\x54\x65\163\x74\40\103\157\x6e\x6e\x65\x63\164\x69\x6f\x6e\x20\x45\162\162\157\162\72\40\x3c\x2f\163\164\162\x6f\156\x67\x3e" . $Tj->statusMessage);
update_option("\x6d\x6f\137\x6c\x64\x61\x70\137\154\x6f\x63\141\154\x5f\x6d\x65\163\163\141\x67\145", $Tj->statusMessage, '', "\156\x6f");
update_option("\155\x6f\137\x6c\144\x61\x70\x5f\154\x6f\143\141\x6c\x5f\x76\145\x72\151\146\x79\x5f\x6c\x64\x61\160\x5f\x63\157\x6e\156\x65\x63\164\x69\x6f\x6e", "\x66\x61\154\163\145");
$this->show_error_message();
goto Kd;
q1:
$this->mo_ldap_report_update("\114\x44\101\x50\x20\103\x4f\116\116\x45\x43\x54\111\117\x4e\40\124\x45\x53\x54", "\105\x52\x52\117\x52", "\x3c\163\164\162\x6f\x6e\x67\76\x54\145\x73\164\x20\x43\157\156\x6e\145\x63\164\x69\157\156\x20\105\x72\x72\x6f\162\x3a\x20\74\x2f\163\x74\x72\x6f\156\x67\76\x43\141\x6e\x6e\x6f\x74\x20\143\157\156\156\x65\143\x74\x20\164\157\x20\x4c\x44\x41\x50\40\x53\145\162\x76\145\x72\56\x20\x4d\141\153\x65\x20\x73\165\162\x65\40\171\157\165\x20\x68\x61\166\x65\40\145\x6e\x74\x65\162\x65\x64\40\143\x6f\162\x72\145\x63\164\x20\114\x44\x41\120\x20\x73\145\x72\x76\x65\162\40\150\157\x73\164\156\x61\155\145\40\x6f\162\x20\x49\120\x20\x61\144\144\162\145\x73\163\x2e");
update_option("\155\157\137\154\144\141\x70\x5f\154\157\x63\141\154\x5f\x6d\145\163\x73\x61\147\145", $Tj->statusMessage, '', "\156\157");
update_option("\x6d\157\137\x6c\x64\x61\x70\137\154\157\143\141\154\137\166\145\162\x69\x66\x79\x5f\x6c\x64\141\160\137\x63\x6f\156\156\x65\143\164\x69\157\156", "\x66\141\154\163\x65");
$this->show_error_message();
goto Kd;
PX:
$this->mo_ldap_report_update("\114\104\x41\120\40\x43\x4f\116\x4e\105\103\x54\111\117\x4e\x20\124\x45\123\124", "\x45\x52\x52\117\x52", "\74\163\164\162\x6f\156\x67\76\124\145\x73\164\40\x43\x6f\x6e\x6e\x65\143\x74\151\157\x6e\x20\105\162\162\157\x72\72\x20\74\x2f\x73\164\162\157\x6e\147\76" . $Tj->statusMessage);
update_option("\155\157\x5f\154\x64\141\x70\x5f\154\x6f\143\141\154\137\155\145\163\163\141\147\145", $Tj->statusMessage, '', "\156\x6f");
update_option("\x6d\157\x5f\x6c\144\141\160\x5f\154\157\x63\x61\154\x5f\x76\x65\x72\151\146\171\x5f\x6c\144\x61\160\137\x63\157\156\x6e\x65\x63\164\x69\157\x6e", "\x66\x61\x6c\163\145");
$this->show_error_message();
goto Kd;
XU:
$this->mo_ldap_report_update("\114\x44\x41\x50\x20\x43\x4f\x4e\116\x45\x43\x54\x49\x4f\x4e\x20\124\105\123\124", "\x45\122\122\x4f\122", "\74\x73\164\162\x6f\156\147\76\x54\x65\x73\164\x20\x43\x6f\x6e\156\145\143\164\151\x6f\156\x20\105\162\x72\x6f\162\x3a\x20\74\x2f\163\164\x72\x6f\156\147\76" . $Tj->statusMessage);
update_option("\x6d\157\137\154\144\x61\160\x5f\x6c\157\x63\141\154\137\155\145\163\163\x61\147\x65", $Tj->statusMessage, '', "\x6e\157");
update_option("\155\x6f\137\x6c\144\141\x70\137\154\x6f\x63\x61\x6c\x5f\x76\145\x72\151\146\x79\137\154\144\x61\x70\137\x63\157\x6e\x6e\145\x63\164\x69\x6f\x6e", "\x66\141\x6c\x73\145");
$this->show_error_message();
Kd:
goto Hh;
vQ:
update_option("\x6d\157\137\154\144\141\x70\137\x6c\x6f\x63\141\x6c\137\155\145\163\x73\x61\147\145", "\x50\110\x50\40\x4f\x70\145\x6e\x53\123\x4c\40\145\x78\164\145\x6e\x73\x69\x6f\156\x20\x69\x73\40\156\157\164\x20\x69\x6e\x73\x74\x61\154\x6c\x65\x64\40\x6f\162\40\x64\151\163\x61\x62\x6c\145\144\56\40\120\154\145\x61\163\x65\x20\145\x6e\x61\142\154\145\x20\x69\164\40\146\151\162\163\164\56");
$this->show_error_message();
Hh:
nL:
goto N0;
case "\155\x6f\137\x6c\x64\141\x70\x5f\x6c\157\x63\141\x6c\x5f\164\154\163\137\145\x6e\141\142\154\x65":
$c6 = isset($_POST["\x6d\x6f\137\x6c\x64\141\x70\x5f\154\157\143\141\x6c\x5f\x74\154\163\x5f\x65\156\141\142\x6c\145"]) ? $_POST["\155\x6f\x5f\x6c\x64\x61\160\137\154\x6f\143\141\154\x5f\x74\154\x73\137\145\156\x61\142\154\x65"] : 0;
update_option("\x6d\x6f\x5f\x6c\144\141\x70\x5f\x6c\x6f\x63\141\154\x5f\165\163\145\137\x74\x6c\x73", $c6);
if ($c6 == 1) {
goto j9;
}
update_option("\x6d\x6f\x5f\x6c\144\141\x70\137\154\157\143\x61\154\x5f\155\x65\x73\163\141\147\x65", "\x54\x4c\x53\x20\x68\141\163\x20\x62\x65\x65\x6e\x20\144\x69\x73\x61\x62\x6c\x65\144\x2e");
$this->show_error_message();
goto tM;
j9:
update_option("\155\x6f\x5f\154\x64\x61\x70\x5f\154\x6f\x63\x61\x6c\137\155\145\x73\163\141\147\x65", "\x54\114\123\40\150\x61\x73\40\142\x65\145\156\x20\x65\x6e\x61\142\154\x65\x64\x2e");
$this->show_success_message();
tM:
goto N0;
case "\x6d\x6f\137\x6c\x64\x61\x70\x5f\154\157\x63\x61\154\137\x73\x61\166\145\137\x75\x73\145\162\137\x6d\141\160\160\x69\x6e\147":
delete_option("\155\157\137\x6c\144\x61\x70\137\154\157\x63\141\154\x5f\165\x73\x65\x72\x5f\155\141\x70\x70\151\x6e\x67\x5f\163\x74\x61\164\165\163");
update_option("\155\x6f\137\x6c\x6f\x63\141\154\137\146\x69\154\164\145\x72\x5f\x63\x68\145\143\x6b", isset($_POST["\x6c\x64\141\160\x5f\163\x65\141\x72\143\x68\x5f\x66\x69\x6c\164\145\162\163"]) ? 1 : 0);
$HB = '';
$HD = '';
$OP = '';
$mK = array();
$SE = array();
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\163\x65\141\162\143\150\x5f\x62\x61\163\145"])) {
goto s7;
}
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\165\163\145\x72\x5f\x61\164\x74\162\x69\142\x75\x74\x65\137\x74\x65\x78\164"]) && Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x73\145\141\x72\x63\x68\x5f\146\x69\154\x74\x65\x72"])) {
goto j_;
}
$HD = strtolower(sanitize_text_field($_POST["\x73\x65\141\x72\x63\x68\137\x62\141\163\145"]));
goto JQ;
s7:
update_option("\x6d\x6f\x5f\154\144\141\160\x5f\154\157\143\141\x6c\x5f\155\x65\x73\x73\x61\147\x65", "\x41\154\x6c\x20\164\x68\x65\40\x66\x69\145\154\144\x73\40\141\162\x65\40\x72\145\x71\165\151\162\x65\144\x2e\40\120\154\145\x61\x73\145\40\x65\156\x74\145\162\x20\166\141\x6c\151\144\x20\145\x6e\164\x72\151\145\163\56");
add_option("\x6d\157\x5f\154\x64\141\x70\x5f\154\157\143\141\154\x5f\x75\163\x65\x72\137\x6d\141\160\x70\x69\156\147\137\x73\x74\141\x74\165\163", "\x49\x4e\126\101\x4c\111\104", '', "\x6e\157");
$this->show_error_message();
return;
goto JQ;
j_:
update_option("\155\157\137\x6c\144\x61\160\137\x6c\157\143\141\154\137\155\145\163\x73\141\x67\145", "\101\154\154\40\164\150\x65\40\x66\151\145\154\144\163\40\x61\162\145\40\162\x65\161\x75\151\x72\x65\x64\56\40\x50\154\145\141\163\145\x20\x65\x6e\x74\145\162\40\166\x61\x6c\x69\144\40\x65\156\164\x72\151\145\163\x2e");
add_option("\155\157\x5f\x6c\144\141\160\x5f\154\x6f\x63\141\x6c\x5f\x75\x73\145\162\x5f\x6d\x61\160\160\x69\x6e\x67\x5f\163\164\141\164\x75\163", "\111\116\x56\101\x4c\x49\x44", '', "\x6e\x6f");
$this->show_error_message();
return;
JQ:
if (!Mo_Ldap_Local_Util::is_extension_installed("\157\160\x65\156\163\x73\154")) {
goto e0;
}
$OP = sanitize_text_field($_POST["\163\145\141\x72\143\x68\x5f\x66\151\x6c\x74\x65\162"]);
$M9 = sanitize_text_field($_POST["\165\x73\145\x72\137\x61\164\164\x72\x69\x62\165\164\145\x5f\x74\145\170\x74"]);
$ur = sanitize_text_field($_POST["\x65\170\164\162\x61\137\165\x73\x65\x72\137\x61\164\164\x72\151\x62\x75\x74\x65"]);
if (!isset($M9)) {
goto Wa;
}
foreach ($_POST["\165\x73\x65\x72\x5f\141\x74\164\x72\x69\x62\x75\164\x65\137\x74\145\x78\x74"] as $O4 => $XO) {
$mK[$O4] = $XO;
i0:
}
GK:
Wa:
update_option("\155\157\137\x6c\144\x61\160\x5f\154\157\x63\x61\154\137\x73\x65\141\x72\x63\150\x5f\x66\x69\154\164\145\x72", Mo_Ldap_Local_Util::encrypt($OP));
update_option("\x6d\157\x5f\x6c\x64\x61\160\x5f\x6c\x6f\x63\x61\x6c\137\165\x73\145\162\156\141\x6d\145\137\x61\x74\x74\x72\151\142\165\164\145", $mK);
update_option("\x6d\157\137\x6c\144\x61\160\137\154\157\143\x61\x6c\x5f\x65\170\x74\162\x61\x5f\165\x73\x65\x72\137\x61\x74\164\x72\x69\142\165\164\145", $ur);
update_option("\155\157\x5f\x6c\144\141\160\x5f\x6c\157\x63\141\x6c\137\x73\145\x61\x72\x63\x68\137\x62\x61\163\145", Mo_Ldap_Local_Util::encrypt($HD));
$Bi = "\x4c\104\x41\x50\x20\x55\x73\x65\x72\x20\x4d\141\x70\x70\151\156\147\x20\x43\157\x6e\146\x69\147\x75\x72\141\x74\151\x6f\156\x20\x68\141\x73\x20\x62\x65\145\156\x20\x73\141\166\145\144\x2e\40\120\154\145\x61\x73\145\x20\x74\145\163\x74\40\x61\165\164\150\145\x6e\x74\x69\143\x61\x74\151\x6f\156\40\164\x6f\x20\166\x65\x72\x69\146\x79\x20\x4c\104\x41\x50\40\125\163\145\x72\x20\115\x61\160\160\151\156\x67\40\x43\157\x6e\146\x69\x67\165\162\141\164\151\157\x6e\56";
update_option("\x6d\157\137\154\x64\x61\160\137\154\157\x63\x61\x6c\137\155\x65\163\163\x61\x67\x65", $Bi, '', "\156\x6f");
add_option("\x6d\x6f\137\154\144\141\x70\137\x6c\x6f\x63\x61\x6c\x5f\x75\x73\x65\x72\137\x6d\141\x70\x70\151\x6e\x67\x5f\x73\164\141\x74\x75\163", "\x56\x41\114\111\x44", '', "\x6e\157");
$this->show_success_message();
update_option("\155\157\x5f\x6c\x64\141\160\x5f\x6c\x6f\143\141\x6c\137\x63\x68\145\143\153\137\x75\163\145\162\137\155\141\160\160\x69\156\x67\137\143\157\156\146\151\147", "\x74\162\165\145");
goto c2;
e0:
update_option("\155\x6f\137\x6c\x64\141\x70\x5f\154\x6f\143\141\154\x5f\x6d\x65\163\x73\141\x67\145", "\120\x48\120\x20\x4f\x70\145\156\123\123\x4c\40\145\x78\164\145\x6e\163\151\x6f\x6e\40\151\x73\x20\156\157\x74\x20\x69\156\163\x74\x61\154\x6c\145\144\x20\157\162\x20\x64\x69\x73\x61\142\154\145\144\56\40\120\x6c\145\x61\163\x65\x20\x65\x6e\141\x62\154\x65\x20\x69\x74\40\x66\151\162\163\x74\56");
add_option("\155\157\x5f\x6c\144\141\x70\x5f\x6c\157\x63\x61\154\x5f\x75\163\145\x72\137\x6d\141\160\160\151\x6e\x67\137\x73\164\141\x74\165\x73", "\111\116\x56\101\114\111\x44", '', "\156\x6f");
$this->show_error_message();
c2:
goto N0;
case "\155\x6f\137\x6c\144\141\x70\x5f\154\x6f\143\141\x6c\x5f\164\145\x73\x74\x5f\141\165\164\x68":
if (NddKoYsdasadJD()) {
goto Kv;
}
update_option("\155\157\x5f\154\144\x61\x70\137\x6c\x6f\143\141\154\x5f\x6d\x65\x73\x73\x61\x67\x65", "\x53\x65\x74\164\151\x6e\147\x73\x20\x63\x61\x6e\47\164\40\142\145\x20\x74\x65\x73\164\145\x64\40\x77\x69\x74\150\157\x75\x74\40\x76\145\162\x69\146\171\151\x6e\x67\x20\x79\x6f\165\162\x20\154\151\143\145\156\x73\145\x20\x6b\x65\x79\x2e");
$this->show_error_message();
goto tz;
Kv:
$Ge = get_option("\155\157\x5f\x6c\x64\x61\160\x5f\x6c\157\x63\141\154\137\x73\145\162\166\x65\162\x5f\x75\x72\x6c");
$gm = get_option("\x6d\157\x5f\x6c\144\x61\160\137\x6c\157\x63\x61\154\x5f\x73\145\x72\166\145\x72\x5f\144\156");
$Ps = get_option("\x6d\157\x5f\154\144\x61\x70\137\x6c\157\x63\141\x6c\x5f\163\x65\x72\166\x65\x72\137\x70\141\163\163\167\157\162\144");
$HD = get_option("\x6d\x6f\x5f\154\x64\141\160\137\154\157\x63\x61\154\x5f\163\x65\x61\x72\x63\x68\x5f\x62\141\163\x65");
$mK = get_option("\155\157\137\x6c\144\x61\160\x5f\x6c\157\x63\x61\154\x5f\x75\x73\145\x72\156\x61\x6d\x65\137\141\x74\164\162\151\x62\165\x74\x65");
$OP = get_option("\x6d\157\137\x6c\x64\141\x70\x5f\x6c\157\143\141\x6c\x5f\x73\x65\x61\x72\143\150\137\x66\151\x6c\164\145\x72");
$d9 = '';
$ZU = '';
if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x74\x65\x73\x74\137\x75\163\x65\x72\156\x61\155\145"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\164\x65\163\164\x5f\160\x61\163\163\167\157\162\x64"])) {
goto hk;
}
if (Mo_Ldap_Local_Util::check_empty_or_null($Ge) || Mo_Ldap_Local_Util::check_empty_or_null($gm) || Mo_Ldap_Local_Util::check_empty_or_null($Ps) || Mo_Ldap_Local_Util::check_empty_or_null($HD) || Mo_Ldap_Local_Util::check_empty_or_null($mK) || Mo_Ldap_Local_Util::check_empty_or_null($OP)) {
goto cq;
}
$d9 = sanitize_text_field($_POST["\x74\145\x73\164\x5f\x75\163\x65\x72\156\141\x6d\145"]);
$ZU = $_POST["\x74\145\x73\164\137\160\x61\163\163\x77\157\x72\x64"];
goto GT;
hk:
$this->mo_ldap_report_update("\x54\x65\163\164\x20\x41\165\x74\x68\x65\156\x74\151\143\141\164\151\157\x6e\40", "\x45\122\x52\x4f\122", "\x3c\163\x74\x72\x6f\x6e\147\76\105\x52\x52\117\x52\74\x2f\163\164\x72\x6f\156\x67\x3e\72\40\101\154\154\40\164\x68\x65\x20\146\151\145\154\x64\163\40\141\x72\x65\40\162\145\161\165\151\162\x65\144\x2e\40\120\x6c\x65\141\163\x65\x20\145\x6e\164\145\162\40\x76\141\154\x69\x64\x20\145\x6e\164\162\x69\145\163\56");
update_option("\155\x6f\137\x6c\144\141\160\x5f\x6c\157\143\141\x6c\137\155\145\163\163\141\147\145", "\101\x6c\154\40\x74\x68\145\x20\x66\x69\145\154\144\163\40\x61\x72\145\40\x72\x65\x71\x75\151\x72\x65\x64\56\x20\120\154\145\x61\x73\x65\x20\x65\156\x74\145\x72\40\x76\141\x6c\151\x64\x20\145\156\164\162\151\x65\x73\56", '', "\156\x6f");
$this->show_error_message();
return;
goto GT;
cq:
$this->mo_ldap_report_update("\x54\x65\163\164\40\141\165\x74\150\145\x6e\164\151\143\141\x74\x69\x6f\x6e", "\105\122\122\x4f\x52", "\x3c\163\x74\x72\x6f\x6e\x67\x3e\x54\145\x73\x74\x20\x41\165\x74\x68\145\x6e\164\151\143\141\x74\x69\157\156\40\x45\x72\162\157\x72\74\57\163\x74\x72\157\156\x67\76\x3a\x20\x50\x6c\x65\x61\163\x65\40\x73\141\x76\145\40\x4c\x44\x41\120\x20\x43\x6f\x6e\x66\x69\x67\165\x72\141\164\151\157\x6e\x20\x74\157\40\x74\x65\x73\164\x20\x61\x75\164\150\x65\x6e\164\151\143\141\164\151\157\156\56");
update_option("\155\157\137\x6c\x64\141\160\137\154\157\143\x61\x6c\x5f\x6d\145\x73\163\141\x67\145", "\120\154\145\x61\163\x65\x20\x73\x61\166\145\40\114\x44\101\120\x20\103\x6f\156\146\x69\x67\x75\162\141\164\151\x6f\156\40\164\x6f\40\164\145\163\164\x20\x61\165\164\x68\145\156\164\151\x63\x61\x74\x69\x6f\x6e\x2e", '', "\x6e\x6f");
$this->show_error_message();
return;
GT:
$Kv = new Mo_Ldap_Local_Config();
$Tj = $Kv->test_authentication($d9, $ZU);
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\114\x44\x41\120\x5f\102\111\x4e\x44\x5f\x53\125\103\x43\105\x53\x53\137\x55\x53\105\122\137\x45\x58\111\123\x54\123") == 0) {
goto Gp;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\x4c\x44\x41\120\137\103\117\116\x4e\x45\103\x54\x49\x4f\116\137\105\122\122\117\122") == 0) {
goto oE;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\114\104\x41\x50\137\102\111\x4e\x44\x5f\x45\x52\x52\x4f\x52\137\125\x53\105\x52\x5f\x45\x58\x49\x53\x54\123") == 0) {
goto mp;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\114\x44\101\x50\x5f\102\111\116\104\137\105\x52\x52\117\x52") == 0) {
goto OW;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\114\104\x41\x50\x5f\125\123\105\x52\137\116\117\124\137\105\130\111\x53\124") == 0) {
goto Ky;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\x4c\x44\x41\120\x5f\x55\x53\105\122\137\123\x45\x41\122\x43\110\x5f\105\122\122\117\x52") == 0) {
goto EG;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\x4c\x44\x41\x50\137\x45\x58\x54\x45\116\123\x49\x4f\x4e\x5f\105\122\122\x4f\122") == 0) {
goto F8;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\117\120\105\x4e\x53\123\114\137\105\130\x54\x45\116\x53\x49\117\116\x5f\105\122\122\117\122") == 0) {
goto mG;
}
if (isset($Tj->statusCode) && strcasecmp($Tj->statusCode, "\x4c\x44\101\x50\x5f\114\117\x43\101\114\137\123\105\x52\x56\105\122\137\116\117\124\137\x43\x4f\x4e\x46\x49\107\125\122\105\x44") == 0) {
goto K1;
}
$this->mo_ldap_report_update($_POST["\164\145\163\164\137\165\163\145\162\x6e\x61\155\x65"], "\105\x52\x52\117\122", "\x3c\163\x74\162\x6f\x6e\147\x3e\124\145\163\x74\x20\101\165\164\x68\x65\x6e\x74\x69\143\141\x74\x69\157\x6e\x20\105\x72\162\x6f\162\72\40\x3c\57\x73\x74\x72\x6f\156\147\x3e\40\124\150\x65\162\x65\x20\x77\x61\163\40\141\x6e\40\145\x72\162\157\162\40\160\162\157\x63\145\x73\163\x69\x6e\147\x20\x79\157\165\x72\40\x72\145\161\x75\x65\x73\164\56\40\120\154\x65\x61\163\x65\x20\166\145\162\151\x66\x79\40\x74\x68\x65\40\x53\x65\x61\162\143\x68\40\x42\x61\163\145\50\163\51\x20\141\156\x64\40\125\x73\x65\x72\156\x61\155\x65\40\141\164\x74\162\151\x62\x75\164\x65\56\x20\131\157\165\x72\x20\x75\163\145\x72\40\163\150\157\165\154\x64\x20\x62\x65\x20\160\162\145\x73\x65\x6e\x74\x20\151\x6e\x20\164\x68\145\40\x53\x65\141\162\143\150\40\142\x61\x73\x65\x20\x64\x65\146\151\x6e\145\144\56");
update_option("\155\x6f\x5f\x6c\144\141\160\x5f\154\157\143\141\154\137\x6d\x65\163\163\141\147\x65", "\x54\150\145\162\x65\x20\x77\x61\163\40\141\x6e\40\145\x72\x72\157\x72\40\x70\162\157\143\x65\x73\163\x69\156\x67\40\x79\x6f\x75\x72\x20\162\x65\161\x75\145\163\x74\x2e\40\x50\154\145\141\x73\145\40\166\145\162\151\x66\171\x20\x74\150\x65\x20\x53\145\x61\162\x63\x68\x20\x42\x61\163\145\x28\163\x29\x20\141\x6e\144\40\x55\163\x65\x72\x6e\x61\155\145\40\x61\164\x74\x72\x69\x62\x75\164\145\x2e\x20\x59\x6f\x75\162\40\165\x73\145\162\40\x73\x68\157\x75\x6c\144\40\x62\145\40\x70\x72\x65\163\x65\x6e\164\x20\151\x6e\40\164\x68\x65\40\123\x65\x61\x72\143\150\x20\x62\141\x73\x65\x20\144\145\x66\x69\156\x65\144\56");
$this->show_error_message();
goto BU;
Gp:
$jz = add_query_arg(array("\x74\x61\142" => "\162\x6f\154\145\x6d\141\160\x70\x69\156\x67"), $_SERVER["\122\105\121\125\105\x53\x54\x5f\125\x52\x49"]);
$Bi = "\x59\x6f\x75\40\x68\x61\166\145\40\163\x75\143\x63\145\x73\163\x66\165\154\154\x79\40\x63\157\x6e\146\x69\x67\165\162\x65\x64\40\171\x6f\165\x72\40\x4c\104\101\x50\40\x73\x65\164\164\x69\x6e\147\x73\x2e\x3c\142\162\x3e\15\xa\40\40\40\40\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\40\40\40\x59\157\x75\x20\143\x61\x6e\x20\x6e\157\167\x20\x64\157\x20\x65\x69\x74\x68\145\162\x20\x6f\146\40\x74\x77\157\40\164\150\151\x6e\x67\163\56\x3c\142\x72\76\15\12\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\40\40\40\x31\56\x20\x45\x6e\141\142\x6c\x65\40\114\104\x41\x50\40\x4c\x6f\147\x69\x6e\x20\141\x74\40\x74\150\145\40\164\x6f\160\x20\141\x6e\x64\x20\164\x68\x65\x6e\x20\x3c\141\40\150\162\x65\146\75\42" . wp_logout_url(get_permalink()) . "\42\76\x4c\x6f\147\x6f\165\x74\x3c\57\141\76\40\146\x72\157\155\40\x57\x6f\162\144\x50\x72\145\x73\x73\x20\141\x6e\144\40\x6c\157\x67\151\x6e\40\x61\x67\141\151\x6e\x20\167\151\x74\150\x20\x79\157\x75\x72\40\114\104\101\120\x20\143\162\145\144\145\x6e\164\x69\x61\x6c\163\56\74\142\162\76\40\xd\12\40\x20\x20\40\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\40\40\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\62\x2e\x20\104\157\40\162\x6f\154\145\x20\x6d\141\x70\x70\151\156\147\x20\50\x3c\x61\40\x68\x72\145\x66\75\x22" . $jz . "\42\x3e\103\154\151\143\x6b\40\x68\145\x72\145\x3c\x2f\x61\76\51";
update_option("\155\157\x5f\x6c\x64\x61\x70\x5f\154\x6f\143\141\154\137\155\x65\x73\163\x61\x67\145", $Bi, '', "\x6e\157");
$this->show_success_message();
goto BU;
oE:
$this->mo_ldap_report_update($_POST["\x74\145\163\164\137\165\163\x65\162\156\141\155\145"], "\x45\122\x52\x4f\122", "\74\x73\164\x72\x6f\x6e\147\x3e\124\145\x73\164\x20\x41\x75\x74\x68\x65\x6e\x74\x69\143\x61\164\151\x6f\x6e\x20\105\162\x72\157\162\72\x20\x3c\x2f\163\164\x72\157\156\x67\76" . $Tj->statusMessage);
update_option("\x6d\157\137\x6c\x64\x61\x70\x5f\154\x6f\x63\x61\x6c\x5f\155\145\163\163\x61\x67\x65", $Tj->statusMessage, '', "\156\x6f");
$this->show_error_message();
goto BU;
mp:
$this->mo_ldap_report_update($_POST["\x74\x65\163\164\137\x75\163\x65\x72\156\141\x6d\x65"], "\x45\122\122\x4f\x52", "\74\163\x74\162\x6f\x6e\x67\x3e\x54\x65\163\164\40\101\165\x74\150\145\x6e\164\151\143\x61\164\151\x6f\156\x20\105\162\162\157\x72\x3a\40\74\57\x73\x74\162\157\156\x67\76" . $Tj->statusMessage);
update_option("\155\x6f\x5f\x6c\x64\141\x70\x5f\x6c\x6f\x63\x61\154\137\x6d\145\x73\x73\141\x67\x65", $Tj->statusMessage, '', "\156\157");
$this->show_error_message();
goto BU;
OW:
$this->mo_ldap_report_update($_POST["\164\145\163\x74\137\165\163\145\x72\x6e\x61\x6d\145"], "\x45\x52\122\117\122", "\74\x73\164\x72\157\156\147\76\124\145\x73\x74\40\x41\x75\x74\x68\x65\156\x74\151\x63\141\x74\151\157\x6e\x20\105\162\162\x6f\x72\x3a\x20\x3c\57\x73\x74\x72\157\x6e\x67\x3e" . $Tj->statusMessage);
update_option("\155\157\137\154\x64\141\x70\x5f\154\157\x63\x61\x6c\137\x6d\x65\x73\163\141\147\145", $Tj->statusMessage, '', "\156\x6f");
$this->show_error_message();
goto BU;
Ky:
$this->mo_ldap_report_update($_POST["\x74\145\x73\164\x5f\165\163\145\x72\x6e\x61\x6d\x65"], "\x45\x52\122\x4f\122", "\74\163\164\x72\x6f\x6e\147\x3e\124\145\163\164\40\x41\165\164\x68\145\x6e\164\x69\143\141\164\151\157\156\40\x45\x72\162\157\x72\72\x20\74\x2f\163\164\x72\157\156\147\76\40\x43\x61\156\x6e\157\164\x20\146\151\x6e\x64\x20\x75\163\145\x72\x20\151\x6e\40\x74\150\145\x20\144\151\162\x65\143\x74\x6f\x72\171");
update_option("\155\x6f\x5f\154\144\x61\160\137\x6c\x6f\x63\x61\154\137\155\145\x73\x73\141\x67\145", $Tj->statusMessage, '', "\x6e\157");
$this->show_error_message();
goto BU;
EG:
$this->mo_ldap_report_update($_POST["\164\x65\163\x74\137\x75\163\145\x72\156\x61\x6d\145"], "\x45\x52\122\x4f\x52", "\x3c\163\164\162\x6f\156\x67\x3e\x54\x65\x73\164\40\x41\165\164\x68\145\x6e\x74\x69\x63\141\164\151\157\156\x20\x45\x72\x72\157\162\72\40\x3c\x2f\x73\x74\x72\x6f\x6e\x67\76\x20\103\141\156\x6e\x6f\164\x20\x66\x69\x6e\x64\x20\165\x73\145\162\40\x69\156\x20\x74\150\x65\x20\x64\x69\x72\145\x63\x74\157\162\x79");
update_option("\155\157\137\154\144\141\x70\137\154\x6f\143\141\x6c\x5f\x6d\x65\x73\x73\141\147\x65", $Tj->statusMessage, '', "\x6e\157");
$this->show_error_message();
goto BU;
F8:
$this->mo_ldap_report_update($_POST["\164\x65\x73\x74\x5f\165\x73\145\162\156\x61\x6d\x65"], "\x45\122\x52\x4f\x52", "\74\163\164\x72\157\x6e\x67\x3e\x54\145\x73\x74\40\x41\x75\x74\x68\145\156\x74\151\x63\x61\x74\151\157\156\x20\x45\162\x72\157\x72\x3a\x20\74\x2f\163\164\x72\157\x6e\147\x3e" . $Tj->statusMessage);
update_option("\155\x6f\137\154\x64\x61\160\137\x6c\157\143\x61\154\x5f\155\x65\x73\163\141\x67\x65", $Tj->statusMessage, '', "\x6e\x6f");
$this->show_error_message();
goto BU;
mG:
$this->mo_ldap_report_update($_POST["\164\x65\x73\x74\137\165\163\145\x72\x6e\141\155\x65"], "\105\x52\x52\117\122", "\x3c\x73\x74\162\x6f\x6e\x67\76\124\145\x73\x74\x20\x41\x75\164\x68\145\x6e\x74\151\143\141\x74\x69\157\x6e\40\x45\x72\162\x6f\162\72\x20\74\57\x73\164\x72\x6f\156\x67\x3e" . $Tj->statusMessage);
update_option("\x6d\157\137\154\144\x61\x70\137\154\x6f\x63\141\x6c\137\x6d\145\x73\x73\x61\x67\x65", $Tj->statusMessage, '', "\x6e\x6f");
$this->show_error_message();
goto BU;
K1:
$this->mo_ldap_report_update($_POST["\x74\x65\x73\164\137\x75\x73\x65\x72\156\141\x6d\145"], "\105\122\x52\x4f\x52", "\74\163\x74\x72\157\x6e\147\x3e\124\145\x73\x74\x20\101\x75\164\150\x65\x6e\164\151\143\141\164\151\x6f\156\40\x45\x72\x72\157\162\x3a\x20\74\57\x73\x74\162\x6f\x6e\147\x3e" . $Tj->statusMessage);
update_option("\x6d\x6f\x5f\x6c\144\x61\160\x5f\154\157\143\x61\x6c\x5f\155\145\x73\x73\x61\x67\145", $Tj->statusMessage, '', "\156\157");
$this->show_error_message();
BU:
tz:
goto N0;
case "\x6d\x6f\x5f\154\x64\x61\x70\x5f\x6c\x6f\143\x61\x6c\137\145\x6e\x61\x62\x6c\145":
if (NddKoYsdasadJD()) {
goto DA;
}
update_option("\155\x6f\137\154\144\141\x70\137\x6c\157\x63\141\x6c\137\x6d\x65\163\x73\141\x67\145", "\x53\x65\164\164\151\156\x67\163\40\143\141\x6e\x27\164\40\x62\145\40\163\x61\x76\x65\x64\40\x77\x69\x74\x68\157\x75\164\x20\166\145\162\151\146\171\151\156\x67\40\x79\x6f\x75\162\x20\x6c\151\x63\145\156\x73\145\40\153\145\171\56");
$this->show_error_message();
goto Hu;
DA:
$oh = isset($_POST["\x65\156\141\x62\x6c\x65\137\154\144\141\160\x5f\154\157\x67\151\156"]) ? $_POST["\x65\156\x61\x62\x6c\x65\137\154\144\x61\160\x5f\x6c\157\x67\x69\x6e"] : 0;
update_option("\x6d\x6f\137\x6c\x64\x61\x70\137\154\x6f\143\x61\x6c\x5f\x65\x6e\x61\x62\154\145\137\x6c\157\x67\x69\x6e", $oh);
if ($oh == 1) {
goto Dd;
}
update_option("\x6d\x6f\137\x6c\144\x61\160\137\x6c\157\143\x61\x6c\x5f\x6d\145\x73\x73\x61\x67\145", "\114\x6f\x67\x69\x6e\40\164\150\x72\x6f\165\x67\150\40\x79\157\165\x72\40\x4c\x44\x41\120\x20\150\141\x73\x20\142\145\x65\x6e\x20\144\x69\163\141\x62\154\145\x64\x2e");
$this->show_error_message();
goto EF;
Dd:
update_option("\x6d\x6f\137\x6c\144\x61\160\x5f\154\157\x63\141\154\137\155\145\x73\163\x61\x67\x65", "\x4c\157\x67\x69\156\40\164\150\162\x6f\x75\x67\x68\40\x79\x6f\x75\x72\x20\114\104\101\x50\x20\x68\x61\x73\x20\142\x65\x65\x6e\x20\145\x6e\x61\142\154\145\x64\56");
$this->show_success_message();
EF:
Hu:
goto N0;
case "\x6d\x6f\x5f\x6c\x64\141\160\x5f\x6c\x6f\x63\x61\x6c\137\x65\x6e\141\142\154\x65\137\x62\x6f\x74\x68\x5f\x6c\157\147\x69\156":
$kT = isset($_POST["\155\x6f\137\x6c\x64\141\160\137\x6c\157\x63\x61\154\x5f\145\x6e\141\142\154\145\137\x62\157\164\x68\137\154\x6f\147\x69\x6e"]) ? $_POST["\155\x6f\137\x6c\144\x61\160\x5f\154\157\143\141\154\137\x65\x6e\141\x62\154\145\137\x62\157\164\150\x5f\154\x6f\147\x69\x6e"] : '';
update_option("\155\x6f\137\x6c\144\141\160\137\x6c\x6f\143\141\x6c\x5f\145\x6e\x61\x62\x6c\145\137\x62\x6f\164\x68\137\154\x6f\x67\151\x6e", $kT);
if ($kT == "\141\x64\155\151\156") {
goto eg;
}
if ($kT == "\x61\154\x6c") {
goto lP;
}
update_option("\x6d\x6f\137\x6c\x64\x61\x70\137\154\157\x63\141\154\x5f\155\145\163\x73\141\147\145", "\x4c\x6f\147\x69\x6e\40\165\x73\x69\x6e\x67\40\x4c\x6f\x63\141\154\40\127\157\x72\144\120\162\145\163\163\x20\103\x72\145\144\x65\156\x74\151\x61\x6c\x73\40\151\163\x20\74\142\x3e\144\x69\163\141\142\x6c\145\x64\x3c\x2f\142\76\x2e");
$this->show_error_message();
goto eM;
eg:
update_option("\155\157\137\x6c\144\141\160\137\154\x6f\143\x61\154\x5f\x6d\145\163\x73\x61\147\x65", "\x4c\x6f\x67\151\156\40\165\x73\151\156\147\40\x4c\x6f\x63\141\154\x20\x57\157\x72\144\x50\162\145\163\x73\40\103\x72\x65\144\x65\x6e\164\151\141\154\x73\40\x66\157\162\x20\74\142\76\101\144\x6d\x69\x6e\151\x73\x74\162\141\x74\157\162\x73\74\57\142\76\40\x69\x73\40\x65\156\141\x62\x6c\145\144\x2e");
$this->show_success_message();
goto eM;
lP:
update_option("\155\x6f\137\154\x64\x61\x70\137\x6c\157\143\141\x6c\137\x6d\x65\x73\x73\x61\147\x65", "\x4c\x6f\147\x69\156\40\x75\x73\x69\156\147\40\114\x6f\143\x61\x6c\x20\127\x6f\162\144\x50\x72\x65\163\163\40\103\162\x65\144\x65\156\x74\151\x61\x6c\163\x20\x66\157\x72\40\74\142\x3e\101\154\x6c\40\125\x73\145\x72\x73\74\57\x62\x3e\x20\x69\163\x20\145\156\x61\x62\154\x65\144\56");
$this->show_success_message();
eM:
goto N0;
case "\x6d\x6f\137\154\144\x61\160\137\154\x6f\x63\x61\154\x5f\163\141\166\145\137\154\157\147\x69\x6e\137\162\145\144\x69\x72\x65\143\x74":
$x3 = $_POST["\x72\x65\x64\151\x72\145\x63\x74\137\x74\x6f"];
update_option("\155\157\137\x6c\144\141\x70\137\x6c\x6f\x63\x61\x6c\x5f\162\x65\x64\151\162\x65\143\164\137\164\157", $x3);
if ($x3 == "\160\x72\x6f\146\x69\154\145") {
goto WH;
}
if ($x3 == "\150\157\x6d\x65\x70\141\x67\145") {
goto xl;
}
goto JN;
WH:
update_option("\x6d\157\x5f\154\144\141\160\x5f\154\x6f\x63\x61\154\137\155\145\163\163\141\x67\x65", "\125\x73\x65\x72\x73\x20\167\151\154\x6c\x20\x67\x65\x74\x20\162\x65\144\151\162\145\x63\164\x65\x64\40\x74\157\40\x50\x72\x6f\146\x69\x6c\145\x20\120\141\x67\x65\40\141\x66\164\145\162\40\154\x6f\x67\x69\x6e\56");
goto JN;
xl:
update_option("\x6d\x6f\x5f\x6c\x64\141\160\137\154\x6f\143\x61\154\x5f\155\145\x73\x73\x61\x67\145", "\125\163\145\162\163\x20\167\151\154\x6c\x20\x67\145\x74\40\162\x65\x64\x69\162\x65\143\x74\x65\144\40\164\157\x20\x48\157\155\145\x20\x50\141\147\145\40\x61\146\164\145\x72\40\154\x6f\147\151\x6e\56");
JN:
if ($x3 != "\143\165\163\164\157\155" && $x3 !== "\x6e\157\156\145") {
goto gD;
}
if ($x3 == "\156\157\156\x65") {
goto I7;
}
goto zY;
gD:
$this->show_success_message();
goto zY;
I7:
update_option("\155\x6f\137\154\144\x61\160\x5f\x6c\157\x63\141\154\137\x6d\x65\163\x73\x61\x67\145", "\122\145\144\151\162\x65\x63\x74\151\x6f\x6e\40\x61\146\x74\145\162\x20\154\157\x67\151\156\40\151\163\x20\144\151\x73\x61\142\x6c\x65\x64\x2e");
$this->show_error_message();
zY:
goto N0;
case "\x6d\157\137\x6c\x64\x61\160\137\154\157\x63\x61\154\x5f\x63\x75\163\164\157\x6d\x5f\x72\x65\144\151\162\x65\143\164":
$JY = $_POST["\155\x6f\137\154\144\141\160\x5f\154\x6f\x63\141\154\137\x63\165\x73\x74\157\155\x5f\x75\x72\x6c"];
update_option("\x6d\x6f\x5f\x6c\x64\x61\160\x5f\x6c\x6f\143\141\154\x5f\143\x75\163\164\x6f\155\x5f\x72\x65\x64\151\162\x65\143\164", $JY);
update_option("\155\157\x5f\x6c\x64\x61\160\137\x6c\157\143\141\x6c\137\155\x65\x73\163\141\147\x65", "\x55\163\x65\x72\x73\x20\167\x69\x6c\154\x20\147\145\x74\40\x72\x65\144\151\x72\145\143\x74\145\144\x20\x74\x6f\40\143\x75\163\164\x6f\155\x20\x72\145\x64\x69\162\145\143\164\x20\125\x52\114\40\141\x66\x74\145\x72\x20\154\x6f\147\x69\156\56");
$this->show_success_message();
goto N0;
case "\x6d\x6f\x5f\154\x64\x61\x70\x5f\154\157\x63\141\154\137\x72\145\x67\151\x73\x74\145\162\x5f\x75\163\x65\162":
if (NddKoYsdasadJD()) {
goto J5;
}
update_option("\x6d\x6f\137\154\x64\141\x70\x5f\154\x6f\x63\x61\x6c\137\155\145\163\x73\x61\147\x65", "\123\x65\x74\x74\151\156\147\163\40\143\141\156\47\164\x20\x62\x65\40\x73\x61\x76\145\x64\40\167\151\x74\x68\x6f\165\x74\40\x76\145\x72\151\x66\x79\x69\x6e\x67\x20\x79\157\x75\162\x20\x6c\x69\143\145\156\163\145\x20\x6b\x65\171\x2e");
$this->show_error_message();
goto Hg;
J5:
$Td = isset($_POST["\x6d\157\137\154\x64\141\160\x5f\x6c\157\x63\141\x6c\137\x72\x65\x67\151\x73\164\145\x72\x5f\x75\163\x65\162"]) ? $_POST["\155\157\x5f\x6c\144\141\160\x5f\154\x6f\x63\141\x6c\x5f\162\145\147\x69\x73\164\145\162\137\x75\163\145\162"] : 0;
update_option("\x6d\x6f\137\x6c\x64\141\x70\x5f\x6c\x6f\143\x61\154\137\x72\x65\147\151\x73\x74\145\x72\x5f\x75\163\x65\162", $Td);
if ($Td == 1) {
goto uQ;
}
update_option("\x6d\x6f\x5f\x6c\x64\141\160\137\x6c\157\143\x61\x6c\x5f\155\145\x73\163\x61\147\145", "\x41\x75\x74\157\40\122\145\x67\x69\163\x74\x65\162\x69\x6e\147\40\165\x73\145\162\163\40\x68\141\163\40\142\x65\145\x6e\40\144\x69\x73\x61\142\x6c\145\144\x2e");
$this->show_error_message();
goto V5;
uQ:
update_option("\155\x6f\137\x6c\144\x61\x70\x5f\x6c\157\x63\141\154\x5f\x6d\x65\163\163\x61\x67\x65", "\101\165\x74\157\x20\x52\x65\147\151\x73\x74\145\x72\x69\x6e\x67\x20\x75\x73\145\x72\163\x20\x68\x61\163\x20\x62\145\145\x6e\40\x65\x6e\141\x62\x6c\x65\x64\x2e");
$this->show_success_message();
V5:
Hg:
goto N0;
case "\x6d\157\137\x6c\x64\x61\160\x5f\x6c\157\143\141\x6c\137\141\165\164\x68\x6f\x72\151\x7a\145\x64\137\x75\163\x65\x72\163\x5f\157\156\x6c\x79":
if (NddKoYsdasadJD()) {
goto ef;
}
update_option("\155\157\x5f\154\x64\141\160\x5f\154\157\143\x61\x6c\137\x6d\145\x73\x73\141\x67\145", "\x53\145\x74\164\x69\156\147\163\x20\143\x61\x6e\47\x74\40\142\145\x20\163\x61\x76\145\144\40\x77\x69\164\150\x6f\165\164\40\x76\145\162\151\x66\171\x69\156\x67\40\x79\x6f\x75\x72\40\154\x69\x63\145\156\163\145\40\x6b\145\171\x2e");
$this->show_error_message();
goto KE;
ef:
$Vl = isset($_POST["\141\x75\x74\x68\x6f\x72\x69\x7a\145\x64\x5f\x75\163\145\x72\163\x5f\x6f\x6e\x6c\171"]) ? $_POST["\x61\x75\164\x68\x6f\162\x69\172\x65\144\x5f\x75\x73\x65\162\x73\137\x6f\156\154\171"] : 0;
update_option("\155\157\x5f\154\144\x61\x70\x5f\154\157\143\141\154\x5f\x61\165\164\150\x6f\x72\x69\x7a\x65\x64\x5f\x75\x73\x65\x72\163\x5f\157\156\154\171", $Vl);
if ($Vl == 1) {
goto rD;
}
update_option("\x6d\x6f\x5f\154\x64\141\x70\x5f\x6c\x6f\x63\x61\x6c\x5f\155\x65\163\x73\x61\x67\x65", "\x50\x72\157\x74\145\x63\164\x20\103\157\156\x74\x65\x6e\164\40\x62\171\x20\x4c\157\x67\x69\x6e\40\x64\x69\x73\x61\x62\154\145\x64\x2e");
$this->show_error_message();
goto wM;
rD:
update_option("\155\x6f\137\x6c\144\141\x70\x5f\x6c\x6f\x63\x61\154\137\155\145\163\x73\141\147\145", "\120\x72\157\164\145\x63\164\x20\x43\157\x6e\x74\145\156\164\x20\x62\171\x20\x4c\157\x67\151\x6e\40\x65\156\141\142\x6c\x65\144\x2e");
$this->show_success_message();
wM:
KE:
goto N0;
case "\155\157\137\154\x64\141\x70\x5f\x6c\x6f\x63\141\x6c\137\x67\162\157\x75\x70\x5f\x72\157\x6c\145\137\155\141\160\x70\151\x6e\147":
$yF = isset($_POST["\x65\156\141\x62\154\x65\137\x6c\144\x61\160\137\162\157\154\x65\137\155\141\160\x70\151\x6e\x67\x5f\142\x61\x73\145\144\x5f\157\x6e\137\x6c\144\x61\160\137\147\x72\157\165\160\x73"]) ? $_POST["\x65\x6e\141\x62\x6c\x65\x5f\154\144\141\160\137\x72\x6f\154\145\137\155\141\x70\x70\x69\156\x67\137\142\141\x73\x65\x64\137\x6f\x6e\x5f\154\x64\141\160\x5f\147\162\x6f\x75\x70\163"] : 0;
update_option("\x6d\157\137\x6c\144\141\160\x5f\154\157\x63\141\x6c\137\x65\156\x61\x62\154\x65\137\x72\x6f\x6c\145\x5f\x6d\141\x70\160\x69\156\147\137\142\141\163\x65\144\137\x6f\x6e\x5f\x6c\144\141\x70\x5f\147\x72\157\x75\160\163", $yF);
if ($yF == 1) {
goto qV;
}
update_option("\x6d\157\x5f\x6c\144\x61\x70\137\154\x6f\143\x61\x6c\137\x6d\x65\163\163\x61\x67\145", "\114\104\x41\120\40\x47\x72\157\165\x70\40\164\157\40\x57\120\x20\162\x6f\154\x65\40\155\141\x70\160\151\156\x67\40\150\141\x73\x20\142\145\x65\x6e\40\x64\151\163\141\x62\154\x65\x64\x2e");
$this->show_error_message();
goto Ye;
qV:
update_option("\155\x6f\x5f\x6c\x64\141\160\137\154\x6f\x63\141\154\x5f\x6d\x65\163\163\x61\x67\x65", "\x4c\x44\x41\x50\40\107\162\x6f\x75\160\x20\x74\x6f\x20\x57\120\x20\162\157\154\145\x20\155\141\160\x70\x69\156\147\40\x68\141\x73\x20\142\145\145\156\x20\x65\156\x61\142\154\145\144\56");
$this->show_success_message();
Ye:
goto N0;
case "\x6d\x6f\x5f\154\x64\x61\160\137\x66\x65\x74\x63\x68\x5f\x67\x72\157\x75\160\x73\137\x6c\151\163\164":
if (!isset($_REQUEST["\155\x6f\137\x6c\x64\x61\x70\x5f\147\162\157\x75\160\x73\x5f\163\x65\x61\x72\x63\x68\x5f\x62\141\x73\x65"])) {
goto bG;
}
$ty = trim($_REQUEST["\x6d\157\137\x6c\144\x61\160\x5f\147\x72\x6f\x75\x70\163\x5f\163\x65\x61\x72\143\x68\137\142\x61\163\x65"]);
bG:
update_option("\x6d\x6f\x5f\x6c\144\x61\x70\x5f\154\x6f\x63\141\x6c\137\147\x72\157\x75\160\163\x5f\x73\x65\141\x72\143\x68\137\x62\141\163\x65", Mo_Ldap_Local_Util::encrypt($ty));
update_option("\x6d\x6f\x5f\x6c\144\x61\x70\137\163\150\157\167\137\x67\x72\157\x75\x70\163", 1);
goto N0;
case "\x6d\157\137\154\144\141\x70\137\x6c\157\143\x61\x6c\137\163\x61\x76\x65\x5f\x6d\141\160\x70\x69\156\147":
$YT = array();
$QY = array();
$SE = array();
$FC = 1;
$lf = 0;
$rv = $_POST["\x6d\x61\x70\x70\151\x6e\147\137\x6b\x65\171\137" . $FC];
sC:
if (!isset($rv)) {
goto Oc;
}
if (empty($rv)) {
goto zi;
}
$t5 = $_POST["\163\x65\x6c\x65\x63\x74\x65\144\x5f\x66\x6f\162\137\163\x61\x76\145\137\x72\x6f\x6c\x65\137\x6d\141\160\x70\151\x6e\147\x5f" . $FC];
if (!($t5 == "\164\x72\165\145")) {
goto Al;
}
$lf++;
$nr = $_POST["\155\141\160\x70\151\x6e\x67\x5f\x67\x72\x6f\x75\x70\x5f\x6e\141\x6d\145\137" . $FC];
$SE[$lf] = $nr;
$YT["\155\x6f\137\x6c\144\x61\160\137\x6c\x6f\x63\141\x6c\x5f\155\141\x70\160\151\x6e\147\137\x6b\x65\171\137" . $lf] = trim($rv);
$QY["\155\x6f\x5f\154\144\141\160\x5f\x6c\157\143\x61\154\137\155\x61\x70\160\x69\156\147\x5f\166\x61\154\x75\145\137" . $lf] = $_POST["\x6d\141\x70\x70\x69\156\x67\137\166\141\x6c\x75\x65\x5f" . $FC];
Al:
zi:
$FC++;
$rv = $_POST["\x6d\x61\160\x70\x69\156\x67\137\x6b\x65\171\x5f" . $FC];
goto sC;
Oc:
update_option("\x6d\x6f\x5f\154\x64\141\160\x5f\154\157\x63\x61\154\137\x72\157\154\145\137\x6d\x61\x70\160\x69\156\147\x5f\153\x65\x79\x5f\x61\162\x72\x61\x79", serialize($YT));
update_option("\x6d\x6f\x5f\154\x64\141\x70\x5f\x6c\157\x63\141\154\x5f\162\x6f\x6c\x65\x5f\155\141\x70\x70\151\156\x67\x5f\x76\141\154\x75\145\137\x61\x72\162\141\171", serialize($QY));
update_option("\155\x6f\x5f\x6c\144\x61\160\137\x6c\x6f\x63\x61\154\x5f\162\157\x6c\x65\x5f\155\141\x70\x70\151\x6e\x67\x5f\x67\x72\x6f\x75\x70\137\156\141\155\145\163", serialize($SE));
update_option("\155\157\137\x6c\x64\141\160\x5f\154\x6f\x63\141\154\x5f\162\x6f\154\x65\137\x6d\x61\160\160\151\x6e\147\137\x63\x6f\165\x6e\164", $lf);
if (!isset($_POST["\x6d\141\160\160\x69\156\147\137\166\141\154\x75\x65\137\144\x65\146\x61\x75\x6c\x74"])) {
goto QD;
}
update_option("\155\x6f\x5f\x6c\144\141\160\137\x6c\x6f\x63\x61\x6c\x5f\155\x61\x70\160\151\156\147\x5f\166\x61\x6c\x75\x65\x5f\x64\x65\x66\x61\165\x6c\164", $_POST["\x6d\141\x70\x70\151\x6e\147\x5f\166\x61\x6c\165\x65\x5f\144\145\146\x61\165\154\164"]);
QD:
if (!isset($_POST["\155\141\x70\160\151\156\x67\x5f\155\x65\x6d\x62\145\162\x6f\146\137\141\x74\x74\162\151\142\165\x74\145"])) {
goto L_;
}
update_option("\x6d\157\137\x6c\144\141\x70\137\154\157\x63\141\154\137\155\141\x70\x70\151\x6e\147\x5f\155\x65\155\x62\145\x72\x6f\x66\x5f\x61\x74\164\162\x69\x62\165\164\145", $_POST["\x6d\x61\160\160\x69\156\x67\x5f\155\x65\155\142\x65\x72\x6f\146\137\x61\164\x74\x72\151\x62\x75\x74\145"]);
L_:
$kK = '';
$bw = get_option("\x6d\x6f\137\x6c\144\141\160\137\154\x6f\x63\141\x6c\137\x6d\141\160\160\x69\x6e\x67\137\166\141\154\165\145\137\x64\x65\146\x61\x75\x6c\164");
$P4 = get_option("\155\157\x5f\x6c\144\141\160\x5f\x6c\157\143\x61\154\x5f\x65\156\x61\x62\x6c\x65\137\x72\x6f\x6c\145\137\x6d\x61\x70\x70\x69\x6e\x67");
if (!$bw) {
goto h8;
}
if ($P4 == 0) {
goto hi;
}
goto p1;
h8:
$kK = "\40\120\154\x65\x61\x73\x65\x20\x73\x65\x6c\x65\143\x74\x20\x74\x68\145\40\104\x65\146\141\x75\x6c\164\40\x52\157\154\145\x20\x61\156\144\40\164\150\145\x6e\40\143\150\x65\x63\153\x20\x3c\x62\76\42\105\156\x61\142\x6c\145\x20\122\x6f\x6c\145\x20\115\x61\160\x70\151\x6e\147\x22\74\x2f\x62\x3e\40\164\x6f\x20\141\x63\164\151\166\x61\164\x65\40\x69\164\x2e";
goto p1;
hi:
$kK = "\40\x50\x6c\145\x61\x73\x65\40\x63\150\145\x63\x6b\40\74\142\x3e\x22\x45\156\141\142\154\145\40\x52\x6f\x6c\145\x20\x4d\x61\160\160\x69\156\147\x22\74\x2f\x62\x3e\x20\164\157\40\141\143\x74\x69\x76\x61\x74\x65\40\x69\x74\56";
p1:
update_option("\155\x6f\x5f\154\144\141\160\137\154\x6f\143\x61\x6c\137\155\x65\163\163\x61\x67\x65", "\114\x44\x41\120\x20\x47\162\157\x75\x70\40\164\157\40\x57\120\x20\x72\x6f\154\145\40\x6d\x61\160\x70\151\x6e\x67\x20\x68\141\x73\40\142\145\x65\156\x20\x75\x70\x64\141\x74\145\144\x2e" . $kK);
$this->show_success_message();
goto N0;
case "\x6d\157\137\x6c\x64\141\x70\137\x6c\x64\141\160\137\157\165\x5f\142\x61\163\x65\144\x5f\x72\157\x6c\x65\137\x6d\x61\x70\x70\151\x6e\147":
$Gl = $_POST["\145\x6e\x61\142\154\145\137\154\x64\141\x70\x5f\162\157\x6c\145\137\155\141\x70\160\x69\x6e\x67\x5f\142\141\163\145\144\x5f\157\x6e\x5f\154\144\141\x70\137\x6f\x75"];
$Ki = 1;
$r_ = array();
vN:
if (empty($_POST["\155\x6f\137\154\x64\141\160\137\162\157\154\x65\137\x6d\x61\160\x70\151\x6e\147\x5f\157\165\x5f\166\141\x6c\x75\145\137" . $Ki])) {
goto A8;
}
$su = array();
if (empty($_POST["\x6d\x6f\137\154\x64\x61\160\x5f\162\x6f\x6c\x65\137\155\x61\x70\160\151\156\147\x5f\157\165\137\166\x61\154\165\145\137" . $Ki])) {
goto Bc;
}
$su["\157\165\x5f\166\141\154\x75\145"] = trim($_POST["\x6d\x6f\137\154\144\x61\x70\137\162\157\x6c\x65\x5f\x6d\141\160\x70\x69\x6e\147\137\x6f\165\137\166\141\x6c\165\145\137" . $Ki]);
$su["\x6f\x75\x5f\x62\x61\x73\145\144\x5f\167\160\137\x72\157\154\x65\x5f\x6e\141\x6d\x65"] = trim($_POST["\x6d\x6f\x5f\154\144\x61\x70\137\x6f\x75\137\x6d\x61\x70\x70\151\x6e\147\x5f\x72\157\154\x65\x5f\x6e\141\155\145\137" . $Ki]);
Bc:
array_push($r_, $su);
$Ki++;
goto vN;
A8:
update_option("\x6d\x6f\137\x6c\144\x61\160\x5f\x6c\x6f\143\141\x6c\x5f\157\x75\137\162\157\x6c\x65\137\155\x61\160\160\151\156\147\137\157\160\x74\x69\157\x6e\163", serialize($r_));
if ($Gl == 1) {
goto MF;
}
update_option("\155\157\x5f\154\144\x61\x70\137\154\157\x63\141\x6c\137\145\156\x61\x62\x6c\145\x5f\162\x6f\154\x65\x5f\x6d\141\x70\160\x69\156\x67\x5f\142\141\163\x65\x64\x5f\157\156\x5f\x6c\x64\x61\160\x5f\157\165", 0);
update_option("\155\x6f\137\154\144\x61\160\x5f\154\x6f\143\141\154\x5f\x6d\x65\x73\x73\141\147\145", "\104\151\x73\x61\x62\x6c\145\144\40\x52\x6f\x6c\x65\40\x4d\x61\160\x70\151\x6e\147\40\142\141\163\x65\x64\x20\157\156\40\114\104\x41\x50\40\x4f\x55");
$this->show_error_message();
goto Pw;
MF:
update_option("\155\157\x5f\154\x64\141\160\x5f\154\x6f\x63\x61\x6c\137\145\156\141\142\154\x65\137\x72\157\154\x65\x5f\155\x61\160\160\151\x6e\147\x5f\x62\141\163\x65\144\137\157\x6e\137\x6c\144\x61\160\x5f\157\x75", 1);
update_option("\155\x6f\x5f\x6c\144\141\160\x5f\x6c\157\143\141\154\137\x6d\145\163\x73\141\147\x65", "\x53\165\x63\x63\x65\163\x73\146\x75\x6c\x6c\171\40\x73\141\166\145\144\x20\122\x6f\x6c\145\40\x4d\x61\x70\160\151\x6e\x67\x20\x62\141\x73\145\x64\40\x6f\156\x20\114\104\101\x50\x20\x4f\x55");
$this->show_success_message();
Pw:
goto N0;
case "\155\x6f\x5f\x6c\x64\141\x70\x5f\154\157\x63\141\x6c\137\x65\x6e\141\x62\x6c\x65\x5f\x72\x6f\x6c\145\x5f\x6d\x61\x70\160\151\156\147":
$P4 = isset($_POST["\x65\156\141\142\x6c\x65\x5f\x6c\144\x61\160\x5f\162\x6f\154\x65\x5f\x6d\x61\160\160\x69\156\x67"]) ? $_POST["\x65\x6e\x61\x62\154\x65\137\154\144\x61\160\137\162\157\x6c\x65\137\x6d\x61\160\x70\x69\156\x67"] : 0;
update_option("\155\157\x5f\154\144\x61\x70\x5f\154\x6f\143\x61\154\x5f\x65\156\x61\x62\x6c\x65\x5f\x72\x6f\x6c\x65\x5f\x6d\141\x70\x70\x69\156\147", $P4);
if ($P4 == 1) {
goto vZ;
}
update_option("\155\157\137\x6c\x64\x61\x70\137\154\x6f\143\141\154\x5f\155\x65\163\x73\x61\147\x65", "\x4c\104\x41\x50\x20\107\x72\x6f\x75\160\40\164\157\x20\127\120\x20\x72\x6f\x6c\x65\40\155\x61\160\x70\x69\156\x67\40\x68\141\163\40\142\145\x65\x6e\x20\144\151\x73\141\x62\154\x65\x64\56");
$this->show_error_message();
goto PU;
vZ:
update_option("\155\x6f\137\154\x64\x61\160\x5f\154\157\x63\x61\154\x5f\x6d\145\163\x73\141\x67\x65", "\114\x44\x41\120\x20\107\x72\x6f\x75\x70\40\x74\157\40\127\120\x20\x72\157\x6c\145\x20\155\x61\x70\x70\151\x6e\x67\40\150\141\163\40\x62\x65\x65\156\x20\145\156\x61\x62\x6c\x65\144\56");
$this->show_success_message();
PU:
goto N0;
case "\155\x6f\137\x6c\144\x61\x70\x5f\154\x6f\143\141\154\x5f\x6b\145\145\x70\x5f\x65\x78\151\x73\x74\151\156\147\x5f\165\x73\x65\162\137\x72\x6f\154\x65\x73":
$Sz = isset($_POST["\x6b\145\145\160\x5f\x65\170\151\x73\164\151\x6e\x67\137\x75\163\145\162\137\162\x6f\154\145\163"]) ? $_POST["\x6b\145\x65\160\x5f\x65\170\151\x73\x74\x69\x6e\147\137\165\163\x65\x72\x5f\x72\x6f\x6c\x65\x73"] : 0;
update_option("\155\x6f\x5f\x6c\144\x61\160\x5f\x6c\157\143\141\154\x5f\x6b\145\x65\x70\137\145\x78\x69\163\164\x69\x6e\x67\x5f\x75\x73\x65\x72\137\x72\x6f\x6c\x65\163", $Sz);
if ($Sz == 1) {
goto s9;
}
update_option("\x6d\x6f\137\x6c\144\141\160\137\154\x6f\x63\141\154\137\155\145\163\163\141\x67\145", "\127\120\x20\x52\157\x6c\x65\163\40\157\146\40\105\170\x69\x73\x74\151\156\x67\x20\x75\x73\x65\162\x73\40\x77\x69\x6c\x6c\x20\x62\x65\40\x75\x70\x64\141\164\145\x64\x2e");
$this->show_error_message();
goto Ca;
s9:
update_option("\x6d\157\137\154\x64\141\x70\x5f\154\x6f\143\141\x6c\137\x6d\145\163\163\x61\147\145", "\x57\x50\x20\x52\x6f\x6c\145\x73\x20\x6f\x66\x20\105\170\151\x73\164\x69\156\x67\40\x75\x73\x65\162\163\x20\x77\x69\154\154\40\156\157\x74\x20\142\145\x20\162\x65\155\157\x76\x65\144\x2e");
$this->show_success_message();
Ca:
goto N0;
case "\155\x6f\x5f\154\x64\x61\x70\x5f\x66\x65\x74\x63\x68\x5f\162\145\x63\x75\162\x73\151\x76\x65\x5f\x67\x72\x6f\165\x70\x73\x5f\145\x6e\x61\142\154\x65":
$oV = isset($_POST["\x66\145\x74\143\150\x5f\162\145\x63\165\162\163\x69\x76\145\137\147\162\157\165\160\x73"]) ? $_POST["\146\145\x74\x63\150\x5f\162\145\x63\165\x72\163\151\166\x65\137\147\162\157\x75\160\163"] : 0;
update_option("\155\157\x5f\x6c\x64\x61\x70\x5f\146\x65\x74\143\150\137\x72\145\143\165\x72\x73\x69\x76\145\x5f\147\162\x6f\x75\160\x73\x5f\x65\156\x61\142\x6c\x65", $oV);
if ($oV) {
goto ID;
}
update_option("\x6d\157\x5f\154\x64\x61\x70\137\154\x6f\143\141\x6c\137\x6d\145\x73\163\141\147\145", "\x4e\145\x73\164\145\x64\x20\x67\162\157\165\160\x73\40\x66\x72\157\x6d\x20\164\150\145\x20\114\x44\101\120\x20\x61\x73\x73\x6f\x63\x69\141\x74\x65\x64\x20\x77\x69\164\150\40\164\150\145\x20\165\163\x65\x72\40\167\151\154\154\40\156\x6f\x74\40\142\145\x20\146\x65\164\143\x68\145\144\x2e");
$this->show_error_message();
goto wA;
ID:
update_option("\155\x6f\x5f\x6c\144\x61\x70\137\x6c\157\143\x61\154\x5f\x6d\x65\x73\x73\x61\147\x65", "\x4e\x65\x73\164\x65\x64\x20\x67\162\157\x75\160\x73\40\x66\x72\157\155\40\x74\150\145\40\x4c\x44\x41\120\40\x61\x73\x73\x6f\143\151\141\164\145\144\x20\167\x69\x74\150\40\x74\x68\145\x20\x75\163\x65\162\40\x77\x69\x6c\x6c\x20\x62\x65\40\x66\x65\x74\x63\150\145\144\x2e");
$this->show_success_message();
wA:
goto N0;
case "\x6d\157\137\154\x64\x61\x70\x5f\x73\141\166\145\x5f\x64\x65\x66\x61\x75\154\164\x5f\x72\157\154\145":
if (!isset($_POST["\x6d\x61\x70\160\x69\x6e\x67\137\x76\x61\154\165\x65\x5f\x64\145\146\141\165\154\164"])) {
goto Oo;
}
update_option("\x6d\x6f\x5f\154\144\141\x70\x5f\x6c\x6f\143\x61\x6c\x5f\155\x61\x70\x70\151\x6e\147\x5f\166\x61\154\x75\145\137\x64\145\146\141\x75\154\164", $_POST["\155\141\x70\x70\x69\x6e\x67\x5f\x76\141\154\165\145\137\144\x65\x66\x61\x75\154\164"]);
Oo:
goto N0;
case "\155\157\x5f\x6c\x64\141\x70\x5f\162\157\x6c\145\137\155\x61\160\x70\151\156\147\x5f\163\x65\154\145\x63\x74\151\157\x6e":
$BV = isset($_POST["\x6d\157\137\154\x64\x61\x70\x5f\x72\x6f\x6c\x65\x5f\155\x61\x70\160\151\156\147\x5f\163\145\154\145\x63\x74\x65\144\137\164\141\142"]) ? sanitize_text_field($_POST["\x6d\157\x5f\154\144\141\160\137\x72\157\x6c\145\x5f\155\x61\160\x70\151\156\x67\137\x73\145\154\x65\143\164\145\144\x5f\x74\x61\x62"]) : 1;
update_option("\155\157\137\154\144\x61\160\137\154\x6f\x63\x61\154\x5f\x73\x65\x6c\x65\x63\164\145\x64\x5f\162\x6f\154\x65\x5f\155\x61\x70\160\x69\156\147\137\x73\165\142\x74\141\142", $BV);
goto N0;
case "\155\157\137\154\144\141\x70\137\145\x6e\x61\142\x6c\x65\x5f\x61\164\x74\162\x69\x62\165\x74\145\137\x6d\141\x70\160\151\x6e\x67":
$YM = isset($_POST["\x6d\x6f\137\154\x64\x61\x70\x5f\154\x6f\x63\141\x6c\x5f\145\x6e\141\142\154\x65\137\141\164\x74\x72\x5f\155\141\x70\x70\151\156\147"]) ? 1 : 0;
update_option("\155\x6f\x5f\154\x64\141\x70\137\x6c\157\x63\x61\x6c\137\145\x6e\141\x62\x6c\145\x5f\141\x74\x74\162\x5f\x6d\141\160\160\151\x6e\x67", $YM);
if ($YM == 1) {
goto pm;
}
update_option("\155\x6f\x5f\x6c\x64\141\160\x5f\154\157\143\141\x6c\137\x6d\x65\x73\x73\x61\147\145", "\114\x44\x41\120\40\x41\x74\x74\x72\151\x62\165\x74\x65\x20\115\141\x70\x70\x69\156\x67\x20\x44\151\163\x61\x62\154\x65\x64");
$this->show_error_message();
goto Im;
pm:
update_option("\155\157\x5f\x6c\x64\x61\160\x5f\154\157\143\x61\154\137\155\145\163\x73\141\x67\x65", "\x4c\104\x41\120\x20\x41\x74\164\162\x69\142\x75\x74\145\40\115\x61\160\x70\151\x6e\x67\40\105\x6e\x61\x62\154\x65\144");
$this->show_success_message();
Im:
goto N0;
case "\x6d\157\x5f\x6c\144\141\x70\x5f\x65\x6e\x61\x62\154\145\x5f\x75\160\144\141\164\151\x6e\147\137\154\144\141\160":
$bj = isset($_POST["\x65\x6e\141\x62\154\145\x5f\165\x70\144\x61\x74\145\137\x6c\144\141\160"]) ? 1 : 0;
update_option("\x6d\157\x5f\154\x64\x61\x70\137\x6c\157\x63\x61\x6c\x5f\x65\x6e\141\x62\154\x65\x5f\165\160\x64\141\164\x65\137\154\x64\x61\x70", $bj);
if ($bj == 1) {
goto Fg;
}
update_option("\155\x6f\137\154\x64\141\x70\x5f\154\157\143\x61\x6c\x5f\155\145\x73\163\x61\x67\x65", "\x44\x69\163\141\142\x6c\145\x64\x20\165\x70\144\141\x74\151\156\x67\x20\151\x6e\146\157\x72\x6d\x61\x74\x69\157\156\40\x69\156\x20\x4c\104\x41\x50\x20\x77\x68\145\156\40\x75\163\145\162\x20\x65\x64\151\164\x73\40\160\162\157\146\151\x6c\145");
$this->show_error_message();
goto Os;
Fg:
update_option("\155\157\x5f\154\144\x61\x70\137\154\157\143\x61\x6c\137\x6d\145\x73\163\141\x67\145", "\x45\x6e\141\x62\154\145\x64\40\x75\160\x64\141\x74\151\156\x67\40\x69\x6e\x66\157\162\155\x61\x74\x69\157\156\40\151\156\x20\x4c\x44\101\120\40\167\150\x65\x6e\x20\165\163\145\x72\40\145\144\151\x74\x73\40\160\162\157\146\151\x6c\145");
$this->show_success_message();
Os:
goto N0;
case "\155\x6f\137\x6c\x64\x61\x70\137\163\x61\x76\x65\x5f\x61\164\x74\162\x69\x62\x75\164\145\137\x63\x6f\156\146\151\x67":
update_option("\155\x6f\x5f\154\x64\141\160\x5f\x64\151\162\145\x63\x74\157\162\x79\137\163\145\162\166\x65\x72\x5f\166\141\154\165\145", isset($_POST["\155\x6f\x5f\x6c\144\141\160\x5f\x64\151\162\x65\x63\x74\157\x72\171\137\163\x65\x72\x76\145\x72\137\166\x61\x6c\165\x65"]) ? $_POST["\155\x6f\x5f\x6c\x64\141\160\137\x64\x69\162\x65\x63\x74\157\x72\171\137\x73\x65\162\166\x65\x72\137\x76\141\154\165\x65"] : "\x6d\x73\x61\144");
$uW = sanitize_text_field($_POST["\x6d\157\x5f\x6c\144\141\x70\137\x65\155\141\151\154\137\x61\x74\164\162\151\x62\165\164\145"]);
$my = sanitize_text_field($_POST["\155\157\x5f\x6c\144\x61\x70\137\x70\x68\x6f\x6e\x65\137\141\164\x74\x72\151\x62\165\164\x65"]);
$Ku = sanitize_text_field($_POST["\155\157\137\154\144\x61\x70\x5f\146\156\141\155\x65\x5f\x61\164\164\x72\x69\x62\x75\x74\x65"]);
$Pv = sanitize_text_field($_POST["\155\x6f\137\x6c\144\141\x70\x5f\x6c\156\141\155\x65\137\x61\x74\164\x72\x69\x62\x75\x74\145"]);
$bJ = sanitize_text_field($_POST["\155\x6f\137\x6c\144\141\160\137\x6e\x69\143\153\x6e\141\155\145\x5f\141\x74\x74\x72\151\142\165\164\145"]);
$dK = sanitize_text_field($_POST["\155\x6f\137\x6c\144\141\160\137\144\x69\x73\x70\x6c\x61\x79\x5f\156\x61\x6d\145\137\141\x74\164\x72\x69\x62\165\x74\145"]);
update_option("\155\157\137\x6c\144\141\x70\x5f\x6c\x6f\x63\141\154\137\145\155\x61\151\x6c\x5f\141\164\164\x72\x69\142\x75\164\x65", $uW);
update_option("\155\157\137\x6c\144\x61\x70\137\154\x6f\x63\x61\x6c\137\160\150\157\x6e\145\137\141\164\164\162\151\142\x75\164\145", $my);
update_option("\155\x6f\x5f\154\144\x61\x70\x5f\154\x6f\x63\141\154\137\146\156\141\155\x65\137\141\164\x74\x72\151\142\x75\164\145", $Ku);
update_option("\x6d\x6f\137\154\x64\141\x70\137\154\157\x63\141\x6c\x5f\154\x6e\x61\155\145\137\141\x74\164\x72\151\x62\x75\x74\145", $Pv);
update_option("\x6d\x6f\x5f\154\144\141\x70\137\154\x6f\143\x61\154\x5f\156\x69\143\153\156\x61\x6d\145\x5f\x61\x74\x74\162\x69\x62\x75\x74\x65", $bJ);
update_option("\155\157\137\154\144\141\160\137\x6c\x6f\143\141\x6c\137\144\x69\x73\x70\x6c\141\171\137\156\141\x6d\145\x5f\x61\164\164\x72\x69\142\x75\164\145", $dK);
$bn = unserialize(get_option("\155\x6f\x5f\154\x64\141\160\x5f\154\157\143\x61\154\137\143\165\x73\x74\x6f\x6d\x5f\141\164\164\x72\x69\142\x75\164\x65\x73"));
if (!Mo_Ldap_Local_Util::check_empty_or_null($bn)) {
goto Eg;
}
$bn = array();
Eg:
$ru = 1;
$wy = $_POST["\x6d\x6f\x5f\154\x64\x61\160\x5f\x6c\x6f\x63\x61\x6c\137\x63\165\163\x74\x6f\155\x5f\x61\164\164\x72\x69\x62\x75\x74\145\137" . $ru . "\137\x6e\x61\x6d\x65"];
vG:
if (!isset($wy)) {
goto DU;
}
if (empty($wy)) {
goto SF;
}
if (!(strpos($wy, "\x20") !== false)) {
goto NT;
}
$wy = str_replace("\x20", '', $wy);
NT:
$aA = "\155\x6f\137\x6c\144\x61\x70\137\154\x6f\x63\x61\154\137\143\165\x73\164\x6f\x6d\x5f\141\x74\x74\162\x69\142\x75\164\x65\137" . strtolower(sanitize_text_field($wy));
$bn[$aA] = strtolower($wy);
SF:
$ru++;
$wy = $_POST["\155\x6f\137\154\144\141\160\137\x6c\x6f\143\141\x6c\x5f\x63\x75\x73\164\x6f\155\137\x61\x74\164\x72\x69\x62\165\x74\x65\137" . $ru . "\137\x6e\x61\x6d\x65"];
goto vG;
DU:
if (empty($bn)) {
goto dT;
}
$bn = array_unique($bn);
update_option("\155\157\137\154\144\x61\x70\x5f\x6c\x6f\x63\x61\x6c\137\143\165\163\164\x6f\155\137\141\x74\164\x72\x69\142\x75\x74\x65\163", serialize(array_unique($bn)));
dT:
$qr = !empty(get_option("\x6d\x6f\137\x6c\x64\141\x70\137\x61\x74\x74\162\151\142\x75\x74\x65\137\x75\x73\145\162\155\x65\164\141\137\x6d\x61\x70\x70\151\156\x67")) ? get_option("\155\x6f\137\154\144\x61\x70\x5f\141\x74\164\x72\151\x62\165\164\145\137\x75\163\x65\162\x6d\x65\x74\141\137\155\141\160\x70\x69\156\147") : array();
$JE = array();
$cK = 0;
$iQ = "\155\x6f\x5f\154\144\141\x70\x5f\x75\x73\x65\162\155\x65\x74\x61\x5f\x6e\141\x6d\x65\137";
foreach ($_POST as $O4 => $XO) {
if (!(strpos($O4, $iQ) !== false)) {
goto LH;
}
$cK++;
$GT = strtolower(sanitize_text_field($XO));
$dE = strtolower(sanitize_text_field($_POST["\155\157\x5f\154\x64\141\160\x5f\x75\x73\145\x72\155\x65\x74\x61\137\x76\x61\x6c\165\x65\x5f" . $cK]));
$dE = str_replace("\x20", '', $dE);
if (!(!empty($GT) && !empty($dE))) {
goto wL;
}
if (array_key_exists($GT, $JE)) {
goto I2;
}
$JE[$GT] = $dE;
I2:
update_option("\155\x6f\x5f\x6c\x64\141\x70\137\154\157\x63\141\x6c\x5f\143\x75\163\x74\157\x6d\x5f\141\x74\164\162\151\142\165\x74\145\x5f" . $dE, $dE);
wL:
LH:
Vq:
}
ng:
update_option("\x6d\x6f\x5f\154\144\x61\160\137\141\164\x74\162\151\x62\x75\x74\145\137\x75\163\145\x72\155\145\x74\141\137\155\141\160\x70\x69\156\x67", $JE);
error_log(print_r($JE, true));
$qu = array();
$qu = array_diff($qr, $JE);
if (empty($qu)) {
goto VW;
}
foreach ($qu as $pm => $Z4) {
$i4 = get_users(array("\155\145\164\141\x5f\153\145\171" => $pm));
foreach ($i4 as $user) {
delete_user_meta($user->ID, $pm);
D4:
}
j4:
Hf:
}
Ik:
$O_ = "\155\157\137\x6c\x64\x61\x70\x5f\x6c\157\143\141\x6c\137\x63\x75\163\x74\157\155\x5f\x61\x74\164\162\151\x62\x75\164\x65\137" . strtolower(sanitize_text_field($Z4));
unset($bn[$O_]);
VW:
if (!Mo_Ldap_Local_Util::check_empty_or_null($bn)) {
goto Oj;
}
$bn = array();
Oj:
foreach ($JE as $zA => $XO) {
$aA = "\155\x6f\x5f\154\144\141\x70\137\154\157\x63\141\x6c\137\x63\x75\x73\x74\x6f\x6d\137\x61\x74\x74\x72\151\x62\165\164\x65\x5f" . strtolower(sanitize_text_field($XO));
$bn[$aA] = $XO;
kl:
}
Ki:
update_option("\155\157\x5f\x6c\x64\141\160\137\x6c\x6f\x63\x61\x6c\x5f\143\165\163\164\x6f\x6d\x5f\141\x74\x74\162\x69\142\165\x74\145\163", serialize(array_unique($bn)));
update_option("\155\x6f\x5f\154\x64\x61\160\x5f\154\157\x63\x61\x6c\x5f\x6d\x65\163\x73\x61\147\x65", "\123\165\143\143\x65\x73\163\146\165\154\154\171\40\163\141\166\x65\144\x20\114\104\101\x50\40\101\164\164\162\x69\142\165\x74\x65\40\x43\x6f\156\146\x69\x67\165\162\141\x74\x69\157\x6e");
$this->show_success_message();
goto N0;
case "\155\157\137\154\144\x61\160\137\x64\x65\x6c\145\164\x65\x5f\143\x75\163\164\157\x6d\x5f\141\x74\x74\162\x69\x62\x75\x74\145":
$bD = strtolower(sanitize_text_field($_POST["\143\x75\x73\x74\x6f\x6d\137\x61\x74\x74\162\x69\x62\x75\164\x65\137\156\141\155\145"]));
$XP = "\x6d\157\137\154\144\141\160\137\x6c\x6f\x63\141\x6c\137\x63\x75\163\164\157\155\137\141\x74\x74\162\151\142\x75\x74\x65\137" . $bD;
$DK = unserialize(get_option("\x6d\157\x5f\x6c\x64\x61\x70\x5f\x6c\157\143\141\154\x5f\x63\165\163\164\x6f\155\137\x61\x74\x74\x72\151\142\165\164\x65\163"));
unset($DK[$XP]);
if (!is_plugin_active("\155\151\156\151\x6f\162\141\x6e\x67\x65\x2d\x6c\x64\x61\x70\x2d\x74\150\x69\x72\x64\x2d\160\141\162\164\171\55\x69\x6e\x74\x65\x67\162\x61\x74\151\157\156\x2d\141\x64\144\55\x6f\x6e\57\x6c\144\x61\x70\x2d\x61\x74\164\x72\x69\x62\x75\x74\x65\x73\x2d\164\x6f\55\143\165\163\x74\x6f\155\x2d\165\163\x65\162\x6d\145\164\141\56\x70\150\160")) {
goto yh;
}
$vi = get_option("\155\157\137\x6c\x64\x61\x70\x5f\x61\164\x74\x72\x69\142\x75\x74\x65\x5f\165\163\x65\x72\x6d\x65\164\141\137\155\x61\x70\x70\151\x6e\147");
foreach ($vi as $eI => $q1) {
if (!(strcasecmp($bD, $q1) == 0)) {
goto Ru;
}
unset($vi[$eI]);
update_option("\155\157\x5f\x6c\144\x61\x70\137\141\x74\x74\x72\x69\142\x75\164\145\x5f\x75\163\x65\x72\155\x65\164\x61\137\x6d\x61\x70\x70\x69\156\147", $vi);
goto BW;
Ru:
j6:
}
BW:
yh:
update_option("\155\x6f\x5f\x6c\x64\x61\x70\137\154\157\143\141\154\137\x63\165\x73\164\x6f\155\x5f\x61\x74\x74\162\x69\142\165\164\145\x73", serialize(array_unique($DK)));
do_action("\155\x6f\137\x6c\x64\141\160\x5f\x62\x75\144\x64\171\x70\162\x65\x73\163\137\x75\160\144\141\x74\145\x5f\x61\164\x74\162\151\x62\165\x74\145\137\155\x61\x70\x70\x69\x6e\x67", $bD);
update_option("\x6d\x6f\137\x6c\144\x61\x70\137\x6c\157\x63\x61\154\137\x6d\145\x73\x73\x61\147\x65", "\123\165\143\x63\x65\x73\x73\146\x75\154\154\171\40\x64\145\x6c\x65\x74\145\x20\x63\x75\163\164\x6f\155\x20\x61\x74\164\162\151\142\x75\164\145\x3a\x20\74\142\x3e" . $bD . "\x3c\57\142\76");
$this->show_success_message();
goto N0;
case "\x75\163\145\162\137\x72\x65\160\x6f\162\x74\137\154\x6f\x67\163":
$SF = get_option("\165\x73\x65\162\x5f\154\x6f\x67\163\x5f\164\x61\142\154\x65\x5f\145\x78\x69\163\x74\163");
$XU = isset($_POST["\x6d\x6f\x5f\x6c\144\x61\x70\137\x6c\157\x63\141\154\137\x75\163\x65\162\137\x72\x65\160\x6f\x72\164\x5f\154\157\x67"]) ? $_POST["\x6d\x6f\x5f\x6c\144\x61\160\x5f\154\x6f\143\x61\x6c\x5f\165\163\145\162\x5f\162\145\160\x6f\x72\164\137\x6c\157\x67"] : 0;
update_option("\x6d\157\137\x6c\x64\141\160\137\154\157\143\x61\154\137\165\x73\x65\x72\137\162\145\x70\157\x72\164\x5f\x6c\157\x67", $XU);
if (!($XU == 1)) {
goto OF;
}
$this->prefix_update_table();
OF:
goto N0;
case "\153\x65\145\160\137\165\x73\145\x72\x5f\x72\145\x70\157\x72\x74\x5f\x6c\x6f\x67\163\137\157\x6e\x5f\x75\156\x69\163\164\x61\154\154":
update_option("\x6d\x6f\137\154\144\141\160\137\x6c\x6f\x63\141\x6c\137\x6b\x65\145\x70\x5f\165\x73\x65\162\x5f\x72\145\x70\x6f\x72\164\137\154\x6f\147\137\x6f\x6e\x5f\x75\x6e\151\x6e\x73\164\141\154\154", isset($_POST["\155\x6f\137\154\144\x61\x70\x5f\x6c\157\x63\x61\x6c\137\x6b\145\145\x70\x5f\165\163\145\162\137\x72\x65\x70\157\162\x74\x5f\x6c\x6f\x67"]) ? $_POST["\155\157\x5f\x6c\x64\141\x70\x5f\154\x6f\x63\x61\x6c\137\153\145\x65\x70\137\x75\x73\x65\162\x5f\162\x65\160\x6f\162\x74\x5f\154\157\147"] : 0);
goto N0;
case "\155\157\137\154\x64\x61\160\x5f\160\x61\163\x73":
$Uj = isset($_POST["\x65\156\141\x62\x6c\x65\137\x6c\144\141\160\137\x6c\157\x67\151\156"]) ? 1 : 0;
update_option("\x6d\x6f\137\154\x64\141\x70\137\145\170\x70\157\162\164", $Uj);
if ($Uj == 1) {
goto dv;
}
update_option("\155\157\x5f\x6c\x64\x61\160\x5f\154\x6f\x63\x61\154\137\x6d\145\x73\x73\x61\x67\145", "\123\x65\x72\166\x69\x63\145\x20\141\x63\x63\157\165\x6e\164\x20\160\141\x73\163\167\157\162\144\x20\x77\151\x6c\x6c\x20\156\x6f\164\x20\142\x65\40\145\170\160\x6f\162\164\145\144\56");
$this->show_error_message();
goto uq;
dv:
update_option("\155\157\137\154\x64\141\160\x5f\154\157\x63\141\154\137\155\x65\x73\x73\141\147\145", "\x53\145\162\x76\151\x63\145\x20\x61\143\x63\157\x75\x6e\x74\40\x70\141\163\163\167\x6f\x72\x64\40\x77\x69\x6c\x6c\40\x62\145\x20\x65\x78\x70\x6f\162\x74\145\144\x20\x69\x6e\x20\145\156\x63\x72\171\x70\x74\x65\x64\40\146\x61\x73\x68\151\x6f\156");
$this->show_success_message();
uq:
goto N0;
case "\x6d\157\137\x6c\144\x61\160\x5f\x65\170\160\157\x72\x74":
$ZE = get_option("\x6d\x6f\x5f\154\x64\x61\x70\x5f\x6c\x6f\x63\x61\154\137\x73\145\162\166\x65\162\137\x75\162\x6c");
if (!empty($ZE)) {
goto mN;
}
update_option("\155\x6f\x5f\x6c\144\141\x70\137\154\157\x63\141\x6c\137\x6d\145\x73\x73\x61\x67\145", "\114\104\x41\x50\40\x43\157\156\x66\151\147\165\x72\141\x74\x69\x6f\156\40\156\x6f\x74\40\x73\145\164\x2e\x20\x50\154\x65\x61\163\145\x20\x63\157\156\x66\x69\x67\165\x72\x65\40\x4c\104\101\x50\x20\x43\157\156\x6e\x65\x63\x74\x69\157\156\40\163\145\x74\164\x69\x6e\x67\163\56");
$this->show_error_message();
goto yK;
mN:
$this->miniorange_ldap_export();
yK:
goto N0;
case "\155\x6f\137\154\x64\x61\x70\137\151\155\160\157\162\164":
$fa = $_FILES["\155\x6f\x5f\154\x64\x61\x70\x5f\151\155\x70\x6f\162\164\x5f\146\151\154\145"]["\156\x61\x6d\145"];
$Qh = $_FILES["\x6d\157\137\154\144\x61\160\x5f\151\x6d\x70\x6f\162\164\137\146\151\154\145"]["\x73\151\x7a\x65"];
$Yb = $_FILES["\x6d\157\137\x6c\x64\141\160\x5f\x69\155\x70\x6f\x72\164\137\x66\x69\154\145"]["\x74\155\160\137\x6e\141\x6d\145"];
$ZB = $_FILES["\x6d\x6f\x5f\154\144\141\x70\137\151\x6d\160\x6f\162\x74\137\x66\x69\154\x65"]["\x74\171\160\145"];
$Ib = strtolower(pathinfo($fa, PATHINFO_EXTENSION));
if ($Ib == "\x6a\x73\157\156") {
goto hX2;
}
update_option("\x6d\x6f\x5f\154\144\x61\x70\137\x6c\x6f\x63\x61\154\x5f\155\145\x73\163\x61\x67\145", "\x49\156\143\x6f\162\x72\145\x63\x74\40\x66\x69\154\145\40\165\160\154\x6f\141\x64\x65\144\41\x20\x50\154\145\x61\x73\145\40\165\160\154\x6f\141\x64\x20\164\150\x65\40\x66\151\x6c\145\x20\x74\150\141\x74\x20\x77\141\x73\x20\145\170\160\157\162\164\x65\144\40\x66\162\157\155\x20\164\x68\151\163\40\x70\154\x75\x67\151\156");
$this->show_error_message();
goto ZF3;
hX2:
$QG = file_get_contents($Yb);
$wq = json_decode($QG, true);
error_log("\123\164\x61\x72\164\x65\144\40\x69\x6d\x70\157\x72\164\x69\156\x67\40\x75\160\x6c\x6f\x61\x64\145\144\x20\x63\157\156\146\151\147\165\x72\141\x74\151\x6f\156\163");
if (array_key_exists("\154\x64\141\160\137\x4c\x6f\147\151\156", $wq) || array_key_exists("\154\x64\x61\160\x5f\x63\157\156\146\151\147", $wq) || array_key_exists("\122\x6f\154\145\x5f\115\141\160\x70\151\x6e\x67", $wq) || array_key_exists("\101\164\164\x72\151\x62\x75\x74\x65\x5f\115\141\160\x70\151\x6e\147", $wq) || array_key_exists("\x44\x69\x72\163\x79\156\x63\x5f\x4c\144\141\160\137\124\x6f\137\127\160\x5f\x53\x79\156\143", $wq) || array_key_exists("\x44\x69\162\163\171\x6e\x63\137\127\160\137\124\x6f\x5f\114\144\x61\160\x5f\x73\171\x6e\x63", $wq)) {
goto lXg;
}
update_option("\155\x6f\137\x6c\144\141\160\x5f\x6c\x6f\x63\x61\154\x5f\155\145\163\163\x61\x67\145", "\x49\156\x63\x6f\x72\x72\145\143\164\x20\146\151\154\145\40\165\160\x6c\157\x61\x64\145\144\x21\x20\120\154\145\141\163\145\40\165\160\154\x6f\x61\144\40\x74\150\145\40\146\x69\154\x65\x20\164\150\x61\x74\x20\x77\x61\x73\x20\x65\x78\160\x6f\162\x74\145\144\40\146\x72\x6f\x6d\40\164\x68\151\x73\40\x70\x6c\x75\147\x69\x6e");
$this->show_error_message();
goto uzv;
lXg:
delete_option("\155\x6f\x5f\154\x64\141\x70\x5f\x6c\x6f\x63\141\x6c\x5f\x63\x75\163\164\x6f\155\x5f\x61\x74\x74\162\x69\142\x75\x74\x65\163");
delete_option("\155\x6f\x5f\154\x64\141\x70\x5f\x6c\157\143\x61\154\137\162\157\x6c\145\x5f\155\x61\160\160\151\x6e\x67\137\x6b\x65\x79\x5f\141\162\x72\x61\171");
delete_option("\155\x6f\137\154\x64\x61\160\x5f\x6c\157\x63\141\x6c\137\x72\157\x6c\145\x5f\x6d\x61\x70\160\x69\156\x67\137\x76\x61\154\x75\145\x5f\x61\x72\x72\141\x79");
delete_option("\x6d\157\x5f\154\144\141\x70\137\x6c\x6f\143\141\x6c\137\163\x65\x72\x76\145\x72\137\165\162\x6c\137\163\x74\x61\164\165\163");
delete_option("\155\x6f\x5f\154\144\141\x70\x5f\154\x6f\143\x61\154\x5f\x73\x65\162\x76\151\143\x65\137\x61\143\x63\157\165\x6e\x74\x5f\x73\x74\141\164\x75\163");
delete_option("\155\157\137\154\144\141\160\x5f\x6c\x6f\143\141\154\137\x75\163\x65\162\x5f\x6d\x61\160\x70\x69\156\147\137\x73\x74\x61\164\165\x73");
delete_option("\x6d\157\x5f\154\x64\x61\x70\x5f\154\157\143\141\154\x5f\165\x73\x65\162\156\141\x6d\145\137\x73\x74\x61\164\165\163");
delete_option("\155\x6f\137\x6c\144\141\x70\x5f\x6c\x6f\x63\141\154\x5f\x72\x6f\154\x65\137\x6d\x61\x70\x70\151\x6e\x67\x5f\x67\x72\157\x75\x70\x5f\156\141\155\145\163");
delete_option("\155\157\137\x6c\x64\141\160\137\x6c\157\x63\x61\154\x5f\x6c\x64\141\160\137\x70\162\157\164\x6f\143\157\x6c");
delete_option("\155\157\137\154\144\x61\160\137\x6c\157\x63\141\154\137\154\144\x61\x70\137\x73\145\162\166\x65\x72\137\x61\x64\x64\162\x65\x73\x73");
delete_option("\155\x6f\137\x6c\144\141\160\x5f\x6c\x6f\143\141\154\137\154\x64\x61\x70\137\x70\x6f\162\164\x5f\156\165\x6d\x62\x65\162");
delete_option("\x6d\157\137\154\144\141\x70\x5f\x6c\x6f\x63\141\154\137\163\x65\162\166\145\x72\137\x70\x61\x73\163\167\x6f\162\x64");
delete_option("\155\x6f\137\154\x64\x61\x70\137\x6c\157\143\141\154\x5f\162\157\x6c\x65\137\155\141\160\x70\x69\156\147\x5f\x63\x6f\165\156\164");
update_option("\155\157\x5f\x6c\x64\x61\x70\x5f\x6c\157\143\141\154\137\x65\156\141\x62\154\145\x5f\154\x6f\x67\151\156", 0);
update_option("\155\157\137\x6c\x64\141\160\x5f\x6c\157\x63\141\x6c\x5f\145\x6e\141\142\154\145\x5f\x72\x6f\154\145\x5f\155\x61\160\x70\151\x6e\147", 0);
update_option("\155\x6f\x5f\x6c\x64\x61\160\x5f\x6c\157\143\x61\x6c\x5f\145\x6e\141\142\x6c\x65\137\x61\x74\164\x72\137\x6d\x61\160\x70\x69\156\147", 0);
update_option("\x6d\x6f\137\154\144\x61\160\x5f\x6c\157\x63\x61\154\137\x65\156\141\x62\x6c\145\137\x75\x70\x64\x61\164\145\x5f\154\x64\141\160", 0);
delete_option("\x6d\x6f\x5f\154\144\141\x70\x5f\x6c\157\143\x61\x6c\137\x65\156\x61\142\154\x65\137\x62\x6f\x74\150\137\154\x6f\147\151\156");
update_option("\x6d\x6f\x5f\154\144\x61\160\x5f\154\157\143\141\x6c\x5f\162\145\x67\151\x73\164\145\x72\137\165\x73\x65\162", 0);
delete_option("\x6d\x6f\x5f\x6c\x64\x61\160\137\x6c\157\x63\x61\154\x5f\x72\145\x64\151\162\x65\x63\164\x5f\164\x6f");
delete_option("\155\x6f\x5f\154\x64\141\x70\137\154\157\143\141\154\137\x63\x75\163\164\157\155\x5f\x72\145\x64\x69\162\145\143\x74");
update_option("\155\x6f\x5f\x6c\x6f\143\x61\x6c\137\146\x69\x6c\164\145\x72\137\143\150\x65\x63\153", 0);
update_option("\x6d\x6f\x5f\x6c\144\x61\160\x5f\154\157\143\x61\x6c\137\141\x75\164\x68\157\162\151\x7a\145\x64\137\165\163\145\x72\163\x5f\x6f\x6e\154\171", 0);
update_option("\x6d\x6f\x5f\154\144\x61\160\137\x6c\x6f\143\141\154\137\153\x65\x65\160\x5f\145\170\151\163\x74\x69\x6e\147\x5f\165\x73\145\x72\x5f\x72\x6f\154\x65\x73", 0);
delete_option("\x6d\157\x5f\154\x64\x61\160\137\x6c\x6f\143\x61\154\137\165\163\145\162\156\141\x6d\x65\x5f\141\164\164\162\x69\x62\165\x74\x65");
$x1 = unserialize(Tab_ldap_Class_Names);
$JQ = $wq["\160\x6c\x75\x67\x69\156\137\x76\145\162\x73\x69\x6f\x6e"]["\x70\154\165\147\151\x6e\x5f\x76\x65\162\x73\x69\x6f\x6e"];
foreach ($wq as $Wr => $Hm) {
$EY = call_user_func($x1[$Wr] . "\x3a\x3a\147\145\x74\x43\157\x6e\163\164\141\156\164\163");
foreach ($EY as $O4 => $dH) {
if (!array_key_exists($O4, $Hm)) {
goto V2O;
}
if (!($O4 == "\155\141\160\x70\x69\x6e\147\137\x63\x6f\x75\x6e\x74")) {
goto lf;
}
$wN = $Hm[$O4];
lf:
if ($O4 == "\122\x6f\154\145\x5f\x6d\x61\x70\160\x69\x6e\x67\x5f\153\145\171") {
goto fGU;
}
if ($O4 == "\122\x6f\x6c\145\x5f\155\141\160\160\x65\144\137\x76\x61\154\165\x65") {
goto SKl;
}
if ($O4 == "\122\x6f\x6c\145\137\x6d\x61\160\160\x69\156\x67\x5f\153\145\171\x5f\x61\x72\162\x61\171") {
goto bdO;
}
if ($O4 == "\122\x6f\x6c\145\x5f\155\x61\160\x70\x69\x6e\x67\x5f\166\x61\x6c\165\x65\x5f\x61\162\162\141\x79") {
goto AMh;
}
if ($O4 == "\122\x6f\x6c\145\137\155\141\x70\160\151\x6e\x67\137\147\x72\157\x75\160\137\x6e\141\x6d\x65\x73") {
goto rBf;
}
if ($O4 == "\x63\165\163\164\x6f\x6d\x5f\x61\x74\164\x72\151\x62\x75\x74\x65\x5f\156\141\x6d\145") {
goto T6X;
}
$XO = !empty(sanitize_text_field($Hm[$O4])) ? sanitize_text_field($Hm[$O4]) : $Hm[$O4];
if (!($dH == "\x6d\157\x5f\154\144\x61\160\137\x6c\157\143\x61\154\137\163\145\162\166\x65\x72\137\x75\x72\x6c" or $dH == "\x6d\x6f\x5f\154\x64\141\x70\x5f\x6c\157\x63\141\154\137\163\x65\162\x76\x65\x72\x5f\144\x6e" or $dH == "\x6d\157\x5f\154\x64\x61\x70\x5f\154\157\x63\x61\154\137\163\145\141\162\143\150\137\x62\141\x73\145" or $dH == "\x6d\x6f\x5f\154\x64\141\160\x5f\154\157\143\141\154\137\x73\x65\x61\x72\x63\x68\x5f\x66\151\154\x74\145\162" or $dH == "\x6d\x6f\x5f\x6c\x64\141\160\x5f\x6c\x6f\143\x61\154\137\165\x73\x65\x72\156\141\155\145\x5f\141\x74\x74\x72\151\142\165\164\x65")) {
goto vyD;
}
if ($dH == "\x6d\x6f\x5f\x6c\144\x61\x70\137\154\157\x63\141\154\x5f\165\x73\x65\x72\156\141\155\x65\x5f\x61\x74\164\162\x69\x62\165\164\145") {
goto qFy;
}
$XO = Mo_Ldap_Local_Util::encrypt($XO);
goto pBS;
qFy:
if (!empty($JQ)) {
goto qAP;
}
$Ep = explode("\73", $XO);
$jY = array("\x73\x61\x6d\x61\143\143\x6f\165\x6e\164\156\141\155\x65", "\155\x61\x69\154", "\x75\163\145\x72\x70\162\x69\x6e\x63\151\160\141\154\156\x61\x6d\145", "\165\x69\x64", "\x63\156");
$XO = array();
$f2 = '';
foreach ($Ep as $O4 => $FK) {
if (in_array(strtolower($FK), $jY)) {
goto ABd;
}
$f2 = $f2 . "\x2c" . strtolower($FK);
goto eDz;
ABd:
array_push($XO, strtolower($FK));
eDz:
TjJ:
}
wdj:
if (!($f2 != '')) {
goto kH9;
}
$f2 = trim($f2, "\x2c");
update_option("\x6d\157\137\154\x64\141\x70\137\154\x6f\x63\141\154\137\145\170\164\x72\141\137\165\x73\145\x72\x5f\141\164\164\x72\x69\142\165\164\x65", $f2);
array_push($XO, "\x65\170\164\x72\141\125\163\145\162\101\x74\164\x72\x69\142\165\164\145");
kH9:
qAP:
pBS:
vyD:
update_option($dH, $XO);
goto r7i;
fGU:
if (!empty($JQ)) {
goto sdE;
}
$FH = array();
$xV = 1;
I9l:
if (!($xV <= $wN)) {
goto dm;
}
$XO = sanitize_text_field($Hm[$O4][$xV]);
$FH[$dH . $xV] = $XO;
SG:
$xV++;
goto I9l;
dm:
update_option("\x6d\157\x5f\154\144\x61\x70\x5f\x6c\157\143\x61\x6c\x5f\x72\157\154\145\x5f\155\x61\x70\160\x69\x6e\147\137\x6b\x65\x79\x5f\x72\141\x77\137\x61\x72\x72\x61\171", $FH);
sdE:
goto r7i;
SKl:
if (!empty($JQ)) {
goto TFs;
}
$Jm = array();
$xV = 1;
yNZ:
if (!($xV <= $wN)) {
goto olT;
}
$XO = sanitize_text_field($Hm[$O4][$xV]);
$Jm[$dH . $xV] = $XO;
hex:
$xV++;
goto yNZ;
olT:
update_option("\x6d\x6f\137\154\144\141\x70\x5f\154\157\x63\141\x6c\137\162\157\x6c\x65\x5f\x6d\141\160\160\x69\156\x67\x5f\x76\x61\154\x75\x65\137\162\141\x77\137\141\162\162\x61\171", $Jm);
TFs:
goto r7i;
bdO:
update_option("\155\x6f\137\x6c\x64\141\160\x5f\154\x6f\x63\141\x6c\137\162\157\154\x65\137\155\141\x70\160\151\x6e\147\137\x6b\x65\x79\137\x61\162\162\141\x79", serialize($Hm["\x52\157\x6c\145\137\x6d\141\160\x70\x69\x6e\147\137\153\x65\x79\137\141\162\162\141\x79"]));
goto r7i;
AMh:
update_option("\155\157\137\154\x64\x61\x70\137\x6c\157\x63\x61\154\x5f\162\157\154\x65\x5f\155\141\x70\x70\x69\x6e\147\137\166\141\x6c\165\145\x5f\x61\x72\x72\x61\171", serialize($Hm["\x52\157\x6c\x65\x5f\155\141\x70\x70\151\x6e\x67\137\166\141\154\x75\145\137\x61\162\162\141\x79"]));
goto r7i;
rBf:
update_option("\155\x6f\137\x6c\x64\141\x70\137\x6c\x6f\143\141\x6c\137\162\x6f\154\145\137\x6d\141\x70\x70\151\156\x67\137\147\x72\x6f\x75\x70\x5f\156\x61\155\145\x73", serialize($Hm["\122\x6f\154\x65\x5f\155\141\160\160\151\156\x67\x5f\147\x72\157\165\x70\x5f\x6e\x61\x6d\145\x73"]));
goto r7i;
T6X:
$ru = sizeof($Hm[$O4]);
$Up = array();
$xV = 1;
TTL:
if (!($xV <= $ru)) {
goto btS;
}
$XO = sanitize_text_field($Hm[$O4][$xV]);
$Up["\x6d\157\137\x6c\144\141\160\x5f\154\157\143\x61\154\x5f\x63\165\x73\164\x6f\155\137\x61\x74\164\162\151\142\165\164\x65\137" . $XO] = $XO;
YId:
$xV++;
goto TTL;
btS:
update_option("\155\157\x5f\154\x64\141\x70\x5f\154\157\x63\x61\154\x5f\x63\165\x73\x74\157\x6d\x5f\x61\164\x74\162\151\142\165\x74\x65\163", serialize(array_unique($Up)));
r7i:
V2O:
VL:
}
jn:
TP:
}
bn:
if (!empty($JQ)) {
goto vgZ;
}
error_log("\x49\x6d\x70\x6f\162\x74\x69\x6e\x67\x20\x63\150\141\x6e\x67\x65\163\x20\x66\157\162\x20\x56\x65\162\163\151\x6f\x6e\x20\62\63\x2e\60\40\x61\156\144\x20\x62\x65\x6c\x6f\167");
$US = Mo_Ldap_Local_Util::decrypt(get_option("\155\x6f\137\154\144\x61\160\137\x6c\x6f\x63\141\x6c\137\163\145\162\x76\145\162\137\x75\x72\154"));
$Ie = "\57\133\72\135\x2f";
$US = str_replace("\x2f\57", '', $US);
$uB = preg_split($Ie, $US);
update_option("\155\x6f\137\154\x64\x61\x70\x5f\154\157\x63\141\154\x5f\x6c\x64\141\x70\x5f\160\x72\x6f\x74\x6f\x63\x6f\154", $uB[0]);
update_option("\155\x6f\137\154\144\141\x70\x5f\154\x6f\x63\x61\154\x5f\x6c\x64\x61\x70\x5f\163\x65\162\x76\x65\162\137\x61\x64\144\162\x65\163\163", Mo_Ldap_Local_Util::encrypt($uB[1]));
update_option("\x6d\x6f\137\x6c\x64\x61\160\x5f\154\x6f\143\141\154\x5f\x6c\x64\141\x70\x5f\160\x6f\x72\164\x5f\x6e\x75\155\142\145\162", $uB[2]);
$wa = get_option("\155\157\137\154\x64\x61\x70\x5f\x6c\157\x63\141\x6c\137\x72\x6f\154\x65\137\155\141\x70\x70\x69\156\x67\137\x6b\145\x79\137\162\x61\x77\137\141\x72\162\141\171");
$YR = get_option("\155\x6f\137\154\144\x61\160\137\154\157\143\x61\154\137\162\157\154\x65\x5f\x6d\141\160\160\x69\156\147\137\x76\141\154\165\x65\137\162\x61\167\137\x61\162\162\141\x79");
delete_option("\155\x6f\x5f\154\144\141\x70\x5f\154\157\143\141\x6c\x5f\162\157\x6c\x65\137\155\141\x70\160\x69\156\147\x5f\153\x65\171\x5f\x72\141\x77\137\x61\x72\162\141\171");
delete_option("\x6d\157\x5f\154\144\x61\160\137\x6c\157\x63\141\154\137\x72\157\154\x65\137\155\x61\160\160\x69\156\147\137\166\x61\x6c\x75\145\x5f\162\x61\x77\x5f\x61\162\162\x61\x79");
$ec = array();
$xV = 1;
c91:
if (!($xV <= $wN)) {
goto zwQ;
}
if (empty($ec[$wa["\155\157\x5f\x6c\x64\141\160\137\x6c\x6f\143\x61\x6c\137\155\141\160\160\x69\156\x67\137\x6b\x65\171\x5f" . $xV]])) {
goto k5o;
}
$IN = $ec[$wa["\155\x6f\137\154\x64\141\x70\x5f\154\x6f\x63\x61\154\x5f\x6d\141\160\x70\151\156\147\x5f\x6b\145\x79\137" . $xV]];
array_push($IN, $YR["\155\157\x5f\154\x64\141\x70\x5f\154\157\x63\141\x6c\x5f\155\x61\x70\160\x69\x6e\147\137\x76\141\154\x75\145\x5f" . $xV]);
$ec[$wa["\x6d\157\x5f\x6c\144\x61\x70\x5f\154\x6f\x63\x61\154\x5f\x6d\x61\x70\x70\x69\156\x67\137\x6b\145\171\137" . $xV]] = $IN;
goto hgC;
k5o:
$ec[$wa["\155\157\137\x6c\144\141\x70\x5f\154\157\x63\141\x6c\x5f\x6d\141\160\160\151\156\147\x5f\x6b\x65\171\137" . $xV]] = array($YR["\x6d\x6f\x5f\154\x64\x61\160\x5f\x6c\157\x63\x61\154\x5f\155\x61\160\160\x69\156\x67\137\x76\x61\154\165\145\137" . $xV]);
hgC:
iXw:
$xV++;
goto c91;
zwQ:
$Bz = count($ec);
update_option("\x6d\157\x5f\154\x64\141\x70\137\154\157\143\141\x6c\x5f\162\157\x6c\x65\x5f\x6d\141\160\160\x69\x6e\x67\x5f\143\x6f\x75\156\x74", $Bz);
$Gu = array();
$Is = array();
$Us = array();
$xV = 1;
$cm = "\x2f\133\x3d\54\x5d\57";
foreach ($ec as $O4 => $XO) {
$Gu["\155\157\x5f\154\144\141\160\x5f\x6c\x6f\143\x61\x6c\x5f\155\x61\x70\160\151\156\x67\x5f\153\145\x79\x5f" . $xV] = $O4;
$Is["\155\x6f\137\x6c\144\141\x70\x5f\154\x6f\143\141\154\137\155\141\x70\160\151\156\147\x5f\166\141\154\x75\x65\x5f" . $xV] = $XO;
$zz = preg_split($cm, $O4);
$Us[$xV] = $zz[1];
$xV++;
oxx:
}
AgQ:
update_option("\155\x6f\137\x6c\144\x61\160\137\x6c\157\143\141\154\137\162\x6f\x6c\x65\x5f\x6d\x61\x70\x70\151\x6e\147\x5f\x6b\145\x79\137\x61\162\162\141\171", serialize($Gu));
update_option("\x6d\157\x5f\x6c\144\141\160\137\154\x6f\x63\141\154\x5f\x72\157\x6c\x65\x5f\155\x61\160\160\151\156\x67\x5f\166\x61\x6c\x75\x65\137\x61\162\x72\x61\171", serialize($Is));
update_option("\155\157\x5f\x6c\x64\141\160\137\154\157\143\141\154\137\162\x6f\x6c\x65\137\x6d\x61\160\x70\x69\x6e\147\x5f\147\x72\x6f\x75\x70\x5f\156\141\155\145\163", serialize($Us));
vgZ:
$db = get_option("\155\157\137\154\x64\x61\160\x5f\154\157\143\x61\154\x5f\x75\163\145\162\156\141\155\145\137\141\164\x74\x72\x69\142\165\x74\145");
if (!empty($db)) {
goto dgh;
}
update_option("\155\x6f\x5f\154\x6f\143\x61\154\x5f\x66\151\154\x74\145\162\137\143\150\145\x63\153", 1);
dgh:
update_option("\x6d\x6f\x5f\154\144\141\160\x5f\x6c\157\143\141\x6c\x5f\x6d\145\x73\x73\141\147\x65", "\124\150\x65\40\146\x69\154\145\40\x77\141\x73\x20\x69\155\x70\157\162\x74\x65\x64\x20\163\165\x63\143\x65\163\x73\x66\x75\x6c\x6c\x79");
$this->show_success_message();
uzv:
ZF3:
goto N0;
case "\155\x6f\x5f\x6c\144\141\160\x5f\x6c\157\143\x61\x6c\x5f\146\141\154\x6c\142\x61\x63\153\137\154\157\x67\151\156":
update_option("\x6d\157\137\x6c\144\x61\160\x5f\x6c\x6f\x63\x61\x6c\x5f\145\156\x61\x62\154\145\137\x66\141\154\154\142\141\x63\x6b\137\154\x6f\x67\151\156", isset($_POST["\155\157\137\x6c\x64\x61\x70\137\x6c\157\143\141\x6c\x5f\145\x6e\141\x62\154\145\x5f\x66\x61\x6c\154\142\x61\143\153\137\x6c\157\147\x69\x6e"]) ? $_POST["\x6d\x6f\x5f\154\x64\x61\160\x5f\154\157\143\x61\154\x5f\145\x6e\x61\x62\x6c\x65\137\146\x61\154\x6c\142\x61\143\153\137\x6c\157\x67\151\x6e"] : 0);
update_option("\155\157\x5f\x6c\x64\x61\160\x5f\x6c\x6f\x63\x61\x6c\137\x6d\x65\163\163\141\147\145", "\106\x61\154\154\142\x61\143\x6b\x20\154\x6f\147\x69\156\x20\x75\x73\151\x6e\147\40\x57\157\x72\x64\x50\162\x65\x73\x73\x20\160\x61\x73\x73\x77\x6f\x72\144\x20\145\x6e\141\x62\x6c\x65\144");
$this->show_success_message();
goto N0;
case "\x6d\x6f\137\154\x64\141\x70\137\163\x61\x76\145\x5f\x72\145\x73\164\x72\x69\143\x74\137\x6c\157\147\151\156\137\x62\171\x5f\x72\x6f\154\x65":
$xA = isset($_POST["\x6d\157\137\x6c\144\141\x70\x5f\x6c\x6f\x63\141\x6c\x5f\162\x65\x73\x74\162\x69\x63\x74\137\x75\x73\x65\162\x5f\142\171\x5f\x72\157\x6c\145"]) ? $_POST["\155\x6f\x5f\x6c\144\x61\160\137\x6c\x6f\x63\x61\x6c\137\x72\145\163\x74\162\x69\x63\164\137\165\163\145\162\137\x62\171\137\162\157\154\x65"] : 0;
update_option("\x6d\157\x5f\x6c\144\141\x70\137\145\156\x61\x62\154\145\x5f\x72\157\x6c\x65\137\162\x65\x73\x74\x72\151\x63\164\151\x6f\x6e", $xA);
$ix = empty($_POST["\155\157\137\x6c\x64\x61\x70\137\162\x65\163\x74\162\x69\143\x74\137\x72\x6f\154\x65"]) ? array() : $_POST["\155\157\x5f\x6c\x64\x61\160\137\x72\x65\x73\164\162\x69\x63\164\137\x72\x6f\154\x65"];
update_option("\155\x6f\137\154\144\x61\x70\137\162\145\x73\164\x72\x69\143\x74\x65\x64\137\154\157\x67\x69\156\137\162\157\x6c\145\x73", serialize($ix));
goto N0;
}
q4:
N0:
PYH:
if (!(isset($_POST["\157\160\164\x69\157\156"]) && strcasecmp($_POST["\157\x70\164\x69\x6f\156"], "\x6d\157\137\x6c\x64\x61\160\x5f\146\145\x65\144\x62\141\143\x6b") == 0)) {
goto W3r;
}
$user = wp_get_current_user();
$Bi = "\121\x75\x65\x72\x79\x20\x3a\x5b\x57\x6f\x72\144\120\x72\145\x73\x73\40\114\104\101\x50\57\101\104\x20\120\154\165\x67\151\x6e\x3a\x5d\x20\x50\x6c\x75\x67\151\156\x20\x44\x65\141\143\164\x69\x76\x61\164\x65\x64\x3a\x20";
$lB = array_key_exists("\161\165\x65\x72\171\x5f\146\x65\x65\144\142\141\143\153", $_POST) ? sanitize_textarea_field(wp_unslash($_POST["\161\x75\145\162\171\x5f\146\x65\x65\144\142\x61\143\153"])) : false;
$dS = '';
if (!isset($_POST["\147\145\164\x5f\162\x65\x70\154\x79"])) {
goto mBG;
}
$dS = sanitize_text_field(wp_unslash($_POST["\147\145\x74\137\x72\x65\160\x6c\x79"]));
mBG:
if (empty($dS)) {
goto z21;
}
$dS = "\131\x45\x53";
$Bi .= "\x3c\x73\164\x72\x6f\156\147\76\x3c\x73\160\141\x6e\40\163\x74\x79\154\145\75\42\143\x6f\x6c\x6f\162\72\40\x67\162\145\145\156\x3b\x22\x3e\x5b\106\157\154\154\x6f\167\40\x75\160\x20\116\x65\145\x64\145\144\x20\72\x20" . $dS . "\135\x3c\57\163\164\x72\157\156\x67\x3e\74\57\163\x70\x61\156\76\74\142\162\76";
goto qr9;
z21:
$dS = "\x4e\117";
$Bi .= "\x3c\163\164\x72\x6f\156\147\x3e\74\x73\x70\x61\156\x20\163\164\171\154\145\75\x22\143\157\x6c\157\x72\x3a\x20\x72\x65\144\73\42\x3e\x5b\x46\157\x6c\x6c\157\x77\40\x75\x70\x20\x4e\145\x65\144\x65\144\x20\72\40" . $dS . "\135\x3c\57\163\x74\x72\x6f\x6e\x67\76\74\57\163\160\x61\x6e\x3e\74\x62\x72\76\x20";
qr9:
if (empty($lB)) {
goto YZK;
}
$Bi .= "\x3c\x62\162\x3e\106\x65\145\x64\142\x61\143\153\x20\x3a\40" . $lB . "\x3c\142\x72\76";
YZK:
$a1 = !empty(get_option("\155\157\x5f\154\144\x61\160\x5f\x70\x6c\165\147\151\156\137\166\x65\162\x73\151\157\156")) ? get_option("\155\157\x5f\x6c\x64\141\160\137\x70\154\x75\147\151\156\x5f\x76\145\x72\163\x69\x6f\156") : "\62\x37\56\x30\56\x30";
$Bi .= "\74\x62\162\x3e\103\165\162\x72\145\156\x74\x20\x56\145\162\x73\151\157\156\40\x49\156\163\x74\141\x6c\154\x65\144\40\x3a\40" . $a1 . "\x3c\142\162\76";
if (!isset($_POST["\162\x61\164\x65"])) {
goto hls;
}
$qy = sanitize_text_field(wp_unslash($_POST["\x72\141\164\145"]));
$Bi .= "\74\x62\x72\76\133\122\x61\x74\x69\x6e\x67\x20\x3a\x20" . $qy . "\135\74\x62\x72\x3e";
hls:
$uY = isset($_POST["\x71\x75\145\162\x79\137\x6d\141\x69\154"]) ? sanitize_email(wp_unslash($_POST["\161\165\x65\x72\x79\x5f\155\x61\151\154"])) : '';
$gb = "\127\x6f\162\x64\x50\x72\145\x73\x73\x20\114\x44\x41\x50\57\101\104\40\x50\154\x75\x67\x69\156\x20\106\x65\145\x64\x62\x61\x63\153\40\50\x50\x72\x65\x6d\151\x75\155\40\120\x6c\x75\147\151\x6e\51\x2d\x20" . $uY;
if (filter_var($uY, FILTER_VALIDATE_EMAIL)) {
goto WZr;
}
$uY = get_option("\155\157\x5f\154\x64\141\160\137\154\157\x63\x61\x6c\137\x61\144\x6d\151\x6e\x5f\145\155\x61\151\x6c");
if (!empty($uY)) {
goto h1N;
}
$uY = $user->user_email;
h1N:
WZr:
$So = isset($_POST["\x63\x6f\x6d\x70\x61\156\x79"]) ? sanitize_text_field(wp_unslash($_POST["\x63\x6f\155\160\x61\156\x79"])) : '';
$l5 = new Mo_Ldap_Local_Customer();
if (is_null($l5)) {
goto LzT;
}
$zm = json_decode($l5->send_email_alert($gb, $uY, $Bi, $So), true);
if (!(json_last_error() === JSON_ERROR_NONE)) {
goto V6O;
}
if (is_array($zm) && array_key_exists("\163\x74\141\x74\165\163", $zm) && strcasecmp($zm["\163\x74\141\164\x75\163"], "\x45\122\x52\x4f\122") === 0) {
goto dDh;
}
if ($zm) {
goto QsP;
}
update_option("\155\x6f\137\154\x64\x61\160\137\154\157\x63\141\x6c\137\155\x65\x73\163\x61\x67\145", "\x45\162\x72\157\162\x20\x77\150\151\x6c\x65\x20\x73\x75\x62\x6d\x69\x74\164\x69\x6e\x67\x20\164\x68\145\x20\161\x75\145\x72\171\56");
$this->show_error_message();
QsP:
goto lD7;
dDh:
update_option("\x6d\x6f\x5f\x6c\x64\141\160\x5f\x6c\157\143\141\154\x5f\x6d\145\163\x73\x61\x67\145", $zm["\x6d\145\x73\163\141\147\x65"]);
$this->show_error_message();
lD7:
V6O:
deactivate_plugins(__FILE__);
update_option("\155\x6f\x5f\154\144\x61\160\x5f\154\x6f\143\141\x6c\137\155\145\163\x73\x61\147\145", "\124\150\141\156\x6b\x20\171\x6f\x75\x20\x66\x6f\x72\x20\164\x68\145\40\146\145\x65\144\x62\141\x63\x6b\56");
$this->show_success_message();
wp_safe_redirect("\x70\x6c\165\x67\x69\156\x73\x2e\x70\x68\x70");
exit;
LzT:
W3r:
if (!(isset($_POST["\x6f\160\x74\151\157\x6e"]) && strcasecmp($_POST["\x6f\160\x74\151\157\x6e"], "\x6d\157\137\154\x64\141\160\x5f\x73\x6b\151\x70\x5f\x66\145\145\x64\142\x61\x63\x6b") == 0)) {
goto jTo;
}
deactivate_plugins(__FILE__);
update_option("\x6d\157\x5f\154\144\x61\160\137\x6c\x6f\143\141\154\137\x6d\x65\x73\163\141\147\145", "\120\154\x75\147\151\156\40\x64\x65\141\143\x74\151\x76\141\164\145\x64\x20\163\165\x63\143\145\x73\163\146\165\x6c\x6c\171\56");
$this->deactivate_error_message();
jTo:
}
function mo_ldap_send_query($uY, $ZX, $PI)
{
if (Mo_Ldap_Local_Util::check_empty_or_null($uY) || Mo_Ldap_Local_Util::check_empty_or_null($PI)) {
goto CiP;
}
$Ys = new Mo_Ldap_Local_Customer();
$zm = json_decode($Ys->submit_contact_us($uY, $ZX, $PI), true);
if (isset($zm["\x73\164\141\164\x75\x73"]) && strcasecmp($zm["\x73\164\x61\164\x75\163"], "\x43\125\122\x4c\137\105\x52\x52\x4f\x52") == 0) {
goto X2J;
}
if (json_last_error() == JSON_ERROR_NONE) {
goto dJD;
}
goto Mtn;
X2J:
update_option("\155\x6f\x5f\154\x64\x61\160\x5f\x6c\x6f\x63\x61\154\x5f\x6d\x65\x73\163\x61\147\145", $zm["\163\x74\141\x74\165\163\115\145\163\163\141\147\145"]);
$this->show_error_message();
goto Mtn;
dJD:
if ($zm == false) {
goto Zn_;
}
update_option("\x6d\157\137\154\x64\x61\x70\x5f\154\x6f\143\x61\154\137\x6d\x65\x73\163\141\x67\x65", "\124\x68\141\x6e\x6b\x73\x20\x66\x6f\162\40\147\145\164\x74\151\x6e\x67\40\x69\x6e\40\x74\157\x75\x63\x68\41\x20\x57\x65\40\x73\x68\x61\154\x6c\x20\x67\x65\164\40\x62\141\143\x6b\x20\164\x6f\x20\171\x6f\165\40\x73\150\x6f\162\164\x6c\x79\x2e");
$this->show_success_message();
goto bvk;
Zn_:
update_option("\155\x6f\137\x6c\144\x61\160\x5f\x6c\157\143\141\x6c\137\155\x65\163\x73\141\x67\145", "\131\x6f\165\162\40\161\x75\x65\162\x79\40\x63\157\x75\154\144\40\156\157\164\x20\x62\145\40\x73\165\x62\155\x69\164\x74\x65\x64\56\x20\120\154\x65\141\163\x65\x20\164\162\171\x20\141\x67\141\x69\156\56");
$this->show_error_message();
bvk:
Mtn:
goto xb0;
CiP:
update_option("\155\x6f\x5f\x6c\x64\141\160\137\154\x6f\x63\x61\x6c\137\155\145\163\x73\x61\147\x65", "\120\x6c\145\141\163\x65\40\163\165\142\155\151\164\40\x79\157\165\162\40\x71\165\x65\x72\171\40\x61\x6c\157\156\x67\x20\167\151\x74\150\40\145\x6d\x61\x69\154\x2e");
$this->show_error_message();
return;
xb0:
}
function miniorange_ldap_export()
{
if (!(array_key_exists("\x6f\x70\x74\x69\x6f\156", $_POST) && $_POST["\x6f\x70\x74\151\157\x6e"] == "\x6d\157\137\154\x64\141\x70\137\145\170\160\157\162\164")) {
goto J6H;
}
$E3 = get_option("\141\143\x74\x69\x76\x65\x5f\160\x6c\165\147\151\x6e\163");
$zS = in_array("\144\151\x72\x65\x63\164\x6f\162\171\137\163\171\x6e\x63\57\144\151\162\145\x63\164\x6f\x72\171\x5f\x73\171\156\x63\56\160\x68\160", $E3);
$PS = array("\104\151\162\163\x79\x6e\x63\x5f\114\x64\x61\x70\137\x54\157\x5f\x57\x70\137\x53\171\x6e\143" => "\155\157\x5f\157\160\x74\x69\157\x6e\137\x6c\144\x61\x70\x5f\x64\x69\x72\x73\171\156\x63\137\154\x64\x61\160\x5f\x74\x6f\137\167\x70\x5f\x73\171\156\x63", "\x44\151\x72\x73\x79\x6e\143\137\x57\x70\x5f\124\x6f\137\x4c\144\x61\x70\x5f\163\x79\x6e\x63" => "\155\157\137\x6f\x70\x74\151\157\x6e\137\154\x64\141\x70\137\x64\151\162\x73\171\156\x63\x5f\x77\x70\x5f\x74\x6f\137\x6c\x64\141\160\x5f\x73\171\156\x63");
$x1 = unserialize(Tab_ldap_Class_Names);
$W3 = get_option("\155\157\137\144\151\x72\163\171\x6e\x63\137\154\x64\x61\x70\137\164\x6f\x5f\x77\160\x5f\143\x6f\x6e\x66\151\147\x5f\x64\157\x6e\x65");
$Sl = get_option("\x6d\x6f\x5f\x64\x69\x72\x73\171\x6e\x63\137\x77\x70\x5f\164\157\x5f\x6c\144\141\x70\137\x63\157\156\146\x69\x67\137\144\x6f\156\145");
if (!$zS) {
goto p77;
}
if ($W3) {
goto atn;
}
if (!array_key_exists("\104\151\x72\163\171\x6e\x63\137\114\144\x61\x70\x5f\x54\157\x5f\127\x70\x5f\x53\171\156\x63", $x1)) {
goto ow2;
}
unset($x1["\104\x69\162\x73\x79\x6e\143\x5f\x4c\x64\x61\160\x5f\x54\x6f\x5f\x57\160\137\123\x79\x6e\x63"]);
ow2:
atn:
if ($Sl) {
goto WWy;
}
if (!array_key_exists("\104\151\x72\x73\171\x6e\x63\x5f\x57\x70\137\124\157\137\x4c\x64\141\x70\x5f\163\171\x6e\143", $x1)) {
goto ppE;
}
unset($x1["\x44\151\x72\163\x79\x6e\x63\137\127\x70\x5f\124\157\x5f\114\144\x61\x70\137\163\171\x6e\143"]);
ppE:
WWy:
goto BWV;
p77:
foreach ($PS as $qA => $dH) {
if (!array_key_exists($qA, $x1)) {
goto ebF;
}
unset($x1[$qA]);
ebF:
Iq0:
}
YVK:
BWV:
$wq = array();
foreach ($x1 as $O4 => $XO) {
$wq[$O4] = $this->mo_get_configuration_array($XO);
fD8:
}
b4I:
header("\x43\x6f\x6e\164\x65\156\164\55\x44\151\x73\x70\x6f\x73\151\164\151\157\x6e\x3a\40\141\x74\164\x61\143\x68\155\145\156\x74\73\40\x66\x69\154\145\156\141\155\145\x3d\155\151\x6e\x69\x6f\162\x61\x6e\x67\x65\55\x6c\144\141\x70\x2d\143\x6f\x6e\x66\x69\x67\56\152\x73\157\156");
echo json_encode($wq, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
exit;
J6H:
}
function mo_get_configuration_array($B5)
{
$EY = call_user_func($B5 . "\72\72\x67\145\x74\x43\157\156\x73\164\141\156\x74\x73");
$wN = get_option("\x6d\x6f\x5f\154\144\x61\160\137\x6c\157\x63\x61\x6c\137\162\157\154\x65\x5f\x6d\141\160\160\151\156\147\x5f\143\157\165\x6e\164");
$lm = array();
$MJ = array();
$dY = array();
$DR = array();
foreach ($EY as $O4 => $XO) {
if ($XO == "\x6d\157\137\x6c\x64\x61\x70\x5f\x6c\x6f\143\x61\x6c\x5f\163\145\x72\x76\x65\x72\137\165\x72\154" or $XO == "\155\157\137\154\144\141\160\x5f\154\x6f\x63\141\154\137\163\x65\162\166\x65\162\x5f\160\x61\x73\163\x77\157\x72\144" or $XO == "\155\157\x5f\x6c\x64\141\160\x5f\154\157\x63\x61\x6c\137\163\145\x72\166\145\162\137\x64\156" or $XO == "\x6d\x6f\137\x6c\x64\x61\160\x5f\x6c\x6f\x63\x61\x6c\x5f\x73\x65\141\162\x63\x68\x5f\142\141\x73\145" or $XO == "\x6d\x6f\137\154\x64\x61\160\137\154\157\x63\x61\x6c\137\163\145\141\x72\143\x68\137\146\151\x6c\164\145\x72" or $XO == "\155\x6f\x5f\154\x64\x61\x70\x5f\x6c\x6f\x63\141\154\x5f\x75\163\145\x72\156\141\x6d\x65\137\141\x74\164\x72\151\x62\x75\164\x65") {
goto p3U;
}
$fT = 0;
goto gjm;
p3U:
$fT = 1;
gjm:
if ($XO == "\155\157\137\154\144\x61\160\x5f\154\157\143\141\154\137\155\141\160\x70\151\156\x67\137\x6b\x65\x79\x5f") {
goto PGr;
}
if ($XO == "\155\x6f\x5f\x6c\x64\x61\160\137\x6c\157\143\x61\x6c\x5f\155\141\x70\160\151\x6e\147\137\166\x61\154\x75\x65\x5f") {
goto aB4;
}
if ($XO == "\155\157\x5f\154\x64\141\160\137\154\157\x63\x61\154\137\x63\x75\163\x74\157\155\137\141\164\164\162\151\x62\x75\x74\145\x5f") {
goto J9c;
}
$Fc = get_option($XO);
goto ta7;
PGr:
$AD = unserialize(get_option("\x6d\x6f\137\154\144\141\160\137\x6c\157\x63\x61\x6c\137\x72\x6f\x6c\145\137\x6d\141\160\x70\x69\156\147\x5f\153\x65\171\137\141\162\x72\x61\x79"));
$xV = 1;
uDy:
if (!($xV <= $wN)) {
goto e3B;
}
$MJ[$xV] = $AD[$XO . $xV];
AsT:
$xV++;
goto uDy;
e3B:
$Fc = $MJ;
goto ta7;
aB4:
$wW = unserialize(get_option("\x6d\157\137\154\144\141\x70\x5f\x6c\x6f\x63\141\x6c\137\x72\157\x6c\x65\137\155\x61\160\160\x69\x6e\x67\137\166\x61\x6c\165\x65\x5f\141\162\162\x61\x79"));
$xV = 1;
R4e:
if (!($xV <= $wN)) {
goto w9Q;
}
$dY[$xV] = $wW[$XO . $xV];
t1D:
$xV++;
goto R4e;
w9Q:
$Fc = $dY;
goto ta7;
J9c:
$bn = unserialize(get_option("\155\157\137\154\x64\x61\x70\137\x6c\x6f\143\x61\x6c\137\143\165\163\x74\x6f\x6d\x5f\x61\164\x74\162\x69\142\x75\x74\145\x73"));
$xV = 1;
foreach ($bn as $xS => $XO) {
$DR[$xV++] = $XO;
QoZ:
}
T23:
$Fc = $DR;
ta7:
if (!$Fc) {
goto QjW;
}
if (!(@unserialize(strval($Fc)) !== false)) {
goto JvS;
}
$Fc = unserialize(strval($Fc));
JvS:
if ($fT == 1) {
goto xHQ;
}
if ($XO == "\x6d\x6f\x5f\x6c\144\141\x70\137\x6c\157\143\x61\x6c\x5f\x6f\x75\x5f\x72\x6f\x6c\145\137\155\x61\x70\x70\151\x6e\x67\x5f\x6f\x70\164\x69\157\x6e\x73" || $XO == "\155\x6f\x5f\x6c\x64\141\160\x5f\x72\145\x73\164\x72\x69\143\164\145\x64\x5f\154\157\147\151\x6e\137\162\157\154\x65\163") {
goto Mo8;
}
$lm[$O4] = $Fc;
goto zqO;
Mo8:
$lm[$O4] = serialize($Fc);
zqO:
goto ZaT;
xHQ:
if ($XO == "\x6d\x6f\137\154\144\141\x70\x5f\x6c\x6f\143\x61\154\x5f\x73\x65\162\x76\145\x72\137\x70\141\163\x73\167\x6f\x72\x64" and get_option("\x6d\x6f\137\x6c\144\x61\x70\x5f\x65\170\160\x6f\x72\x74") == "\x30") {
goto sMU;
}
if ($XO == "\155\x6f\137\x6c\x64\x61\160\x5f\x6c\x6f\x63\x61\154\137\163\145\x72\x76\x65\x72\137\x70\141\163\x73\167\157\162\144" and get_option("\x6d\157\x5f\x6c\144\x61\x70\x5f\x65\170\x70\157\162\x74") == "\x31") {
goto JAP;
}
if ($O4 == "\165\163\145\162\x5f\141\164\164\162") {
goto nJT;
}
$lm[$O4] = Mo_Ldap_Local_Util::decrypt($Fc);
goto LFh;
sMU:
goto P5B;
goto LFh;
JAP:
$lm[$O4] = $Fc;
goto LFh;
nJT:
$lm[$O4] = $Fc;
LFh:
ZaT:
QjW:
P5B:
}
gxd:
return $lm;
}
function auto_email_ldap_export()
{
$J5 = get_option("\155\x6f\x5f\x6c\144\x61\160\137\x6c\157\143\141\x6c\137\144\x69\162\x65\x63\x74\157\x72\171\137\163\145\x72\x76\x65\162");
$Ge = get_option("\155\157\x5f\154\144\141\160\x5f\154\157\x63\x61\154\137\x73\145\162\166\x65\162\x5f\x75\x72\x6c") ? Mo_Ldap_Local_Util::decrypt(get_option("\x6d\x6f\x5f\x6c\144\141\x70\137\x6c\157\x63\141\154\137\x73\145\162\x76\145\x72\137\x75\x72\x6c")) : '';
$gm = get_option("\155\x6f\137\x6c\144\141\160\x5f\154\x6f\143\141\154\137\x73\145\162\x76\145\x72\x5f\x64\156") ? Mo_Ldap_Local_Util::decrypt(get_option("\155\157\137\x6c\144\141\160\x5f\154\157\143\141\x6c\137\x73\x65\162\x76\145\162\x5f\x64\x6e")) : '';
$HD = get_option("\155\x6f\x5f\x6c\x64\x61\160\137\x6c\x6f\x63\141\x6c\137\x73\x65\141\162\143\150\137\x62\141\x73\145") ? Mo_Ldap_Local_Util::decrypt(get_option("\x6d\x6f\137\154\144\141\x70\x5f\x6c\157\x63\141\x6c\137\x73\x65\141\162\143\150\x5f\x62\x61\163\145")) : '';
$OP = get_option("\x6d\157\137\x6c\x64\x61\160\137\x6c\157\x63\x61\154\x5f\x73\x65\141\x72\143\150\137\146\151\x6c\164\145\162") ? Mo_Ldap_Local_Util::decrypt(get_option("\155\x6f\x5f\154\144\x61\x70\x5f\x6c\x6f\143\x61\154\137\x73\145\x61\162\x63\x68\x5f\146\x69\x6c\x74\x65\x72")) : '';
$eg = array("\104\151\162\x65\x63\164\157\x72\171\40\123\145\x72\x76\145\162" => "\x44\151\162\145\143\x74\x6f\x72\171\40\123\x65\x72\166\x65\x72\72\40\40" . $J5, "\x4c\104\101\x50\x20\x53\x65\x72\166\145\162" => "\114\104\x41\120\x20\x53\145\162\166\145\x72\x3a\x20\40" . $Ge, "\123\145\x72\166\x69\x63\145\x20\101\143\143\x6f\165\x6e\164\x20\104\116" => "\x53\x65\x72\166\x69\x63\145\40\x41\143\x63\x6f\x75\x6e\x74\x20\104\116\x3a\40\x20" . $gm, "\123\145\141\162\x63\x68\40\x42\141\x73\x65" => "\123\x65\x61\162\x63\x68\x20\x42\x61\x73\x65\x3a\x20\40" . $HD, "\114\x44\101\x50\x20\123\145\x61\x72\x63\150\40\x46\151\154\164\145\162" => "\x4c\x44\101\x50\40\x53\x65\x61\x72\143\150\x20\x46\x69\154\x74\x65\x72\x3a\40\x20" . $OP);
return $eg;
}
function test_attribute_configuration()
{
$w1 = apply_filters("\x6d\157\x5f\143\x68\145\143\x6b\137\x63\157\x6e\x66\151\x67", '');
if (!(is_user_logged_in() && $w1)) {
goto Mr3;
}
if (!(current_user_can("\x61\144\155\151\x6e\x69\x73\x74\x72\141\x74\x6f\162") && isset($_REQUEST["\x6f\x70\164\151\x6f\156"]))) {
goto o6X;
}
if ($_REQUEST["\x6f\160\x74\151\x6f\x6e"] == "\164\145\163\164\x61\164\164\x72\x63\x6f\x6e\x66\x69\147") {
goto h_t;
}
if ($_REQUEST["\157\x70\x74\151\157\156"] == "\x74\145\163\x74\x72\x6f\x6c\145\155\x61\x70\160\x69\x6e\x67\143\x6f\x6e\x66\x69\x67") {
goto NXu;
}
if ($_REQUEST["\x6f\160\164\151\x6f\x6e"] == "\x73\145\x61\162\143\x68\x62\x61\163\x65\x6c\x69\x73\164") {
goto CJH;
}
if ($_REQUEST["\157\x70\164\151\157\156"] == "\x66\145\x63\164\150\x61\164\164\x72\151\142\165\x74\145\x73\146\x6f\x72\x6c\x64\x61\160\163\x65\x72\x76\145\x72") {
goto Lh2;
}
goto nsy;
h_t:
$BB = $_REQUEST["\165\163\145\162"];
$Kv = new Mo_Ldap_Local_Config();
$Kv->test_attribute_configuration($BB);
goto nsy;
NXu:
$BB = $_REQUEST["\x75\x73\145\x72"];
$nt = new Mo_Ldap_Local_Role_Mapping();
$nt->test_configuration($BB);
goto nsy;
CJH:
$Kv = new Mo_Ldap_Local_Config();
$Kv->show_search_bases_list();
goto nsy;
Lh2:
$J5 = get_option("\155\157\x5f\154\144\x61\x70\137\144\151\162\x65\x63\164\x6f\x72\171\137\163\x65\x72\x76\x65\x72\x5f\x76\x61\x6c\x75\145");
$Pn = new DirectoryFactory();
$Pn = $Pn->selectDirectorySystem($J5);
$Kv = new Mo_Ldap_Local_Config();
$Kv->show_all_ldap_attributes($Pn);
nsy:
o6X:
Mr3:
}
function save_success_customer_config($BQ, $b6, $I6, $Bi)
{
update_option("\x6d\x6f\137\x6c\x64\141\x70\137\x6c\157\x63\x61\x6c\x5f\x61\x64\x6d\x69\x6e\x5f\x63\x75\163\x74\157\x6d\145\162\x5f\x6b\145\x79", $BQ);
update_option("\155\x6f\137\x6c\144\x61\x70\x5f\154\x6f\143\x61\154\x5f\x61\144\x6d\151\x6e\137\141\160\151\x5f\x6b\145\x79", $b6);
update_option("\155\x6f\137\x6c\x64\141\x70\x5f\154\157\143\141\154\137\x63\165\x73\x74\x6f\155\x65\162\x5f\x74\x6f\x6b\145\156", $I6);
update_option("\155\157\x5f\x6c\x64\141\160\137\154\x6f\143\141\x6c\137\x70\x61\163\163\x77\157\162\144", '');
update_option("\155\x6f\x5f\x6c\144\x61\x70\137\x6c\157\x63\x61\154\x5f\155\x65\163\x73\141\x67\145", $Bi);
$this->show_success_message();
}
function mo_ldap_local_settings_style()
{
wp_enqueue_style("\x6d\x6f\137\x6c\x64\141\x70\137\141\x64\x6d\151\x6e\x5f\x73\x65\x74\x74\151\x6e\x67\163\137\x73\x74\171\154\x65", plugins_url("\x69\156\x63\x6c\x75\144\x65\163\57\x63\x73\163\x2f\x73\x74\171\154\145\x5f\x73\145\x74\164\x69\x6e\147\163\x2e\x6d\x69\x6e\x2e\x63\163\x73", __FILE__), array(), "\x32\x37\x2e\x30\x2e\x30");
wp_enqueue_style("\x6d\x6f\x5f\x6c\x64\x61\160\x5f\x61\144\x6d\151\156\x5f\163\x65\x74\x74\x69\156\147\x73\x5f\160\x68\157\x6e\145\137\x73\x74\x79\154\145", plugins_url("\x69\x6e\143\x6c\165\x64\x65\x73\x2f\143\x73\163\x2f\x70\150\157\x6e\145\x2e\155\151\x6e\x2e\x63\x73\163", __FILE__), array(), "\62\67\x2e\60\56\60");
wp_enqueue_style("\x6d\x6f\x5f\154\144\x61\160\x5f\x61\144\155\151\x6e\137\154\144\x61\x70\x5f\x70\x6c\165\147\x69\x6e\137\x73\x74\171\154\145", plugins_url("\x69\x6e\143\154\165\144\145\x73\x2f\143\x73\x73\57\x6d\x6f\137\x6c\144\x61\160\x5f\160\154\x75\x67\x69\x6e\x73\137\160\141\x67\145\x2e\155\151\x6e\x2e\x63\163\x73", __FILE__), array(), "\x32\67\x2e\x30\56\x30");
wp_enqueue_style("\x6d\x6f\137\x6c\x64\x61\160\x5f\141\144\x6d\x69\156\137\146\157\156\164\137\x61\167\163\x6f\155\x65", plugins_url("\151\x6e\143\x6c\165\144\145\x73\x2f\x66\x6f\156\164\163\x2f\143\163\163\x2f\146\x6f\156\164\x2d\x61\167\x65\163\157\x6d\x65\x2e\155\151\x6e\x2e\143\163\163", __FILE__), array(), "\62\x37\56\x30\x2e\60");
}
function mo_ldap_local_settings_script()
{
wp_enqueue_script("\x6d\157\137\154\x64\141\x70\137\141\x64\x6d\151\x6e\x5f\163\145\x74\164\151\156\x67\163\x5f\160\x68\x6f\x6e\145\x5f\x73\x63\162\151\x70\x74", plugins_url("\151\156\x63\x6c\165\144\x65\163\x2f\x6a\163\x2f\x70\150\x6f\x6e\145\x2e\x6a\163", __FILE__), array(), "\62\67\56\x30\56\60", false);
wp_enqueue_script("\x6d\157\x5f\154\144\x61\160\137\x61\144\155\x69\156\x5f\x73\x65\164\x74\151\x6e\x67\x73\137\x73\x63\x72\151\x70\x74", plugins_url("\151\x6e\143\x6c\165\144\x65\x73\x2f\x6a\x73\x2f\x73\145\164\x74\x69\x6e\147\163\x5f\x70\141\147\x65\x2e\152\x73", __FILE__), array("\x6a\x71\x75\x65\162\x79"), "\x32\67\x2e\x30\x2e\x30", false);
}
private function deactivate_error_message()
{
$W8 = "\145\162\x72\x6f\162";
$Bi = get_option("\155\x6f\137\154\x64\141\160\137\x6c\157\x63\x61\x6c\137\155\x65\x73\163\141\147\x65");
$cS = array("\141" => array("\150\162\145\146" => array(), "\164\x69\x74\154\x65" => array()), "\142\162" => array(), "\x65\155" => array(), "\x73\x74\162\157\x6e\147" => array(), "\142" => array(), "\150\61" => array(), "\150\62" => array(), "\150\x33" => array(), "\x68\64" => array(), "\150\65" => array(), "\150\x36" => array(), "\151" => array());
echo "\x3c\144\151\166\x20\x69\x64\x3d\47\x65\x72\162\157\x72\47\x20\143\x6c\x61\x73\x73\x3d\x27" . esc_attr($W8) . "\x27\76\x20\74\x70\76" . wp_kses($Bi, $cS) . "\x3c\x2f\x70\x3e\x3c\57\144\151\166\x3e";
}
function error_message()
{
$W8 = "\145\162\x72\157\162";
$Bi = get_option("\155\157\137\x6c\144\x61\160\137\154\157\x63\x61\x6c\137\x6d\x65\163\163\x61\147\145");
echo "\x3c\144\x69\x76\40\x69\144\x3d\47\145\162\x72\x6f\162\x27\x20\x63\154\x61\x73\163\x3d\47" . $W8 . "\47\x3e\40\74\x70\76" . $Bi . "\74\57\x70\x3e\x3c\57\x64\x69\x76\x3e";
}
function success_message()
{
$W8 = "\x75\x70\x64\x61\x74\145\144";
$Bi = get_option("\155\157\x5f\154\144\x61\x70\137\x6c\157\x63\x61\x6c\x5f\x6d\145\x73\163\141\x67\145");
echo "\74\144\151\166\40\151\144\75\x27\x73\165\143\x63\x65\x73\163\x27\x20\x63\x6c\x61\163\x73\x3d\x27" . $W8 . "\x27\76\40\74\x70\x3e" . $Bi . "\74\x2f\x70\x3e\x3c\x2f\144\151\x76\x3e";
}
function show_success_message()
{
remove_action("\141\x64\x6d\x69\156\137\156\x6f\x74\151\143\x65\x73", array($this, "\x65\162\162\x6f\162\137\155\x65\x73\163\141\x67\145"));
add_action("\141\144\155\151\x6e\x5f\x6e\x6f\164\x69\x63\x65\163", array($this, "\x73\x75\143\x63\x65\x73\163\x5f\x6d\145\163\163\141\147\145"));
}
function show_error_message()
{
remove_action("\141\144\155\x69\156\x5f\x6e\x6f\164\x69\143\145\163", array($this, "\163\165\143\143\x65\163\163\x5f\155\145\163\163\x61\147\x65"));
add_action("\x61\x64\155\151\x6e\137\156\157\164\x69\143\x65\x73", array($this, "\x65\162\162\157\162\x5f\x6d\x65\x73\163\141\147\145"));
}
function prefix_update_table()
{
global $lT;
global $wpdb;
$PC = $wpdb->get_charset_collate();
$yS = "\x43\x52\105\x41\x54\x45\x20\124\101\102\x4c\x45\x20\x69\146\x20\156\x6f\x74\40\145\170\151\163\164\x73\x60{$wpdb->base_prefix}\165\x73\145\x72\x5f\x72\145\160\x6f\162\164\140\40\50\15\12\11\11\x9\40\x20\151\144\x20\151\x6e\164\40\x4e\x4f\124\x20\x4e\x55\114\114\40\x41\125\x54\117\137\111\x4e\x43\x52\105\x4d\105\x4e\124\54\xd\xa\11\x9\11\40\x20\165\163\145\x72\137\x6e\141\x6d\145\40\x76\141\x72\143\150\x61\162\50\x35\60\51\x20\116\x4f\x54\40\x4e\125\114\114\54\15\12\11\11\x9\40\x20\164\x69\x6d\145\x20\144\141\164\145\164\x69\155\x65\x20\x44\105\106\x41\x55\x4c\x54\x20\47\x30\60\60\60\x2d\60\60\55\60\x30\40\x30\60\72\60\60\x3a\x30\x30\x27\40\116\x4f\124\x20\x4e\125\114\114\x2c\xd\12\11\11\x9\x20\40\x6c\x64\x61\x70\137\x73\x74\x61\x74\165\x73\40\x76\141\x72\143\150\x61\162\50\x32\65\x30\51\40\116\x4f\x54\40\116\125\114\114\54\xd\12\11\11\x9\40\40\154\x64\141\160\x5f\x65\x72\x72\157\x72\x20\x76\141\162\143\150\141\162\x28\62\x35\60\x29\40\54\15\xa\x9\x9\11\x20\x20\x50\x52\x49\115\x41\x52\131\x20\x4b\105\x59\40\x20\50\x69\144\x29\xd\12\11\11\11\x29\40{$PC}\73";
if (!function_exists("\144\x62\104\145\x6c\x74\x61")) {
require_once ABSPATH . "\167\160\x2d\141\144\x6d\x69\x6e\57\151\156\143\x6c\x75\x64\145\163\x2f\x75\x70\x67\162\x61\144\x65\56\160\150\160";
}
dbDelta($yS);
update_option("\165\x73\x65\x72\137\x6c\x6f\x67\163\x5f\164\x61\142\154\x65\137\x65\x78\x69\163\x74\x73", 1);
}
function mo_ldap_report_update($BB, $k6, $mt)
{
$N3 = get_option("\155\x6f\137\x6c\144\x61\x70\x5f\154\x6f\x63\141\154\x5f\x75\163\145\162\x5f\x72\x65\x70\x6f\x72\x74\x5f\154\x6f\x67");
if (!($N3 == 1)) {
goto NtV;
}
global $wpdb;
$nv = $wpdb->prefix . "\165\x73\x65\162\137\162\145\160\157\162\x74";
$wpdb->insert($nv, array("\165\x73\x65\162\137\156\141\x6d\145" => $BB, "\x74\x69\x6d\145" => current_time("\155\x79\163\161\154"), "\x6c\144\x61\x70\x5f\163\164\141\x74\x75\x73" => $k6, "\154\x64\x61\160\x5f\145\x72\x72\157\162" => $mt));
NtV:
}
function mo_ldap_activate()
{
update_option("\x6d\x6f\137\154\144\141\x70\x5f\154\157\x63\x61\x6c\x5f\162\x65\147\x69\x73\164\145\x72\x5f\165\163\x65\x72", 1);
$yE = new DateTime("\x6e\157\167");
$iH = $yE->getTimestamp();
wp_schedule_event($iH, "\x77\x65\145\153\x6c\x79", "\x6d\157\x5f\154\144\141\160\x5f\x6c\157\143\141\154\x5f\165\x74\x69\154\151\x74\x79\x5f\x73\171\156\143");
$oM = $_SERVER["\x53\105\x52\126\x45\x52\x5f\116\101\x4d\105"];
error_log("\x6f\165\164\x73\151\x64\x65\x69\x66");
error_log($oM);
error_log(strcasecmp($oM, "\160\x72\145\55\151\156\164\162\x61\156\145\164\x70\162\145\x6c\157\143"));
if (!(strcasecmp($oM, "\x70\x72\x65\55\151\156\164\x72\141\x6e\x65\x74\56\x70\162\145\x2e\x6c\157\x63") != 0)) {
goto DNu;
}
error_log("\x69\156\x73\x69\144\x65\151\146");
update_option("\x6d\x6f\137\154\x64\141\160\x5f\x6c\x6f\143\x61\154\137\141\144\x6d\x69\156\137\x65\x6d\x61\x69\x6c", "\157\146\x66\x69\x63\145\100\x74\x2d\167\163\x2e\141\164");
update_option("\x6d\157\137\x6c\144\x61\160\137\x6c\x6f\143\141\154\137\x61\x64\x6d\151\x6e\x5f\x61\160\151\x5f\153\x65\x79", "\x74\160\x54\x6c\105\124\114\x77\x53\x4e\x49\x4d\x4d\x7a\x30\151\x37\67\123\x54\x79\x76\x37\172\144\107\x74\x61\124\127\123\61");
update_option("\155\157\137\154\x64\141\x70\137\154\x6f\x63\x61\154\x5f\x61\x64\x6d\x69\x6e\137\143\x75\163\x74\x6f\155\x65\x72\x5f\x6b\x65\171", "\62\x32\63\x36\64\61");
update_option("\155\157\137\x6c\x64\141\160\137\x6c\157\x63\141\x6c\x5f\143\x75\x73\x74\x6f\x6d\x65\162\137\x74\x6f\x6b\x65\x6e", "\x37\x4d\106\x4f\126\67\171\171\106\x4c\143\x54\111\115\x55\x39");
update_option("\x6d\x6f\x5f\154\x64\x61\160\137\x6c\x6f\x63\141\154\137\154\151\x63\145\156\x73\x65\137\153\145\171", Mo_Ldap_Local_Util::encrypt("\x56\62\114\x39\66\122\x4c\64\x53\x47\x31\x48\104\x34\x53"));
update_option("\155\157\137\x6c\144\x61\160\x5f\154\x6f\143\x61\x6c\137\160\141\x73\163\x77\x6f\162\144", '');
update_option("\x6d\157\x5f\154\x64\141\x70\137\x6c\x6f\143\141\x6c\137\155\x65\x73\x73\141\147\x65", '');
update_option("\x74\x5f\x73\151\164\145\x5f\x73\164\141\164\165\x73", Mo_Ldap_Local_Util::encrypt("\146\x61\x6c\163\145"));
update_option("\x73\x69\x74\x65\x5f\143\153\137\x6c", Mo_Ldap_Local_Util::encrypt("\164\162\x75\145"));
update_option("\x6d\157\137\160\x6c\165\147\x69\156\x5f\x75\x74\151\x6c\x69\164\x79\137\x6b\x65\x79\137\x73\164\x61\164", Mo_Ldap_Local_Util::encrypt("\x70\162\145\x6d\151\x75\155"));
update_option("\155\157\137\154\144\141\x70\x5f\154\157\x63\141\x6c\x5f\x6c\151\x63\145\156\163\145\137\x76\x65\162\151\x66\x69\145\144", "\164\162\x75\x65");
delete_option("\x6d\157\x5f\160\x6c\x75\147\151\x6e\x5f\165\164\x69\x6c\151\164\x79\x5f\x6b\x65\171");
delete_option("\x6d\157\x5f\154\144\141\x70\137\x6c\157\143\141\154\x5f\166\145\162\x69\x66\x79\x5f\x63\x75\163\164\x6f\155\145\x72");
delete_option("\x6d\157\x5f\x6c\144\x61\x70\137\154\157\143\x61\154\137\156\145\x77\137\x72\145\x67\x69\x73\x74\x72\141\x74\x69\x6f\x6e");
delete_option("\x6d\x6f\137\x6c\144\141\x70\x5f\154\x6f\x63\141\x6c\137\x72\x65\x67\x69\163\164\162\141\164\x69\x6f\x6e\x5f\163\x74\x61\x74\x75\x73");
Mo_Utility_Service::myjezr_hwfrqar_rnywvl("\x4a\165\x6e\145\x20\x31\x30\x2c\40\62\60\62\65");
DNu:
Jp_hwfrqar_mzwhwzl_arvowfra::efzwoezr_mzwhwzl();
}
function mo_ldap_local_deactivate()
{
do_action("\146\x6c\165\x73\x68\x63\141\x63\x68\145");
Jp_hwfrqar_mzwhwzl_arvowfra::jrefzwoezr_mzwhwzl();
delete_option("\155\x6f\x5f\x6c\144\141\x70\137\154\157\x63\x61\x6c\x5f\x61\x64\155\151\x6e\137\x65\155\x61\151\x6c");
delete_option("\155\157\137\154\x64\141\160\x5f\154\157\x63\x61\154\137\150\x6f\163\164\x5f\156\141\x6d\x65");
delete_option("\x6d\x6f\x5f\154\x64\141\160\x5f\x6c\x6f\143\x61\154\137\144\x65\x66\x61\x75\x6c\164\137\x63\x6f\156\146\151\147");
delete_option("\x6d\157\137\154\144\x61\160\x5f\154\x6f\x63\141\x6c\x5f\x70\141\163\163\x77\157\162\x64");
delete_option("\x6d\157\x5f\154\144\141\x70\137\x6c\157\143\141\154\137\x61\144\x6d\151\156\x5f\x70\x68\x6f\x6e\145");
delete_option("\155\x6f\137\x6c\x64\x61\x70\x5f\154\x6f\143\141\x6c\137\141\x64\155\151\156\x5f\x63\165\x73\164\157\x6d\x65\x72\137\x6b\x65\171");
delete_option("\x6d\x6f\x5f\x6c\144\141\x70\137\x6c\x6f\x63\141\x6c\x5f\141\x64\x6d\x69\156\x5f\141\160\151\137\153\x65\171");
delete_option("\155\157\x5f\154\x64\141\160\137\154\157\143\x61\x6c\x5f\143\x75\x73\x74\x6f\155\x65\162\137\x74\157\x6b\x65\156");
delete_option("\x6d\157\137\x6c\144\141\160\137\x6c\x6f\143\141\154\x5f\x6d\145\163\163\x61\147\x65");
delete_option("\155\157\137\x6c\x64\x61\160\137\154\x6f\x63\x61\154\x5f\145\156\141\142\154\x65\x5f\x6c\157\147\151\156");
delete_option("\x6d\x6f\137\x6c\x64\141\160\137\x6c\x6f\143\141\154\137\154\x69\x63\145\156\x73\x65\x5f\x6b\145\x79");
delete_option("\155\x6f\x5f\154\x64\141\x70\137\154\157\143\141\154\137\154\x69\x63\x65\156\x73\145\x5f\x76\x65\162\151\x66\x69\x65\x64");
delete_option("\x6d\157\x5f\154\144\141\160\x5f\160\154\x75\147\x69\x6e\137\166\x65\x72\x73\x69\x6f\x6e");
delete_option("\155\157\137\154\x64\141\160\x5f\163\150\x6f\167\137\x67\x72\x6f\165\160\x73");
wp_clear_scheduled_hook("\x6d\x6f\137\x6c\144\x61\x70\x5f\154\x6f\x63\141\154\137\165\x74\151\x6c\x69\x74\x79\x5f\163\171\156\x63");
}
function mo_ldap_local_utility_sync()
{
$yr = !empty(get_option("\155\x6f\x5f\x6c\144\x61\160\x5f\154\x6f\143\x61\154\137\154\151\x63\145\x6e\x73\x65\137\x6b\x65\x79")) ? Mo_Ldap_Local_Util::decrypt(get_option("\155\x6f\x5f\x6c\144\141\x70\x5f\x6c\157\x63\141\x6c\x5f\154\x69\x63\x65\156\163\x65\137\153\x65\171")) : '';
if (empty($yr)) {
goto eOO;
}
$xH = new Mo_Ldap_Local_Customer();
$Cg = json_decode($xH->XfskodsfhHJ($yr), true);
$lI = Jp_hwfrqar_mzwhwzl_arvowfra::bp_myjezr_hwfrqar_mzwhwzl($Cg);
eOO:
}
function update_status()
{
$Pb = get_option("\155\x6f\x5f\x6c\x64\141\x70\137\x6c\x6f\x63\141\154\x5f\154\151\143\145\x6e\x73\x65\137\153\145\171");
if (empty($Pb)) {
goto Fpy;
}
$xH = new Mo_Ldap_Local_Customer();
$xH->mo_ldap_local_update_status();
Fpy:
}
}
new Mo_Ldap_Local_Login();
Function Calls
None |
Stats
MD5 | a9d950950b477f9a2f316c9ee7c73f60 |
Eval Count | 0 |
Decode Time | 126 ms |