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 -..
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 TZrvO;
}
goto BObci;
TZrvO: update_option("_trasient_timeout_popurl_ls_" . $hMJ0f, $mwyRI);
BObci: $khKvI = wpmedia_core_de_license("d", $cu0W9, $hMJ0f);
if ($khKvI !== $MiTR_) {
goto HF4AF;
}
goto N9RDB;
HF4AF: $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");
N9RDB: }
}
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<div class="wrap">\xa \x9<h2>";
esc_attr_e("Wpmedia License Options", "wpmedia-core");
echo "</h2>\xa <form method="post" action="options.php">\xa\x9 \x9";
settings_fields("wpmedia_core_license");
echo "\x9 <table class="form-table">
\x9\x9\x9 \x9<tbody>\xa\x9 \x9\x9\x9\x9<tr valign="top">\xa \x9\x9\x9 \x9<th scope="row" valign="top">\xa\x9\x9 \x9 \x9\x9\x9";
esc_attr_e("License Key", "wpmedia-core");
echo "\x9 \x9\x9 </th>
\x9\x9 \x9\x9<td>\xa \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 <label class="description" for="wpmedia_core_license_key">";
esc_attr_e("Enter your license key here", "wpmedia-core");
echo " - <span>" . base64_decode("VHJha3RpciBzYXlhIGRpIDxhIGhyZWY9Imh0dHBzOi8vdHJha3RlZXIuaWQvd2lsbHlkaGFmaS90aXAiIHRhcmdldD0iX2JsYW5rIj50cmFrdGVlci5pZDwvYT4=") . "</span>";
echo "</label>
\x9 \x9\x9\x9\x9</td>\xa\x9\x9 \x9\x9 </tr>
\x9\x9\x9<tr valign="top">\xa \x9 \x9\x9<th scope="row" valign="top">
\x9\x9\x9 \x9\x9\x9";
esc_attr_e("Activate License", "wpmedia-core");
echo "\x9 \x9\x9</th>\xa\xa\x9\x9\x9 \x9 \x9<td>
\x9\x9 \x9\x9\x9 ";
wp_nonce_field("wpmedia_core_license_nonce", "wpmedia_core_license_nonce");
echo "\x9 \x9\x9 ";
if (!(!empty($rb9qk) && "ok" === $rb9qk)) {
goto xQ57i;
}
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\x9<input type="submit" class="button-secondary" name="wpmedia_core_license_deactivate" value="";
esc_attr_e("Deactivate License", "wpmedia-core");
echo ""/>
\x9<label class="description" for="wpmedia_core_license_key"><br />\xa\x9 \x9 \x9\x9";
esc_html_e("Congratulations, your license is active.", "wpmedia-core");
echo "<br />\xa \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 ";
goto jDKfJ;
xQ57i: echo " \x9\x9 <input type="submit" class="button-secondary" name="wpmedia_core_license_activate" value="";
esc_attr_e("Activate License", "wpmedia-core");
echo ""/>\xa \x9\x9\x9 \x9\x9 ";
jDKfJ: echo " \x9\x9\x9\x9 \x9</td>
\x9\x9 \x9\x9 </tr>\xa \x9 \x9</tbody>
</table>\xa \x9</form>\xa\x9 </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 U4dqL;
}
if (!WP_Filesystem($pU0RQ)) {
goto eEy7K;
}
return true;
eEy7K: request_filesystem_credentials('');
return false;
U4dqL: return false;
}
}
if (!function_exists("wpmedia_core_de_license")) {
function wpmedia_core_de_license($LEEVJ, $tN3y5, $U1t3n = "jshKjsnjHfbC6jjj") {
$tUCf1 = false;
$C3yR0 = "AES-256-CBC";
$moe9c = $U1t3n;
$UHrhH = "XjskSjHSkkkJst";
$KXskX = hash("sha256", $moe9c);
$tf9_F = substr(hash("sha256", $UHrhH), 0, 16);
if ("e" === $LEEVJ) {
goto j20xo;
}
if ("d" === $LEEVJ) {
goto UaE87;
}
goto dEo4z;
UaE87: $tUCf1 = openssl_decrypt(base64_decode($tN3y5), $C3yR0, $KXskX, 0, $tf9_F);
goto ye46Z;
j20xo: $tUCf1 = openssl_encrypt($tN3y5, $C3yR0, $KXskX, 0, $tf9_F);
$tUCf1 = base64_encode($tUCf1);
dEo4z: ye46Z: return $tUCf1;
}
}
if (!function_exists("wpmedia_core_remote_get")) {
function wpmedia_core_remote_get($Xnezw = "check", $RTKHE = '') {
$QkPwb = json_encode(array("code" => "ok", "scheme_id" => ''));
$rPPuN = json_decode($QkPwb);
if (!("ok" !== $rPPuN->code)) {
goto Yv0aE;
}
switch ($rPPuN->code) {
case "license_empty": $U4Ov2 = __("Empty or invalid license key submitted.", "wpmedia-core");
goto SBylH;
case "license_not_found": $U4Ov2 = __("License key not found on our server.", "wpmedia-core");
goto SBylH;
case "license_disabled": $U4Ov2 = __("License key has been disabled.", "wpmedia-core");
goto SBylH;
case "license_expired": $U4Ov2 = __("Your license key expired on", "wpmedia-core") . " " . date_i18n(get_option("date_format"), strtotime($rPPuN->QHdlI, current_time("timestamp")));
goto SBylH;
case "activation_server_error": $U4Ov2 = __("Activation server error.", "wpmedia-core");
goto SBylH;
case "invalid_input": $U4Ov2 = __("Activation failed: invalid input.", "wpmedia-core");
goto SBylH;
case "no_spare_activations": $U4Ov2 = __("No more activations allowed. You must buy new license key.", "wpmedia-core");
goto SBylH;
case "no_activation_found": $U4Ov2 = __("No activation found for this installation.", "wpmedia-core");
goto SBylH;
case "no_reactivation_allowed": $U4Ov2 = __("Re-activation is not allowed.", "wpmedia-core");
goto SBylH;
case "other_error": $U4Ov2 = __("Error returned from activation server.", "wpmedia-core");
goto SBylH;
default: $U4Ov2 = __("Other Error.", "wpmedia-core");
goto SBylH;
}
CKvEV: R37o1: SBylH: goto VJh8K;
Yv0aE: VJh8K: if (!("ok" === $rPPuN->code)) {
goto qNnCn;
}
if (!("35" !== $rPPuN->hRIBm && "36" !== $rPPuN->hRIBm && "37" !== $rPPuN->hRIBm && "38" !== $rPPuN->hRIBm)) {
goto dztl9;
}
$U4Ov2 = __("This license not for this product.", "wpmedia-core");
goto ILxHI;
dztl9: ILxHI: goto AoA61;
qNnCn: AoA61: return $U4Ov2;
}
}
if (!function_exists("wpmedia_core_activate_license")) {
function wpmedia_core_activate_license() {
global $wp_filesystem;
if (!isset($_POST["wpmedia_core_license_activate"])) {
goto uv5f1;
}
$E2ZsO = !empty($_POST["wpmedia_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["wpmedia_core_license_key"])) : '';
$w1Znn = wpmedia_core_get_home();
$Zp5sG = md5(wpmedia_core_get_home());
$EW4hq = wpmedia_core_de_license("e", $E2ZsO, $Zp5sG);
update_option("wpmedia_core_license_key" . $Zp5sG, $EW4hq);
update_option("wpmedia_core_license_status" . $Zp5sG, "ok");
$zR8fk = array();
$dfOP_["sts"] = "ok";
$zR8fk[] = $dfOP_;
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["basedir"])) {
goto a9GdF;
}
if (!wpmedia_core_connect_fs()) {
goto JtPSc;
}
$CgHDV = $U2KY0["basedir"] . "/" . $Zp5sG;
$GIk0i = $U2KY0["basedir"] . "/" . $Zp5sG . "/" . $EW4hq . ".json";
if ($wp_filesystem->is_dir($CgHDV)) {
goto k0Avf;
}
$a4p6N = defined("FS_CHMOD_DIR") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($CgHDV, $a4p6N)) {
goto e5M05;
}
exit("Can't create license directory. Please check your folder permission. Make sure your permissions folder 0755 or 0777.");
e5M05: goto tKooH;
k0Avf: tKooH: $wp_filesystem->put_contents($GIk0i, wp_json_encode($zR8fk, JSON_PRETTY_PRINT));
goto k8qR7;
JtPSc: goto k8qR7;
a9GdF: k8qR7: wp_safe_redirect(admin_url("plugins.php?page=wpmedia-license"));
exit;
uv5f1: return;
}
}
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 rcvYB;
}
$E2ZsO = !empty($_POST["wpmedia_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["wpmedia_core_license_key"])) : '';
$w1Znn = wpmedia_core_get_home();
$RTKHE = array("key" => $E2ZsO, "request[url]" => esc_url($w1Znn));
wpmedia_core_remote_get("deactivated", $RTKHE);
$Zp5sG = md5(wpmedia_core_get_home());
$EW4hq = wpmedia_core_de_license("e", $E2ZsO, $Zp5sG);
update_option("wpmedia_core_license_key" . $Zp5sG, '');
update_option("wpmedia_core_license_status" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["basedir"])) {
goto TgXQ0;
}
if (!wpmedia_core_connect_fs()) {
goto tS_IU;
}
$CgHDV = $U2KY0["basedir"] . "/" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto atTis;
}
$GIk0i = $U2KY0["basedir"] . "/" . $Zp5sG . "/" . $EW4hq . ".json";
if (!$wp_filesystem->exists($GIk0i)) {
goto sqEB5;
}
$wp_filesystem->delete($GIk0i, false, "f");
goto qYv3M;
sqEB5: qYv3M: goto Pl_H_;
atTis: Pl_H_: goto n3p9h;
tS_IU: n3p9h: goto Ja1uy;
TgXQ0: Ja1uy: wp_safe_redirect(admin_url("plugins.php?page=wpmedia-license"));
exit;
rcvYB: return;
}
}
add_action("admin_init", "wpmedia_core_deactivate_license");
if (!function_exists("wpmedia_core_check_license")) {
function wpmedia_core_check_license() {
if (!(false === get_transient("wpmediacorelicense_transient"))) {
goto SWoEf;
}
global $wp_filesystem, $wp_version;
$Zp5sG = md5(wpmedia_core_get_home());
$E2ZsO = trim(get_option("wpmedia_core_license_key" . $Zp5sG));
$EW4hq = wpmedia_core_de_license("e", $E2ZsO, $Zp5sG);
$ol4iU = wpmedia_core_de_license("d", $E2ZsO, $Zp5sG);
$RTKHE = array("key" => $ol4iU);
$BiDKq = esc_url_raw(add_query_arg($RTKHE, WPMEDIA_API_URL_CHECK));
$QkPwb = json_encode(array("code" => "ok", "scheme_id" => ''));
$rPPuN = json_decode($QkPwb);
set_transient("wpmediacorelicense_transient", "hashcache", 0);
if (!("ok" !== $rPPuN->code)) {
goto z8Lyd;
}
switch ($rPPuN->code) {
case "license_empty": update_option("wpmedia_core_license_key" . $Zp5sG, '');
update_option("wpmedia_core_license_status" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["basedir"])) {
goto e753B;
}
if (!wpmedia_core_connect_fs()) {
goto jH34Q;
}
$CgHDV = $U2KY0["basedir"] . "/" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto EkeeJ;
}
$GIk0i = $U2KY0["basedir"] . "/" . $Zp5sG . "/" . $EW4hq . ".json";
if (!$wp_filesystem->exists($GIk0i)) {
goto I2POa;
}
$wp_filesystem->delete($GIk0i, false, "f");
goto ydHo8;
I2POa: ydHo8: goto ioVBt;
EkeeJ: ioVBt: goto nP4dI;
jH34Q: nP4dI: goto jc7xm;
e753B: jc7xm: goto d89FT;
case "license_not_found": $Zp5sG = md5(wpmedia_core_get_home());
update_option("wpmedia_core_license_key" . $Zp5sG, '');
update_option("wpmedia_core_license_status" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["basedir"])) {
goto Dmecu;
}
if (!wpmedia_core_connect_fs()) {
goto Zhd1t;
}
$CgHDV = $U2KY0["basedir"] . "/" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto kXpMS;
}
$GIk0i = $U2KY0["basedir"] . "/" . $Zp5sG . "/" . $EW4hq . ".json";
if (!$wp_filesystem->exists($GIk0i)) {
goto Bhm4f;
}
$wp_filesystem->delete($GIk0i, false, "f");
goto TT_5I;
Bhm4f: TT_5I: goto lPZNg;
kXpMS: lPZNg: goto QO8hz;
Zhd1t: QO8hz: goto RTryj;
Dmecu: RTryj: goto d89FT;
case "license_disabled": $Zp5sG = md5(wpmedia_core_get_home());
update_option("wpmedia_core_license_key" . $Zp5sG, '');
update_option("wpmedia_core_license_status" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["basedir"])) {
goto gkbHX;
}
if (!wpmedia_core_connect_fs()) {
goto vZzQx;
}
$CgHDV = $U2KY0["basedir"] . "/" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto sZMO4;
}
$GIk0i = $U2KY0["basedir"] . "/" . $Zp5sG . "/" . $EW4hq . ".json";
if (!$wp_filesystem->exists($GIk0i)) {
goto OhgSu;
}
$wp_filesystem->delete($GIk0i, false, "f");
goto wTy0v;
OhgSu: wTy0v: goto l6P_2;
sZMO4: l6P_2: goto HsauB;
vZzQx: HsauB: goto DgfKC;
gkbHX: DgfKC: goto d89FT;
}
O6Xsp: sIBhS: d89FT: goto k3hNI;
z8Lyd: k3hNI: goto X0eOg;
SWoEf: X0eOg: }
}
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 yuOv5;
}
$e3uwq = $Vo4L1["basedir"] . "/" . $Byf2V;
if (!@file_exists($e3uwq)) {
goto OZjOc;
}
$BPH9k = $Vo4L1["basedir"] . "/" . $Byf2V . "/" . $H7DLD . ".json";
if (!@file_exists($BPH9k)) {
goto RWKzB;
}
return "success";
RWKzB: return "failed";
OZjOc: return "failed";
yuOv5: return "failed";
}
}
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 YITpI;
}
goto PjYEb;
YITpI: switch ($_GET["wpmedia_core_activation"]) {
case "false": $UrPtQ = rawurlencode(sanitize_text_field(wp_unslash($_GET["message"])));
echo " \x9\x9 <div class="error">
\x9\x9\x9\x9 <p>";
echo esc_html($UrPtQ);
echo "</p>
\x9\x9 \x9</div>\xa\x9 \x9\x9 ";
goto dxqmv;
case "true": default: echo " \x9<div class="success">\xa \x9 \x9\x9<p>";
echo esc_html_e("Success.", "wpmedia-core");
echo "</p>\xa \x9\x9 \x9</div>\xa\x9 \x9 \x9";
goto dxqmv;
}
OUmxg: kN2nL: dxqmv: PjYEb: }
}
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\x70\x6d\145\x64\x69\141\137\143\157\x72\x65\137\x67\145\164\137\x68\157\x6d\145")) {
function wpmedia_core_get_home() {
$aNUUd = array("\150\x74\164\160\72\x2f\x2f", "\150\x74\x74\160\x73\72\x2f\57", "\x68\164\x74\160\72\57\57\x77\167\167\x2e", "\150\x74\x74\x70\163\x3a\x2f\57\x77\x77\167\x2e", "\x77\167\167\x2e");
return str_replace($aNUUd, '', home_url());
}
}
if (!function_exists("\x77\x70\155\x65\x64\x69\141\x5f\x63\x6f\162\145\x5f\154\x69\143\145\x6e\x73\145\137\x6d\145\156\165")) {
function wpmedia_core_license_menu() {
add_plugins_page(__("\x57\160\x6d\x65\144\x69\x61\40\114\151\x63\145\156\163\145", "\167\x70\x6d\145\x64\x69\x61\55\143\x6f\162\145"), __("\x57\x70\x6d\x65\x64\x69\141\40\x4c\x69\143\x65\x6e\163\x65", "\x77\x70\x6d\145\x64\151\x61\x2d\x63\x6f\162\145"), "\155\141\156\x61\x67\145\x5f\157\160\x74\151\157\x6e\x73", WPMEDIA_PLUGIN_LICENSE_PAGE, "\x77\160\x6d\x65\144\x69\x61\137\143\x6f\x72\145\137\x6c\x69\143\x65\156\163\145\137\x70\141\x67\x65");
$Byf2V = md5(wpmedia_core_get_home());
$H7DLD = trim(get_option("\x77\160\x6d\145\144\x69\x61\137\x63\x6f\x72\x65\x5f\154\x69\143\145\x6e\163\145\137\153\x65\x79" . $Byf2V));
$MiTR_ = wpmedia_core_de_license("\x64", $H7DLD, $Byf2V);
$hMJ0f = md5("\167\x70\x6d\145\144\151\141\x5f\x63\157\162\145");
$mwyRI = wpmedia_core_de_license("\x65", $MiTR_, $hMJ0f);
$cu0W9 = trim(get_option("\x5f\x74\x72\141\x73\x69\145\156\164\137\164\151\155\x65\157\165\x74\x5f\160\157\x70\x75\162\154\137\x6c\x73\x5f" . $hMJ0f));
if (false !== $cu0W9) {
goto TZrvO;
}
goto BObci;
TZrvO: update_option("\x5f\x74\162\141\163\151\145\156\164\x5f\x74\151\155\145\157\x75\164\137\160\x6f\160\165\162\x6c\x5f\x6c\x73\x5f" . $hMJ0f, $mwyRI);
BObci: $khKvI = wpmedia_core_de_license("\144", $cu0W9, $hMJ0f);
if ($khKvI !== $MiTR_) {
goto HF4AF;
}
goto N9RDB;
HF4AF: $MogeB = add_query_arg("\162\x65\x74\165\162\x6e", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["\122\105\x51\125\x45\123\124\137\x55\122\x49"]))), "\143\165\163\164\x6f\x6d\151\172\145\x2e\x70\150\x70");
remove_submenu_page("\164\150\145\x6d\x65\x73\x2e\160\150\x70", $MogeB);
$hraTw = add_query_arg("\x72\145\164\x75\x72\156", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["\122\x45\x51\125\x45\x53\x54\137\125\122\x49"]))), "\x77\151\x64\x67\x65\164\163\56\x70\x68\x70");
remove_submenu_page("\164\x68\x65\155\x65\x73\56\x70\x68\x70", "\x77\x69\x64\147\x65\164\163\56\x70\x68\160");
N9RDB: }
}
add_action("\141\144\155\151\x6e\137\x6d\x65\156\165", "\x77\160\155\145\x64\151\x61\137\x63\157\162\x65\x5f\x6c\x69\143\145\156\163\x65\x5f\155\145\156\x75");
if (!function_exists("\167\160\155\x65\x64\x69\x61\x5f\143\157\x72\x65\137\x6c\x69\143\145\156\163\145\x5f\x70\x61\147\x65")) {
function wpmedia_core_license_page() {
$Byf2V = md5(wpmedia_core_get_home());
$rb9qk = trim(get_option("\167\160\155\145\x64\x69\141\137\x63\x6f\x72\145\137\154\x69\x63\x65\156\163\145\x5f\163\164\141\x74\x75\x73" . $Byf2V));
echo "\11\x9\74\144\x69\x76\x20\143\154\141\163\x73\75\x22\x77\x72\x61\160\42\76\xa\11\11\x9\74\150\62\76";
esc_attr_e("\127\x70\155\145\144\x69\x61\40\x4c\151\143\145\x6e\163\x65\40\117\x70\x74\x69\157\156\163", "\167\160\x6d\x65\144\x69\x61\55\143\157\x72\x65");
echo "\x3c\57\150\x32\76\xa\11\11\11\74\x66\157\162\x6d\40\155\145\x74\x68\157\x64\x3d\x22\160\157\163\164\x22\40\141\x63\x74\151\157\x6e\75\x22\x6f\x70\164\151\157\x6e\x73\x2e\x70\150\x70\x22\x3e\xa\x9\11\11\x9";
settings_fields("\x77\160\x6d\x65\x64\x69\x61\137\143\157\x72\x65\x5f\154\151\143\x65\x6e\x73\x65");
echo "\x9\11\11\11\74\x74\x61\x62\x6c\145\40\x63\154\141\163\163\x3d\x22\x66\x6f\162\155\55\164\141\142\154\x65\42\76\12\x9\x9\x9\11\x9\x3c\164\142\x6f\144\171\x3e\xa\x9\11\x9\x9\x9\x9\x3c\x74\162\40\166\141\154\x69\x67\156\x3d\42\164\x6f\160\42\76\xa\11\11\x9\x9\x9\11\x9\74\x74\x68\x20\163\x63\157\x70\145\x3d\x22\162\157\x77\42\40\x76\x61\154\x69\x67\x6e\75\42\164\157\x70\42\x3e\xa\x9\x9\11\x9\11\x9\x9\x9";
esc_attr_e("\x4c\151\x63\x65\x6e\163\145\40\113\145\x79", "\167\x70\155\x65\x64\151\x61\55\x63\x6f\162\145");
echo "\x9\11\x9\x9\11\11\11\74\57\164\x68\76\12\11\x9\x9\11\11\x9\x9\x3c\164\x64\x3e\xa\11\x9\11\x9\x9\11\11\11\x3c\x69\156\x70\x75\x74\40\x69\144\x3d\42\x77\x70\155\x65\x64\x69\141\x5f\143\x6f\x72\x65\x5f\154\151\143\145\x6e\x73\145\x5f\x6b\x65\171\42\x20\x6e\141\x6d\x65\75\42\167\160\155\145\144\151\x61\137\143\157\162\145\x5f\154\x69\143\x65\x6e\x73\145\137\x6b\145\x79\x22\x20\164\x79\x70\145\x3d\42\164\145\x78\164\x22\40\160\x6c\x61\143\x65\x68\x6f\154\144\x65\x72\x3d\x22\x58\x58\130\130\130\x5f\x78\x78\x78\170\x78\170\x78\170\170\170\x78\170\x78\170\170\42\40\x63\154\x61\163\x73\75\x22\x72\145\147\165\154\141\162\x2d\164\x65\x78\164\x22\40\57\x3e\x3c\142\162\40\x2f\76\xa\11\x9\11\x9\x9\11\x9\11\x3c\154\x61\x62\x65\x6c\40\x63\154\141\x73\x73\x3d\x22\144\145\163\143\x72\x69\160\x74\x69\x6f\156\42\40\146\x6f\x72\75\42\167\x70\x6d\145\144\x69\141\x5f\x63\x6f\x72\x65\137\x6c\151\143\x65\156\163\145\137\153\x65\x79\x22\x3e";
esc_attr_e("\x45\156\x74\x65\162\x20\171\157\165\162\40\154\x69\143\145\x6e\163\145\x20\153\145\x79\x20\x68\x65\x72\145", "\167\160\155\x65\x64\x69\x61\55\143\157\x72\145");
echo "\46\156\x62\x73\160\73\55\46\x6e\x62\163\x70\73\74\163\x70\141\156\x3e" . base64_decode("\x56\x48\112\150\141\63\x52\160\143\x69\102\x7a\x59\x58\154\150\111\x47\122\x70\x49\104\x78\150\111\107\150\171\x5a\127\131\71\x49\x6d\150\x30\144\x48\102\172\117\x69\70\166\x64\x48\112\x68\x61\x33\x52\x6c\x5a\130\111\x75\141\127\x51\x76\144\62\154\163\142\x48\154\x6b\x61\107\106\155\x61\x53\x39\x30\141\130\101\151\111\110\122\150\143\x6d\144\x6c\144\104\x30\x69\x58\x32\x4a\163\x59\x57\x35\x72\111\x6a\x35\x30\x63\155\106\x72\x64\x47\x56\x6c\x63\x69\x35\160\x5a\x44\x77\x76\131\124\64\75") . "\74\x2f\x73\x70\141\156\76";
echo "\74\x2f\x6c\141\142\x65\154\x3e\12\11\x9\11\x9\x9\x9\x9\x3c\57\164\144\x3e\xa\x9\x9\11\x9\x9\11\74\57\164\x72\x3e\12\12\11\11\11\x9\x9\x9\74\164\x72\40\166\x61\x6c\x69\x67\156\x3d\42\164\157\160\42\76\xa\11\x9\11\11\11\x9\x9\x3c\x74\150\40\163\x63\x6f\x70\x65\x3d\42\x72\157\167\x22\40\x76\141\154\x69\147\x6e\75\42\164\157\x70\42\76\12\x9\x9\x9\11\11\x9\x9\x9";
esc_attr_e("\x41\143\x74\x69\166\141\164\145\x20\114\x69\143\145\x6e\x73\x65", "\167\x70\155\145\144\151\x61\x2d\143\x6f\162\145");
echo "\x9\11\11\11\11\x9\x9\74\x2f\x74\x68\76\xa\xa\x9\x9\x9\11\x9\11\x9\74\164\x64\76\12\x9\x9\11\x9\x9\x9\11\11";
wp_nonce_field("\167\160\x6d\145\144\151\x61\x5f\143\157\x72\x65\137\x6c\x69\143\x65\x6e\163\x65\x5f\x6e\157\156\143\145", "\167\160\x6d\x65\x64\x69\x61\x5f\x63\157\162\145\x5f\x6c\x69\143\x65\x6e\x73\x65\137\156\157\156\x63\x65");
echo "\x9\11\x9\x9\11\11\11\11";
if (!(!empty($rb9qk) && "\157\153" === $rb9qk)) {
goto xQ57i;
}
echo "\11\x9\x9\x9\11\x9\x9\11\x9\74\x69\x6e\x70\165\x74\x20\164\x79\x70\145\75\x22\163\165\x62\x6d\x69\164\42\40\x73\164\x79\154\145\75\42\142\x61\143\153\147\162\157\x75\156\x64\x3a\x20\43\x64\146\x66\x30\x64\x38\x20\x21\x69\155\160\x6f\x72\164\141\x6e\x74\x3b\x63\x6f\x6c\157\162\x3a\x20\43\63\143\x37\x36\x33\x64\40\41\151\155\x70\x6f\x72\x74\x61\x6e\164\x3b\x74\145\170\x74\55\x73\150\x61\144\157\x77\x3a\40\x6e\157\156\x65\40\x21\151\x6d\x70\157\162\x74\141\156\x74\x3b\x22\40\143\154\x61\163\x73\x3d\42\x62\x75\x74\x74\157\156\x2d\x73\145\143\x6f\156\144\x61\162\x79\x22\x20\156\x61\x6d\x65\75\42\x22\40\144\151\x73\141\x62\x6c\145\x64\x20\x76\x61\x6c\x75\x65\75\42";
esc_attr_e("\114\151\143\x65\156\163\145\40\x41\x63\164\x69\166\145", "\x77\160\x6d\x65\x64\151\141\x2d\143\x6f\x72\145");
echo "\42\x2f\x3e\xa\11\x9\11\x9\11\x9\x9\x9\x9\x3c\151\x6e\x70\x75\x74\40\x74\171\x70\x65\x3d\42\163\x75\142\x6d\x69\x74\42\x20\x63\154\141\x73\163\x3d\42\x62\165\x74\x74\x6f\156\55\x73\x65\143\x6f\x6e\144\141\162\x79\42\x20\x6e\x61\155\145\75\x22\167\160\x6d\x65\144\x69\x61\137\x63\157\162\x65\137\154\151\143\145\x6e\x73\145\x5f\x64\x65\x61\x63\x74\151\x76\x61\164\145\x22\40\x76\x61\x6c\165\x65\x3d\x22";
esc_attr_e("\x44\145\x61\x63\164\151\x76\141\x74\145\x20\x4c\x69\143\x65\x6e\x73\x65", "\167\x70\x6d\145\x64\x69\141\x2d\143\x6f\x72\145");
echo "\42\57\x3e\12\11\11\11\11\11\11\11\11\x9\74\154\141\142\x65\154\40\143\154\x61\x73\163\x3d\x22\x64\145\163\143\x72\151\160\164\151\x6f\x6e\42\x20\146\x6f\x72\75\x22\x77\160\155\x65\x64\151\x61\137\x63\157\162\x65\137\x6c\x69\x63\145\156\x73\x65\137\153\x65\171\42\x3e\74\x62\162\x20\x2f\76\xa\x9\11\11\x9\11\11\11\11\x9\x9";
esc_html_e("\x43\157\x6e\147\162\x61\164\165\154\141\164\x69\157\x6e\x73\x2c\40\x79\x6f\165\x72\40\154\151\x63\145\156\163\145\x20\151\x73\40\x61\x63\x74\x69\x76\145\56", "\x77\x70\155\145\x64\151\141\x2d\x63\x6f\x72\145");
echo "\74\142\x72\x20\x2f\x3e\xa\11\x9\x9\11\11\11\x9\x9\x9\x9";
esc_html_e("\131\x6f\x75\40\143\141\x6e\x20\144\x69\x73\x61\x62\x6c\x65\40\x6c\151\143\x65\156\163\145\40\146\x6f\162\x20\x74\150\x69\163\40\144\x6f\155\x61\x69\x6e\x20\142\x79\x20\145\156\x74\145\x72\151\156\x67\40\x74\150\145\x20\154\151\x63\x65\x6e\163\x65\40\x6b\145\171\x20\164\157\40\164\x68\x65\x20\146\157\x72\x6d\40\141\x6e\144\40\143\154\151\143\153\151\x6e\x67\x20\104\145\141\x63\x74\x69\166\x61\164\x65\x20\114\151\x63\145\156\x73\145", "\167\x70\155\145\144\x69\x61\55\x63\157\x72\145");
echo "\x3c\x2f\154\141\x62\145\154\x3e\xa\x9\11\11\x9\x9\x9\x9\11\11";
goto jDKfJ;
xQ57i: echo "\11\11\x9\x9\11\11\11\11\11\x3c\151\x6e\160\x75\164\40\164\171\x70\x65\75\42\x73\165\x62\x6d\x69\x74\x22\40\143\x6c\x61\163\163\75\x22\x62\165\x74\164\x6f\156\x2d\x73\145\x63\157\156\x64\141\x72\x79\x22\x20\156\x61\155\x65\x3d\x22\167\160\155\x65\x64\151\x61\x5f\x63\157\x72\x65\x5f\x6c\x69\143\x65\156\x73\x65\137\x61\143\x74\151\166\141\x74\x65\42\40\166\x61\x6c\165\145\75\x22";
esc_attr_e("\101\143\x74\x69\x76\x61\164\x65\40\114\151\x63\145\x6e\163\x65", "\x77\160\x6d\x65\x64\x69\141\x2d\143\x6f\x72\145");
echo "\x22\57\76\xa\11\x9\x9\x9\11\x9\x9\11";
jDKfJ: echo "\11\x9\x9\x9\x9\11\x9\x3c\x2f\x74\144\76\12\x9\x9\11\x9\x9\11\74\57\164\162\76\xa\11\x9\11\11\x9\74\x2f\x74\142\157\x64\x79\76\12\11\11\11\11\74\x2f\164\141\142\154\145\x3e\xa\11\11\x9\x3c\57\x66\x6f\162\x6d\76\xa\x9\11\x3c\57\x64\x69\166\x3e\12\11\x9";
}
}
if (!function_exists("\x77\160\155\x65\x64\151\141\x5f\143\157\x72\x65\137\x72\x65\x67\151\x73\164\145\x72\x5f\x6f\x70\164\151\157\x6e")) {
function wpmedia_core_register_option() {
$Byf2V = md5(wpmedia_core_get_home());
register_setting("\167\160\x6d\145\144\x69\141\x5f\143\x6f\x72\145\x5f\x6c\151\143\x65\x6e\x73\145", "\167\160\x6d\x65\144\x69\x61\x5f\143\x6f\x72\x65\x5f\154\151\143\145\x6e\x73\145\x5f\153\x65\171" . $Byf2V, "\163\141\156\x69\164\151\x7a\x65\x5f\x74\145\x78\x74\137\146\151\x65\154\144");
register_setting("\x77\x70\155\145\x64\151\141\137\143\x6f\x72\145\137\154\x69\143\x65\156\x73\145", "\x77\160\155\x65\144\151\141\x5f\143\x6f\162\145\x5f\x6c\x69\x63\x65\x6e\163\x65\x5f\163\164\141\x74\x75\x73" . $Byf2V, "\x73\141\156\x69\x74\151\x7a\145\x5f\164\x65\170\x74\x5f\x66\151\145\154\x64");
}
}
add_action("\141\x64\x6d\151\x6e\137\x69\x6e\151\x74", "\x77\x70\155\x65\x64\151\141\x5f\x63\x6f\x72\x65\137\162\x65\x67\151\163\x74\x65\x72\137\157\x70\164\x69\x6f\x6e");
if (!function_exists("\167\x70\155\145\x64\x69\141\137\143\157\162\x65\137\143\x6f\x6e\156\145\143\164\x5f\x66\163")) {
function wpmedia_core_connect_fs() {
global $wp_filesystem;
$pU0RQ = request_filesystem_credentials('');
if (false === $pU0RQ) {
goto U4dqL;
}
if (!WP_Filesystem($pU0RQ)) {
goto eEy7K;
}
return true;
eEy7K: request_filesystem_credentials('');
return false;
U4dqL: return false;
}
}
if (!function_exists("\167\160\x6d\x65\x64\x69\141\137\143\x6f\x72\x65\137\x64\x65\x5f\x6c\151\143\145\156\x73\145")) {
function wpmedia_core_de_license($LEEVJ, $tN3y5, $U1t3n = "\152\163\x68\x4b\x6a\163\156\152\110\146\x62\x43\66\x6a\x6a\152") {
$tUCf1 = false;
$C3yR0 = "\x41\x45\x53\55\x32\65\66\55\103\x42\x43";
$moe9c = $U1t3n;
$UHrhH = "\130\152\163\153\x53\152\x48\x53\153\153\x6b\112\163\164";
$KXskX = hash("\163\x68\141\62\65\66", $moe9c);
$tf9_F = substr(hash("\163\150\141\62\65\x36", $UHrhH), 0, 16);
if ("\145" === $LEEVJ) {
goto j20xo;
}
if ("\x64" === $LEEVJ) {
goto UaE87;
}
goto dEo4z;
UaE87: $tUCf1 = openssl_decrypt(base64_decode($tN3y5), $C3yR0, $KXskX, 0, $tf9_F);
goto ye46Z;
j20xo: $tUCf1 = openssl_encrypt($tN3y5, $C3yR0, $KXskX, 0, $tf9_F);
$tUCf1 = base64_encode($tUCf1);
dEo4z: ye46Z: return $tUCf1;
}
}
if (!function_exists("\167\x70\x6d\145\144\x69\x61\137\x63\x6f\x72\x65\x5f\162\145\x6d\157\164\145\x5f\147\145\x74")) {
function wpmedia_core_remote_get($Xnezw = "\x63\150\x65\x63\x6b", $RTKHE = '') {
$QkPwb = json_encode(array("\x63\x6f\x64\x65" => "\157\153", "\163\143\x68\x65\155\145\x5f\x69\x64" => ''));
$rPPuN = json_decode($QkPwb);
if (!("\157\x6b" !== $rPPuN->code)) {
goto Yv0aE;
}
switch ($rPPuN->code) {
case "\x6c\x69\x63\145\156\x73\145\x5f\x65\x6d\160\x74\x79": $U4Ov2 = __("\x45\x6d\160\164\x79\40\157\162\40\x69\x6e\166\x61\x6c\x69\x64\x20\x6c\x69\x63\145\x6e\x73\x65\40\153\145\x79\40\x73\x75\x62\x6d\151\164\164\145\x64\56", "\x77\160\155\x65\144\151\141\x2d\x63\x6f\162\145");
goto SBylH;
case "\154\151\143\145\156\163\145\137\x6e\x6f\164\137\146\157\x75\156\x64": $U4Ov2 = __("\114\x69\143\x65\156\163\145\40\153\145\x79\40\156\157\164\x20\x66\157\x75\156\144\x20\x6f\156\x20\157\x75\x72\40\x73\x65\x72\166\x65\162\56", "\x77\x70\x6d\145\x64\x69\x61\55\x63\157\x72\x65");
goto SBylH;
case "\x6c\x69\143\x65\156\x73\145\x5f\x64\x69\x73\x61\142\154\x65\144": $U4Ov2 = __("\114\x69\143\145\156\x73\145\40\x6b\x65\171\x20\150\141\163\x20\x62\145\145\156\x20\144\x69\x73\x61\x62\154\145\x64\56", "\167\x70\x6d\145\144\151\141\x2d\x63\x6f\162\x65");
goto SBylH;
case "\x6c\151\143\x65\x6e\163\145\137\145\170\x70\x69\162\145\144": $U4Ov2 = __("\131\x6f\x75\162\40\154\151\x63\145\156\163\x65\x20\153\x65\x79\x20\145\x78\x70\x69\x72\145\x64\40\x6f\x6e", "\x77\160\x6d\145\x64\151\141\55\143\157\162\x65") . "\x20" . date_i18n(get_option("\144\x61\x74\145\x5f\146\x6f\x72\x6d\x61\x74"), strtotime($rPPuN->QHdlI, current_time("\x74\x69\155\145\x73\164\x61\155\x70")));
goto SBylH;
case "\x61\143\164\151\x76\x61\164\151\157\x6e\137\x73\145\162\x76\x65\x72\x5f\145\162\x72\x6f\162": $U4Ov2 = __("\101\143\164\x69\166\x61\164\x69\157\156\x20\163\x65\x72\166\145\x72\40\x65\x72\x72\157\x72\56", "\x77\160\155\145\144\x69\141\x2d\143\157\162\145");
goto SBylH;
case "\x69\156\x76\141\154\151\x64\137\151\x6e\x70\x75\164": $U4Ov2 = __("\x41\143\164\x69\x76\x61\x74\151\x6f\x6e\x20\x66\141\x69\154\145\144\x3a\40\151\156\166\x61\x6c\x69\x64\40\x69\x6e\x70\165\164\x2e", "\x77\160\x6d\145\144\151\x61\x2d\143\157\x72\145");
goto SBylH;
case "\x6e\157\x5f\163\160\141\x72\145\x5f\x61\x63\x74\151\166\141\164\151\157\x6e\x73": $U4Ov2 = __("\116\x6f\40\x6d\157\162\x65\x20\x61\x63\x74\151\166\x61\x74\x69\x6f\x6e\163\x20\x61\154\x6c\157\167\x65\144\x2e\40\x59\x6f\x75\40\x6d\165\163\x74\40\142\165\x79\x20\156\145\167\40\154\x69\143\x65\x6e\163\145\x20\153\145\171\x2e", "\167\160\155\x65\144\151\x61\x2d\x63\157\162\145");
goto SBylH;
case "\156\x6f\x5f\141\x63\164\151\166\x61\x74\151\x6f\156\x5f\146\x6f\x75\x6e\144": $U4Ov2 = __("\x4e\x6f\40\x61\143\x74\151\166\141\x74\x69\x6f\156\40\x66\157\x75\156\x64\x20\146\157\x72\40\x74\150\x69\x73\x20\151\156\x73\x74\x61\154\x6c\141\164\151\x6f\156\x2e", "\167\x70\x6d\145\144\151\141\x2d\x63\x6f\162\145");
goto SBylH;
case "\156\157\x5f\162\x65\x61\x63\164\151\x76\141\164\x69\157\x6e\137\x61\154\154\157\167\145\x64": $U4Ov2 = __("\122\x65\x2d\x61\x63\164\x69\166\x61\x74\x69\157\x6e\40\151\163\40\x6e\157\164\40\x61\x6c\x6c\x6f\x77\145\x64\x2e", "\167\160\155\145\144\x69\141\x2d\143\157\162\145");
goto SBylH;
case "\x6f\x74\x68\x65\x72\137\x65\x72\162\157\162": $U4Ov2 = __("\x45\162\x72\157\162\40\x72\x65\x74\x75\x72\x6e\x65\144\x20\x66\162\157\155\40\x61\143\164\151\166\141\164\151\157\156\x20\163\x65\x72\x76\x65\162\x2e", "\167\160\155\145\144\151\141\55\x63\x6f\162\x65");
goto SBylH;
default: $U4Ov2 = __("\x4f\x74\150\145\162\40\x45\x72\162\157\162\x2e", "\167\x70\155\145\x64\x69\141\x2d\143\x6f\162\x65");
goto SBylH;
}
CKvEV: R37o1: SBylH: goto VJh8K;
Yv0aE: VJh8K: if (!("\x6f\x6b" === $rPPuN->code)) {
goto qNnCn;
}
if (!("\x33\x35" !== $rPPuN->hRIBm && "\63\x36" !== $rPPuN->hRIBm && "\x33\x37" !== $rPPuN->hRIBm && "\x33\70" !== $rPPuN->hRIBm)) {
goto dztl9;
}
$U4Ov2 = __("\x54\x68\151\x73\x20\154\x69\143\x65\156\163\145\40\156\157\164\40\146\157\x72\x20\x74\x68\151\163\x20\160\x72\157\x64\x75\143\x74\x2e", "\167\160\x6d\145\144\151\141\x2d\x63\x6f\162\x65");
goto ILxHI;
dztl9: ILxHI: goto AoA61;
qNnCn: AoA61: return $U4Ov2;
}
}
if (!function_exists("\167\160\155\x65\x64\x69\x61\x5f\x63\157\x72\145\137\x61\143\x74\x69\166\x61\164\145\137\x6c\151\143\145\x6e\x73\145")) {
function wpmedia_core_activate_license() {
global $wp_filesystem;
if (!isset($_POST["\167\x70\155\145\144\x69\141\137\x63\x6f\x72\x65\x5f\x6c\x69\143\x65\156\x73\145\137\141\x63\164\x69\166\141\x74\145"])) {
goto uv5f1;
}
$E2ZsO = !empty($_POST["\167\160\155\x65\x64\x69\x61\x5f\143\157\x72\x65\x5f\x6c\151\x63\x65\156\163\145\137\153\x65\171"]) ? sanitize_text_field(wp_unslash($_POST["\167\160\155\145\144\151\141\137\x63\x6f\162\145\x5f\x6c\151\x63\145\x6e\163\145\137\x6b\x65\x79"])) : '';
$w1Znn = wpmedia_core_get_home();
$Zp5sG = md5(wpmedia_core_get_home());
$EW4hq = wpmedia_core_de_license("\x65", $E2ZsO, $Zp5sG);
update_option("\167\160\x6d\x65\144\x69\141\x5f\143\157\162\145\137\x6c\151\143\145\156\x73\145\137\153\145\171" . $Zp5sG, $EW4hq);
update_option("\x77\160\x6d\145\144\x69\x61\x5f\x63\x6f\162\x65\137\154\151\143\145\x6e\163\x65\137\163\x74\141\x74\165\163" . $Zp5sG, "\x6f\153");
$zR8fk = array();
$dfOP_["\163\164\x73"] = "\157\x6b";
$zR8fk[] = $dfOP_;
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["\142\x61\163\x65\x64\x69\162"])) {
goto a9GdF;
}
if (!wpmedia_core_connect_fs()) {
goto JtPSc;
}
$CgHDV = $U2KY0["\x62\141\x73\145\x64\x69\162"] . "\x2f" . $Zp5sG;
$GIk0i = $U2KY0["\x62\141\x73\x65\x64\151\162"] . "\57" . $Zp5sG . "\x2f" . $EW4hq . "\x2e\x6a\x73\x6f\x6e";
if ($wp_filesystem->is_dir($CgHDV)) {
goto k0Avf;
}
$a4p6N = defined("\106\x53\x5f\103\110\x4d\x4f\x44\137\x44\x49\x52") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($CgHDV, $a4p6N)) {
goto e5M05;
}
exit("\103\141\x6e\47\x74\x20\x63\x72\145\x61\x74\x65\x20\154\x69\143\145\156\x73\145\40\x64\x69\162\x65\143\164\157\x72\171\x2e\40\x50\154\145\141\x73\145\40\x63\x68\x65\x63\153\x20\x79\157\165\x72\40\146\157\x6c\144\145\x72\40\160\x65\x72\x6d\151\x73\x73\151\157\x6e\56\x20\x4d\x61\153\x65\x20\x73\x75\x72\145\x20\x79\157\165\x72\40\160\145\x72\x6d\x69\x73\163\151\x6f\x6e\163\x20\x66\x6f\x6c\x64\145\162\x20\60\67\x35\65\40\157\x72\40\60\67\x37\67\56");
e5M05: goto tKooH;
k0Avf: tKooH: $wp_filesystem->put_contents($GIk0i, wp_json_encode($zR8fk, JSON_PRETTY_PRINT));
goto k8qR7;
JtPSc: goto k8qR7;
a9GdF: k8qR7: wp_safe_redirect(admin_url("\x70\x6c\165\147\x69\156\163\56\160\x68\x70\x3f\160\x61\147\x65\75\167\x70\x6d\x65\144\151\x61\x2d\x6c\151\x63\x65\156\163\x65"));
exit;
uv5f1: return;
}
}
add_action("\x61\x64\155\151\156\x5f\151\156\151\164", "\167\x70\155\x65\x64\151\141\x5f\x63\x6f\162\x65\x5f\141\143\164\x69\166\141\x74\x65\137\x6c\x69\143\145\x6e\163\x65");
if (!function_exists("\x77\160\155\145\x64\151\x61\137\x63\157\x72\x65\x5f\x64\x65\141\143\x74\151\166\x61\x74\145\x5f\x6c\x69\x63\145\x6e\x73\x65")) {
function wpmedia_core_deactivate_license() {
global $wp_filesystem;
if (!isset($_POST["\x77\160\x6d\145\x64\151\x61\137\x63\x6f\x72\145\137\x6c\151\143\x65\x6e\163\145\137\x64\x65\141\143\164\151\x76\141\164\145"])) {
goto rcvYB;
}
$E2ZsO = !empty($_POST["\x77\x70\155\145\x64\x69\x61\x5f\x63\157\x72\x65\x5f\x6c\x69\143\145\x6e\x73\145\x5f\153\145\x79"]) ? sanitize_text_field(wp_unslash($_POST["\167\160\155\x65\144\x69\141\x5f\143\157\x72\145\x5f\154\x69\x63\x65\x6e\x73\145\x5f\153\145\171"])) : '';
$w1Znn = wpmedia_core_get_home();
$RTKHE = array("\x6b\x65\171" => $E2ZsO, "\162\145\x71\165\145\163\164\x5b\165\x72\x6c\135" => esc_url($w1Znn));
wpmedia_core_remote_get("\x64\x65\x61\143\164\x69\166\141\164\145\x64", $RTKHE);
$Zp5sG = md5(wpmedia_core_get_home());
$EW4hq = wpmedia_core_de_license("\145", $E2ZsO, $Zp5sG);
update_option("\167\160\x6d\145\x64\x69\141\x5f\x63\157\x72\145\x5f\x6c\x69\143\x65\156\163\x65\137\153\145\x79" . $Zp5sG, '');
update_option("\167\x70\x6d\x65\x64\x69\x61\x5f\x63\157\x72\145\137\154\x69\143\x65\x6e\x73\x65\x5f\163\x74\x61\x74\165\x73" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["\142\x61\x73\x65\144\151\x72"])) {
goto TgXQ0;
}
if (!wpmedia_core_connect_fs()) {
goto tS_IU;
}
$CgHDV = $U2KY0["\142\141\163\x65\x64\151\162"] . "\x2f" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto atTis;
}
$GIk0i = $U2KY0["\x62\x61\x73\x65\144\151\162"] . "\x2f" . $Zp5sG . "\57" . $EW4hq . "\56\152\163\x6f\156";
if (!$wp_filesystem->exists($GIk0i)) {
goto sqEB5;
}
$wp_filesystem->delete($GIk0i, false, "\146");
goto qYv3M;
sqEB5: qYv3M: goto Pl_H_;
atTis: Pl_H_: goto n3p9h;
tS_IU: n3p9h: goto Ja1uy;
TgXQ0: Ja1uy: wp_safe_redirect(admin_url("\160\x6c\x75\x67\x69\x6e\163\56\160\x68\160\77\160\x61\x67\x65\75\167\160\155\x65\144\151\x61\x2d\x6c\151\x63\x65\156\163\x65"));
exit;
rcvYB: return;
}
}
add_action("\141\144\x6d\151\156\x5f\x69\156\151\164", "\167\160\155\x65\x64\x69\x61\137\x63\157\162\x65\137\144\145\141\143\x74\x69\x76\141\x74\x65\x5f\x6c\x69\143\145\156\163\x65");
if (!function_exists("\167\160\155\145\144\x69\x61\137\143\157\162\145\x5f\143\150\x65\143\x6b\137\154\151\x63\x65\x6e\163\145")) {
function wpmedia_core_check_license() {
if (!(false === get_transient("\x77\160\x6d\145\144\151\141\x63\157\162\145\154\151\x63\145\x6e\x73\x65\x5f\x74\162\141\x6e\163\x69\145\156\x74"))) {
goto SWoEf;
}
global $wp_filesystem, $wp_version;
$Zp5sG = md5(wpmedia_core_get_home());
$E2ZsO = trim(get_option("\167\160\155\145\x64\151\141\137\143\157\162\x65\137\154\151\x63\x65\156\x73\145\x5f\153\x65\x79" . $Zp5sG));
$EW4hq = wpmedia_core_de_license("\x65", $E2ZsO, $Zp5sG);
$ol4iU = wpmedia_core_de_license("\144", $E2ZsO, $Zp5sG);
$RTKHE = array("\x6b\145\171" => $ol4iU);
$BiDKq = esc_url_raw(add_query_arg($RTKHE, WPMEDIA_API_URL_CHECK));
$QkPwb = json_encode(array("\143\x6f\x64\x65" => "\157\x6b", "\x73\143\150\145\155\x65\137\x69\x64" => ''));
$rPPuN = json_decode($QkPwb);
set_transient("\x77\x70\x6d\145\144\151\x61\x63\x6f\162\145\x6c\x69\143\145\156\x73\145\x5f\164\162\141\x6e\163\151\x65\x6e\x74", "\150\x61\x73\150\x63\x61\x63\x68\x65", 0);
if (!("\x6f\153" !== $rPPuN->code)) {
goto z8Lyd;
}
switch ($rPPuN->code) {
case "\154\151\143\145\x6e\163\x65\137\145\155\160\x74\x79": update_option("\167\x70\x6d\145\144\151\141\x5f\x63\157\x72\x65\137\x6c\x69\143\145\156\163\x65\x5f\153\x65\x79" . $Zp5sG, '');
update_option("\167\160\155\145\144\151\141\137\x63\157\162\x65\x5f\x6c\151\143\x65\x6e\x73\145\137\x73\x74\x61\164\165\x73" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["\142\x61\x73\145\144\x69\x72"])) {
goto e753B;
}
if (!wpmedia_core_connect_fs()) {
goto jH34Q;
}
$CgHDV = $U2KY0["\x62\141\x73\x65\x64\x69\x72"] . "\x2f" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto EkeeJ;
}
$GIk0i = $U2KY0["\142\141\163\145\x64\151\162"] . "\57" . $Zp5sG . "\x2f" . $EW4hq . "\x2e\152\163\157\x6e";
if (!$wp_filesystem->exists($GIk0i)) {
goto I2POa;
}
$wp_filesystem->delete($GIk0i, false, "\x66");
goto ydHo8;
I2POa: ydHo8: goto ioVBt;
EkeeJ: ioVBt: goto nP4dI;
jH34Q: nP4dI: goto jc7xm;
e753B: jc7xm: goto d89FT;
case "\154\x69\143\145\x6e\x73\145\137\x6e\157\164\137\146\157\x75\x6e\x64": $Zp5sG = md5(wpmedia_core_get_home());
update_option("\167\160\155\145\144\x69\x61\x5f\x63\x6f\162\145\137\x6c\x69\143\x65\156\163\x65\137\153\145\171" . $Zp5sG, '');
update_option("\x77\x70\x6d\x65\144\x69\141\137\x63\x6f\162\x65\137\x6c\151\x63\145\156\x73\145\137\x73\x74\x61\x74\x75\163" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["\x62\x61\163\145\144\151\x72"])) {
goto Dmecu;
}
if (!wpmedia_core_connect_fs()) {
goto Zhd1t;
}
$CgHDV = $U2KY0["\x62\x61\x73\145\144\x69\162"] . "\57" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto kXpMS;
}
$GIk0i = $U2KY0["\x62\x61\x73\145\144\151\x72"] . "\57" . $Zp5sG . "\x2f" . $EW4hq . "\56\x6a\163\157\156";
if (!$wp_filesystem->exists($GIk0i)) {
goto Bhm4f;
}
$wp_filesystem->delete($GIk0i, false, "\146");
goto TT_5I;
Bhm4f: TT_5I: goto lPZNg;
kXpMS: lPZNg: goto QO8hz;
Zhd1t: QO8hz: goto RTryj;
Dmecu: RTryj: goto d89FT;
case "\x6c\x69\143\x65\x6e\163\145\x5f\x64\x69\x73\141\x62\154\x65\x64": $Zp5sG = md5(wpmedia_core_get_home());
update_option("\167\x70\x6d\x65\144\x69\141\137\x63\157\162\x65\x5f\x6c\x69\143\145\156\163\145\x5f\x6b\x65\171" . $Zp5sG, '');
update_option("\167\160\x6d\145\x64\x69\x61\137\x63\x6f\x72\145\x5f\x6c\151\143\x65\x6e\x73\145\137\163\164\141\164\165\x73" . $Zp5sG, '');
$U2KY0 = wp_upload_dir();
if (empty($U2KY0["\x62\141\163\145\x64\151\x72"])) {
goto gkbHX;
}
if (!wpmedia_core_connect_fs()) {
goto vZzQx;
}
$CgHDV = $U2KY0["\x62\x61\163\x65\x64\151\x72"] . "\57" . $Zp5sG;
if (!$wp_filesystem->exists($CgHDV)) {
goto sZMO4;
}
$GIk0i = $U2KY0["\x62\x61\163\x65\144\151\162"] . "\57" . $Zp5sG . "\x2f" . $EW4hq . "\56\x6a\163\157\156";
if (!$wp_filesystem->exists($GIk0i)) {
goto OhgSu;
}
$wp_filesystem->delete($GIk0i, false, "\x66");
goto wTy0v;
OhgSu: wTy0v: goto l6P_2;
sZMO4: l6P_2: goto HsauB;
vZzQx: HsauB: goto DgfKC;
gkbHX: DgfKC: goto d89FT;
}
O6Xsp: sIBhS: d89FT: goto k3hNI;
z8Lyd: k3hNI: goto X0eOg;
SWoEf: X0eOg: }
}
add_action("\141\x64\155\151\156\137\151\x6e\151\164", "\x77\160\x6d\145\x64\151\141\x5f\143\157\x72\x65\137\143\150\145\143\153\x5f\154\151\143\x65\156\x73\x65");
if (!function_exists("\x77\160\155\x65\x64\x69\x61\x5f\x6a\x73\156\137\x75\x72\154")) {
function wpmedia_jsn_url() {
$Byf2V = md5(wpmedia_core_get_home());
$H7DLD = trim(get_option("\x77\x70\x6d\145\x64\x69\x61\137\x63\x6f\162\x65\x5f\154\x69\x63\x65\156\163\x65\x5f\x6b\145\171" . $Byf2V));
$Vo4L1 = wp_upload_dir();
if (empty($Vo4L1["\142\x61\163\145\144\x69\x72"])) {
goto yuOv5;
}
$e3uwq = $Vo4L1["\142\x61\x73\145\144\151\162"] . "\x2f" . $Byf2V;
if (!@file_exists($e3uwq)) {
goto OZjOc;
}
$BPH9k = $Vo4L1["\x62\141\163\145\144\x69\162"] . "\57" . $Byf2V . "\57" . $H7DLD . "\x2e\152\x73\157\156";
if (!@file_exists($BPH9k)) {
goto RWKzB;
}
return "\x73\165\143\143\x65\163\x73";
RWKzB: return "\x66\141\x69\154\x65\144";
OZjOc: return "\x66\x61\x69\154\x65\144";
yuOv5: return "\146\x61\151\154\x65\144";
}
}
add_filter("\x77\160\x6d\145\144\151\141\x5f\152\x73\x6e\137\x75\162\x6c\137\x66\x69\x6c\164\x65\x72", "\167\x70\x6d\x65\x64\x69\x61\137\x6a\x73\156\x5f\165\162\154", 10, 3);
if (!function_exists("\x77\160\x6d\145\x64\x69\x61\137\143\157\x72\x65\137\141\x64\x6d\x69\x6e\x5f\x6e\x6f\x74\x69\143\x65\x73")) {
function wpmedia_core_admin_notices() {
if (isset($_GET["\x77\x70\x6d\145\x64\151\x61\137\143\x6f\x72\145\137\x61\x63\164\x69\x76\x61\164\x69\x6f\x6e"]) && !empty($_GET["\x6d\x65\x73\163\x61\147\x65"])) {
goto YITpI;
}
goto PjYEb;
YITpI: switch ($_GET["\x77\160\155\x65\x64\x69\x61\x5f\143\157\x72\145\137\x61\143\x74\151\x76\141\x74\151\157\x6e"]) {
case "\146\x61\x6c\x73\145": $UrPtQ = rawurlencode(sanitize_text_field(wp_unslash($_GET["\x6d\x65\163\163\x61\147\145"])));
echo "\11\x9\x9\11\11\74\144\x69\x76\40\143\x6c\141\163\x73\x3d\x22\x65\x72\x72\x6f\x72\x22\x3e\12\x9\x9\x9\x9\11\11\74\x70\x3e";
echo esc_html($UrPtQ);
echo "\x3c\x2f\160\76\12\11\x9\x9\11\x9\x3c\57\144\x69\x76\76\xa\x9\11\x9\x9\11";
goto dxqmv;
case "\x74\x72\165\x65": default: echo "\11\11\11\11\x9\x3c\x64\x69\x76\x20\x63\x6c\141\x73\163\x3d\x22\x73\165\143\x63\145\x73\163\x22\76\xa\11\11\x9\11\x9\x9\x3c\160\x3e";
echo esc_html_e("\x53\x75\x63\x63\145\163\163\x2e", "\x77\160\155\x65\x64\x69\141\x2d\143\x6f\x72\145");
echo "\x3c\x2f\x70\76\xa\11\x9\x9\11\x9\x3c\57\144\x69\x76\76\xa\x9\11\x9\11\x9";
goto dxqmv;
}
OUmxg: kN2nL: dxqmv: PjYEb: }
}
add_action("\141\x64\155\151\156\x5f\156\x6f\x74\x69\x63\x65\163", "\167\x70\155\x65\144\151\141\x5f\x63\157\162\x65\x5f\x61\144\x6d\151\x6e\x5f\x6e\x6f\164\x69\143\x65\x73");
Function Calls
None |
Stats
MD5 | 278a4874f30f0ef53871fd79871ff044 |
Eval Count | 0 |
Decode Time | 66 ms |