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 /** * License from amember http api softsale module * * Author: Gian MR - h..
Decoded Output download
<?php
/**
* License from amember http api softsale module
*
* Author: Gian MR - http://www.gianmr.com
*
* @since 1.0.0
* @package Wpmedia Core
*/
/* Exit if accessed directly */
if (!defined('ABSPATH')) {
exit;
}
/* File ini wajib ada pada hosting anda, jika otomatis hilang pada hosting anda, silahkan minta hosting untuk whitelist file ini */
if (!function_exists("wpmedia_core_get_home")) {
function wpmedia_core_get_home()
{
$aNUUd = array("http://", "https://", "http://www.", "https://www.", "www.");
return str_replace($aNUUd, '', home_url());
}
}
if (!function_exists("wpmedia_core_license_menu")) {
function wpmedia_core_license_menu()
{
add_plugins_page(__("Wpmedia License", "wpmedia-core"), __("Wpmedia License", "wpmedia-core"), "manage_options", WPMEDIA_PLUGIN_LICENSE_PAGE, "wpmedia_core_license_page");
$Byf2V = md5(wpmedia_core_get_home());
$H7DLD = trim(get_option("wpmedia_core_license_key" . $Byf2V));
$MiTR_ = wpmedia_core_de_license("d", $H7DLD, $Byf2V);
$hMJ0f = md5("wpmedia_core");
$mwyRI = wpmedia_core_de_license("e", $MiTR_, $hMJ0f);
$cu0W9 = trim(get_option("_trasient_timeout_popurl_ls_" . $hMJ0f));
if (!(false !== $cu0W9)) {
goto I_Ftb;
}
update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, $mwyRI);
I_Ftb:
$khKvI = wpmedia_core_de_license("d", $cu0W9, $hMJ0f);
if (!($khKvI !== $MiTR_)) {
goto HTuwk;
}
$MogeB = add_query_arg("return", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["REQUEST_URI"]))), "customize.php");
remove_submenu_page("themes.php", $MogeB);
$hraTw = add_query_arg("return", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["REQUEST_URI"]))), "widgets.php");
remove_submenu_page("themes.php", "widgets.php");
HTuwk:
}
}
add_action("admin_menu", "wpmedia_core_license_menu");
if (!function_exists("wpmedia_core_license_page")) {
function wpmedia_core_license_page()
{
$Byf2V = md5(wpmedia_core_get_home());
$rb9qk = trim(get_option("wpmedia_core_license_status" . $Byf2V));
echo "\x9\x9<div class="wrap">
\x9\x9<h2>";
esc_attr_e("Wpmedia License Options", "wpmedia-core");
echo "</h2>\xa\x9\x9 <form method="post" action="options.php">
\x9 ";
settings_fields("wpmedia_core_license");
echo "\x9 \x9\x9<table class="form-table">
\x9\x9\x9\x9<tbody>\xa\x9\x9 \x9<tr valign="top">
\x9\x9 \x9 \x9\x9<th scope="row" valign="top">
\x9 \x9 \x9 ";
esc_attr_e("License Key", "wpmedia-core");
echo " \x9 \x9\x9 </th>\xa\x9\x9\x9 \x9\x9 <td>
\x9\x9 \x9 \x9\x9<input id="wpmedia_core_license_key" name="wpmedia_core_license_key" type="text" placeholder="XXXXX_xxxxxxxxxxxxxxx" class="regular-text" /><br />\xa\x9\x9\x9 \x9\x9 <label class="description" for="wpmedia_core_license_key">";
esc_attr_e("Enter your license key here", "wpmedia-core");
echo "</label>\xa \x9 \x9 \x9</td>\xa </tr>
\x9 \x9\x9 \x9<tr valign="top">
\x9\x9\x9\x9 \x9<th scope="row" valign="top">\xa\x9 \x9\x9 ";
esc_attr_e("Activate License", "wpmedia-core");
echo "\x9\x9 \x9 \x9</th>\xa\xa \x9\x9 \x9 <td>\xa\x9\x9 \x9 ";
wp_nonce_field("wpmedia_core_license_nonce", "wpmedia_core_license_nonce");
echo " \x9 \x9 ";
if (!empty($rb9qk) && "ok" === $rb9qk) {
goto ZHflU;
}
echo " \x9 \x9 \x9 <input type="submit" class="button-secondary" name="wpmedia_core_license_activate" value="";
esc_attr_e("Activate License", "wpmedia-core");
echo ""/>
\x9 \x9 \x9";
goto CtXii;
ZHflU:
echo "\x9\x9 \x9 \x9\x9\x9<input type="submit" style="background: #dff0d8 !important;color: #3c763d !important;text-shadow: none !important;" class="button-secondary" name="" disabled value="";
esc_attr_e("License Active", "wpmedia-core");
echo ""/>\xa \x9 \x9\x9 \x9\x9<input type="submit" class="button-secondary" name="wpmedia_core_license_deactivate" value="";
esc_attr_e("Deactivate License", "wpmedia-core");
echo ""/>\xa\x9\x9 \x9 \x9 <label class="description" for="wpmedia_core_license_key"><br />\xa \x9\x9 ";
esc_html_e("Congratulations, your license is active.", "wpmedia-core");
echo "<br />\xa\x9 \x9 \x9\x9\x9\x9\x9 ";
esc_html_e("You can disable license for this domain by entering the license key to the form and clicking Deactivate License", "wpmedia-core");
echo "</label>\xa\x9\x9\x9\x9 \x9 \x9";
CtXii:
echo " \x9 \x9 \x9</td>\xa\x9\x9\x9\x9 </tr>\xa \x9\x9\x9</tbody>\xa\x9 \x9</table>\xa\x9\x9 </form>
</div>
\x9 ";
}
}
if (!function_exists("wpmedia_core_register_option")) {
function wpmedia_core_register_option()
{
$Byf2V = md5(wpmedia_core_get_home());
register_setting("wpmedia_core_license", "wpmedia_core_license_key" . $Byf2V, "sanitize_text_field");
register_setting("wpmedia_core_license", "wpmedia_core_license_status" . $Byf2V, "sanitize_text_field");
}
}
add_action("admin_init", "wpmedia_core_register_option");
if (!function_exists("wpmedia_core_connect_fs")) {
function wpmedia_core_connect_fs()
{
global $wp_filesystem;
$pU0RQ = request_filesystem_credentials('');
if (!(false === $pU0RQ)) {
goto saRRb;
}
return false;
saRRb:
if (WP_Filesystem($pU0RQ)) {
goto KHbi1;
}
request_filesystem_credentials('');
return false;
KHbi1:
return true;
}
}
if (!function_exists("wpmedia_core_de_license")) {
function wpmedia_core_de_license($Z6Vgm, $Oo2OE, $R70IV = "jshKjsnjHfbC6jjj")
{
$ILFZv = false;
$CvMQu = "AES-256-CBC";
$JbdBW = $R70IV;
$ASs4p = "XjskSjHSkkkJst";
$eIpGm = hash("sha256", $JbdBW);
$dGYql = substr(hash("sha256", $ASs4p), 0, 16);
if ("e" === $Z6Vgm) {
goto aoktp;
}
if ("d" === $Z6Vgm) {
goto N3pWB;
}
goto T88ps;
aoktp:
$ILFZv = openssl_encrypt($Oo2OE, $CvMQu, $eIpGm, 0, $dGYql);
$ILFZv = base64_encode($ILFZv);
goto T88ps;
N3pWB:
$ILFZv = openssl_decrypt(base64_decode($Oo2OE), $CvMQu, $eIpGm, 0, $dGYql);
T88ps:
return $ILFZv;
}
}
if (!function_exists("wpmedia_core_remote_get")) {
function wpmedia_core_remote_get($wQLdh = "check", $RsIc_ = '')
{
global $wp_version;
if ("check" === $wQLdh) {
goto qDvzI;
}
if ("activated" === $wQLdh) {
goto i4Lzs;
}
if ("check_activation" === $wQLdh) {
goto V0LH_;
}
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_DEACTIVATED));
goto J5vDx;
qDvzI:
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_CHECK));
goto J5vDx;
i4Lzs:
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL));
goto J5vDx;
V0LH_:
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_CHECK_ACTIVATION));
J5vDx:
$Oltag = wp_remote_get($VGFsO, array("timeout" => 60, "sslverify" => true, "httpversion" => "1.1", "headers" => array("Accept" => "application/json"), "user-agent" => "WordPress/" . $wp_version . "; " . home_url()));
$UrPtQ = '';
if (is_wp_error($Oltag) || 200 !== wp_remote_retrieve_response_code($Oltag)) {
goto G4e0d;
}
$mGmwp = json_decode(wp_remote_retrieve_body($Oltag));
if (is_wp_error($mGmwp)) {
goto yXJEK;
}
if (!("ok" !== $mGmwp->code)) {
goto AdA6p;
}
switch ($mGmwp->code) {
case "license_empty":
$UrPtQ = __("Empty or invalid license key submitted.", "wpmedia-core");
goto jh3BG;
case "license_not_found":
$UrPtQ = __("License key not found on our server.", "wpmedia-core");
goto jh3BG;
case "license_disabled":
$UrPtQ = __("License key has been disabled.", "wpmedia-core");
goto jh3BG;
case "license_expired":
$UrPtQ = __("Your license key expired on", "wpmedia-core") . " " . date_i18n(get_option("date_format"), strtotime($mGmwp->expires, current_time("timestamp")));
goto jh3BG;
case "activation_server_error":
$UrPtQ = __("Activation server error.", "wpmedia-core");
goto jh3BG;
case "invalid_input":
$UrPtQ = __("Activation failed: invalid input.", "wpmedia-core");
goto jh3BG;
case "no_spare_activations":
$UrPtQ = __("No more activations allowed. You must buy new license key.", "wpmedia-core");
goto jh3BG;
case "no_activation_found":
$UrPtQ = __("No activation found for this installation.", "wpmedia-core");
goto jh3BG;
case "no_reactivation_allowed":
$UrPtQ = __("Re-activation is not allowed.", "wpmedia-core");
goto jh3BG;
case "other_error":
$UrPtQ = __("Error returned from activation server.", "wpmedia-core");
goto jh3BG;
default:
$UrPtQ = __("Other Error.", "wpmedia-core");
goto jh3BG;
}
XNOc3:
jh3BG:
AdA6p:
if (!("ok" === $mGmwp->code)) {
goto J_ABc;
}
if (!(35 !== $mGmwp->scheme_id && 36 !== $mGmwp->scheme_id && 37 !== $mGmwp->scheme_id && 38 !== $mGmwp->scheme_id)) {
goto Y8gYi;
}
$UrPtQ = __("This license not for this product.", "wpmedia-core");
Y8gYi:
J_ABc:
goto yXfH1;
yXJEK:
$UrPtQ = $mGmwp->get_error_message();
yXfH1:
goto t4xdv;
G4e0d:
if (is_wp_error($Oltag)) {
goto RhIWM;
}
$UrPtQ = __("An error occurred, please try again.", "wpmedia-core");
goto nXXEF;
RhIWM:
$UrPtQ = $Oltag->get_error_message();
nXXEF:
t4xdv:
return $UrPtQ;
}
}
if (!function_exists("wpmedia_core_activate_license")) {
function wpmedia_core_activate_license()
{
global $wp_filesystem;
if (!isset($_POST["wpmedia_core_license_activate"])) {
goto nYvDo;
}
$H7DLD = !empty($_POST["wpmedia_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["wpmedia_core_license_key"])) : '';
$HDdrO = wpmedia_core_get_home();
if (check_admin_referer("wpmedia_core_license_nonce", "wpmedia_core_license_nonce")) {
goto tgnJQ;
}
return;
tgnJQ:
$RsIc_ = array("key" => $H7DLD);
$UrPtQ = wpmedia_core_remote_get("check", $RsIc_);
if (empty($UrPtQ)) {
goto jMJQr;
}
$base_url = admin_url("plugins.php?page=" . WPMEDIA_PLUGIN_LICENSE_PAGE);
$NoRg9 = add_query_arg(array("wpmedia_core_activation" => "false", "message" => rawurlencode($UrPtQ)), $base_url);
wp_safe_redirect($NoRg9);
exit;
goto prrny;
jMJQr:
$RsIc_ = array("key" => $H7DLD, "request[url]" => esc_url($HDdrO));
$UrPtQ = wpmedia_core_remote_get("activated", $RsIc_);
if (empty($UrPtQ)) {
goto rk8rx;
}
$base_url = admin_url("plugins.php?page=" . WPMEDIA_PLUGIN_LICENSE_PAGE);
$NoRg9 = add_query_arg(array("wpmedia_core_activation" => "false", "message" => rawurlencode($UrPtQ)), $base_url);
wp_safe_redirect($NoRg9);
exit;
goto bT2H3;
rk8rx:
$Byf2V = md5(wpmedia_core_get_home());
$tfKQj = wpmedia_core_de_license("e", $H7DLD, $Byf2V);
update_option("wpmedia_core_license_key" . $Byf2V, $tfKQj);
update_option("wpmedia_core_license_status" . $Byf2V, "ok");
$hMJ0f = md5("wpmedia_core");
$mwyRI = wpmedia_core_de_license("e", $H7DLD, $hMJ0f);
update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, $mwyRI);
$LD2S2 = array();
$VEpta["sts"] = "ok";
$LD2S2[] = $VEpta;
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["basedir"])) {
goto rUeHi;
}
if (!wpmedia_core_connect_fs()) {
goto nV8PR;
}
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $tfKQj . ".json";
if ($wp_filesystem->is_dir($e3uwq)) {
goto ki6KB;
}
$WEjbu = defined("FS_CHMOD_DIR") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($e3uwq, $WEjbu)) {
goto N04n5;
}
exit("Can't create license directory. Please check your folder permission. Make sure your permissions folder 0755 or 0777.");
N04n5:
ki6KB:
$wp_filesystem->put_contents($BPH9k, wp_json_encode($LD2S2, JSON_PRETTY_PRINT));
nV8PR:
rUeHi:
wp_safe_redirect(admin_url("plugins.php?page=" . WPMEDIA_PLUGIN_LICENSE_PAGE));
exit;
bT2H3:
prrny:
nYvDo:
}
}
add_action("admin_init", "wpmedia_core_activate_license");
if (!function_exists("wpmedia_core_deactivate_license")) {
function wpmedia_core_deactivate_license()
{
global $wp_filesystem;
if (!isset($_POST["wpmedia_core_license_deactivate"])) {
goto gZmnf;
}
$H7DLD = !empty($_POST["wpmedia_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["wpmedia_core_license_key"])) : '';
$HDdrO = wpmedia_core_get_home();
if (check_admin_referer("wpmedia_core_license_nonce", "wpmedia_core_license_nonce")) {
goto BFLUl;
}
return;
BFLUl:
$RsIc_ = array("key" => $H7DLD);
$UrPtQ = wpmedia_core_remote_get("check", $RsIc_);
if (empty($UrPtQ)) {
goto YColV;
}
$base_url = admin_url("plugins.php?page=" . WPMEDIA_PLUGIN_LICENSE_PAGE);
$NoRg9 = add_query_arg(array("wpmedia_core_activation" => "false", "message" => rawurlencode($UrPtQ)), $base_url);
wp_safe_redirect($NoRg9);
exit;
goto yD9QT;
YColV:
$RsIc_ = array("key" => $H7DLD, "request[url]" => esc_url($HDdrO));
wpmedia_core_remote_get("deactivated", $RsIc_);
$Byf2V = md5(wpmedia_core_get_home());
$tfKQj = wpmedia_core_de_license("e", $H7DLD, $Byf2V);
update_option("wpmedia_core_license_key" . $Byf2V, '');
update_option("wpmedia_core_license_status" . $Byf2V, '');
$hMJ0f = md5("wpmedia_core");
update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["basedir"])) {
goto rLf4e;
}
if (!wpmedia_core_connect_fs()) {
goto WowFf;
}
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto C0HOZ;
}
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $tfKQj . ".json";
if (!$wp_filesystem->exists($BPH9k)) {
goto ZL3wJ;
}
$wp_filesystem->delete($BPH9k, false, "f");
ZL3wJ:
C0HOZ:
WowFf:
rLf4e:
wp_safe_redirect(admin_url("plugins.php?page=" . WPMEDIA_PLUGIN_LICENSE_PAGE));
exit;
yD9QT:
gZmnf:
}
}
add_action("admin_init", "wpmedia_core_deactivate_license");
if (!function_exists("wpmedia_core_check_license")) {
function wpmedia_core_check_license()
{
$Hm4rM = get_transient(md5("wpmedia_core"));
if (!(false === $Hm4rM)) {
goto dc2nu;
}
global $wp_filesystem, $wp_version;
$Byf2V = md5(wpmedia_core_get_home());
$hMJ0f = md5("wpmedia_core");
$H7DLD = trim(get_option("wpmedia_core_license_key" . $Byf2V));
$tfKQj = wpmedia_core_de_license("e", $H7DLD, $Byf2V);
$MiTR_ = wpmedia_core_de_license("d", $H7DLD, $Byf2V);
$HDdrO = str_replace("/", '', esc_url(wpmedia_core_get_home()));
$RsIc_ = array("key" => esc_attr($MiTR_), "request[url]" => esc_attr($HDdrO));
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_CHECK_ACTIVATION));
$Oltag = wp_remote_get($VGFsO, array("timeout" => 60, "sslverify" => true, "httpversion" => "1.1", "headers" => array("Accept" => "application/json"), "user-agent" => "WordPress/" . $wp_version . "; " . home_url()));
if (is_wp_error($Oltag) || 200 !== wp_remote_retrieve_response_code($Oltag)) {
goto XmSTt;
}
$mGmwp = json_decode(wp_remote_retrieve_body($Oltag));
if (is_wp_error($mGmwp)) {
goto fm2vi;
}
$xIizj = 7 * 24 * HOUR_IN_SECONDS;
set_transient(md5("wpmedia_core"), true, 7 * 24 * HOUR_IN_SECONDS);
if (!("ok" !== $mGmwp->code)) {
goto bAnkY;
}
switch ($mGmwp->code) {
case "license_empty":
update_option("wpmedia_core_license_key" . $Byf2V, '');
update_option("wpmedia_core_license_status" . $Byf2V, '');
update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["basedir"])) {
goto Z61pm;
}
if (!wpmedia_core_connect_fs()) {
goto LQAMR;
}
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto UH06z;
}
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $tfKQj . ".json";
if (!$wp_filesystem->exists($BPH9k)) {
goto U9ava;
}
$wp_filesystem->delete($BPH9k, false, "f");
U9ava:
UH06z:
LQAMR:
Z61pm:
goto PBSq1;
case "license_not_found":
$Byf2V = md5(wpmedia_core_get_home());
update_option("wpmedia_core_license_key" . $Byf2V, '');
update_option("wpmedia_core_license_status" . $Byf2V, '');
update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["basedir"])) {
goto dYYIB;
}
if (!wpmedia_core_connect_fs()) {
goto YXSPu;
}
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto v0VTh;
}
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $tfKQj . ".json";
if (!$wp_filesystem->exists($BPH9k)) {
goto B8bH6;
}
$wp_filesystem->delete($BPH9k, false, "f");
B8bH6:
v0VTh:
YXSPu:
dYYIB:
goto PBSq1;
case "no_activation_found":
$Byf2V = md5(wpmedia_core_get_home());
update_option("wpmedia_core_license_key" . $Byf2V, '');
update_option("wpmedia_core_license_status" . $Byf2V, '');
update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["basedir"])) {
goto pVveD;
}
if (!wpmedia_core_connect_fs()) {
goto jQzlj;
}
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto uGJrr;
}
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $tfKQj . ".json";
if (!$wp_filesystem->exists($BPH9k)) {
goto yjHmM;
}
$wp_filesystem->delete($BPH9k, false, "f");
yjHmM:
uGJrr:
jQzlj:
pVveD:
goto PBSq1;
case "license_disabled":
$Byf2V = md5(wpmedia_core_get_home());
update_option("wpmedia_core_license_key" . $Byf2V, '');
update_option("wpmedia_core_license_status" . $Byf2V, '');
update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["basedir"])) {
goto DR_Kk;
}
if (!wpmedia_core_connect_fs()) {
goto qK08v;
}
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto E0tE4;
}
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $tfKQj . ".json";
if (!$wp_filesystem->exists($BPH9k)) {
goto lLucu;
}
$wp_filesystem->delete($BPH9k, false, "f");
lLucu:
E0tE4:
qK08v:
DR_Kk:
goto PBSq1;
}
K3eV5:
PBSq1:
bAnkY:
goto iKhC1;
fm2vi:
$xIizj = 3 * 24 * HOUR_IN_SECONDS;
$UrPtQ = $mGmwp->get_error_message();
iKhC1:
goto IdvXg;
XmSTt:
if (is_wp_error($Oltag)) {
goto JQfPT;
}
$UrPtQ = __("An error occurred, please try again.", "wpmedia-core");
goto UaoP8;
JQfPT:
$UrPtQ = $Oltag->get_error_message();
UaoP8:
IdvXg:
set_transient(md5("wpmedia_core"), true, $xIizj);
dc2nu:
}
}
add_action("admin_init", "wpmedia_core_check_license");
if (!function_exists("wpmedia_jsn_url")) {
function wpmedia_jsn_url()
{
$Byf2V = md5(wpmedia_core_get_home());
$H7DLD = trim(get_option("wpmedia_core_license_key" . $Byf2V));
$Vo4L1 = wp_upload_dir();
if (!empty($Vo4L1["basedir"])) {
goto VtjPl;
}
return "failed";
goto CGHIt;
VtjPl:
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
if (@file_exists($e3uwq)) {
goto igbDo;
}
return "failed";
goto eKp6s;
igbDo:
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $H7DLD . ".json";
if (@file_exists($BPH9k)) {
goto Z6CdZ;
}
return "failed";
goto l_Fbo;
Z6CdZ:
return "success";
l_Fbo:
eKp6s:
CGHIt:
}
}
add_filter("wpmedia_jsn_url_filter", "wpmedia_jsn_url", 10, 3);
if (!function_exists("wpmedia_core_admin_notices")) {
function wpmedia_core_admin_notices()
{
if (!(isset($_GET["wpmedia_core_activation"]) && !empty($_GET["message"]))) {
goto Sz3YN;
}
switch ($_GET["wpmedia_core_activation"]) {
case "false":
$UrPtQ = rawurlencode(sanitize_text_field(wp_unslash($_GET["message"])));
echo "\x9 \x9\x9\x9<div class="error">\xa\x9 \x9\x9\x9<p>";
echo esc_html($UrPtQ);
echo "</p>
\x9\x9 \x9 </div>
\x9 \x9\x9";
goto TFREA;
case "true":
default:
echo " \x9\x9\x9<div class="success">\xa \x9 \x9 <p>";
echo esc_html_e("Success.", "wpmedia-core");
echo "</p>\xa \x9 </div>
\x9\x9\x9";
goto TFREA;
}
yRv2u:
TFREA:
Sz3YN:
}
}
add_action("admin_notices", "wpmedia_core_admin_notices");
?>
Did this file decode correctly?
Original Code
<?php
/**
* License from amember http api softsale module
*
* Author: Gian MR - http://www.gianmr.com
*
* @since 1.0.0
* @package Wpmedia Core
*/
/* Exit if accessed directly */
if (!defined('ABSPATH')) {
exit;
}
/* File ini wajib ada pada hosting anda, jika otomatis hilang pada hosting anda, silahkan minta hosting untuk whitelist file ini */
if (!function_exists("\x77\160\155\x65\144\x69\141\137\x63\157\x72\145\137\147\145\164\137\150\157\x6d\x65")) {
function wpmedia_core_get_home()
{
$aNUUd = array("\150\x74\164\160\x3a\x2f\57", "\x68\164\164\160\x73\x3a\57\x2f", "\x68\164\x74\x70\72\57\57\x77\167\x77\x2e", "\x68\164\x74\160\x73\x3a\57\57\167\167\167\x2e", "\x77\x77\x77\56");
return str_replace($aNUUd, '', home_url());
}
}
if (!function_exists("\x77\x70\155\145\144\x69\x61\x5f\x63\x6f\x72\x65\x5f\x6c\x69\x63\145\x6e\163\145\x5f\155\145\156\165")) {
function wpmedia_core_license_menu()
{
add_plugins_page(__("\127\x70\155\145\x64\x69\x61\x20\x4c\151\x63\145\x6e\x73\145", "\167\160\155\145\144\151\x61\x2d\x63\x6f\162\145"), __("\127\160\x6d\x65\144\151\x61\x20\x4c\151\x63\x65\156\163\x65", "\x77\160\155\145\144\151\x61\x2d\x63\x6f\162\145"), "\155\141\156\x61\x67\x65\x5f\157\x70\164\151\x6f\156\163", WPMEDIA_PLUGIN_LICENSE_PAGE, "\167\160\155\x65\x64\x69\x61\137\x63\x6f\162\145\137\154\x69\x63\x65\x6e\x73\x65\137\x70\141\147\x65");
$Byf2V = md5(wpmedia_core_get_home());
$H7DLD = trim(get_option("\167\x70\x6d\x65\144\x69\141\x5f\143\x6f\162\x65\x5f\154\151\x63\145\156\x73\145\x5f\x6b\145\x79" . $Byf2V));
$MiTR_ = wpmedia_core_de_license("\x64", $H7DLD, $Byf2V);
$hMJ0f = md5("\167\x70\155\145\144\151\x61\x5f\x63\157\162\x65");
$mwyRI = wpmedia_core_de_license("\145", $MiTR_, $hMJ0f);
$cu0W9 = trim(get_option("\137\164\162\x61\163\x69\145\156\164\137\x74\151\155\x65\x6f\x75\164\137\x70\157\x70\x75\x72\x6c\137\154\163\137" . $hMJ0f));
if (!(false !== $cu0W9)) {
goto I_Ftb;
}
update_option("\x5f\164\x72\x61\163\x69\145\156\x74\137\164\151\155\145\157\x75\164\x5f\160\157\x70\x75\162\x6c\x5f\154\x73\137" . $hMJ0f, $mwyRI);
I_Ftb:
$khKvI = wpmedia_core_de_license("\144", $cu0W9, $hMJ0f);
if (!($khKvI !== $MiTR_)) {
goto HTuwk;
}
$MogeB = add_query_arg("\162\145\x74\x75\x72\156", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["\x52\105\121\125\x45\123\x54\137\125\122\111"]))), "\x63\165\163\164\157\155\x69\x7a\x65\56\x70\150\160");
remove_submenu_page("\x74\x68\145\155\145\x73\x2e\x70\x68\x70", $MogeB);
$hraTw = add_query_arg("\162\145\164\165\162\156", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["\122\105\x51\x55\x45\123\x54\137\x55\x52\111"]))), "\x77\x69\144\147\145\164\x73\56\160\150\x70");
remove_submenu_page("\164\150\x65\x6d\145\x73\56\x70\150\x70", "\x77\151\144\x67\x65\x74\x73\x2e\160\150\x70");
HTuwk:
}
}
add_action("\x61\x64\155\x69\156\137\x6d\x65\x6e\165", "\x77\x70\155\145\144\x69\141\137\143\x6f\162\145\137\154\x69\143\x65\x6e\163\145\137\x6d\x65\x6e\165");
if (!function_exists("\x77\160\x6d\145\x64\x69\x61\x5f\143\x6f\x72\x65\x5f\154\x69\143\x65\x6e\163\x65\137\x70\141\x67\x65")) {
function wpmedia_core_license_page()
{
$Byf2V = md5(wpmedia_core_get_home());
$rb9qk = trim(get_option("\167\x70\x6d\x65\x64\x69\141\137\x63\x6f\162\x65\137\154\151\143\145\156\x73\x65\137\163\x74\141\x74\165\x73" . $Byf2V));
echo "\x9\x9\74\144\151\166\40\143\154\141\x73\163\75\42\x77\162\x61\x70\42\76\12\11\x9\x9\x3c\150\x32\x3e";
esc_attr_e("\127\160\x6d\145\x64\x69\141\x20\x4c\x69\143\145\x6e\x73\145\40\117\160\x74\151\157\x6e\x73", "\167\x70\x6d\145\144\151\141\55\x63\x6f\162\145");
echo "\x3c\57\x68\62\x3e\xa\x9\x9\11\x3c\x66\x6f\x72\155\40\155\x65\x74\x68\157\x64\x3d\42\x70\157\x73\x74\42\40\x61\143\x74\x69\x6f\156\x3d\x22\x6f\160\164\151\157\x6e\x73\56\x70\x68\160\42\76\12\11\x9\11\11";
settings_fields("\x77\x70\x6d\x65\144\151\x61\137\x63\157\x72\145\137\x6c\151\143\145\x6e\163\145");
echo "\x9\11\x9\x9\x3c\x74\x61\x62\154\145\x20\x63\x6c\141\x73\x73\75\42\146\x6f\162\155\55\x74\141\x62\154\145\42\76\12\11\x9\x9\x9\x9\74\x74\142\157\144\x79\x3e\xa\x9\x9\11\11\11\x9\74\x74\x72\40\166\x61\x6c\x69\x67\x6e\x3d\42\x74\x6f\x70\x22\76\12\x9\x9\11\x9\11\x9\x9\x3c\164\150\40\x73\x63\x6f\x70\x65\x3d\42\x72\157\167\42\40\x76\x61\x6c\151\147\156\75\42\x74\157\160\42\x3e\12\x9\11\11\11\x9\11\x9\11";
esc_attr_e("\x4c\x69\x63\x65\156\163\145\x20\113\x65\x79", "\x77\x70\155\145\144\151\x61\x2d\143\x6f\162\x65");
echo "\11\11\x9\11\x9\x9\11\x3c\57\x74\x68\76\xa\x9\x9\x9\11\x9\x9\11\x3c\x74\144\76\12\x9\x9\11\11\x9\11\x9\x9\x3c\x69\156\160\x75\x74\x20\151\x64\x3d\x22\x77\x70\x6d\x65\x64\x69\141\x5f\x63\157\x72\x65\137\x6c\151\x63\145\156\x73\145\137\x6b\145\x79\42\40\156\141\x6d\x65\75\42\167\x70\x6d\145\x64\151\141\x5f\x63\x6f\x72\145\137\154\x69\143\x65\156\x73\x65\x5f\x6b\145\x79\42\40\x74\x79\160\145\x3d\x22\x74\x65\170\x74\42\40\x70\x6c\x61\143\145\150\157\x6c\x64\145\x72\x3d\42\130\130\x58\130\130\137\x78\170\x78\x78\x78\170\x78\x78\x78\x78\x78\170\170\x78\170\42\x20\143\154\141\163\x73\x3d\42\162\x65\x67\x75\154\141\162\55\164\145\170\164\x22\40\57\76\x3c\x62\162\40\57\x3e\xa\x9\x9\x9\11\11\x9\x9\11\x3c\154\x61\142\145\x6c\x20\143\154\x61\x73\163\x3d\x22\144\x65\x73\143\x72\151\160\x74\151\x6f\x6e\x22\x20\x66\x6f\162\x3d\x22\167\160\x6d\x65\x64\151\141\x5f\x63\157\162\x65\x5f\x6c\x69\x63\145\x6e\x73\145\137\153\145\171\42\76";
esc_attr_e("\x45\x6e\164\145\162\40\171\157\165\x72\40\x6c\x69\x63\x65\x6e\163\x65\x20\x6b\145\x79\x20\x68\145\x72\145", "\167\160\155\x65\x64\151\x61\x2d\x63\157\x72\x65");
echo "\74\x2f\154\141\142\145\154\76\xa\11\11\x9\11\x9\11\x9\x3c\x2f\x74\144\x3e\xa\11\11\11\11\11\11\x3c\57\x74\162\x3e\12\12\x9\11\x9\x9\11\x9\74\x74\162\40\166\141\x6c\151\147\156\75\42\164\157\160\42\x3e\12\11\x9\x9\x9\x9\11\x9\74\x74\150\x20\163\x63\x6f\x70\x65\x3d\42\x72\157\x77\42\x20\x76\x61\x6c\x69\x67\156\75\42\x74\x6f\x70\42\76\xa\x9\11\11\11\x9\x9\11\11";
esc_attr_e("\x41\x63\x74\x69\x76\x61\164\x65\x20\x4c\x69\143\145\x6e\x73\145", "\167\x70\x6d\145\x64\x69\141\x2d\143\157\162\145");
echo "\x9\x9\11\x9\11\11\x9\x3c\x2f\x74\150\x3e\xa\xa\11\x9\x9\11\x9\11\11\74\x74\x64\x3e\xa\x9\x9\11\x9\11\11\11\11";
wp_nonce_field("\x77\160\155\x65\x64\151\x61\x5f\x63\157\x72\x65\137\x6c\151\143\x65\x6e\x73\145\x5f\x6e\157\x6e\143\x65", "\167\x70\x6d\x65\144\151\141\137\143\x6f\x72\x65\137\154\x69\x63\x65\156\x73\145\137\156\x6f\x6e\143\x65");
echo "\11\11\11\x9\11\x9\11\11";
if (!empty($rb9qk) && "\x6f\x6b" === $rb9qk) {
goto ZHflU;
}
echo "\11\x9\11\x9\11\x9\11\11\11\x3c\x69\156\160\x75\164\x20\164\x79\160\145\75\x22\x73\x75\142\155\x69\x74\42\40\143\154\x61\x73\x73\x3d\x22\142\x75\164\164\157\x6e\x2d\163\145\x63\x6f\156\144\x61\x72\x79\42\x20\156\141\x6d\x65\x3d\42\x77\x70\155\145\x64\x69\x61\x5f\143\x6f\162\x65\137\x6c\x69\x63\x65\156\x73\145\137\141\143\164\x69\166\x61\x74\145\42\40\166\141\x6c\x75\145\75\x22";
esc_attr_e("\x41\x63\164\151\166\141\164\145\x20\114\x69\143\145\x6e\x73\x65", "\x77\x70\155\145\x64\x69\141\55\143\157\x72\x65");
echo "\x22\x2f\76\12\11\11\x9\11\x9\11\11\x9";
goto CtXii;
ZHflU:
echo "\x9\x9\11\11\x9\11\x9\x9\x9\74\x69\156\160\x75\x74\40\x74\171\160\x65\75\42\x73\165\x62\155\151\x74\42\40\x73\x74\x79\x6c\145\75\x22\x62\141\143\x6b\x67\162\x6f\165\x6e\x64\72\x20\x23\144\x66\x66\x30\x64\70\x20\x21\151\x6d\160\x6f\x72\164\x61\156\164\x3b\x63\x6f\x6c\x6f\x72\72\40\43\63\143\x37\66\63\144\40\x21\151\155\160\157\x72\x74\141\x6e\x74\x3b\164\145\x78\x74\55\163\150\x61\x64\x6f\x77\x3a\x20\x6e\157\156\x65\x20\41\x69\x6d\x70\x6f\162\164\x61\156\164\73\x22\x20\143\x6c\141\163\163\x3d\x22\142\x75\x74\x74\157\x6e\55\163\145\143\157\156\144\141\162\x79\x22\40\156\141\x6d\x65\75\x22\42\x20\x64\151\x73\141\142\154\x65\x64\40\166\x61\x6c\x75\x65\x3d\42";
esc_attr_e("\114\151\x63\145\x6e\x73\145\x20\x41\x63\x74\151\166\x65", "\x77\160\x6d\x65\144\x69\141\x2d\x63\x6f\x72\x65");
echo "\x22\x2f\76\xa\11\x9\11\x9\x9\11\11\x9\x9\x3c\151\x6e\x70\165\164\40\164\171\160\145\75\42\163\x75\x62\x6d\151\164\x22\40\143\154\141\x73\163\x3d\42\142\165\x74\164\157\156\x2d\x73\145\143\x6f\156\144\x61\162\171\x22\x20\156\141\x6d\145\75\42\x77\160\x6d\145\x64\151\x61\x5f\x63\157\x72\145\x5f\x6c\x69\143\x65\x6e\163\145\137\x64\x65\x61\x63\x74\x69\166\141\x74\x65\x22\x20\166\141\x6c\x75\145\75\42";
esc_attr_e("\104\x65\141\143\x74\x69\x76\x61\x74\x65\40\x4c\151\x63\x65\156\x73\145", "\x77\x70\155\145\144\x69\x61\55\x63\157\162\145");
echo "\42\x2f\76\xa\x9\x9\11\x9\11\x9\11\11\11\x3c\154\x61\142\x65\154\x20\x63\154\141\163\x73\x3d\x22\x64\145\163\143\x72\151\x70\x74\x69\x6f\156\42\x20\146\157\162\x3d\42\167\160\x6d\x65\144\151\x61\137\143\x6f\162\145\137\x6c\x69\143\x65\x6e\x73\145\137\x6b\145\171\x22\76\x3c\x62\162\40\57\x3e\xa\11\11\11\11\x9\x9\11\11\11\11";
esc_html_e("\103\157\x6e\x67\x72\x61\x74\x75\x6c\141\164\x69\157\x6e\163\x2c\x20\x79\x6f\165\x72\40\x6c\151\143\x65\156\163\x65\x20\x69\x73\40\141\143\x74\151\x76\145\x2e", "\x77\x70\x6d\145\144\151\141\x2d\143\x6f\x72\145");
echo "\x3c\142\x72\40\x2f\x3e\xa\x9\11\x9\11\x9\x9\x9\x9\x9\11";
esc_html_e("\131\157\x75\x20\x63\x61\x6e\x20\144\x69\163\x61\x62\154\145\40\x6c\x69\143\145\x6e\163\145\x20\x66\x6f\162\x20\x74\150\151\163\x20\x64\x6f\x6d\x61\151\x6e\40\142\171\x20\x65\x6e\164\145\162\x69\x6e\147\x20\164\x68\145\x20\x6c\x69\143\145\x6e\163\x65\x20\x6b\145\171\x20\x74\157\40\164\x68\145\x20\146\x6f\x72\155\40\141\156\144\x20\x63\x6c\151\143\153\151\156\147\40\104\x65\x61\143\164\x69\166\141\164\x65\x20\114\x69\x63\145\156\163\x65", "\167\160\x6d\x65\144\x69\x61\x2d\143\157\162\145");
echo "\74\57\x6c\x61\x62\145\154\x3e\xa\x9\x9\x9\x9\11\11\x9\11\x9";
CtXii:
echo "\11\x9\11\11\x9\11\x9\x3c\x2f\x74\x64\x3e\xa\x9\x9\x9\x9\11\11\74\x2f\164\x72\x3e\xa\11\11\x9\x9\x9\74\57\164\142\x6f\x64\x79\76\xa\x9\11\11\x9\74\57\x74\141\142\154\x65\x3e\xa\x9\x9\11\74\57\x66\x6f\x72\155\x3e\12\11\11\x3c\57\144\x69\166\x3e\12\x9\11";
}
}
if (!function_exists("\x77\x70\x6d\145\x64\151\x61\x5f\143\157\162\x65\137\162\x65\147\151\x73\164\145\162\137\x6f\x70\x74\x69\157\156")) {
function wpmedia_core_register_option()
{
$Byf2V = md5(wpmedia_core_get_home());
register_setting("\x77\160\155\145\144\151\141\x5f\143\157\162\145\x5f\154\151\143\x65\156\x73\145", "\x77\160\x6d\x65\144\x69\141\137\x63\157\162\145\137\154\x69\143\x65\x6e\163\145\137\x6b\x65\171" . $Byf2V, "\x73\141\156\x69\164\151\x7a\x65\x5f\x74\x65\170\x74\x5f\x66\x69\x65\x6c\144");
register_setting("\x77\160\155\145\144\x69\x61\137\x63\157\x72\x65\137\154\151\x63\145\156\163\x65", "\167\160\x6d\145\x64\x69\x61\137\143\x6f\x72\145\137\154\151\x63\x65\x6e\x73\145\137\x73\164\x61\164\x75\x73" . $Byf2V, "\x73\141\x6e\151\x74\151\172\145\x5f\164\145\x78\x74\137\x66\151\x65\154\144");
}
}
add_action("\x61\144\x6d\x69\156\137\151\x6e\151\x74", "\x77\x70\x6d\x65\x64\151\x61\x5f\x63\x6f\162\145\x5f\x72\145\x67\151\x73\164\145\162\x5f\x6f\x70\164\x69\157\x6e");
if (!function_exists("\x77\160\x6d\x65\144\x69\x61\137\143\x6f\x72\x65\137\x63\x6f\156\156\x65\x63\164\137\146\163")) {
function wpmedia_core_connect_fs()
{
global $wp_filesystem;
$pU0RQ = request_filesystem_credentials('');
if (!(false === $pU0RQ)) {
goto saRRb;
}
return false;
saRRb:
if (WP_Filesystem($pU0RQ)) {
goto KHbi1;
}
request_filesystem_credentials('');
return false;
KHbi1:
return true;
}
}
if (!function_exists("\167\160\x6d\x65\144\x69\x61\137\x63\157\x72\145\x5f\144\x65\137\x6c\x69\143\145\x6e\x73\145")) {
function wpmedia_core_de_license($Z6Vgm, $Oo2OE, $R70IV = "\x6a\163\150\113\152\163\x6e\x6a\x48\x66\x62\x43\x36\152\x6a\152")
{
$ILFZv = false;
$CvMQu = "\x41\x45\123\x2d\62\x35\66\55\x43\102\x43";
$JbdBW = $R70IV;
$ASs4p = "\x58\x6a\x73\x6b\123\152\110\123\x6b\x6b\153\112\163\164";
$eIpGm = hash("\x73\x68\x61\x32\x35\x36", $JbdBW);
$dGYql = substr(hash("\163\x68\x61\x32\x35\66", $ASs4p), 0, 16);
if ("\x65" === $Z6Vgm) {
goto aoktp;
}
if ("\144" === $Z6Vgm) {
goto N3pWB;
}
goto T88ps;
aoktp:
$ILFZv = openssl_encrypt($Oo2OE, $CvMQu, $eIpGm, 0, $dGYql);
$ILFZv = base64_encode($ILFZv);
goto T88ps;
N3pWB:
$ILFZv = openssl_decrypt(base64_decode($Oo2OE), $CvMQu, $eIpGm, 0, $dGYql);
T88ps:
return $ILFZv;
}
}
if (!function_exists("\167\x70\x6d\145\x64\x69\x61\x5f\143\157\162\x65\137\x72\145\155\x6f\164\145\137\x67\x65\x74")) {
function wpmedia_core_remote_get($wQLdh = "\x63\150\145\x63\153", $RsIc_ = '')
{
global $wp_version;
if ("\143\x68\x65\x63\x6b" === $wQLdh) {
goto qDvzI;
}
if ("\141\x63\x74\x69\x76\x61\164\x65\x64" === $wQLdh) {
goto i4Lzs;
}
if ("\x63\150\145\143\x6b\137\141\x63\164\x69\166\141\x74\x69\x6f\x6e" === $wQLdh) {
goto V0LH_;
}
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_DEACTIVATED));
goto J5vDx;
qDvzI:
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_CHECK));
goto J5vDx;
i4Lzs:
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL));
goto J5vDx;
V0LH_:
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_CHECK_ACTIVATION));
J5vDx:
$Oltag = wp_remote_get($VGFsO, array("\x74\151\x6d\145\157\x75\164" => 60, "\x73\163\x6c\x76\x65\x72\x69\146\x79" => true, "\150\x74\164\x70\166\x65\162\x73\x69\157\x6e" => "\x31\56\61", "\x68\145\141\x64\x65\162\x73" => array("\x41\x63\143\145\160\x74" => "\x61\x70\160\x6c\x69\143\x61\x74\151\x6f\156\x2f\152\163\157\156"), "\x75\x73\145\162\55\141\147\145\x6e\x74" => "\127\x6f\x72\144\120\x72\145\x73\163\x2f" . $wp_version . "\73\x20" . home_url()));
$UrPtQ = '';
if (is_wp_error($Oltag) || 200 !== wp_remote_retrieve_response_code($Oltag)) {
goto G4e0d;
}
$mGmwp = json_decode(wp_remote_retrieve_body($Oltag));
if (is_wp_error($mGmwp)) {
goto yXJEK;
}
if (!("\x6f\x6b" !== $mGmwp->code)) {
goto AdA6p;
}
switch ($mGmwp->code) {
case "\x6c\x69\x63\x65\156\x73\145\137\145\155\x70\164\x79":
$UrPtQ = __("\x45\x6d\160\164\x79\x20\157\x72\x20\151\156\x76\x61\x6c\x69\144\40\154\x69\x63\145\x6e\x73\145\x20\x6b\x65\171\x20\163\165\x62\x6d\x69\x74\164\x65\x64\x2e", "\167\160\x6d\x65\x64\x69\x61\55\x63\x6f\x72\x65");
goto jh3BG;
case "\x6c\x69\x63\145\x6e\x73\145\x5f\x6e\x6f\164\137\146\x6f\x75\156\144":
$UrPtQ = __("\114\151\x63\145\x6e\163\x65\x20\153\x65\x79\x20\x6e\x6f\164\40\x66\157\x75\156\144\x20\x6f\156\40\157\165\x72\x20\163\145\x72\x76\145\162\56", "\167\160\x6d\145\x64\151\141\x2d\x63\157\162\145");
goto jh3BG;
case "\x6c\x69\x63\x65\156\x73\x65\137\144\151\163\141\142\x6c\145\x64":
$UrPtQ = __("\114\151\143\145\x6e\x73\x65\40\153\x65\x79\x20\x68\141\x73\40\x62\145\x65\156\x20\x64\x69\x73\x61\142\x6c\x65\144\x2e", "\x77\160\155\x65\144\x69\x61\x2d\x63\157\x72\x65");
goto jh3BG;
case "\154\x69\x63\x65\x6e\x73\145\x5f\x65\170\160\151\162\x65\x64":
$UrPtQ = __("\131\x6f\x75\162\40\154\151\x63\145\x6e\x73\x65\x20\x6b\145\x79\40\x65\170\x70\x69\x72\145\144\40\x6f\156", "\x77\160\x6d\145\x64\151\141\55\143\x6f\162\145") . "\40" . date_i18n(get_option("\144\x61\164\145\137\x66\157\162\155\x61\164"), strtotime($mGmwp->expires, current_time("\x74\x69\x6d\145\x73\x74\141\x6d\160")));
goto jh3BG;
case "\141\143\164\151\166\x61\x74\x69\157\156\x5f\x73\145\x72\x76\x65\x72\x5f\x65\x72\162\157\x72":
$UrPtQ = __("\101\x63\164\151\x76\x61\164\x69\157\x6e\x20\x73\145\x72\x76\x65\x72\40\x65\x72\162\x6f\162\x2e", "\167\x70\155\x65\144\x69\141\55\x63\x6f\162\x65");
goto jh3BG;
case "\151\156\x76\141\154\x69\144\137\151\x6e\x70\x75\164":
$UrPtQ = __("\101\143\164\151\166\x61\x74\151\157\x6e\x20\146\x61\x69\x6c\x65\144\x3a\x20\151\156\x76\x61\x6c\x69\144\x20\x69\156\x70\165\164\56", "\x77\x70\155\145\144\x69\141\x2d\x63\157\x72\145");
goto jh3BG;
case "\x6e\x6f\137\163\160\x61\x72\145\x5f\x61\143\x74\x69\166\x61\x74\x69\x6f\x6e\163":
$UrPtQ = __("\116\157\40\155\x6f\162\145\40\x61\x63\x74\x69\x76\x61\164\x69\157\x6e\163\x20\x61\154\154\x6f\167\145\x64\x2e\40\x59\157\165\40\155\165\x73\x74\x20\142\x75\171\40\x6e\145\x77\x20\154\x69\143\x65\156\x73\x65\x20\153\x65\171\x2e", "\x77\160\x6d\x65\x64\151\141\x2d\143\157\x72\x65");
goto jh3BG;
case "\x6e\157\137\141\x63\164\x69\x76\x61\x74\x69\157\156\137\x66\x6f\x75\x6e\x64":
$UrPtQ = __("\x4e\157\40\141\x63\x74\151\166\x61\x74\x69\157\x6e\x20\146\x6f\165\156\144\40\146\157\x72\x20\164\150\x69\163\40\151\156\163\164\x61\154\x6c\x61\164\151\157\x6e\56", "\167\160\x6d\145\144\151\141\x2d\143\157\x72\x65");
goto jh3BG;
case "\x6e\157\x5f\162\x65\x61\x63\164\151\166\141\x74\x69\157\x6e\137\141\x6c\x6c\157\x77\145\144":
$UrPtQ = __("\122\145\x2d\141\x63\x74\x69\x76\x61\164\x69\x6f\156\x20\x69\163\40\x6e\x6f\x74\x20\x61\154\x6c\x6f\167\x65\144\x2e", "\x77\x70\155\145\x64\x69\x61\x2d\143\x6f\162\x65");
goto jh3BG;
case "\x6f\164\150\x65\162\x5f\x65\162\x72\x6f\x72":
$UrPtQ = __("\105\x72\162\x6f\x72\x20\x72\145\x74\165\162\156\x65\144\x20\x66\162\x6f\x6d\40\x61\143\x74\x69\x76\x61\164\x69\x6f\x6e\40\163\145\162\x76\x65\x72\x2e", "\167\x70\155\x65\144\x69\141\x2d\x63\x6f\162\145");
goto jh3BG;
default:
$UrPtQ = __("\117\x74\150\x65\162\x20\105\x72\x72\x6f\162\x2e", "\167\x70\155\x65\144\151\x61\55\143\x6f\162\145");
goto jh3BG;
}
XNOc3:
jh3BG:
AdA6p:
if (!("\157\153" === $mGmwp->code)) {
goto J_ABc;
}
if (!(35 !== $mGmwp->scheme_id && 36 !== $mGmwp->scheme_id && 37 !== $mGmwp->scheme_id && 38 !== $mGmwp->scheme_id)) {
goto Y8gYi;
}
$UrPtQ = __("\x54\150\x69\x73\40\154\151\x63\145\x6e\x73\145\40\156\157\x74\40\x66\x6f\162\40\x74\150\x69\163\40\160\162\157\x64\x75\x63\164\56", "\167\160\x6d\145\144\151\141\x2d\x63\157\x72\145");
Y8gYi:
J_ABc:
goto yXfH1;
yXJEK:
$UrPtQ = $mGmwp->get_error_message();
yXfH1:
goto t4xdv;
G4e0d:
if (is_wp_error($Oltag)) {
goto RhIWM;
}
$UrPtQ = __("\x41\156\40\x65\x72\x72\x6f\162\40\x6f\x63\143\x75\x72\162\145\x64\x2c\x20\x70\154\x65\x61\163\x65\x20\164\162\171\40\141\x67\141\151\156\56", "\x77\160\155\145\144\151\x61\x2d\x63\x6f\162\145");
goto nXXEF;
RhIWM:
$UrPtQ = $Oltag->get_error_message();
nXXEF:
t4xdv:
return $UrPtQ;
}
}
if (!function_exists("\x77\x70\x6d\x65\x64\151\x61\x5f\x63\x6f\x72\x65\137\141\143\x74\x69\166\141\x74\x65\137\x6c\x69\x63\145\156\163\145")) {
function wpmedia_core_activate_license()
{
global $wp_filesystem;
if (!isset($_POST["\x77\x70\x6d\145\x64\151\141\x5f\x63\x6f\x72\145\x5f\154\x69\143\145\x6e\163\145\137\x61\x63\164\x69\166\141\164\x65"])) {
goto nYvDo;
}
$H7DLD = !empty($_POST["\x77\x70\x6d\145\x64\x69\x61\x5f\143\x6f\162\x65\137\x6c\151\143\x65\156\x73\x65\x5f\x6b\145\x79"]) ? sanitize_text_field(wp_unslash($_POST["\x77\x70\155\x65\x64\x69\141\137\x63\157\x72\x65\137\x6c\x69\x63\145\156\163\145\x5f\x6b\x65\171"])) : '';
$HDdrO = wpmedia_core_get_home();
if (check_admin_referer("\167\160\x6d\x65\144\x69\x61\137\x63\157\x72\145\137\154\x69\143\145\x6e\x73\x65\137\156\x6f\156\143\145", "\x77\160\155\x65\144\151\x61\137\143\x6f\x72\x65\x5f\154\x69\143\145\156\163\x65\x5f\x6e\x6f\x6e\x63\x65")) {
goto tgnJQ;
}
return;
tgnJQ:
$RsIc_ = array("\153\145\x79" => $H7DLD);
$UrPtQ = wpmedia_core_remote_get("\143\150\x65\143\x6b", $RsIc_);
if (empty($UrPtQ)) {
goto jMJQr;
}
$base_url = admin_url("\x70\x6c\x75\147\x69\x6e\163\56\x70\x68\160\x3f\160\141\147\x65\75" . WPMEDIA_PLUGIN_LICENSE_PAGE);
$NoRg9 = add_query_arg(array("\167\x70\x6d\x65\144\x69\x61\x5f\x63\157\162\145\137\x61\x63\x74\151\x76\x61\x74\151\x6f\x6e" => "\x66\x61\154\x73\145", "\155\x65\163\x73\x61\x67\x65" => rawurlencode($UrPtQ)), $base_url);
wp_safe_redirect($NoRg9);
exit;
goto prrny;
jMJQr:
$RsIc_ = array("\x6b\x65\171" => $H7DLD, "\x72\145\x71\x75\x65\163\164\133\165\162\154\x5d" => esc_url($HDdrO));
$UrPtQ = wpmedia_core_remote_get("\141\143\164\x69\x76\x61\164\145\144", $RsIc_);
if (empty($UrPtQ)) {
goto rk8rx;
}
$base_url = admin_url("\160\x6c\165\x67\151\156\163\x2e\160\150\x70\x3f\x70\141\x67\x65\x3d" . WPMEDIA_PLUGIN_LICENSE_PAGE);
$NoRg9 = add_query_arg(array("\167\x70\x6d\145\144\x69\x61\x5f\143\x6f\162\x65\x5f\141\x63\x74\x69\x76\x61\x74\x69\157\x6e" => "\146\141\154\x73\145", "\x6d\x65\163\x73\x61\x67\x65" => rawurlencode($UrPtQ)), $base_url);
wp_safe_redirect($NoRg9);
exit;
goto bT2H3;
rk8rx:
$Byf2V = md5(wpmedia_core_get_home());
$tfKQj = wpmedia_core_de_license("\x65", $H7DLD, $Byf2V);
update_option("\167\160\x6d\145\144\151\141\x5f\143\157\x72\145\x5f\x6c\151\143\x65\x6e\163\145\137\153\x65\x79" . $Byf2V, $tfKQj);
update_option("\167\160\155\145\x64\151\x61\x5f\x63\157\162\145\x5f\x6c\x69\143\145\x6e\x73\145\137\163\x74\141\x74\x75\163" . $Byf2V, "\157\153");
$hMJ0f = md5("\167\x70\x6d\x65\144\151\x61\137\x63\x6f\162\145");
$mwyRI = wpmedia_core_de_license("\x65", $H7DLD, $hMJ0f);
update_option("\x5f\x74\162\x61\x73\151\145\x6e\x74\x5f\164\151\x6d\145\x6f\165\164\x5f\x70\157\x70\x75\x72\x6c\x5f\154\163\x5f" . $hMJ0f, $mwyRI);
$LD2S2 = array();
$VEpta["\x73\x74\163"] = "\157\153";
$LD2S2[] = $VEpta;
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["\x62\x61\x73\x65\144\x69\162"])) {
goto rUeHi;
}
if (!wpmedia_core_connect_fs()) {
goto nV8PR;
}
$e3uwq = $Vo4L1["\x62\x61\x73\145\x64\151\162"] . "\57" . $Byf2V;
$BPH9k = $Vo4L1["\142\141\x73\145\x64\x69\162"] . "\x2f" . $Byf2V . "\x2f" . $tfKQj . "\56\152\163\157\x6e";
if ($wp_filesystem->is_dir($e3uwq)) {
goto ki6KB;
}
$WEjbu = defined("\106\123\137\x43\x48\x4d\117\x44\137\x44\x49\x52") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($e3uwq, $WEjbu)) {
goto N04n5;
}
exit("\x43\x61\156\x27\164\x20\x63\162\145\x61\x74\145\x20\154\x69\143\x65\156\x73\145\x20\x64\151\x72\x65\x63\x74\x6f\x72\x79\56\40\x50\154\x65\x61\163\145\x20\x63\x68\145\x63\x6b\x20\x79\x6f\165\x72\x20\146\157\154\144\x65\x72\x20\160\145\162\155\x69\x73\163\x69\157\x6e\56\40\115\x61\153\145\x20\163\165\162\145\40\x79\x6f\x75\162\40\160\145\x72\155\151\163\163\151\x6f\156\x73\40\146\157\154\144\x65\x72\40\60\x37\65\65\40\157\162\40\60\67\x37\67\x2e");
N04n5:
ki6KB:
$wp_filesystem->put_contents($BPH9k, wp_json_encode($LD2S2, JSON_PRETTY_PRINT));
nV8PR:
rUeHi:
wp_safe_redirect(admin_url("\x70\154\x75\147\x69\156\163\56\160\150\x70\x3f\160\x61\x67\x65\x3d" . WPMEDIA_PLUGIN_LICENSE_PAGE));
exit;
bT2H3:
prrny:
nYvDo:
}
}
add_action("\141\144\155\151\x6e\137\151\156\x69\x74", "\167\x70\155\x65\x64\x69\x61\137\x63\157\162\145\x5f\x61\x63\164\x69\166\x61\164\x65\x5f\154\x69\143\x65\156\163\145");
if (!function_exists("\167\x70\155\x65\x64\x69\141\x5f\143\157\162\x65\x5f\144\145\141\143\x74\151\166\141\x74\145\x5f\x6c\x69\x63\145\x6e\163\x65")) {
function wpmedia_core_deactivate_license()
{
global $wp_filesystem;
if (!isset($_POST["\x77\x70\155\145\144\151\141\x5f\143\x6f\162\145\137\x6c\x69\x63\x65\x6e\x73\145\137\x64\x65\141\x63\x74\151\166\141\x74\145"])) {
goto gZmnf;
}
$H7DLD = !empty($_POST["\x77\160\x6d\x65\x64\151\141\137\x63\x6f\x72\145\137\154\x69\x63\145\156\163\x65\137\x6b\145\171"]) ? sanitize_text_field(wp_unslash($_POST["\x77\x70\155\145\144\151\141\x5f\x63\157\162\145\x5f\154\151\x63\x65\x6e\163\x65\x5f\x6b\x65\171"])) : '';
$HDdrO = wpmedia_core_get_home();
if (check_admin_referer("\x77\160\x6d\x65\x64\x69\x61\x5f\143\157\162\x65\137\x6c\151\x63\x65\x6e\163\x65\x5f\156\157\156\143\145", "\x77\x70\155\x65\144\x69\141\137\x63\x6f\162\145\137\154\x69\143\x65\156\x73\145\x5f\x6e\x6f\156\x63\145")) {
goto BFLUl;
}
return;
BFLUl:
$RsIc_ = array("\x6b\145\x79" => $H7DLD);
$UrPtQ = wpmedia_core_remote_get("\x63\150\145\143\153", $RsIc_);
if (empty($UrPtQ)) {
goto YColV;
}
$base_url = admin_url("\x70\x6c\x75\147\151\156\163\56\160\150\x70\77\160\x61\x67\145\x3d" . WPMEDIA_PLUGIN_LICENSE_PAGE);
$NoRg9 = add_query_arg(array("\x77\160\155\145\144\151\x61\137\x63\157\x72\x65\137\141\143\164\151\166\x61\164\x69\157\156" => "\x66\141\x6c\x73\145", "\x6d\x65\163\163\x61\x67\x65" => rawurlencode($UrPtQ)), $base_url);
wp_safe_redirect($NoRg9);
exit;
goto yD9QT;
YColV:
$RsIc_ = array("\x6b\x65\x79" => $H7DLD, "\x72\145\x71\165\145\x73\x74\x5b\x75\162\154\x5d" => esc_url($HDdrO));
wpmedia_core_remote_get("\x64\x65\x61\143\x74\x69\166\x61\164\145\x64", $RsIc_);
$Byf2V = md5(wpmedia_core_get_home());
$tfKQj = wpmedia_core_de_license("\x65", $H7DLD, $Byf2V);
update_option("\x77\160\155\145\144\x69\141\137\143\x6f\162\145\137\x6c\151\143\145\156\163\x65\x5f\x6b\x65\x79" . $Byf2V, '');
update_option("\x77\x70\x6d\145\x64\x69\x61\x5f\143\157\x72\145\137\x6c\151\x63\x65\156\x73\145\137\x73\x74\x61\164\165\163" . $Byf2V, '');
$hMJ0f = md5("\x77\160\x6d\x65\144\151\141\137\143\157\162\x65");
update_option("\137\x74\x72\x61\x73\x69\x65\x6e\164\x5f\x74\151\155\x65\157\165\164\x5f\160\x6f\x70\165\162\154\x5f\x6c\x73\x5f" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["\142\141\x73\145\x64\x69\162"])) {
goto rLf4e;
}
if (!wpmedia_core_connect_fs()) {
goto WowFf;
}
$e3uwq = $Vo4L1["\x62\141\x73\x65\x64\x69\162"] . "\57" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto C0HOZ;
}
$BPH9k = $Vo4L1["\142\x61\163\145\x64\151\162"] . "\x2f" . $Byf2V . "\57" . $tfKQj . "\56\x6a\x73\157\156";
if (!$wp_filesystem->exists($BPH9k)) {
goto ZL3wJ;
}
$wp_filesystem->delete($BPH9k, false, "\146");
ZL3wJ:
C0HOZ:
WowFf:
rLf4e:
wp_safe_redirect(admin_url("\x70\154\165\147\x69\156\163\56\x70\150\x70\77\160\x61\x67\x65\x3d" . WPMEDIA_PLUGIN_LICENSE_PAGE));
exit;
yD9QT:
gZmnf:
}
}
add_action("\x61\144\155\151\156\x5f\x69\156\151\164", "\x77\160\155\x65\x64\151\141\x5f\143\x6f\x72\x65\137\144\x65\141\x63\x74\x69\166\141\x74\x65\137\x6c\x69\x63\x65\156\x73\x65");
if (!function_exists("\x77\160\x6d\145\x64\151\x61\x5f\x63\157\x72\145\x5f\x63\150\x65\143\153\137\x6c\151\143\145\156\163\145")) {
function wpmedia_core_check_license()
{
$Hm4rM = get_transient(md5("\x77\160\x6d\145\x64\151\x61\x5f\143\157\162\x65"));
if (!(false === $Hm4rM)) {
goto dc2nu;
}
global $wp_filesystem, $wp_version;
$Byf2V = md5(wpmedia_core_get_home());
$hMJ0f = md5("\x77\x70\x6d\145\144\151\x61\137\143\157\x72\x65");
$H7DLD = trim(get_option("\167\160\155\145\x64\151\x61\x5f\143\157\162\145\137\x6c\151\143\x65\156\x73\x65\137\153\x65\171" . $Byf2V));
$tfKQj = wpmedia_core_de_license("\145", $H7DLD, $Byf2V);
$MiTR_ = wpmedia_core_de_license("\144", $H7DLD, $Byf2V);
$HDdrO = str_replace("\x2f", '', esc_url(wpmedia_core_get_home()));
$RsIc_ = array("\x6b\x65\171" => esc_attr($MiTR_), "\x72\145\161\165\x65\163\x74\x5b\165\x72\154\135" => esc_attr($HDdrO));
$VGFsO = esc_url_raw(add_query_arg($RsIc_, WPMEDIA_API_URL_CHECK_ACTIVATION));
$Oltag = wp_remote_get($VGFsO, array("\164\x69\x6d\145\157\x75\164" => 60, "\163\163\154\166\x65\162\151\146\x79" => true, "\150\164\164\x70\x76\145\x72\x73\151\157\x6e" => "\x31\56\x31", "\150\x65\x61\144\145\162\x73" => array("\x41\143\143\x65\160\164" => "\x61\160\x70\x6c\151\143\x61\164\151\157\x6e\57\152\x73\x6f\156"), "\x75\x73\145\162\55\x61\147\145\x6e\x74" => "\127\157\x72\x64\x50\x72\145\163\163\57" . $wp_version . "\73\x20" . home_url()));
if (is_wp_error($Oltag) || 200 !== wp_remote_retrieve_response_code($Oltag)) {
goto XmSTt;
}
$mGmwp = json_decode(wp_remote_retrieve_body($Oltag));
if (is_wp_error($mGmwp)) {
goto fm2vi;
}
$xIizj = 7 * 24 * HOUR_IN_SECONDS;
set_transient(md5("\167\x70\155\145\x64\151\141\137\x63\157\162\x65"), true, 7 * 24 * HOUR_IN_SECONDS);
if (!("\157\x6b" !== $mGmwp->code)) {
goto bAnkY;
}
switch ($mGmwp->code) {
case "\154\x69\143\x65\x6e\x73\145\x5f\x65\155\160\x74\x79":
update_option("\x77\x70\x6d\145\x64\151\x61\137\x63\157\162\145\137\154\x69\x63\x65\x6e\163\145\x5f\153\145\171" . $Byf2V, '');
update_option("\167\160\155\145\x64\151\141\x5f\x63\157\x72\145\x5f\154\x69\143\145\156\x73\145\x5f\x73\x74\141\164\165\163" . $Byf2V, '');
update_option("\x5f\164\x72\x61\163\x69\x65\156\164\x5f\x74\x69\155\145\x6f\x75\164\x5f\x70\157\x70\165\162\x6c\x5f\x6c\x73\x5f" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["\142\141\x73\145\144\x69\162"])) {
goto Z61pm;
}
if (!wpmedia_core_connect_fs()) {
goto LQAMR;
}
$e3uwq = $Vo4L1["\142\141\x73\x65\144\x69\x72"] . "\57" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto UH06z;
}
$BPH9k = $Vo4L1["\x62\141\x73\145\x64\151\162"] . "\57" . $Byf2V . "\57" . $tfKQj . "\x2e\152\x73\x6f\156";
if (!$wp_filesystem->exists($BPH9k)) {
goto U9ava;
}
$wp_filesystem->delete($BPH9k, false, "\x66");
U9ava:
UH06z:
LQAMR:
Z61pm:
goto PBSq1;
case "\x6c\151\x63\145\156\163\x65\137\156\157\164\x5f\x66\x6f\x75\156\x64":
$Byf2V = md5(wpmedia_core_get_home());
update_option("\167\160\155\145\144\x69\141\x5f\x63\157\x72\x65\137\x6c\151\x63\145\x6e\163\145\x5f\x6b\x65\x79" . $Byf2V, '');
update_option("\x77\x70\x6d\x65\x64\151\141\x5f\143\157\x72\145\137\x6c\151\x63\145\156\163\x65\137\163\x74\x61\x74\165\x73" . $Byf2V, '');
update_option("\x5f\x74\162\x61\163\151\x65\x6e\x74\x5f\164\151\x6d\145\x6f\165\x74\x5f\160\157\160\x75\162\154\137\154\163\x5f" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["\x62\x61\163\x65\x64\151\162"])) {
goto dYYIB;
}
if (!wpmedia_core_connect_fs()) {
goto YXSPu;
}
$e3uwq = $Vo4L1["\x62\x61\163\145\144\x69\x72"] . "\x2f" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto v0VTh;
}
$BPH9k = $Vo4L1["\142\141\x73\x65\x64\151\x72"] . "\x2f" . $Byf2V . "\57" . $tfKQj . "\x2e\152\x73\x6f\156";
if (!$wp_filesystem->exists($BPH9k)) {
goto B8bH6;
}
$wp_filesystem->delete($BPH9k, false, "\146");
B8bH6:
v0VTh:
YXSPu:
dYYIB:
goto PBSq1;
case "\156\157\x5f\x61\x63\164\x69\x76\x61\x74\151\157\x6e\137\146\157\x75\156\144":
$Byf2V = md5(wpmedia_core_get_home());
update_option("\167\x70\155\145\x64\x69\141\x5f\x63\x6f\162\145\x5f\x6c\151\143\x65\x6e\x73\145\137\x6b\x65\x79" . $Byf2V, '');
update_option("\x77\160\155\x65\x64\x69\141\x5f\x63\157\x72\145\x5f\x6c\151\x63\x65\156\x73\x65\x5f\x73\164\141\164\x75\x73" . $Byf2V, '');
update_option("\137\164\162\x61\163\x69\x65\156\164\137\x74\x69\155\x65\x6f\165\164\137\x70\157\x70\165\162\154\x5f\154\x73\x5f" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["\142\141\x73\x65\144\x69\x72"])) {
goto pVveD;
}
if (!wpmedia_core_connect_fs()) {
goto jQzlj;
}
$e3uwq = $Vo4L1["\x62\141\163\145\x64\x69\x72"] . "\57" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto uGJrr;
}
$BPH9k = $Vo4L1["\x62\x61\163\x65\x64\151\162"] . "\57" . $Byf2V . "\x2f" . $tfKQj . "\56\152\x73\x6f\156";
if (!$wp_filesystem->exists($BPH9k)) {
goto yjHmM;
}
$wp_filesystem->delete($BPH9k, false, "\x66");
yjHmM:
uGJrr:
jQzlj:
pVveD:
goto PBSq1;
case "\x6c\151\x63\x65\x6e\x73\145\137\144\151\163\141\x62\154\x65\144":
$Byf2V = md5(wpmedia_core_get_home());
update_option("\x77\x70\155\x65\144\151\141\x5f\x63\x6f\x72\145\137\154\151\x63\145\156\163\x65\137\x6b\x65\171" . $Byf2V, '');
update_option("\167\160\x6d\x65\x64\x69\x61\137\x63\x6f\162\145\x5f\154\151\x63\145\x6e\163\145\137\163\x74\x61\164\x75\163" . $Byf2V, '');
update_option("\x5f\x74\x72\x61\x73\151\145\156\164\137\x74\151\155\145\x6f\x75\x74\x5f\x70\x6f\160\x75\162\154\x5f\x6c\163\x5f" . $hMJ0f, '');
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["\x62\141\x73\145\144\x69\162"])) {
goto DR_Kk;
}
if (!wpmedia_core_connect_fs()) {
goto qK08v;
}
$e3uwq = $Vo4L1["\142\x61\x73\145\x64\151\162"] . "\57" . $Byf2V;
if (!$wp_filesystem->exists($e3uwq)) {
goto E0tE4;
}
$BPH9k = $Vo4L1["\x62\x61\x73\145\144\151\x72"] . "\57" . $Byf2V . "\57" . $tfKQj . "\x2e\152\x73\157\x6e";
if (!$wp_filesystem->exists($BPH9k)) {
goto lLucu;
}
$wp_filesystem->delete($BPH9k, false, "\146");
lLucu:
E0tE4:
qK08v:
DR_Kk:
goto PBSq1;
}
K3eV5:
PBSq1:
bAnkY:
goto iKhC1;
fm2vi:
$xIizj = 3 * 24 * HOUR_IN_SECONDS;
$UrPtQ = $mGmwp->get_error_message();
iKhC1:
goto IdvXg;
XmSTt:
if (is_wp_error($Oltag)) {
goto JQfPT;
}
$UrPtQ = __("\101\x6e\x20\145\162\x72\x6f\x72\x20\157\x63\x63\165\162\x72\145\144\54\40\x70\x6c\145\x61\x73\145\40\x74\162\171\40\141\x67\141\x69\156\56", "\167\x70\155\145\144\x69\x61\x2d\x63\157\x72\x65");
goto UaoP8;
JQfPT:
$UrPtQ = $Oltag->get_error_message();
UaoP8:
IdvXg:
set_transient(md5("\x77\160\155\x65\x64\151\141\x5f\x63\157\162\x65"), true, $xIizj);
dc2nu:
}
}
add_action("\x61\144\155\151\x6e\137\151\x6e\x69\x74", "\167\160\155\145\x64\x69\x61\x5f\x63\x6f\x72\x65\137\x63\150\x65\143\x6b\x5f\154\x69\143\145\x6e\163\x65");
if (!function_exists("\167\160\155\x65\144\151\141\x5f\152\163\x6e\137\165\x72\154")) {
function wpmedia_jsn_url()
{
$Byf2V = md5(wpmedia_core_get_home());
$H7DLD = trim(get_option("\x77\160\155\145\144\151\x61\x5f\x63\157\162\145\x5f\154\151\x63\x65\x6e\x73\x65\x5f\153\145\x79" . $Byf2V));
$Vo4L1 = wp_upload_dir();
if (!empty($Vo4L1["\142\x61\x73\145\x64\x69\x72"])) {
goto VtjPl;
}
return "\146\141\151\154\145\x64";
goto CGHIt;
VtjPl:
$e3uwq = $Vo4L1["\142\x61\163\x65\x64\x69\162"] . "\x2f" . $Byf2V;
if (@file_exists($e3uwq)) {
goto igbDo;
}
return "\146\x61\151\154\x65\144";
goto eKp6s;
igbDo:
$BPH9k = $Vo4L1["\x62\x61\163\x65\x64\x69\x72"] . "\x2f" . $Byf2V . "\x2f" . $H7DLD . "\56\x6a\x73\x6f\x6e";
if (@file_exists($BPH9k)) {
goto Z6CdZ;
}
return "\146\x61\x69\154\x65\x64";
goto l_Fbo;
Z6CdZ:
return "\x73\x75\143\x63\145\x73\163";
l_Fbo:
eKp6s:
CGHIt:
}
}
add_filter("\x77\x70\x6d\145\144\x69\141\x5f\x6a\x73\156\x5f\x75\x72\x6c\x5f\x66\151\x6c\x74\x65\162", "\167\160\x6d\x65\144\x69\141\x5f\152\163\156\x5f\x75\x72\154", 10, 3);
if (!function_exists("\x77\x70\155\x65\144\151\x61\137\x63\x6f\x72\145\137\x61\144\x6d\x69\x6e\137\x6e\157\164\151\x63\145\x73")) {
function wpmedia_core_admin_notices()
{
if (!(isset($_GET["\167\x70\x6d\x65\144\151\x61\x5f\143\157\162\x65\x5f\141\143\x74\x69\x76\141\x74\x69\x6f\156"]) && !empty($_GET["\155\145\x73\163\x61\147\x65"]))) {
goto Sz3YN;
}
switch ($_GET["\167\160\x6d\x65\144\151\x61\x5f\143\157\162\x65\x5f\x61\x63\x74\x69\x76\141\x74\151\157\x6e"]) {
case "\146\141\x6c\x73\x65":
$UrPtQ = rawurlencode(sanitize_text_field(wp_unslash($_GET["\x6d\x65\x73\x73\x61\147\x65"])));
echo "\x9\11\x9\x9\x9\x3c\144\x69\x76\40\143\x6c\141\x73\163\75\42\145\x72\x72\157\162\x22\76\xa\x9\11\11\x9\x9\x9\74\x70\x3e";
echo esc_html($UrPtQ);
echo "\x3c\57\x70\76\12\x9\x9\11\x9\11\74\x2f\144\151\x76\x3e\12\x9\11\11\x9\x9";
goto TFREA;
case "\164\162\x75\x65":
default:
echo "\11\11\x9\x9\x9\x3c\144\x69\166\40\143\154\x61\163\x73\x3d\x22\163\165\x63\143\x65\163\163\42\76\xa\11\x9\11\x9\11\11\74\160\x3e";
echo esc_html_e("\123\165\x63\x63\145\x73\x73\x2e", "\167\x70\x6d\145\x64\x69\x61\x2d\143\157\x72\x65");
echo "\x3c\57\160\76\xa\11\11\x9\11\11\x3c\x2f\x64\x69\x76\76\12\11\11\x9\x9\x9";
goto TFREA;
}
yRv2u:
TFREA:
Sz3YN:
}
}
add_action("\141\x64\x6d\151\156\x5f\156\x6f\x74\151\143\145\x73", "\167\x70\x6d\145\144\151\x61\137\x63\157\162\x65\x5f\141\144\x6d\x69\156\137\156\x6f\164\x69\x63\x65\x73");
Function Calls
None |
Stats
MD5 | 21103c34b9b42eccc91eae2f96bc36d9 |
Eval Count | 0 |
Decode Time | 121 ms |