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 require_once dirname(__FILE__) . "\x2f\x69\156\x63\x6c\x75\144\145\x73\x2f\154\..
Decoded Output download
<?php
require_once dirname(__FILE__) . "/includes/lib/mo-options-enum.php";
add_action("admin_init", "mo_oauth_client_update");
use MoOauthClient\Standard\SignInSettingsSettings;
class mo_oauth_client_update_framework
{
private $current_version;
private $update_path;
private $plugin_slug;
private $slug;
private $plugin_file;
private $new_version_changelog;
public function __construct($m8, $fz = "/", $D4 = "/")
{
$this->current_version = $m8;
$this->update_path = $fz;
$this->plugin_slug = $D4;
list($rJ, $zT) = explode("/", $D4);
$this->slug = $rJ;
$this->plugin_file = $zT;
add_filter("pre_set_site_transient_update_plugins", array(&$this, "mo_oauth_check_update"));
add_filter("plugins_api", array(&$this, "mo_oauth_client_check_info"), 10, 3);
}
public function mo_oauth_check_update($dv)
{
global $H0;
if (!empty($dv->checked)) {
goto Ql;
}
return $dv;
Ql:
$Av = $this->getRemote();
if (!isset($Av["status"])) {
goto JS;
}
if ($Av["status"] == "SUCCESS") {
goto uM;
}
if (!($Av["status"] == "DENIED")) {
goto yY;
}
$v0 = true;
$H0->mo_oauth_client_update_option("mo_oauth_sle", $v0);
if (!version_compare($this->current_version, $Av["newVersion"], "<")) {
goto m3;
}
$nn = new stdClass();
$nn->slug = $this->slug;
$nn->new_version = $Av["newVersion"];
$nn->url = "https://miniorange.com";
$nn->plugin = $this->plugin_slug;
$nn->tested = $Av["cmsCompatibilityVersion"];
$nn->icons = array("1x" => $Av["icon"]);
$nn->status_code = $Av["status"];
$nn->license_information = $Av["licenseInformation"];
$H0->mo_oauth_client_update_option("mo_oauth_license_expiry_date", $Av["liceneExpiryDate"]);
$dv->response[$this->plugin_slug] = $nn;
$v0 = true;
$H0->mo_oauth_client_update_option("mo_oauth_sle", $v0);
set_transient("update_plugins", $dv);
return $dv;
m3:
yY:
goto J8;
uM:
$v0 = false;
$H0->mo_oauth_client_update_option("mo_oauth_sle", $v0);
if (!version_compare($this->current_version, $Av["newVersion"], "<")) {
goto y0;
}
ini_set("max_execution_time", 600);
ini_set("memory_limit", "1024M");
$js = plugin_dir_path(__FILE__);
$js = rtrim($js, "/");
$js = rtrim($js, "\");
$bS = $js . "-backup-" . $this->current_version . ".zip";
$this->mo_oauth_client_create_backup_dir();
$NR = $this->getAuthToken();
$n2 = round(microtime(true) * 1000);
$n2 = number_format($n2, 0, '', '');
$nn = new stdClass();
$nn->slug = $this->slug;
$nn->new_version = $Av["newVersion"];
$nn->url = "https://miniorange.com";
$nn->plugin = $this->plugin_slug;
$nn->package = mo_oauth_client_options_plugin_constants::HOSTNAME . "/moas/plugin/download-update?pluginSlug=" . $this->plugin_slug . "&licensePlanName=" . mo_oauth_client_options_plugin_constants::LICENSE_PLAN_NAME . "&customerId=" . $H0->mo_oauth_client_get_option("mo_oauth_admin_customer_key") . "&licenseType=" . mo_oauth_client_options_plugin_constants::LICENSE_TYPE . "&authToken=" . $NR . "&otpToken=" . $n2;
$nn->tested = $Av["cmsCompatibilityVersion"];
$nn->icons = array("1x" => $Av["icon"]);
$nn->new_version_changelog = $Av["changelog"];
$nn->status_code = $Av["status"];
$H0->mo_oauth_client_update_option("mo_oauth_license_expiry_date", $Av["liceneExpiryDate"]);
$dv->response[$this->plugin_slug] = $nn;
set_transient("update_plugins", $dv);
return $dv;
y0:
J8:
JS:
return $dv;
}
public function mo_oauth_client_check_info($nn, $L3, $WS)
{
global $H0;
if (!(($L3 == "query_plugins" || $L3 == "plugin_information") && isset($WS->slug) && ($WS->slug === $this->slug || $WS->slug === $this->plugin_file))) {
goto lb;
}
$ja = $this->getRemote();
remove_filter("plugins_api", array($this, "mo_oauth_client_check_info"));
$B0 = plugins_api("plugin_information", array("slug" => "miniorange-login-with-eve-online-google-facebook", "fields" => array("active_installs" => true, "num_ratings" => true, "rating" => true, "ratings" => true, "reviews" => true)));
$b4 = false;
$ZB = false;
$jT = false;
$HU = false;
$T9 = '';
$PT = '';
if (is_wp_error($B0)) {
goto eK;
}
$b4 = $B0->active_installs;
$ZB = $B0->rating;
$jT = $B0->ratings;
$HU = $B0->num_ratings;
$T9 = $B0->sections["description"];
$PT = $B0->sections["reviews"];
eK:
add_filter("plugins_api", array($this, "mo_oauth_client_check_info"), 10, 3);
if ($ja["status"] == "SUCCESS") {
goto xH;
}
if (!($ja["status"] == "DENIED")) {
goto ts;
}
if (!version_compare($this->current_version, $ja["newVersion"], "<")) {
goto oI;
}
$pZ = new stdClass();
$pZ->slug = $this->slug;
$pZ->plugin = $this->plugin_slug;
$pZ->name = $ja["pluginName"];
$pZ->version = $ja["newVersion"];
$pZ->new_version = $ja["newVersion"];
$pZ->tested = $ja["cmsCompatibilityVersion"];
$pZ->requires = $ja["cmsMinVersion"];
$pZ->requires_php = $ja["phpMinVersion"];
$pZ->compatibility = array($ja["cmsCompatibilityVersion"]);
$pZ->url = $ja["cmsPluginUrl"];
$pZ->author = $ja["pluginAuthor"];
$pZ->author_profile = $ja["pluginAuthorProfile"];
$pZ->last_updated = $ja["lastUpdated"];
$pZ->banners = array("low" => $ja["banner"]);
$pZ->icons = array("1x" => $ja["icon"]);
$pZ->sections = array("changelog" => $ja["changelog"], "license_information" => _x($ja["licenseInformation"], "Plugin installer section title"), "description" => $T9, "Reviews" => $PT);
$pZ->external = '';
$pZ->homepage = $ja["homepage"];
$pZ->reviews = true;
$pZ->active_installs = $b4;
$pZ->rating = $ZB;
$pZ->ratings = $jT;
$pZ->num_ratings = $HU;
$H0->mo_oauth_client_update_option("mo_oauth_license_expiry_date", $ja["liceneExpiryDate"]);
return $pZ;
oI:
ts:
goto ep;
xH:
$v0 = false;
$H0->mo_oauth_client_update_option("mo_oauth_sle", $v0);
if (!version_compare($this->current_version, $ja["newVersion"], "<=")) {
goto pP;
}
$pZ = new stdClass();
$pZ->slug = $this->slug;
$pZ->name = $ja["pluginName"];
$pZ->plugin = $this->plugin_slug;
$pZ->version = $ja["newVersion"];
$pZ->new_version = $ja["newVersion"];
$pZ->tested = $ja["cmsCompatibilityVersion"];
$pZ->requires = $ja["cmsMinVersion"];
$pZ->requires_php = $ja["phpMinVersion"];
$pZ->compatibility = array($ja["cmsCompatibilityVersion"]);
$pZ->url = $ja["cmsPluginUrl"];
$pZ->author = $ja["pluginAuthor"];
$pZ->author_profile = $ja["pluginAuthorProfile"];
$pZ->last_updated = $ja["lastUpdated"];
$pZ->banners = array("low" => $ja["banner"]);
$pZ->icons = array("1x" => $ja["icon"]);
$pZ->sections = array("changelog" => $ja["changelog"], "license_information" => _x($ja["licenseInformation"], "Plugin installer section title"), "description" => $T9, "Reviews" => $PT);
$NR = $this->getAuthToken();
$n2 = round(microtime(true) * 1000);
$n2 = number_format($n2, 0, '', '');
$pZ->download_link = mo_oauth_client_options_plugin_constants::HOSTNAME . "/moas/plugin/download-update?pluginSlug=" . $this->plugin_slug . "&licensePlanName=" . mo_oauth_client_options_plugin_constants::LICENSE_PLAN_NAME . "&customerId=" . $H0->mo_oauth_client_get_option("mo_oauth_admin_customer_key") . "&licenseType=" . mo_oauth_client_options_plugin_constants::LICENSE_TYPE . "&authToken=" . $NR . "&otpToken=" . $n2;
$pZ->package = $pZ->download_link;
$pZ->external = '';
$pZ->homepage = $ja["homepage"];
$pZ->reviews = true;
$pZ->active_installs = $b4;
$pZ->rating = $ZB;
$pZ->ratings = $jT;
$pZ->num_ratings = $HU;
$H0->mo_oauth_client_update_option("mo_oauth_license_expiry_date", $ja["liceneExpiryDate"]);
return $pZ;
pP:
ep:
lb:
return $nn;
}
private function getRemote()
{
global $H0;
$cN = $H0->mo_oauth_client_get_option("mo_oauth_admin_customer_key");
$WT = $H0->mo_oauth_client_get_option("mo_oauth_admin_api_key");
$n2 = round(microtime(true) * 1000);
$T_ = $cN . number_format($n2, 0, '', '') . $WT;
$NR = hash("sha512", $T_);
$n2 = number_format($n2, 0, '', '');
$Ee = array("pluginSlug" => $this->plugin_slug, "licensePlanName" => mo_oauth_client_options_plugin_constants::LICENSE_PLAN_NAME, "customerId" => $cN, "licenseType" => mo_oauth_client_options_plugin_constants::LICENSE_TYPE);
$ca = array("headers" => array("Content-Type" => "application/json; charset=utf-8", "Customer-Key" => $cN, "Timestamp" => $n2, "Authorization" => $NR), "body" => json_encode($Ee), "method" => "POST", "data_format" => "body", "sslverify" => false);
$Su = wp_remote_post($this->update_path, $ca);
if (!(!is_wp_error($Su) || wp_remote_retrieve_response_code($Su) === 200)) {
goto vJ;
}
$oG = json_decode($Su["body"], true);
return $oG;
vJ:
return false;
}
private function getAuthToken()
{
global $H0;
$cN = $H0->mo_oauth_client_get_option("mo_oauth_admin_customer_key");
$WT = $H0->mo_oauth_client_get_option("mo_oauth_admin_api_key");
$n2 = round(microtime(true) * 1000);
$T_ = $cN . number_format($n2, 0, '', '') . $WT;
$NR = hash("sha512", $T_);
return $NR;
}
function zipData($i4, $Jt)
{
if (!(extension_loaded("zip") && file_exists($i4) && count(glob($i4 . DIRECTORY_SEPARATOR . "*")) !== 0)) {
goto wA;
}
$l9 = new ZipArchive();
if (!$l9->open($Jt, ZIPARCHIVE::CREATE)) {
goto qK;
}
$i4 = realpath($i4);
if (is_dir($i4) === true) {
goto Ty;
}
if (!is_file($i4)) {
goto sT;
}
$l9->addFromString(basename($i4), file_get_contents($i4));
sT:
goto MM;
Ty:
$O6 = new RecursiveDirectoryIterator($i4);
$O6->setFlags(RecursiveDirectoryIterator::SKIP_DOTS);
$E_ = new RecursiveIteratorIterator($O6, RecursiveIteratorIterator::SELF_FIRST);
foreach ($E_ as $eP) {
$eP = realpath($eP);
if (is_dir($eP) === true) {
goto bT;
}
if (!(is_file($eP) === true)) {
goto xn;
}
$l9->addFromString(str_replace($i4 . DIRECTORY_SEPARATOR, '', $eP), file_get_contents($eP));
xn:
goto JH;
bT:
$l9->addEmptyDir(str_replace($i4 . DIRECTORY_SEPARATOR, '', $eP . DIRECTORY_SEPARATOR));
JH:
co:
}
Wr:
MM:
qK:
return $l9->close();
wA:
return false;
}
function mo_oauth_client_plugin_update_message($ZT, $Su)
{
if (array_key_exists("status_code", $ZT)) {
goto ec;
}
return;
ec:
if ($ZT["status_code"] == "SUCCESS") {
goto c0;
}
if (!($ZT["status_code"] == "DENIED")) {
goto Fq;
}
echo sprintf(__($ZT["license_information"]));
Fq:
goto wJ;
c0:
$gk = wp_upload_dir();
$Zf = $gk["basedir"];
$gk = rtrim($Zf, "/");
$js = str_replace("/", "\", $gk) . "\backup";
$bS = "miniorange-oauth-oidc-single-sign-on-backup-" . $this->current_version;
$cr = explode("</ul>", $ZT["new_version_changelog"]);
$TI = $cr[0];
$mK = $TI . "</ul>";
echo "<div><b>" . __("<br />An automatic backup of current version " . $this->current_version . " has been created at the location " . $js . " with the name <span style="color:#0073aa;">" . $bS . "</span>. In case, something breaks during the update, you can revert to your current version by replacing the backup using FTP access.", "miniorange-oauth-oidc-single-sign-on") . "</b></div><div style="color: #f00;"><b>" . __("<br />Take a minute to check the changelog of latest version of the plugin. Here's why you need to update:", "miniorange-oauth-oidc-single-sign-on") . "</b></div>";
echo "<div style="font-weight: normal;">" . $mK . "</div><b>Note:</b> Please click on <b>View Version details</b> link to get complete changelog and license information. Click on <b>Update Now</b> link to update the plugin to latest version.";
wJ:
}
public function mo_oauth_license_key_expiry_remainder()
{
global $H0;
$mA = $H0->get_plugin_config()->get_current_config();
$qi = time();
if (empty($mA["mo_dte_data"])) {
goto gK;
}
$T5 = strtotime($H0->mooauthdecrypt($mA["mo_dte_data"]));
gK:
if (!array_key_exists("mooauthclient-dismiss", $_GET)) {
goto p0;
}
return;
p0:
if (!($H0->mo_oauth_is_clv() && new DateTime() > $H0->mo_oauth_client_get_option("mo-oauth-client-plugin-timer"))) {
goto qg;
}
$W6 = esc_url(add_query_arg(array("mooauthclient-dismiss" => wp_create_nonce("oauth-client-dismiss"))));
echo "<div id="message" class="notice notice notice-warning" style="background:#ffffdd; border-radius:4px; border: 1px solid #e0af34"><a href="" . $W6 . "" class="alignright "><img src="" . MOC_URL . "resources/images/delete-button.png" . "" class="alignleft" height="87" width="66" alt="delete_button" style="margin:2px -8px 10px 0; height:18px; width: 18px;"></a><img src="" . MOC_URL . "resources/images/warning2.png" . "" class="alignleft" height="87" width="66" alt="notification logo" style="margin:7px 6px 0px 0; height:44px; width: 44px;"><h3 style="font-size:1.2rem;margin: 17.2px 0 17.2px">miniOrange OAuth / OpenID Single Sign-On Support & Maintenance License Expiring Soon</h3><p style="font-size:14px; font-weight: 500;">Your miniOrange OAuth / OpenID Connect Single Sign-On license is going to expire on ";
echo date("Y-m-d", $T5);
echo ". <br> This means you will loose -<br>\xd\xa \x9\x9<li style="margin:0px -2px 2px 13px"> <b>The admin access to update plugin configuration.</li>
\xa \x9\x9<li style="margin:0px 0px 2px 13px">The latest security patches.</li>
\x9\x9\x9<li style="margin:0px 0px 2px 13px">Compatibility with the latest PHP versions and Wordpress versions</li>\xd\xa\x9 \x9<li style="margin:0px 0px 2px 13px">Our awesome support! </b></li></p>\xd
\xa\x9\x9 <p style = "font-size:14px; font-weight: 500;"> If you wish to have all the premium benefits, please renew your license now, <a href="mailto:[email protected]?Subject=WP%20OAuth%20SSO-Renewal%20Request&body=Team%20miniOrange%2C%0D%0A%0D%0AI%20would%20like%20to%20request%20a%20renewal%20Invoice%20for%20the%20product%20purchased%20under%20the%20miniOrange%20account%20associated%20with%20the%20email%20address%3A%20%3CEnter%20your%20email%20ID%3E." target="_blank">Click Here</a>\xd\xa \x9 or reach out to us on our mail <strong>[email protected]</strong>
\x9 </div>";
qg:
}
public function mo_oauth_license_key_notice()
{
global $H0;
if (!array_key_exists("mooauthclient-dismiss", $_GET)) {
goto NS;
}
return;
NS:
$mA = $H0->get_plugin_config()->get_current_config();
$tY = '';
if (empty($mA["mo_dte_state"])) {
goto wP;
}
$tY = $H0->mooauthdecrypt($mA["mo_dte_state"]);
wP:
if (!$H0->mo_oauth_is_clv()) {
goto od;
}
if (!($tY == "enabled" && new DateTime() > $H0->mo_oauth_client_get_option("mo-oauth-client-plugin-timer"))) {
goto ww;
}
$W6 = esc_url(add_query_arg(array("mooauthclient-dismiss" => wp_create_nonce("oauth-client-dismiss"))));
echo "<div id="message" style="background:#ffe8e8; border-radius:4px; font-size:13px; border: 1px solid red" class="notice notice notice-warning"><a href="" . $W6 . "" class="alignright "><img src="" . MOC_URL . "resources/images/delete-button.png" . "" class="alignleft" height="87" width="66" alt="delete_button" style="margin:2px -8px 10px 0; height:18px; width: 18px;"></a><img src="" . MOC_URL . "resources/images/warning.png" . "" class="alignleft" height="87" width="66" alt="miniOrange logo" style="margin:2px 0px 0px 0; height:50px; width: 50px;"><h3 style="font-size:1.2rem; margin: 16.2px 0 16.2px">miniOrange OAuth / OpenID Single Sign-On Support & Maintenance License Expired</h3><p style = "font-size:14px; font-weight: 500;">Your miniOrange <a href="https://plugins.miniorange.com/wordpress-sso" target="_blank">OAuth / OpenID Connect Single Sign-On</a> premium license is expired.
\xa \x9\x9\x9<br> This means you will loose -<br>\xd
\x9\x9\x9 <li style="margin:0px -2px 2px 13px"> <b>The admin access to update plugin configuration.</li>
\x9 \x9\x9<li style="margin:0px 0px 2px 13px">The latest security patches.</li>\xd
\x9 \x9<li style="margin:0px 0px 2px 13px">Compatibility with the latest PHP versions and Wordpress versions</li>
\xa \x9\x9 <li style="margin:0px 0px 2px 13px">Our awesome support! </b></li></p>
\xa \x9\x9\x9\xd
\x9\x9<p style = "font-size:14px; font-weight: 500;"> If you wish to have all the premium benefits, please renew your license now, <a href="mailto:[email protected]?Subject=WP%20OAuth%20SSO-Renewal%20Request&body=Team%20miniOrange%2C%0D%0A%0D%0AI%20would%20like%20to%20request%20a%20renewal%20Invoice%20for%20the%20product%20purchased%20under%20the%20miniOrange%20account%20associated%20with%20the%20email%20address%3A%20%3CEnter%20your%20email%20ID%3E." target="_blank">Click Here</a>\xd
\x9 \x9 or reach out to us on our mail <strong>[email protected]</strong>
\x9 </div>";
ww:
od:
}
public function mo_oauth_license_domain_notice()
{
echo "<div id="message" style="background:#ffe8e8; border-radius:4px; font-size:13px; border: 1px solid red" class="notice notice notice-warning">
\xa\x9 \x9<img src="" . MOC_URL . "resources/images/warning.png" . "" class="alignleft" height="87" width="66" alt="miniOrange logo" style="margin:2px 0px 0px 0; height:50px; width: 50px;"></img>\xd\xa \x9\x9<h3 style="font-size:1.2rem; margin: 16.2px 0 16.2px">miniOrange OAuth / OpenID Single Sign-On license not found for this domain.</h3>
\xa \x9 <p style = "font-size:14px; font-weight: 500;">
\xa \x9\x9 Your license key is invalid or expired. As per our licensing policy you can only use one license at one domain at a time. In case you want to use the plugin on multiple domains at a time you would need to go for mutltiple licenses. For more information please reach out to <a href="mailto:[email protected]">[email protected]</a>.<br><br>Please purchase a new license key or deactivate the existing one from another site.<br><br> If you continue to use the plugin it will result in following :-
\xa\x9 \x9</p>\xd\xa\x9 <li style="margin:0px -2px 2px 13px">
\x9 <b>Disabling of admin access to update plugin configuration.\xd\xa\x9 \x9 </li>
\x9\x9<li style="margin:0px 0px 2px 13px">\xd\xa\x9 Disabling of SSO on this domain.</b>
\x9\x9 \x9</li>\xd\xa\x9 \x9\x9<br>\xd
</div>";
}
public function mo_oauth_client_dismiss_notice()
{
global $H0;
if (!empty($_GET["mooauthclient-dismiss"])) {
goto bh;
}
return;
bh:
if (wp_verify_nonce($_GET["mooauthclient-dismiss"], "oauth-client-dismiss")) {
goto oB;
}
return;
oB:
if (!(isset($_GET["mooauthclient-dismiss"]) && wp_verify_nonce($_GET["mooauthclient-dismiss"], "oauth-client-dismiss"))) {
goto JF;
}
$n_ = new DateTime();
$n_->modify("+1 day");
$H0->mo_oauth_client_update_option("mo-oauth-client-plugin-timer", $n_);
JF:
}
function mo_oauth_client_create_backup_dir()
{
$js = plugin_dir_path(__FILE__);
$js = rtrim($js, "/");
$js = rtrim($js, "\");
$ZT = get_plugin_data(__FILE__);
$hZ = $ZT["TextDomain"];
$gk = wp_upload_dir();
$Zf = $gk["basedir"];
$gk = rtrim($Zf, "/");
if (is_writable($gk)) {
goto AL;
}
return;
AL:
$jd = $gk . DIRECTORY_SEPARATOR . "backup" . DIRECTORY_SEPARATOR . $hZ . "-backup-" . $this->current_version;
if (file_exists($jd)) {
goto BG;
}
mkdir($jd, 0777, true);
BG:
$i4 = $js;
$Jt = $jd;
$this->mo_oauth_client_copy_files_to_backup_dir($i4, $Jt);
}
function mo_oauth_client_copy_files_to_backup_dir($js, $jd)
{
if (!is_dir($js)) {
goto MA;
}
$Hn = scandir($js);
MA:
if (!empty($Hn)) {
goto dC;
}
return;
dC:
foreach ($Hn as $i7) {
if (!($i7 == "." || $i7 == "..")) {
goto hV;
}
goto Jx;
hV:
$rw = $js . DIRECTORY_SEPARATOR . $i7;
$A_ = $jd . DIRECTORY_SEPARATOR . $i7;
if (is_dir($rw)) {
goto ey;
}
copy($rw, $A_);
goto h9;
ey:
if (file_exists($A_)) {
goto UK;
}
mkdir($A_, 0777, true);
UK:
$this->mo_oauth_client_copy_files_to_backup_dir($rw, $A_);
h9:
Jx:
}
GQ:
}
}
function mo_oauth_client_update()
{
global $H0;
$mA = $H0->get_plugin_config()->get_current_config();
$QT = time();
if (empty($mA["mo_dte_data"])) {
goto dl;
}
$QT = strtotime($H0->mooauthdecrypt($mA["mo_dte_data"]));
dl:
$z9 = mo_oauth_client_options_plugin_constants::HOSTNAME;
$RG = mo_oauth_client_options_plugin_constants::Version;
$Hj = $z9 . "/moas/api/plugin/metadata";
$D4 = plugin_basename(dirname(__FILE__) . "/mo_oauth_settings.php");
$WO = new mo_oauth_client_update_framework($RG, $Hj, $D4);
add_action("in_plugin_update_message-{$D4}", array($WO, "mo_oauth_client_plugin_update_message"), 10, 2);
$ho = new SignInSettingsSettings();
$mA = $ho->get_config_option();
$kj = time();
if (!(!empty($QT) && $QT !== "false")) {
goto eC;
}
$D0 = ($kj - $QT) / (60 * 60 * 24);
if ($D0 >= 0) {
goto Pn;
}
$QG = -1 * $D0;
if (!($QG <= 30)) {
goto mE;
}
add_action("admin_head", array($WO, "mo_oauth_license_key_expiry_remainder"));
mE:
goto f4;
Pn:
add_action("admin_head", array($WO, "mo_oauth_license_key_notice"));
f4:
eC:
if ($H0->mo_oauth_is_cld()) {
goto vK;
}
add_action("admin_head", array($WO, "mo_oauth_license_domain_notice"));
vK:
add_action("admin_notices", array($WO, "mo_oauth_client_dismiss_notice"), 50);
if (!$H0->mo_oauth_client_get_option("mo_oauth_sle")) {
goto wu;
}
$H0->mo_oauth_client_update_option("mo_oauth_sle_message", "Your OAuth / OpenID Connect plugin license has been expired. You are missing out on updates and support! Please <a href="" . mo_oauth_client_options_plugin_constants::HOSTNAME . "/moas/login?redirectUrl=" . mo_oauth_client_options_plugin_constants::HOSTNAME . "/moas/admin/customer/licenserenewals?renewalrequest=" . mo_oauth_client_options_plugin_constants::LICENSE_TYPE . " " target="_blank"><b>Click Here</b></a> to renew the Support and Maintenace plan.");
wu:
}
?>
Did this file decode correctly?
Original Code
<?php
require_once dirname(__FILE__) . "\x2f\x69\156\x63\x6c\x75\144\145\x73\x2f\154\x69\x62\57\155\157\55\x6f\x70\x74\151\x6f\x6e\x73\x2d\145\x6e\165\155\x2e\160\x68\x70";
add_action("\x61\144\155\151\x6e\137\x69\x6e\x69\164", "\x6d\157\137\157\141\x75\x74\x68\x5f\143\154\x69\x65\x6e\x74\x5f\x75\x70\x64\x61\x74\145");
use MoOauthClient\Standard\SignInSettingsSettings;
class mo_oauth_client_update_framework
{
private $current_version;
private $update_path;
private $plugin_slug;
private $slug;
private $plugin_file;
private $new_version_changelog;
public function __construct($m8, $fz = "\x2f", $D4 = "\x2f")
{
$this->current_version = $m8;
$this->update_path = $fz;
$this->plugin_slug = $D4;
list($rJ, $zT) = explode("\x2f", $D4);
$this->slug = $rJ;
$this->plugin_file = $zT;
add_filter("\x70\162\145\x5f\x73\x65\x74\137\163\x69\x74\x65\137\164\x72\141\x6e\x73\x69\145\156\164\137\165\160\144\x61\164\145\137\x70\154\165\x67\151\x6e\163", array(&$this, "\x6d\x6f\137\157\141\x75\164\150\137\x63\150\145\143\153\x5f\x75\x70\x64\141\164\145"));
add_filter("\160\x6c\x75\x67\151\156\163\x5f\141\160\151", array(&$this, "\x6d\x6f\137\157\141\x75\x74\x68\x5f\143\154\x69\145\x6e\164\x5f\x63\x68\x65\x63\153\x5f\x69\x6e\x66\157"), 10, 3);
}
public function mo_oauth_check_update($dv)
{
global $H0;
if (!empty($dv->checked)) {
goto Ql;
}
return $dv;
Ql:
$Av = $this->getRemote();
if (!isset($Av["\163\164\x61\164\x75\x73"])) {
goto JS;
}
if ($Av["\x73\164\141\164\165\x73"] == "\x53\x55\x43\103\105\123\123") {
goto uM;
}
if (!($Av["\x73\x74\x61\x74\165\x73"] == "\x44\x45\x4e\111\105\104")) {
goto yY;
}
$v0 = true;
$H0->mo_oauth_client_update_option("\x6d\x6f\x5f\x6f\141\x75\164\x68\x5f\163\x6c\145", $v0);
if (!version_compare($this->current_version, $Av["\156\145\x77\x56\145\162\163\151\157\x6e"], "\74")) {
goto m3;
}
$nn = new stdClass();
$nn->slug = $this->slug;
$nn->new_version = $Av["\156\x65\x77\x56\x65\x72\163\x69\157\156"];
$nn->url = "\150\x74\164\160\x73\x3a\x2f\57\155\151\156\151\157\162\141\x6e\x67\x65\x2e\143\x6f\x6d";
$nn->plugin = $this->plugin_slug;
$nn->tested = $Av["\143\155\163\103\157\155\160\141\164\151\x62\x69\x6c\151\x74\x79\x56\145\162\163\151\157\156"];
$nn->icons = array("\x31\170" => $Av["\151\x63\157\156"]);
$nn->status_code = $Av["\163\164\141\164\x75\x73"];
$nn->license_information = $Av["\154\151\143\145\x6e\163\145\x49\156\146\x6f\x72\x6d\141\164\x69\157\x6e"];
$H0->mo_oauth_client_update_option("\x6d\157\137\x6f\141\165\164\x68\x5f\154\x69\x63\x65\156\x73\x65\137\145\170\160\151\162\x79\x5f\x64\141\164\x65", $Av["\154\151\x63\x65\x6e\x65\105\170\160\x69\162\171\x44\141\x74\x65"]);
$dv->response[$this->plugin_slug] = $nn;
$v0 = true;
$H0->mo_oauth_client_update_option("\155\157\137\x6f\x61\165\x74\150\x5f\x73\154\145", $v0);
set_transient("\x75\160\x64\x61\164\x65\x5f\160\x6c\165\147\x69\156\163", $dv);
return $dv;
m3:
yY:
goto J8;
uM:
$v0 = false;
$H0->mo_oauth_client_update_option("\x6d\x6f\137\x6f\x61\x75\164\x68\x5f\x73\x6c\x65", $v0);
if (!version_compare($this->current_version, $Av["\156\145\167\126\x65\162\163\x69\157\x6e"], "\74")) {
goto y0;
}
ini_set("\155\141\x78\137\x65\170\145\143\165\x74\x69\157\x6e\x5f\x74\151\x6d\145", 600);
ini_set("\155\145\155\157\x72\x79\137\x6c\151\x6d\x69\164", "\61\60\x32\64\x4d");
$js = plugin_dir_path(__FILE__);
$js = rtrim($js, "\57");
$js = rtrim($js, "\134");
$bS = $js . "\x2d\142\x61\x63\153\165\x70\55" . $this->current_version . "\56\x7a\151\160";
$this->mo_oauth_client_create_backup_dir();
$NR = $this->getAuthToken();
$n2 = round(microtime(true) * 1000);
$n2 = number_format($n2, 0, '', '');
$nn = new stdClass();
$nn->slug = $this->slug;
$nn->new_version = $Av["\156\x65\x77\x56\x65\x72\163\151\x6f\x6e"];
$nn->url = "\150\x74\x74\x70\x73\x3a\57\57\155\151\156\x69\157\162\141\156\147\x65\x2e\x63\157\x6d";
$nn->plugin = $this->plugin_slug;
$nn->package = mo_oauth_client_options_plugin_constants::HOSTNAME . "\x2f\x6d\x6f\141\163\57\160\154\165\x67\151\156\57\144\157\167\156\154\157\141\144\x2d\165\x70\144\x61\x74\145\x3f\x70\x6c\x75\147\x69\x6e\x53\154\165\x67\x3d" . $this->plugin_slug . "\46\154\x69\x63\x65\x6e\163\145\x50\154\141\x6e\116\x61\155\145\x3d" . mo_oauth_client_options_plugin_constants::LICENSE_PLAN_NAME . "\46\143\165\x73\x74\157\155\x65\162\x49\144\x3d" . $H0->mo_oauth_client_get_option("\155\157\x5f\x6f\x61\165\164\150\137\x61\144\155\151\156\137\x63\x75\x73\x74\x6f\155\x65\162\x5f\153\x65\x79") . "\x26\154\x69\x63\x65\x6e\163\x65\124\x79\160\x65\x3d" . mo_oauth_client_options_plugin_constants::LICENSE_TYPE . "\46\141\165\164\x68\124\157\x6b\x65\x6e\75" . $NR . "\46\157\164\x70\124\157\153\x65\x6e\75" . $n2;
$nn->tested = $Av["\x63\x6d\x73\x43\x6f\155\160\141\x74\x69\142\151\154\151\x74\x79\126\145\162\163\151\x6f\x6e"];
$nn->icons = array("\61\x78" => $Av["\151\143\x6f\156"]);
$nn->new_version_changelog = $Av["\x63\x68\141\x6e\147\x65\x6c\x6f\147"];
$nn->status_code = $Av["\x73\x74\141\164\165\163"];
$H0->mo_oauth_client_update_option("\155\x6f\x5f\x6f\x61\x75\x74\150\137\x6c\x69\x63\x65\156\x73\145\137\145\170\x70\x69\x72\171\137\144\141\x74\145", $Av["\x6c\151\143\145\x6e\x65\105\x78\160\151\x72\171\x44\141\164\145"]);
$dv->response[$this->plugin_slug] = $nn;
set_transient("\x75\x70\144\x61\x74\x65\137\x70\x6c\x75\147\151\x6e\x73", $dv);
return $dv;
y0:
J8:
JS:
return $dv;
}
public function mo_oauth_client_check_info($nn, $L3, $WS)
{
global $H0;
if (!(($L3 == "\x71\165\x65\162\171\137\x70\x6c\165\x67\x69\x6e\163" || $L3 == "\160\154\x75\x67\151\156\x5f\151\x6e\x66\x6f\x72\155\x61\x74\x69\157\156") && isset($WS->slug) && ($WS->slug === $this->slug || $WS->slug === $this->plugin_file))) {
goto lb;
}
$ja = $this->getRemote();
remove_filter("\x70\154\165\x67\x69\156\x73\137\x61\x70\151", array($this, "\155\157\137\157\x61\165\164\x68\137\143\x6c\x69\x65\x6e\x74\x5f\x63\x68\145\143\153\x5f\151\x6e\x66\x6f"));
$B0 = plugins_api("\160\154\165\x67\151\x6e\x5f\151\x6e\x66\x6f\162\x6d\x61\164\151\157\156", array("\x73\154\x75\147" => "\x6d\x69\x6e\151\157\x72\x61\156\147\x65\x2d\154\157\x67\x69\156\x2d\x77\151\164\x68\x2d\x65\x76\145\x2d\x6f\156\154\151\156\x65\x2d\147\x6f\x6f\x67\x6c\145\x2d\x66\141\x63\145\x62\157\x6f\153", "\x66\x69\x65\154\144\x73" => array("\x61\x63\x74\151\166\x65\x5f\151\156\x73\164\x61\x6c\154\163" => true, "\156\x75\155\137\x72\x61\x74\x69\x6e\x67\x73" => true, "\x72\x61\x74\x69\x6e\x67" => true, "\x72\x61\164\151\x6e\147\x73" => true, "\162\x65\x76\x69\x65\167\163" => true)));
$b4 = false;
$ZB = false;
$jT = false;
$HU = false;
$T9 = '';
$PT = '';
if (is_wp_error($B0)) {
goto eK;
}
$b4 = $B0->active_installs;
$ZB = $B0->rating;
$jT = $B0->ratings;
$HU = $B0->num_ratings;
$T9 = $B0->sections["\x64\145\163\143\x72\151\x70\x74\x69\157\156"];
$PT = $B0->sections["\162\145\166\151\x65\167\x73"];
eK:
add_filter("\x70\154\x75\x67\151\156\163\x5f\141\x70\151", array($this, "\155\157\x5f\157\x61\165\x74\150\137\143\x6c\151\x65\x6e\x74\x5f\x63\150\x65\x63\153\137\x69\156\x66\x6f"), 10, 3);
if ($ja["\x73\x74\x61\164\x75\163"] == "\123\125\x43\x43\105\x53\x53") {
goto xH;
}
if (!($ja["\x73\164\141\164\165\163"] == "\x44\105\116\111\x45\104")) {
goto ts;
}
if (!version_compare($this->current_version, $ja["\x6e\145\x77\126\145\162\163\151\x6f\x6e"], "\x3c")) {
goto oI;
}
$pZ = new stdClass();
$pZ->slug = $this->slug;
$pZ->plugin = $this->plugin_slug;
$pZ->name = $ja["\x70\x6c\x75\x67\151\x6e\116\x61\155\x65"];
$pZ->version = $ja["\156\145\167\x56\x65\162\163\x69\x6f\x6e"];
$pZ->new_version = $ja["\x6e\145\x77\x56\x65\162\x73\x69\157\156"];
$pZ->tested = $ja["\143\155\x73\103\x6f\x6d\160\x61\164\151\x62\151\154\151\164\171\126\x65\162\x73\x69\157\156"];
$pZ->requires = $ja["\x63\x6d\x73\x4d\151\x6e\x56\x65\x72\x73\151\157\x6e"];
$pZ->requires_php = $ja["\x70\150\x70\115\151\156\126\145\x72\x73\151\x6f\x6e"];
$pZ->compatibility = array($ja["\143\x6d\x73\103\x6f\x6d\160\x61\164\151\x62\151\x6c\151\164\171\126\x65\162\163\151\x6f\156"]);
$pZ->url = $ja["\143\x6d\x73\120\154\165\x67\151\156\125\162\x6c"];
$pZ->author = $ja["\x70\x6c\165\x67\151\x6e\x41\x75\164\150\x6f\x72"];
$pZ->author_profile = $ja["\160\x6c\165\147\x69\x6e\101\165\x74\150\x6f\x72\x50\x72\x6f\146\x69\154\145"];
$pZ->last_updated = $ja["\154\141\163\x74\x55\x70\x64\x61\164\145\144"];
$pZ->banners = array("\x6c\157\x77" => $ja["\142\141\156\x6e\x65\x72"]);
$pZ->icons = array("\61\x78" => $ja["\x69\143\157\x6e"]);
$pZ->sections = array("\143\x68\141\x6e\147\145\154\x6f\x67" => $ja["\143\x68\141\156\147\145\x6c\157\147"], "\x6c\x69\143\145\x6e\x73\x65\x5f\151\x6e\146\x6f\162\155\141\164\x69\157\156" => _x($ja["\x6c\151\143\x65\x6e\163\x65\111\156\146\x6f\x72\155\x61\164\x69\x6f\156"], "\120\x6c\165\147\151\x6e\x20\151\156\x73\164\141\x6c\x6c\145\x72\40\163\145\143\x74\x69\157\x6e\x20\164\151\x74\154\145"), "\x64\x65\x73\143\x72\x69\x70\x74\x69\157\x6e" => $T9, "\x52\x65\x76\x69\145\x77\163" => $PT);
$pZ->external = '';
$pZ->homepage = $ja["\150\x6f\x6d\145\x70\x61\147\x65"];
$pZ->reviews = true;
$pZ->active_installs = $b4;
$pZ->rating = $ZB;
$pZ->ratings = $jT;
$pZ->num_ratings = $HU;
$H0->mo_oauth_client_update_option("\155\x6f\137\x6f\141\165\x74\150\x5f\154\151\143\145\156\x73\x65\x5f\145\x78\x70\151\162\x79\137\x64\141\164\x65", $ja["\154\151\143\x65\x6e\x65\x45\170\160\x69\162\171\x44\141\x74\145"]);
return $pZ;
oI:
ts:
goto ep;
xH:
$v0 = false;
$H0->mo_oauth_client_update_option("\155\157\137\157\x61\x75\x74\x68\x5f\163\x6c\x65", $v0);
if (!version_compare($this->current_version, $ja["\x6e\145\x77\126\145\162\163\x69\157\156"], "\74\75")) {
goto pP;
}
$pZ = new stdClass();
$pZ->slug = $this->slug;
$pZ->name = $ja["\x70\154\165\147\x69\156\116\x61\x6d\x65"];
$pZ->plugin = $this->plugin_slug;
$pZ->version = $ja["\x6e\145\167\x56\145\162\163\151\x6f\x6e"];
$pZ->new_version = $ja["\x6e\145\167\126\x65\x72\163\151\x6f\x6e"];
$pZ->tested = $ja["\x63\155\x73\103\x6f\155\x70\141\164\x69\x62\x69\154\x69\164\x79\126\145\x72\x73\151\x6f\156"];
$pZ->requires = $ja["\143\x6d\163\115\x69\x6e\126\x65\162\x73\x69\x6f\156"];
$pZ->requires_php = $ja["\160\150\x70\115\x69\156\x56\x65\162\163\151\x6f\156"];
$pZ->compatibility = array($ja["\x63\x6d\163\x43\x6f\155\x70\141\164\151\x62\151\x6c\151\x74\171\x56\x65\162\x73\x69\x6f\x6e"]);
$pZ->url = $ja["\143\x6d\x73\120\x6c\165\147\151\156\125\162\154"];
$pZ->author = $ja["\160\x6c\165\147\x69\156\x41\x75\x74\x68\157\162"];
$pZ->author_profile = $ja["\160\154\x75\x67\151\156\101\x75\164\150\157\162\120\x72\x6f\x66\151\154\145"];
$pZ->last_updated = $ja["\x6c\141\163\x74\x55\160\x64\141\164\x65\144"];
$pZ->banners = array("\x6c\157\x77" => $ja["\142\141\x6e\x6e\x65\x72"]);
$pZ->icons = array("\x31\170" => $ja["\151\x63\x6f\156"]);
$pZ->sections = array("\x63\150\141\156\x67\x65\154\x6f\x67" => $ja["\x63\150\x61\x6e\147\145\154\x6f\147"], "\x6c\151\143\145\156\163\145\x5f\x69\x6e\x66\157\162\155\141\x74\151\157\156" => _x($ja["\154\151\x63\x65\x6e\x73\145\111\156\146\157\x72\x6d\141\x74\151\x6f\156"], "\x50\154\x75\147\x69\x6e\40\151\x6e\163\x74\x61\154\x6c\145\162\x20\163\145\x63\x74\x69\x6f\x6e\x20\164\151\x74\154\145"), "\144\x65\163\143\x72\x69\160\164\x69\157\x6e" => $T9, "\122\145\x76\x69\145\x77\163" => $PT);
$NR = $this->getAuthToken();
$n2 = round(microtime(true) * 1000);
$n2 = number_format($n2, 0, '', '');
$pZ->download_link = mo_oauth_client_options_plugin_constants::HOSTNAME . "\x2f\x6d\157\x61\163\57\160\154\x75\x67\x69\x6e\x2f\144\157\167\x6e\x6c\157\x61\144\x2d\x75\160\x64\x61\x74\x65\77\x70\x6c\165\x67\151\156\x53\154\x75\x67\75" . $this->plugin_slug . "\x26\x6c\x69\143\145\156\163\145\x50\x6c\141\x6e\x4e\141\x6d\x65\x3d" . mo_oauth_client_options_plugin_constants::LICENSE_PLAN_NAME . "\x26\143\x75\x73\164\157\x6d\x65\x72\111\x64\75" . $H0->mo_oauth_client_get_option("\155\x6f\137\x6f\x61\x75\x74\150\137\x61\144\155\x69\x6e\137\x63\x75\x73\x74\157\155\x65\162\x5f\153\145\171") . "\46\154\151\x63\x65\x6e\163\145\x54\171\x70\x65\75" . mo_oauth_client_options_plugin_constants::LICENSE_TYPE . "\46\141\x75\164\x68\x54\x6f\x6b\145\x6e\x3d" . $NR . "\46\x6f\164\x70\124\157\x6b\x65\156\75" . $n2;
$pZ->package = $pZ->download_link;
$pZ->external = '';
$pZ->homepage = $ja["\150\157\155\x65\x70\141\x67\x65"];
$pZ->reviews = true;
$pZ->active_installs = $b4;
$pZ->rating = $ZB;
$pZ->ratings = $jT;
$pZ->num_ratings = $HU;
$H0->mo_oauth_client_update_option("\x6d\x6f\137\157\141\165\164\x68\x5f\154\x69\143\145\156\163\x65\x5f\x65\x78\160\151\x72\171\x5f\144\x61\164\145", $ja["\x6c\151\143\x65\x6e\145\x45\x78\x70\x69\162\x79\x44\x61\x74\x65"]);
return $pZ;
pP:
ep:
lb:
return $nn;
}
private function getRemote()
{
global $H0;
$cN = $H0->mo_oauth_client_get_option("\155\157\x5f\x6f\x61\x75\x74\x68\x5f\141\144\155\x69\x6e\137\143\x75\163\x74\x6f\x6d\x65\162\137\153\145\x79");
$WT = $H0->mo_oauth_client_get_option("\155\157\x5f\x6f\141\x75\x74\x68\137\x61\x64\155\151\x6e\x5f\141\160\x69\x5f\153\x65\171");
$n2 = round(microtime(true) * 1000);
$T_ = $cN . number_format($n2, 0, '', '') . $WT;
$NR = hash("\163\150\141\65\x31\x32", $T_);
$n2 = number_format($n2, 0, '', '');
$Ee = array("\160\154\x75\x67\x69\x6e\123\154\x75\147" => $this->plugin_slug, "\x6c\x69\143\145\156\163\145\x50\154\141\156\116\141\155\x65" => mo_oauth_client_options_plugin_constants::LICENSE_PLAN_NAME, "\143\x75\x73\x74\157\155\x65\162\x49\x64" => $cN, "\154\151\143\x65\x6e\163\x65\124\171\x70\145" => mo_oauth_client_options_plugin_constants::LICENSE_TYPE);
$ca = array("\x68\x65\141\x64\145\162\x73" => array("\103\x6f\x6e\x74\x65\156\164\x2d\124\x79\160\145" => "\141\x70\x70\154\x69\x63\141\x74\x69\157\x6e\x2f\152\163\157\156\73\40\143\x68\x61\x72\x73\x65\164\75\x75\x74\x66\55\70", "\103\165\163\164\x6f\155\x65\x72\x2d\113\x65\x79" => $cN, "\124\x69\155\145\163\x74\x61\155\160" => $n2, "\x41\x75\164\150\157\162\151\172\x61\164\x69\x6f\156" => $NR), "\x62\x6f\x64\171" => json_encode($Ee), "\155\145\164\150\x6f\x64" => "\x50\117\123\124", "\144\x61\164\141\x5f\x66\157\x72\155\x61\x74" => "\142\x6f\144\x79", "\163\x73\x6c\166\x65\x72\x69\x66\x79" => false);
$Su = wp_remote_post($this->update_path, $ca);
if (!(!is_wp_error($Su) || wp_remote_retrieve_response_code($Su) === 200)) {
goto vJ;
}
$oG = json_decode($Su["\142\x6f\x64\x79"], true);
return $oG;
vJ:
return false;
}
private function getAuthToken()
{
global $H0;
$cN = $H0->mo_oauth_client_get_option("\x6d\157\x5f\x6f\x61\x75\x74\x68\137\x61\144\155\151\x6e\x5f\x63\165\163\164\x6f\155\145\x72\137\153\145\x79");
$WT = $H0->mo_oauth_client_get_option("\155\x6f\137\157\141\x75\x74\x68\137\x61\x64\155\151\156\137\x61\160\x69\x5f\x6b\145\x79");
$n2 = round(microtime(true) * 1000);
$T_ = $cN . number_format($n2, 0, '', '') . $WT;
$NR = hash("\163\x68\x61\x35\x31\62", $T_);
return $NR;
}
function zipData($i4, $Jt)
{
if (!(extension_loaded("\x7a\151\160") && file_exists($i4) && count(glob($i4 . DIRECTORY_SEPARATOR . "\52")) !== 0)) {
goto wA;
}
$l9 = new ZipArchive();
if (!$l9->open($Jt, ZIPARCHIVE::CREATE)) {
goto qK;
}
$i4 = realpath($i4);
if (is_dir($i4) === true) {
goto Ty;
}
if (!is_file($i4)) {
goto sT;
}
$l9->addFromString(basename($i4), file_get_contents($i4));
sT:
goto MM;
Ty:
$O6 = new RecursiveDirectoryIterator($i4);
$O6->setFlags(RecursiveDirectoryIterator::SKIP_DOTS);
$E_ = new RecursiveIteratorIterator($O6, RecursiveIteratorIterator::SELF_FIRST);
foreach ($E_ as $eP) {
$eP = realpath($eP);
if (is_dir($eP) === true) {
goto bT;
}
if (!(is_file($eP) === true)) {
goto xn;
}
$l9->addFromString(str_replace($i4 . DIRECTORY_SEPARATOR, '', $eP), file_get_contents($eP));
xn:
goto JH;
bT:
$l9->addEmptyDir(str_replace($i4 . DIRECTORY_SEPARATOR, '', $eP . DIRECTORY_SEPARATOR));
JH:
co:
}
Wr:
MM:
qK:
return $l9->close();
wA:
return false;
}
function mo_oauth_client_plugin_update_message($ZT, $Su)
{
if (array_key_exists("\163\x74\x61\x74\165\x73\x5f\x63\157\144\145", $ZT)) {
goto ec;
}
return;
ec:
if ($ZT["\163\164\x61\x74\x75\163\x5f\143\x6f\x64\x65"] == "\123\x55\x43\103\105\123\123") {
goto c0;
}
if (!($ZT["\163\x74\141\x74\x75\163\x5f\143\157\x64\x65"] == "\x44\105\x4e\x49\105\x44")) {
goto Fq;
}
echo sprintf(__($ZT["\154\151\x63\145\x6e\x73\x65\x5f\x69\156\x66\157\162\x6d\x61\x74\x69\157\x6e"]));
Fq:
goto wJ;
c0:
$gk = wp_upload_dir();
$Zf = $gk["\142\x61\x73\145\x64\x69\162"];
$gk = rtrim($Zf, "\57");
$js = str_replace("\x2f", "\x5c", $gk) . "\x5c\x62\141\x63\153\x75\160";
$bS = "\x6d\x69\x6e\x69\157\162\x61\x6e\x67\145\55\157\141\x75\164\x68\55\x6f\151\x64\x63\55\x73\x69\x6e\x67\x6c\145\x2d\163\x69\147\156\x2d\x6f\x6e\x2d\142\x61\143\153\x75\x70\x2d" . $this->current_version;
$cr = explode("\74\x2f\x75\x6c\x3e", $ZT["\156\145\167\x5f\166\145\x72\x73\x69\157\x6e\x5f\143\x68\141\156\x67\x65\154\157\147"]);
$TI = $cr[0];
$mK = $TI . "\74\57\x75\x6c\76";
echo "\x3c\x64\151\x76\x3e\x3c\x62\x3e" . __("\74\x62\162\40\x2f\76\x41\x6e\40\x61\165\164\157\x6d\x61\x74\151\x63\x20\x62\141\x63\x6b\165\x70\x20\157\x66\x20\143\x75\x72\x72\x65\x6e\x74\40\x76\145\162\163\x69\157\x6e\x20" . $this->current_version . "\x20\x68\141\163\x20\x62\x65\x65\x6e\40\x63\162\145\x61\164\x65\144\40\x61\164\x20\x74\150\x65\40\154\157\143\x61\x74\151\157\156\x20" . $js . "\40\167\151\x74\x68\40\164\x68\x65\40\156\141\155\x65\x20\x3c\x73\160\x61\156\x20\x73\164\171\x6c\145\75\x22\143\157\x6c\157\x72\72\43\x30\x30\x37\x33\141\141\x3b\42\x3e" . $bS . "\x3c\x2f\163\x70\141\x6e\76\56\x20\111\x6e\40\x63\x61\163\145\x2c\40\x73\x6f\155\x65\x74\x68\151\x6e\x67\x20\142\x72\145\141\153\x73\40\144\165\x72\151\156\x67\40\x74\x68\145\40\165\160\x64\x61\164\145\54\40\x79\157\165\x20\x63\141\x6e\40\162\x65\166\145\162\164\40\164\157\x20\x79\x6f\165\162\40\x63\165\x72\162\145\156\164\40\166\145\162\x73\x69\157\156\40\x62\x79\x20\162\145\160\x6c\141\x63\x69\x6e\x67\x20\164\150\145\x20\142\141\x63\153\x75\160\40\165\163\151\x6e\x67\x20\x46\x54\x50\40\141\143\143\x65\x73\x73\x2e", "\155\x69\x6e\151\157\162\141\156\147\x65\55\x6f\x61\165\x74\x68\55\x6f\151\x64\x63\55\x73\151\x6e\x67\x6c\x65\x2d\x73\x69\147\x6e\x2d\157\x6e") . "\74\x2f\142\x3e\74\x2f\x64\x69\166\x3e\74\144\x69\166\40\x73\164\x79\154\145\x3d\42\143\x6f\154\157\162\x3a\40\43\x66\x30\x30\73\x22\76\74\x62\76" . __("\x3c\142\162\x20\57\x3e\124\141\x6b\145\x20\141\40\155\151\156\165\164\x65\x20\164\157\x20\143\x68\x65\x63\153\40\x74\150\x65\40\143\150\141\x6e\x67\x65\154\157\147\x20\x6f\x66\40\154\141\x74\145\x73\164\40\166\145\x72\x73\x69\157\x6e\x20\157\146\x20\164\150\145\40\160\x6c\x75\x67\151\x6e\x2e\40\110\x65\x72\145\x27\163\x20\x77\x68\171\x20\171\157\x75\x20\x6e\x65\x65\x64\40\x74\x6f\40\x75\160\x64\x61\164\145\72", "\x6d\x69\x6e\151\157\162\141\156\147\145\x2d\x6f\x61\x75\164\150\55\157\x69\x64\x63\x2d\163\151\156\147\x6c\145\55\163\151\147\156\55\x6f\156") . "\x3c\x2f\142\x3e\x3c\x2f\x64\151\166\76";
echo "\74\144\151\166\40\x73\x74\171\154\x65\75\42\146\157\x6e\x74\55\167\145\151\147\150\x74\72\x20\156\x6f\162\155\x61\x6c\x3b\42\x3e" . $mK . "\x3c\57\144\151\x76\x3e\74\x62\x3e\116\157\x74\145\72\x3c\x2f\142\x3e\x20\120\154\x65\141\x73\x65\x20\143\154\151\x63\x6b\x20\157\x6e\x20\74\x62\76\126\151\145\167\x20\126\x65\162\x73\151\157\156\40\x64\145\x74\141\x69\154\x73\x3c\x2f\x62\x3e\x20\154\x69\x6e\153\40\164\157\x20\x67\145\x74\40\x63\x6f\x6d\160\154\x65\164\x65\40\143\150\141\156\147\x65\154\157\147\x20\x61\x6e\144\x20\154\151\143\x65\156\163\x65\40\x69\x6e\146\157\162\155\x61\164\151\157\156\56\40\103\x6c\x69\143\153\40\x6f\x6e\x20\x3c\142\x3e\x55\x70\x64\141\x74\145\40\116\157\x77\74\57\x62\x3e\40\154\x69\x6e\x6b\x20\164\157\40\x75\x70\x64\x61\x74\145\x20\164\x68\145\40\x70\154\x75\147\151\156\40\164\157\x20\154\x61\x74\145\x73\x74\x20\166\145\x72\x73\x69\157\x6e\x2e";
wJ:
}
public function mo_oauth_license_key_expiry_remainder()
{
global $H0;
$mA = $H0->get_plugin_config()->get_current_config();
$qi = time();
if (empty($mA["\x6d\157\x5f\144\x74\145\x5f\x64\x61\164\x61"])) {
goto gK;
}
$T5 = strtotime($H0->mooauthdecrypt($mA["\x6d\x6f\137\x64\164\145\x5f\144\141\x74\x61"]));
gK:
if (!array_key_exists("\155\x6f\157\141\165\x74\x68\x63\154\x69\145\x6e\x74\x2d\x64\151\163\155\151\x73\x73", $_GET)) {
goto p0;
}
return;
p0:
if (!($H0->mo_oauth_is_clv() && new DateTime() > $H0->mo_oauth_client_get_option("\155\157\55\x6f\141\x75\164\150\55\143\x6c\151\x65\156\164\55\160\x6c\165\x67\x69\156\55\164\x69\155\x65\162"))) {
goto qg;
}
$W6 = esc_url(add_query_arg(array("\x6d\157\157\141\165\x74\x68\143\154\x69\x65\x6e\x74\x2d\x64\x69\163\155\151\163\x73" => wp_create_nonce("\157\x61\x75\164\x68\55\x63\x6c\x69\x65\x6e\x74\x2d\x64\x69\163\x6d\151\163\x73"))));
echo "\x3c\x64\x69\166\x20\151\x64\75\x22\155\x65\x73\163\x61\x67\x65\42\40\143\154\141\163\163\75\x22\156\157\x74\151\x63\145\x20\x6e\157\x74\151\143\145\40\x6e\x6f\x74\151\x63\x65\x2d\167\141\162\x6e\151\x6e\x67\42\40\163\164\171\154\x65\x3d\x22\142\x61\143\x6b\x67\x72\157\x75\x6e\144\x3a\43\146\x66\x66\x66\x64\x64\x3b\x20\x62\x6f\x72\144\x65\162\55\x72\x61\144\151\x75\x73\72\x34\x70\x78\73\40\142\157\x72\x64\145\x72\x3a\x20\61\x70\x78\40\x73\157\154\151\x64\x20\x23\145\x30\141\146\x33\64\x22\x3e\74\x61\x20\150\x72\145\x66\75\42" . $W6 . "\x22\40\143\x6c\x61\163\163\75\x22\141\154\x69\147\156\x72\151\x67\x68\164\40\x22\x3e\x3c\x69\155\x67\x20\163\162\143\x3d\x22" . MOC_URL . "\162\145\163\x6f\165\x72\x63\x65\x73\57\151\155\141\x67\145\163\x2f\144\145\154\x65\164\145\55\142\x75\164\x74\x6f\x6e\x2e\160\x6e\x67" . "\42\40\143\x6c\x61\x73\163\x3d\x22\141\x6c\x69\147\156\x6c\145\146\164\42\x20\150\145\x69\147\150\164\x3d\x22\x38\x37\42\40\x77\x69\144\x74\x68\75\x22\66\x36\x22\x20\x61\154\164\x3d\x22\x64\x65\154\x65\164\145\137\x62\165\x74\x74\x6f\x6e\x22\40\163\164\x79\154\145\75\x22\155\x61\162\x67\x69\x6e\x3a\62\x70\170\40\55\70\160\170\x20\x31\x30\x70\170\40\x30\x3b\x20\x68\x65\151\x67\150\x74\x3a\x31\x38\160\x78\x3b\x20\x77\151\x64\164\150\x3a\40\61\70\160\x78\73\x22\x3e\74\x2f\141\x3e\x3c\151\155\147\x20\163\162\143\75\x22" . MOC_URL . "\162\x65\x73\x6f\x75\x72\x63\145\x73\x2f\x69\x6d\141\x67\145\x73\x2f\167\141\x72\x6e\x69\x6e\x67\x32\x2e\x70\156\147" . "\42\40\x63\x6c\x61\x73\163\x3d\42\141\x6c\151\x67\156\154\x65\146\x74\x22\40\x68\x65\151\147\x68\164\75\x22\70\x37\x22\40\167\x69\x64\x74\150\75\42\x36\66\42\40\x61\154\164\75\42\156\x6f\164\x69\146\x69\143\141\x74\151\157\156\x20\154\157\147\x6f\42\40\x73\164\171\x6c\x65\75\x22\x6d\141\x72\x67\151\x6e\x3a\x37\160\x78\x20\x36\160\170\40\x30\160\170\40\x30\73\x20\150\145\151\x67\150\164\72\64\x34\160\170\x3b\x20\167\151\144\x74\x68\x3a\x20\64\x34\160\170\73\42\76\74\150\63\40\163\164\x79\154\145\x3d\x22\146\x6f\156\x74\55\163\151\172\x65\x3a\61\x2e\x32\162\145\155\73\x6d\141\162\147\x69\156\x3a\x20\61\x37\56\x32\x70\x78\x20\x30\x20\x31\67\x2e\x32\x70\170\x22\x3e\155\151\156\x69\117\x72\141\x6e\147\145\x20\117\101\165\x74\150\40\x2f\40\x4f\160\x65\156\x49\x44\x20\x53\151\156\x67\154\x65\40\123\x69\x67\156\x2d\117\x6e\40\123\x75\160\x70\x6f\x72\x74\x20\46\40\115\141\151\156\164\145\x6e\141\156\x63\x65\40\x4c\151\143\145\156\163\145\40\x45\170\x70\151\162\x69\x6e\x67\40\123\x6f\x6f\x6e\74\57\x68\x33\x3e\x3c\x70\40\163\164\x79\154\x65\x3d\x22\x66\157\156\x74\x2d\163\151\172\145\72\61\x34\x70\x78\x3b\40\146\x6f\156\164\55\167\145\151\x67\x68\164\x3a\x20\65\x30\60\73\x22\76\131\157\165\x72\x20\x6d\x69\156\x69\x4f\162\141\156\147\145\40\117\x41\x75\x74\x68\x20\x2f\x20\x4f\160\145\156\111\104\40\x43\x6f\x6e\x6e\145\x63\x74\x20\x53\x69\x6e\147\x6c\145\x20\x53\x69\147\156\x2d\117\156\x20\154\x69\x63\x65\156\x73\145\x20\151\163\40\147\157\x69\x6e\x67\x20\164\157\40\145\x78\160\x69\x72\145\40\x6f\156\x20";
echo date("\131\x2d\155\x2d\144", $T5);
echo "\x2e\40\74\142\x72\76\40\x54\150\x69\x73\x20\155\x65\141\x6e\x73\x20\x79\x6f\x75\x20\x77\151\x6c\154\x20\x6c\x6f\157\x73\x65\40\55\x3c\x62\162\x3e\xd\xa\11\x9\x9\74\154\x69\40\x73\164\171\154\145\x3d\42\x6d\x61\x72\147\151\x6e\72\x30\x70\x78\x20\55\62\160\x78\x20\x32\160\170\40\61\x33\x70\170\42\76\40\x3c\x62\76\124\150\145\40\141\x64\155\151\156\x20\x61\143\x63\x65\x73\x73\40\x74\157\x20\165\160\144\141\164\145\x20\160\x6c\x75\147\x69\x6e\x20\143\157\x6e\146\151\x67\165\162\141\x74\x69\157\156\x2e\74\x2f\x6c\x69\x3e\15\xa\11\x9\x9\x3c\154\x69\40\163\164\x79\154\145\x3d\x22\x6d\x61\162\147\151\156\72\x30\160\170\x20\60\x70\170\x20\62\160\x78\x20\61\x33\x70\x78\42\x3e\x54\150\145\x20\154\x61\x74\145\x73\164\x20\163\145\143\x75\162\151\x74\171\40\x70\x61\x74\x63\150\145\163\x2e\74\x2f\x6c\151\x3e\15\12\x9\x9\x9\74\154\x69\40\163\x74\171\154\x65\x3d\42\x6d\141\162\x67\x69\156\x3a\x30\160\170\x20\x30\x70\170\x20\x32\160\x78\x20\61\x33\160\x78\42\76\x43\157\155\160\x61\164\151\142\151\x6c\151\x74\x79\x20\167\x69\x74\x68\40\164\150\145\x20\x6c\x61\x74\145\x73\x74\40\120\x48\120\40\x76\145\x72\x73\x69\157\156\163\40\141\x6e\144\40\x57\x6f\x72\144\x70\x72\x65\163\x73\40\166\x65\x72\x73\151\x6f\x6e\x73\74\x2f\x6c\151\76\xd\xa\x9\11\x9\x3c\154\151\x20\x73\164\171\x6c\145\x3d\42\x6d\141\x72\147\x69\156\x3a\x30\x70\170\x20\60\x70\170\x20\62\160\x78\40\61\x33\x70\170\42\x3e\117\x75\x72\40\x61\167\x65\163\x6f\x6d\145\40\163\165\x70\160\x6f\x72\x74\41\x20\74\x2f\x62\x3e\74\57\x6c\x69\x3e\x3c\57\160\x3e\xd\12\15\xa\x9\x9\11\x3c\x70\x20\x73\164\171\x6c\x65\40\75\40\x22\146\157\x6e\164\55\x73\x69\172\145\72\x31\x34\x70\170\x3b\x20\x66\x6f\156\164\55\167\145\151\147\x68\164\x3a\40\65\60\x30\73\42\x3e\40\x49\146\x20\x79\x6f\x75\40\167\x69\x73\x68\x20\164\x6f\x20\150\x61\166\145\40\x61\154\154\40\x74\150\145\40\160\x72\x65\x6d\x69\165\155\x20\x62\145\x6e\x65\x66\151\164\x73\54\x20\x70\x6c\145\x61\163\x65\40\162\x65\x6e\x65\167\40\171\157\165\162\40\154\x69\143\x65\156\163\145\x20\x6e\157\167\x2c\x20\74\141\40\x68\162\x65\x66\x3d\42\x6d\141\x69\x6c\x74\x6f\72\157\x61\x75\x74\x68\x73\x75\x70\160\x6f\162\164\x40\170\x65\143\x75\x72\x69\x66\x79\56\x63\x6f\155\77\123\x75\x62\x6a\x65\143\x74\75\x57\x50\45\62\60\x4f\x41\165\x74\x68\x25\62\60\123\x53\117\x2d\122\x65\156\145\167\141\154\x25\x32\60\x52\145\x71\165\145\x73\164\46\142\x6f\x64\171\75\124\x65\x61\155\x25\62\x30\155\151\x6e\151\117\162\141\156\x67\x65\x25\x32\x43\x25\60\104\x25\x30\x41\45\x30\104\x25\60\x41\111\45\62\x30\x77\157\165\154\144\45\x32\x30\154\151\153\145\45\62\x30\x74\x6f\45\62\60\x72\x65\161\165\145\163\164\x25\x32\60\141\x25\62\60\162\145\x6e\145\167\x61\x6c\x25\62\x30\111\x6e\x76\x6f\x69\143\x65\x25\62\x30\x66\157\x72\45\x32\60\164\x68\x65\x25\x32\x30\160\162\157\x64\165\143\x74\x25\x32\x30\160\165\162\143\150\x61\163\145\144\45\x32\60\165\156\144\x65\x72\45\62\x30\x74\x68\x65\x25\x32\x30\x6d\x69\x6e\x69\x4f\x72\x61\156\x67\x65\x25\62\60\x61\x63\x63\157\165\x6e\164\x25\62\x30\141\163\163\157\x63\x69\x61\164\145\x64\x25\62\x30\167\151\x74\x68\x25\62\x30\x74\150\x65\45\62\x30\145\x6d\141\x69\x6c\x25\x32\x30\141\x64\144\x72\x65\x73\x73\45\63\101\45\x32\60\x25\x33\103\105\x6e\x74\145\162\45\62\x30\x79\157\x75\162\x25\x32\x30\x65\x6d\x61\x69\154\45\x32\60\x49\104\x25\63\105\56\x22\x20\164\x61\x72\x67\x65\x74\x3d\x22\137\x62\x6c\141\156\x6b\x22\x3e\x43\x6c\x69\x63\x6b\40\x48\x65\x72\x65\x3c\57\141\76\xd\xa\11\x9\11\11\157\x72\x20\x72\145\141\143\x68\40\157\x75\x74\40\x74\157\40\x75\x73\x20\157\156\40\157\x75\x72\x20\155\141\x69\x6c\x20\74\x73\164\162\157\156\147\76\x6f\141\165\164\x68\x73\165\x70\160\x6f\x72\164\x40\x78\145\143\165\162\x69\146\x79\x2e\143\157\155\x3c\57\163\x74\x72\x6f\156\147\76\15\12\x9\11\11\74\57\x64\151\166\76";
qg:
}
public function mo_oauth_license_key_notice()
{
global $H0;
if (!array_key_exists("\155\x6f\x6f\x61\x75\x74\150\143\154\x69\145\x6e\x74\55\x64\151\x73\x6d\151\x73\163", $_GET)) {
goto NS;
}
return;
NS:
$mA = $H0->get_plugin_config()->get_current_config();
$tY = '';
if (empty($mA["\155\157\137\144\164\x65\137\x73\164\141\164\145"])) {
goto wP;
}
$tY = $H0->mooauthdecrypt($mA["\x6d\x6f\137\x64\x74\145\137\163\164\141\164\x65"]);
wP:
if (!$H0->mo_oauth_is_clv()) {
goto od;
}
if (!($tY == "\x65\156\x61\x62\154\145\x64" && new DateTime() > $H0->mo_oauth_client_get_option("\x6d\x6f\x2d\x6f\141\165\164\x68\x2d\x63\154\x69\145\x6e\x74\55\160\x6c\x75\147\151\x6e\55\164\x69\155\145\x72"))) {
goto ww;
}
$W6 = esc_url(add_query_arg(array("\155\x6f\x6f\141\165\x74\150\x63\154\151\x65\x6e\164\x2d\x64\x69\163\x6d\151\x73\x73" => wp_create_nonce("\157\141\165\164\150\55\x63\x6c\x69\145\x6e\x74\x2d\144\151\163\155\151\x73\x73"))));
echo "\x3c\x64\151\x76\x20\151\144\75\x22\155\145\163\x73\x61\147\x65\x22\x20\163\x74\171\154\x65\75\42\x62\141\143\x6b\x67\162\157\x75\x6e\x64\x3a\43\146\146\x65\70\x65\x38\73\40\x62\157\x72\144\x65\x72\x2d\162\141\x64\x69\165\x73\72\x34\x70\170\x3b\40\x66\157\x6e\x74\x2d\x73\151\172\145\x3a\61\x33\x70\x78\x3b\x20\x62\x6f\162\144\145\x72\72\40\x31\160\170\x20\163\157\154\151\144\x20\x72\145\144\x22\40\x63\x6c\x61\x73\163\75\x22\x6e\157\164\151\x63\145\40\x6e\157\164\151\x63\145\x20\x6e\x6f\164\x69\x63\145\55\167\x61\162\x6e\x69\x6e\x67\x22\76\x3c\x61\x20\150\162\145\x66\75\x22" . $W6 . "\x22\x20\x63\154\x61\x73\x73\x3d\42\141\x6c\151\147\156\x72\151\147\x68\x74\40\42\76\74\151\x6d\147\40\163\x72\143\x3d\42" . MOC_URL . "\x72\x65\x73\x6f\x75\162\143\x65\163\57\x69\x6d\x61\x67\145\x73\x2f\x64\x65\154\x65\164\145\55\142\165\x74\x74\157\156\56\x70\156\x67" . "\42\x20\x63\x6c\x61\x73\x73\x3d\42\141\x6c\151\147\156\x6c\x65\x66\164\x22\40\150\x65\x69\147\x68\x74\x3d\42\70\67\x22\x20\167\x69\x64\164\150\x3d\x22\66\66\42\40\x61\x6c\x74\75\x22\144\x65\154\x65\x74\145\x5f\142\x75\164\x74\x6f\x6e\42\x20\163\x74\171\x6c\x65\x3d\x22\x6d\141\162\x67\x69\156\72\x32\160\170\x20\x2d\70\x70\170\x20\x31\60\160\170\40\60\x3b\x20\150\x65\x69\147\150\164\x3a\x31\70\160\170\x3b\40\x77\151\x64\x74\150\x3a\x20\x31\x38\x70\170\73\x22\76\74\57\141\76\x3c\x69\155\x67\40\x73\162\143\75\x22" . MOC_URL . "\x72\145\x73\x6f\x75\x72\143\145\x73\57\151\x6d\141\147\x65\163\57\167\141\x72\x6e\x69\156\147\x2e\160\156\x67" . "\x22\40\x63\154\x61\x73\x73\x3d\42\141\154\x69\x67\156\x6c\145\146\164\42\x20\x68\145\x69\x67\x68\x74\x3d\42\x38\x37\x22\x20\167\x69\144\164\x68\x3d\x22\66\x36\42\40\x61\x6c\164\x3d\x22\x6d\x69\156\x69\x4f\162\x61\x6e\x67\145\x20\x6c\x6f\x67\x6f\x22\x20\x73\x74\171\x6c\145\75\x22\x6d\141\162\x67\x69\x6e\x3a\x32\x70\x78\x20\60\160\x78\x20\60\x70\x78\x20\60\x3b\x20\x68\145\151\x67\x68\x74\x3a\x35\60\160\170\x3b\x20\x77\151\x64\x74\150\72\40\x35\60\x70\170\73\42\x3e\74\150\x33\40\x73\164\171\x6c\x65\75\42\146\x6f\156\x74\55\x73\x69\x7a\x65\x3a\x31\x2e\62\x72\x65\155\x3b\40\x6d\x61\162\147\x69\156\x3a\40\61\66\56\62\x70\170\x20\x30\40\61\x36\56\x32\160\x78\42\76\x6d\x69\x6e\151\117\162\x61\156\147\145\x20\x4f\x41\165\x74\x68\x20\x2f\x20\x4f\160\145\156\111\x44\x20\123\151\x6e\147\154\145\40\123\x69\x67\x6e\55\x4f\x6e\40\x53\x75\x70\x70\157\x72\x74\40\x26\x20\115\141\151\x6e\164\x65\x6e\141\156\143\145\x20\x4c\151\x63\145\x6e\x73\x65\x20\105\170\x70\151\x72\x65\x64\74\x2f\x68\63\x3e\x3c\160\x20\x73\164\171\x6c\145\40\x3d\x20\x22\146\x6f\x6e\x74\x2d\163\151\x7a\145\x3a\x31\64\160\170\73\x20\x66\x6f\156\164\55\x77\x65\151\147\150\164\72\40\65\60\x30\73\x22\76\x59\157\x75\x72\40\155\151\x6e\151\117\x72\141\x6e\147\145\40\x3c\x61\40\x68\162\x65\x66\75\x22\x68\164\164\x70\163\x3a\57\x2f\x70\154\165\x67\151\156\163\x2e\155\x69\x6e\151\x6f\162\141\x6e\x67\x65\x2e\143\x6f\155\57\x77\x6f\162\144\160\162\x65\x73\163\x2d\x73\163\157\42\40\x74\141\162\147\145\x74\75\42\x5f\x62\x6c\x61\156\153\42\76\x4f\x41\x75\164\x68\40\57\40\117\x70\145\156\x49\x44\40\x43\x6f\x6e\x6e\145\x63\164\40\x53\x69\x6e\x67\154\145\x20\x53\151\147\x6e\55\117\x6e\74\57\x61\x3e\x20\x70\162\x65\155\151\x75\155\40\x6c\x69\x63\x65\x6e\163\x65\x20\x69\163\40\x65\170\x70\151\x72\x65\x64\x2e\15\xa\11\x9\x9\x9\x3c\x62\162\x3e\x20\x54\150\x69\163\40\x6d\145\x61\156\163\40\x79\x6f\x75\40\x77\x69\x6c\x6c\40\154\157\157\x73\145\x20\55\x3c\142\162\76\xd\12\x9\x9\x9\11\74\154\151\40\163\x74\171\154\x65\75\42\x6d\x61\x72\x67\151\x6e\x3a\x30\160\170\40\55\x32\x70\170\40\x32\x70\170\x20\61\63\160\170\x22\76\x20\74\x62\x3e\x54\150\145\40\x61\x64\x6d\x69\x6e\x20\x61\143\143\145\x73\163\40\x74\157\x20\x75\x70\x64\141\x74\145\40\160\x6c\165\147\151\156\40\143\157\x6e\x66\151\x67\165\162\x61\164\151\157\x6e\x2e\x3c\57\154\151\x3e\15\12\x9\11\x9\x9\74\x6c\151\40\x73\164\x79\x6c\x65\x3d\42\155\x61\162\147\x69\156\x3a\60\x70\170\x20\60\x70\x78\x20\62\x70\x78\x20\61\x33\x70\170\42\x3e\x54\150\x65\40\x6c\x61\x74\x65\163\x74\x20\x73\145\143\x75\x72\151\164\171\x20\x70\141\164\143\x68\145\x73\56\74\x2f\154\151\76\xd\12\x9\11\11\x9\74\x6c\151\40\x73\x74\171\x6c\145\x3d\42\155\141\x72\x67\151\156\x3a\x30\160\170\x20\x30\160\x78\40\x32\160\170\40\61\63\160\x78\42\76\103\157\155\160\x61\x74\x69\x62\151\154\151\164\x79\40\x77\x69\x74\150\40\164\150\145\x20\x6c\141\164\x65\x73\x74\x20\120\110\x50\40\166\145\162\163\x69\x6f\156\x73\40\141\x6e\144\x20\127\157\x72\144\x70\x72\x65\163\163\40\166\145\162\x73\x69\x6f\156\x73\74\x2f\x6c\x69\x3e\15\xa\11\x9\x9\11\74\x6c\x69\40\x73\164\171\154\145\75\42\x6d\x61\x72\x67\151\x6e\x3a\60\x70\x78\x20\60\160\170\40\x32\160\x78\x20\61\x33\160\x78\42\x3e\117\165\x72\40\141\167\x65\163\157\155\145\40\x73\165\x70\160\x6f\162\164\41\x20\74\x2f\x62\76\x3c\57\x6c\151\x3e\x3c\x2f\x70\76\15\xa\11\11\x9\x9\x9\xd\12\11\11\x9\x9\74\x70\40\x73\x74\171\154\x65\40\x3d\x20\x22\x66\x6f\156\164\55\x73\x69\172\145\x3a\x31\64\x70\x78\x3b\x20\x66\157\x6e\164\x2d\x77\145\151\147\150\164\72\x20\65\60\x30\73\x22\76\x20\x49\x66\40\171\157\x75\x20\x77\151\x73\x68\x20\x74\x6f\x20\150\x61\x76\145\x20\x61\x6c\x6c\40\164\x68\145\40\x70\x72\x65\155\151\x75\x6d\x20\142\145\x6e\x65\x66\x69\164\163\x2c\x20\160\x6c\x65\x61\x73\145\x20\x72\145\x6e\145\x77\40\171\x6f\165\162\x20\x6c\151\x63\x65\156\x73\x65\40\x6e\157\167\x2c\40\74\x61\x20\150\x72\145\x66\x3d\42\x6d\141\x69\154\x74\157\x3a\157\141\165\164\x68\163\165\x70\160\157\x72\x74\x40\x78\x65\x63\x75\x72\151\x66\171\x2e\143\157\x6d\x3f\x53\x75\142\152\145\143\164\75\127\x50\x25\x32\x30\x4f\101\165\x74\150\x25\62\x30\x53\123\117\55\x52\x65\156\145\x77\x61\x6c\x25\x32\60\x52\145\161\165\x65\x73\x74\46\x62\x6f\x64\x79\x3d\x54\145\141\x6d\x25\x32\60\155\x69\156\x69\x4f\x72\x61\156\x67\145\45\x32\103\x25\60\x44\x25\60\x41\x25\60\104\45\60\101\111\x25\62\x30\x77\x6f\x75\154\x64\x25\x32\x30\154\151\153\145\x25\x32\x30\164\157\x25\x32\60\162\x65\x71\165\x65\x73\x74\45\62\60\141\45\x32\60\162\145\156\145\x77\141\154\45\x32\x30\x49\156\166\x6f\151\143\145\45\x32\60\146\x6f\162\x25\62\60\x74\x68\145\45\x32\x30\160\162\x6f\x64\x75\x63\x74\45\62\60\160\165\162\x63\x68\x61\163\x65\144\45\x32\x30\165\x6e\144\x65\x72\45\x32\x30\x74\150\145\45\x32\60\x6d\151\156\151\x4f\162\x61\x6e\147\145\x25\x32\x30\141\x63\143\157\165\156\x74\x25\62\60\141\163\x73\157\x63\151\x61\x74\x65\x64\45\x32\60\x77\x69\164\x68\45\62\x30\x74\x68\145\x25\62\x30\x65\155\141\x69\154\x25\x32\x30\141\144\x64\162\x65\163\163\x25\63\101\x25\62\x30\x25\63\x43\x45\x6e\164\x65\162\45\62\60\x79\x6f\x75\162\x25\62\x30\x65\x6d\141\x69\154\x25\62\60\111\104\x25\x33\x45\x2e\x22\40\164\141\162\x67\x65\164\75\x22\137\x62\x6c\141\156\153\42\76\103\154\x69\143\x6b\40\110\x65\162\x65\x3c\x2f\141\x3e\xd\12\x9\11\x9\11\157\x72\40\x72\145\141\x63\x68\40\x6f\x75\164\40\x74\x6f\x20\165\163\x20\x6f\156\x20\x6f\165\162\40\x6d\x61\151\154\40\74\163\x74\162\157\x6e\147\76\157\x61\x75\x74\x68\x73\x75\x70\160\x6f\x72\x74\100\x78\x65\143\x75\x72\151\146\171\56\143\x6f\155\x3c\x2f\163\164\162\157\156\x67\76\15\12\11\x9\11\11\74\x2f\144\151\166\76";
ww:
od:
}
public function mo_oauth_license_domain_notice()
{
echo "\74\x64\151\166\40\x69\144\75\42\x6d\145\x73\163\141\x67\145\42\x20\x73\x74\171\154\145\x3d\42\x62\141\143\153\147\162\157\165\156\144\x3a\43\146\146\145\x38\x65\70\x3b\40\x62\157\x72\x64\145\x72\x2d\x72\141\144\151\165\x73\72\x34\160\170\73\40\x66\x6f\x6e\x74\x2d\x73\x69\172\x65\72\61\x33\160\x78\73\x20\142\x6f\162\144\x65\x72\72\40\x31\x70\170\40\x73\157\x6c\x69\144\x20\x72\x65\x64\42\x20\x63\x6c\141\163\163\75\x22\156\x6f\164\x69\143\145\x20\x6e\157\x74\151\x63\x65\x20\x6e\x6f\x74\151\143\x65\x2d\x77\141\162\x6e\151\156\x67\x22\x3e\15\xa\x9\11\11\x9\74\151\155\147\40\163\162\x63\x3d\x22" . MOC_URL . "\162\145\x73\157\x75\x72\x63\145\x73\x2f\151\155\x61\147\145\x73\57\x77\x61\x72\156\151\156\147\56\160\156\x67" . "\42\40\143\154\141\x73\x73\x3d\42\x61\154\x69\147\x6e\x6c\145\146\164\42\x20\x68\145\x69\147\x68\164\x3d\42\x38\67\x22\x20\167\x69\144\164\x68\75\x22\x36\x36\42\x20\x61\x6c\164\75\x22\155\151\156\151\117\x72\141\156\x67\145\x20\154\x6f\x67\x6f\42\40\x73\x74\x79\154\145\75\42\155\141\x72\147\x69\x6e\x3a\62\x70\170\40\x30\160\170\x20\x30\160\170\40\x30\73\40\150\x65\x69\x67\150\164\72\65\60\x70\170\73\x20\x77\x69\x64\164\150\x3a\40\x35\60\x70\170\x3b\42\x3e\74\x2f\151\x6d\x67\76\xd\xa\11\11\x9\x9\74\150\63\40\x73\x74\171\x6c\x65\x3d\42\146\157\x6e\164\55\x73\151\x7a\145\72\61\56\62\x72\x65\155\73\40\x6d\x61\162\147\151\x6e\72\x20\x31\66\56\62\x70\170\40\x30\40\61\66\x2e\62\160\x78\42\x3e\x6d\x69\156\151\x4f\162\141\156\147\145\x20\117\x41\x75\x74\150\40\57\40\117\160\x65\x6e\111\x44\x20\123\x69\x6e\147\x6c\x65\40\x53\151\x67\156\55\x4f\x6e\x20\154\x69\x63\x65\x6e\163\145\40\156\157\164\x20\x66\157\x75\x6e\144\40\x66\x6f\x72\40\x74\150\x69\163\x20\144\x6f\x6d\x61\151\156\56\x3c\x2f\x68\x33\x3e\15\xa\11\x9\11\11\x3c\x70\x20\x73\164\x79\154\x65\x20\75\x20\42\x66\x6f\156\164\x2d\x73\x69\x7a\x65\72\x31\64\160\x78\x3b\40\x66\x6f\156\x74\x2d\167\145\151\x67\150\164\72\40\65\x30\x30\73\x22\76\15\xa\11\x9\x9\11\11\131\157\x75\162\x20\154\x69\143\145\156\163\145\x20\153\x65\171\40\x69\x73\x20\x69\x6e\x76\x61\154\x69\144\40\157\162\x20\x65\x78\160\151\162\145\144\x2e\x20\101\x73\x20\x70\x65\162\40\157\x75\162\x20\x6c\x69\x63\145\x6e\163\x69\156\147\40\x70\157\x6c\x69\x63\171\x20\x79\157\x75\40\x63\x61\x6e\40\x6f\156\x6c\171\40\x75\x73\145\40\x6f\156\x65\40\154\151\x63\x65\156\163\x65\40\141\164\40\x6f\156\145\x20\x64\157\x6d\x61\x69\x6e\x20\141\164\40\141\40\164\151\x6d\x65\x2e\40\111\x6e\x20\143\x61\163\145\40\171\157\x75\x20\167\141\x6e\x74\x20\x74\157\x20\165\x73\145\x20\x74\150\x65\40\160\154\x75\147\x69\x6e\40\x6f\156\x20\x6d\165\154\x74\x69\x70\154\145\40\144\x6f\155\x61\x69\156\x73\40\141\x74\40\141\40\x74\x69\155\145\x20\x79\157\x75\40\167\x6f\165\154\x64\x20\x6e\x65\x65\x64\x20\164\x6f\x20\147\157\x20\146\x6f\x72\x20\x6d\165\164\154\164\x69\160\154\145\40\154\151\x63\145\156\163\x65\163\x2e\40\x46\157\x72\x20\x6d\157\162\x65\40\x69\156\146\x6f\x72\155\x61\x74\x69\x6f\156\40\160\154\x65\x61\163\x65\x20\162\x65\141\x63\x68\40\x6f\165\164\40\x74\157\40\x3c\x61\x20\150\x72\x65\x66\x3d\42\x6d\141\151\x6c\164\x6f\x3a\157\x61\x75\164\x68\163\x75\160\160\157\162\x74\x40\170\145\x63\165\x72\151\146\171\x2e\x63\x6f\x6d\x22\76\x6f\x61\165\x74\x68\x73\x75\x70\160\157\x72\164\100\x78\x65\x63\165\x72\151\x66\171\56\143\157\x6d\x3c\x2f\x61\76\56\x3c\142\162\76\74\x62\162\x3e\120\154\145\x61\x73\x65\x20\160\x75\162\x63\150\141\163\145\x20\x61\x20\156\145\x77\x20\x6c\x69\x63\x65\156\163\145\x20\153\x65\x79\40\157\x72\40\144\x65\141\x63\164\151\x76\141\x74\145\x20\164\x68\145\40\x65\x78\151\163\x74\x69\156\147\x20\x6f\x6e\145\x20\146\162\157\155\40\x61\x6e\x6f\164\x68\145\162\x20\163\151\x74\x65\56\74\142\x72\x3e\x3c\x62\x72\76\x20\x49\x66\x20\171\157\x75\x20\x63\157\x6e\x74\151\x6e\x75\x65\x20\x74\157\x20\165\163\145\x20\x74\x68\145\x20\160\x6c\x75\x67\151\156\x20\x69\x74\40\x77\x69\x6c\154\40\162\145\163\x75\x6c\x74\40\151\156\x20\146\x6f\x6c\x6c\x6f\167\151\x6e\x67\40\72\x2d\40\15\xa\x9\11\11\x9\x3c\57\x70\x3e\xd\xa\x9\11\11\11\74\154\x69\x20\163\x74\x79\154\x65\75\x22\155\x61\x72\147\151\x6e\72\x30\160\170\x20\x2d\x32\x70\x78\x20\62\x70\x78\40\x31\63\x70\x78\x22\x3e\15\12\11\11\x9\11\11\x3c\x62\76\104\x69\163\x61\x62\154\x69\x6e\x67\x20\157\x66\x20\141\144\155\x69\156\40\x61\x63\x63\x65\x73\x73\x20\164\x6f\x20\x75\160\x64\x61\164\145\x20\160\x6c\165\147\x69\156\x20\x63\x6f\156\x66\x69\x67\x75\162\141\x74\151\157\156\x2e\xd\xa\x9\11\x9\11\74\57\154\151\x3e\15\12\11\11\x9\x9\74\x6c\x69\x20\163\x74\x79\154\x65\x3d\x22\x6d\x61\162\147\x69\x6e\72\60\x70\170\40\x30\160\170\40\62\160\x78\x20\x31\63\x70\170\42\76\xd\xa\x9\11\11\11\11\x44\x69\163\141\142\154\x69\156\x67\40\x6f\146\40\123\x53\117\40\157\156\40\164\150\x69\163\x20\x64\x6f\155\x61\151\156\56\74\x2f\x62\x3e\15\12\x9\x9\11\x9\74\x2f\154\151\x3e\xd\xa\x9\11\x9\x9\74\142\162\x3e\xd\12\11\11\11\x20\40\74\x2f\x64\151\166\76";
}
public function mo_oauth_client_dismiss_notice()
{
global $H0;
if (!empty($_GET["\155\x6f\157\x61\x75\164\150\x63\x6c\151\145\x6e\x74\55\x64\151\x73\x6d\151\x73\x73"])) {
goto bh;
}
return;
bh:
if (wp_verify_nonce($_GET["\155\x6f\157\x61\165\164\x68\143\154\x69\145\156\164\55\144\151\x73\155\151\x73\163"], "\x6f\x61\x75\x74\150\55\143\x6c\151\145\156\164\x2d\x64\x69\x73\155\x69\163\x73")) {
goto oB;
}
return;
oB:
if (!(isset($_GET["\x6d\157\x6f\141\x75\164\150\x63\154\x69\145\x6e\x74\x2d\144\151\x73\155\x69\163\163"]) && wp_verify_nonce($_GET["\x6d\x6f\x6f\x61\x75\x74\x68\143\154\x69\145\x6e\x74\55\x64\x69\x73\x6d\x69\x73\x73"], "\157\x61\x75\164\x68\55\x63\x6c\x69\x65\x6e\164\x2d\144\151\163\155\x69\x73\163"))) {
goto JF;
}
$n_ = new DateTime();
$n_->modify("\x2b\61\40\144\x61\171");
$H0->mo_oauth_client_update_option("\155\x6f\x2d\x6f\x61\x75\164\150\55\x63\x6c\151\x65\156\x74\x2d\160\x6c\x75\147\151\x6e\x2d\x74\151\x6d\145\162", $n_);
JF:
}
function mo_oauth_client_create_backup_dir()
{
$js = plugin_dir_path(__FILE__);
$js = rtrim($js, "\x2f");
$js = rtrim($js, "\134");
$ZT = get_plugin_data(__FILE__);
$hZ = $ZT["\124\145\x78\164\x44\157\155\x61\151\x6e"];
$gk = wp_upload_dir();
$Zf = $gk["\142\x61\x73\x65\x64\151\162"];
$gk = rtrim($Zf, "\x2f");
if (is_writable($gk)) {
goto AL;
}
return;
AL:
$jd = $gk . DIRECTORY_SEPARATOR . "\x62\141\143\x6b\165\x70" . DIRECTORY_SEPARATOR . $hZ . "\55\x62\x61\x63\153\x75\x70\55" . $this->current_version;
if (file_exists($jd)) {
goto BG;
}
mkdir($jd, 0777, true);
BG:
$i4 = $js;
$Jt = $jd;
$this->mo_oauth_client_copy_files_to_backup_dir($i4, $Jt);
}
function mo_oauth_client_copy_files_to_backup_dir($js, $jd)
{
if (!is_dir($js)) {
goto MA;
}
$Hn = scandir($js);
MA:
if (!empty($Hn)) {
goto dC;
}
return;
dC:
foreach ($Hn as $i7) {
if (!($i7 == "\56" || $i7 == "\x2e\56")) {
goto hV;
}
goto Jx;
hV:
$rw = $js . DIRECTORY_SEPARATOR . $i7;
$A_ = $jd . DIRECTORY_SEPARATOR . $i7;
if (is_dir($rw)) {
goto ey;
}
copy($rw, $A_);
goto h9;
ey:
if (file_exists($A_)) {
goto UK;
}
mkdir($A_, 0777, true);
UK:
$this->mo_oauth_client_copy_files_to_backup_dir($rw, $A_);
h9:
Jx:
}
GQ:
}
}
function mo_oauth_client_update()
{
global $H0;
$mA = $H0->get_plugin_config()->get_current_config();
$QT = time();
if (empty($mA["\x6d\157\137\x64\x74\145\137\144\x61\164\x61"])) {
goto dl;
}
$QT = strtotime($H0->mooauthdecrypt($mA["\x6d\157\x5f\x64\x74\x65\x5f\144\141\164\141"]));
dl:
$z9 = mo_oauth_client_options_plugin_constants::HOSTNAME;
$RG = mo_oauth_client_options_plugin_constants::Version;
$Hj = $z9 . "\x2f\x6d\157\x61\x73\x2f\141\160\151\x2f\x70\154\x75\147\151\x6e\x2f\x6d\145\164\141\x64\x61\164\141";
$D4 = plugin_basename(dirname(__FILE__) . "\x2f\x6d\x6f\137\157\141\x75\x74\150\x5f\x73\x65\164\x74\151\156\147\163\x2e\160\x68\x70");
$WO = new mo_oauth_client_update_framework($RG, $Hj, $D4);
add_action("\151\x6e\x5f\160\x6c\x75\147\x69\156\137\x75\160\x64\141\164\x65\137\x6d\145\163\163\x61\147\145\x2d{$D4}", array($WO, "\155\157\137\157\141\165\x74\150\x5f\x63\x6c\151\145\156\164\137\160\x6c\165\147\151\156\x5f\165\x70\144\141\x74\x65\137\x6d\145\x73\x73\x61\x67\x65"), 10, 2);
$ho = new SignInSettingsSettings();
$mA = $ho->get_config_option();
$kj = time();
if (!(!empty($QT) && $QT !== "\146\x61\154\x73\x65")) {
goto eC;
}
$D0 = ($kj - $QT) / (60 * 60 * 24);
if ($D0 >= 0) {
goto Pn;
}
$QG = -1 * $D0;
if (!($QG <= 30)) {
goto mE;
}
add_action("\x61\x64\155\x69\156\x5f\150\x65\x61\x64", array($WO, "\x6d\x6f\137\157\x61\x75\164\x68\x5f\x6c\151\x63\x65\156\x73\x65\x5f\153\x65\x79\x5f\x65\x78\160\151\162\x79\137\x72\x65\155\x61\151\x6e\144\x65\x72"));
mE:
goto f4;
Pn:
add_action("\x61\x64\x6d\151\156\x5f\x68\145\x61\144", array($WO, "\x6d\157\x5f\157\141\x75\x74\x68\x5f\154\x69\x63\x65\x6e\x73\145\137\153\x65\171\137\x6e\157\164\x69\143\145"));
f4:
eC:
if ($H0->mo_oauth_is_cld()) {
goto vK;
}
add_action("\x61\x64\155\x69\156\137\150\x65\x61\x64", array($WO, "\155\157\137\157\x61\x75\x74\x68\x5f\x6c\151\143\145\x6e\163\x65\137\x64\157\x6d\x61\x69\x6e\137\x6e\157\164\x69\x63\x65"));
vK:
add_action("\141\x64\x6d\151\156\137\x6e\x6f\164\151\x63\x65\x73", array($WO, "\155\157\137\x6f\x61\x75\164\x68\x5f\143\x6c\x69\x65\x6e\164\137\x64\151\x73\155\x69\x73\163\137\x6e\157\x74\151\x63\x65"), 50);
if (!$H0->mo_oauth_client_get_option("\155\x6f\137\x6f\141\x75\x74\150\137\x73\x6c\x65")) {
goto wu;
}
$H0->mo_oauth_client_update_option("\x6d\x6f\137\157\141\165\164\x68\x5f\163\154\145\x5f\x6d\x65\163\163\141\x67\145", "\x59\157\x75\162\x20\117\x41\x75\x74\150\40\57\40\117\160\145\x6e\x49\104\40\103\x6f\156\x6e\145\143\164\40\160\154\x75\x67\x69\156\40\x6c\151\143\145\x6e\163\145\x20\x68\141\x73\x20\142\x65\145\156\x20\x65\170\x70\151\162\145\x64\56\40\x59\x6f\x75\40\141\162\x65\40\155\x69\163\x73\151\156\x67\x20\x6f\165\x74\x20\157\156\x20\165\160\x64\x61\x74\145\163\x20\x61\156\x64\x20\x73\x75\160\x70\157\x72\x74\x21\40\x50\x6c\x65\141\163\x65\40\74\x61\x20\x68\x72\145\x66\x3d\x22" . mo_oauth_client_options_plugin_constants::HOSTNAME . "\x2f\x6d\x6f\x61\163\x2f\x6c\157\x67\151\156\x3f\162\x65\144\x69\162\145\x63\x74\x55\162\x6c\x3d" . mo_oauth_client_options_plugin_constants::HOSTNAME . "\x2f\x6d\157\141\163\57\x61\x64\155\x69\156\x2f\x63\x75\x73\164\157\x6d\145\162\x2f\x6c\151\143\x65\x6e\163\x65\x72\x65\156\145\167\141\154\163\77\162\145\x6e\145\167\141\154\162\x65\161\x75\x65\x73\164\x3d" . mo_oauth_client_options_plugin_constants::LICENSE_TYPE . "\40\42\x20\x74\141\162\147\x65\x74\75\x22\137\142\x6c\x61\x6e\x6b\x22\x3e\74\x62\x3e\103\x6c\x69\143\x6b\x20\x48\x65\162\x65\74\x2f\142\76\x3c\x2f\141\76\40\164\157\40\162\145\x6e\x65\167\x20\x74\x68\145\x20\x53\165\160\160\x6f\162\164\x20\141\x6e\144\40\x4d\141\151\156\164\145\x6e\141\143\x65\x20\160\x6c\141\156\56");
wu:
}
Function Calls
None |
Stats
MD5 | 350c2b3ca3d0a942a5e4c1ad9248611f |
Eval Count | 0 |
Decode Time | 109 ms |