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 Wpberita Core
*/
/* Exit if accessed directly */
if (!defined('ABSPATH')) {
exit;
}
/* File ini harus ada, silahkan minta white list file ini ke hosting anda jika otomatis terhapus */
if (!function_exists("wpberita_core_get_home")) {
function wpberita_core_get_home()
{
$gRQMg = array("http://", "https://", "http://www.", "https://www.", "www.");
return str_replace($gRQMg, '', home_url());
}
}
if (!function_exists("wpberita_core_license_menu")) {
function wpberita_core_license_menu()
{
add_plugins_page(__("Wpberita License", "wpberita-core"), __("Wpberita License", "wpberita-core"), "manage_options", WPBERITA_PLUGIN_LICENSE_PAGE, "wpberita_core_license_page");
$E7wN3 = md5(wpberita_core_get_home());
$SbKbW = trim(get_option("wpberita_core_license_key" . $E7wN3));
$Bbsxs = wpberita_core_de_license("d", $SbKbW, $E7wN3);
$GJi_4 = md5("wpberita_core");
$zJT45 = wpberita_core_de_license("e", $Bbsxs, $GJi_4);
$GYF2g = trim(get_option("_trasient_timeout_popurl_ls_" . $GJi_4));
if (!(false !== $GYF2g)) {
goto vmgi9;
}
update_option("_trasient_timeout_popurl_ls_" . $GJi_4, $zJT45);
vmgi9:
$rrfwu = wpberita_core_de_license("d", $GYF2g, $GJi_4);
if (!($rrfwu !== $Bbsxs)) {
goto gYvgf;
}
$soCvd = add_query_arg("return", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["REQUEST_URI"]))), "customize.php");
remove_submenu_page("themes.php", $soCvd);
$j38FL = 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");
gYvgf:
}
}
add_action("admin_menu", "wpberita_core_license_menu");
if (!function_exists("wpberita_core_license_page")) {
function wpberita_core_license_page()
{
$E7wN3 = md5(wpberita_core_get_home());
$Qtp3h = trim(get_option("wpberita_core_license_status" . $E7wN3));
echo "\x9 <div class="wrap">
\x9\x9 <h2>";
esc_attr_e("Wpberita License Options", "wpberita-core");
echo "</h2>\xa \x9 <form method="post" action="options.php">
\x9\x9";
settings_fields("wpberita_core_license");
echo "\x9 <table class="form-table">
\x9 \x9<tbody>
\x9 \x9 \x9<tr valign="top">\xa\x9 \x9 \x9<th scope="row" valign="top">
\x9 \x9 \x9\x9\x9\x9";
esc_attr_e("License Key", "wpberita-core");
echo "\x9 \x9 </th>\xa\x9\x9 \x9 \x9<td>\xa\x9\x9 \x9 \x9<input id="wpberita_core_license_key" name="wpberita_core_license_key" type="text" placeholder="XXXXX_xxxxxxxxxxxxxxx" class="regular-text" /><br />\xa \x9 \x9 \x9 <label class="description" for="wpberita_core_license_key">";
esc_attr_e("Enter your license key here", "wpberita-core");
echo "</label>\xa\x9 \x9\x9 \x9 </td>
\x9 </tr>\xa\xa \x9<tr valign="top">\xa \x9 <th scope="row" valign="top">
\x9\x9 \x9\x9 ";
esc_attr_e("Activate License", "wpberita-core");
echo "\x9\x9 \x9 \x9</th>
\xa\x9\x9\x9 \x9\x9\x9<td>\xa\x9\x9 \x9\x9 \x9 ";
wp_nonce_field("wpberita_core_license_nonce", "wpberita_core_license_nonce");
echo " \x9\x9\x9\x9";
if (!empty($Qtp3h) && "ok" === $Qtp3h) {
goto YQ2HA;
}
echo " \x9 \x9 <input type="submit" class="button-secondary" name="wpberita_core_license_activate" value="";
esc_attr_e("Activate License", "wpberita-core");
echo ""/>
\x9 \x9 \x9";
goto UPcRM;
YQ2HA:
echo "\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", "wpberita-core");
echo ""/>\xa \x9\x9\x9 \x9\x9\x9<input type="submit" class="button-secondary" name="wpberita_core_license_deactivate" value="";
esc_attr_e("Deactivate License", "wpberita-core");
echo ""/>
\x9\x9\x9\x9\x9\x9 \x9\x9<label class="description" for="wpberita_core_license_key"><br />
\x9\x9\x9 \x9 \x9\x9";
esc_html_e("Congratulations, your license is active.", "wpberita-core");
echo "<br />\xa\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", "wpberita-core");
echo "</label>\xa \x9\x9\x9 \x9\x9\x9 ";
UPcRM:
echo "\x9\x9\x9\x9 </td>
\x9\x9 \x9 </tr>
\x9 \x9\x9</tbody>
\x9\x9\x9 </table>\xa\x9 </form>
\x9 </div>
\x9";
}
}
if (!function_exists("wpberita_core_register_option")) {
function wpberita_core_register_option()
{
$E7wN3 = md5(wpberita_core_get_home());
register_setting("wpberita_core_license", "wpberita_core_license_key" . $E7wN3, "sanitize_text_field");
register_setting("wpberita_core_license", "wpberita_core_license_status" . $E7wN3, "sanitize_text_field");
}
}
add_action("admin_init", "wpberita_core_register_option");
if (!function_exists("wpberita_core_connect_fs")) {
function wpberita_core_connect_fs()
{
global $wp_filesystem;
$jQfx2 = request_filesystem_credentials('');
if (!(false === $jQfx2)) {
goto zsII0;
}
return false;
zsII0:
if (WP_Filesystem($jQfx2)) {
goto MIxnS;
}
request_filesystem_credentials('');
return false;
MIxnS:
return true;
}
}
if (!function_exists("wpberita_core_de_license")) {
function wpberita_core_de_license($oAn8E, $LNRNY, $tg8Ir = "jshKjsnjHfbC6jjj")
{
$guzjq = false;
$da1g9 = "AES-256-CBC";
$A5xnL = $tg8Ir;
$n8bdU = "XjskSjHSkkkJst";
$zjY4J = hash("sha256", $A5xnL);
$oZZ2c = substr(hash("sha256", $n8bdU), 0, 16);
if ("e" === $oAn8E) {
goto yLGwf;
}
if ("d" === $oAn8E) {
goto GPKZK;
}
goto Zuj9v;
yLGwf:
$guzjq = openssl_encrypt($LNRNY, $da1g9, $zjY4J, 0, $oZZ2c);
$guzjq = base64_encode($guzjq);
goto Zuj9v;
GPKZK:
$guzjq = openssl_decrypt(base64_decode($LNRNY), $da1g9, $zjY4J, 0, $oZZ2c);
Zuj9v:
return $guzjq;
}
}
if (!function_exists("wpberita_core_remote_get")) {
function wpberita_core_remote_get($mMwsz = "check", $N5l5u = '')
{
global $wp_version;
if ("check" === $mMwsz) {
goto R7avO;
}
if ("activated" === $mMwsz) {
goto mTCAq;
}
if ("check_activation" === $mMwsz) {
goto DaN8h;
}
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_DEACTIVATED));
goto CKN0z;
R7avO:
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_CHECK));
goto CKN0z;
mTCAq:
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL));
goto CKN0z;
DaN8h:
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_CHECK_ACTIVATION));
CKN0z:
$txh2y = wp_remote_get($aPcPi, array("timeout" => 60, "sslverify" => true, "httpversion" => "1.1", "headers" => array("Accept" => "application/json"), "user-agent" => "WordPress/" . $wp_version . "; " . home_url()));
$T3ZZn = '';
if (is_wp_error($txh2y) || 200 !== wp_remote_retrieve_response_code($txh2y)) {
goto hNRhZ;
}
$U2rkd = json_decode(wp_remote_retrieve_body($txh2y));
if (is_wp_error($U2rkd)) {
goto aEJy3;
}
if (!("ok" !== $U2rkd->code)) {
goto uCELQ;
}
switch ($U2rkd->code) {
case "license_empty":
$T3ZZn = __("Empty or invalid license key submitted.", "wpberita-core");
goto WZjpx;
case "license_not_found":
$T3ZZn = __("License key not found on our server.", "wpberita-core");
goto WZjpx;
case "license_disabled":
$T3ZZn = __("License key has been disabled.", "wpberita-core");
goto WZjpx;
case "license_expired":
$T3ZZn = __("Your license key expired on", "wpberita-core") . " " . date_i18n(get_option("date_format"), strtotime($U2rkd->expires, current_time("timestamp")));
goto WZjpx;
case "activation_server_error":
$T3ZZn = __("Activation server error.", "wpberita-core");
goto WZjpx;
case "invalid_input":
$T3ZZn = __("Activation failed: invalid input.", "wpberita-core");
goto WZjpx;
case "no_spare_activations":
$T3ZZn = __("No more activations allowed. You must buy new license key.", "wpberita-core");
goto WZjpx;
case "no_activation_found":
$T3ZZn = __("No activation found for this installation.", "wpberita-core");
goto WZjpx;
case "no_reactivation_allowed":
$T3ZZn = __("Re-activation is not allowed.", "wpberita-core");
goto WZjpx;
case "other_error":
$T3ZZn = __("Error returned from activation server.", "wpberita-core");
goto WZjpx;
default:
$T3ZZn = __("Other Error.", "wpberita-core");
goto WZjpx;
}
nVrxX:
WZjpx:
uCELQ:
if (!("ok" === $U2rkd->code)) {
goto mKJls;
}
if (!("27" !== $U2rkd->scheme_id && "28" !== $U2rkd->scheme_id && "29" !== $U2rkd->scheme_id && "30" !== $U2rkd->scheme_id)) {
goto h3eLh;
}
$T3ZZn = __("This license not for this product.", "wpberita-core");
h3eLh:
mKJls:
goto BTtTd;
aEJy3:
$T3ZZn = $U2rkd->get_error_message();
BTtTd:
goto GRZwq;
hNRhZ:
if (is_wp_error($txh2y)) {
goto ayHg9;
}
$T3ZZn = __("An error occurred, please try again.", "wpberita-core");
goto XbkZ1;
ayHg9:
$T3ZZn = $txh2y->get_error_message();
XbkZ1:
GRZwq:
return $T3ZZn;
}
}
if (!function_exists("wpberita_core_activate_license")) {
function wpberita_core_activate_license()
{
global $wp_filesystem;
if (!isset($_POST["wpberita_core_license_activate"])) {
goto PMBFG;
}
$SbKbW = !empty($_POST["wpberita_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["wpberita_core_license_key"])) : '';
$d7lev = wpberita_core_get_home();
if (check_admin_referer("wpberita_core_license_nonce", "wpberita_core_license_nonce")) {
goto RfT7h;
}
return;
RfT7h:
$N5l5u = array("key" => $SbKbW);
$T3ZZn = wpberita_core_remote_get("check", $N5l5u);
if (empty($T3ZZn)) {
goto etirv;
}
$base_url = admin_url("plugins.php?page=" . WPBERITA_PLUGIN_LICENSE_PAGE);
$DA38u = add_query_arg(array("wpberita_core_activation" => "false", "message" => rawurlencode($T3ZZn)), $base_url);
wp_safe_redirect($DA38u);
exit;
goto ms51Z;
etirv:
$N5l5u = array("key" => $SbKbW, "request[url]" => esc_url($d7lev));
$T3ZZn = wpberita_core_remote_get("activated", $N5l5u);
if (empty($T3ZZn)) {
goto cO_PL;
}
$base_url = admin_url("plugins.php?page=" . WPBERITA_PLUGIN_LICENSE_PAGE);
$DA38u = add_query_arg(array("wpberita_core_activation" => "false", "message" => rawurlencode($T3ZZn)), $base_url);
wp_safe_redirect($DA38u);
exit;
goto ZhXC1;
cO_PL:
$E7wN3 = md5(wpberita_core_get_home());
$eDKKd = wpberita_core_de_license("e", $SbKbW, $E7wN3);
update_option("wpberita_core_license_key" . $E7wN3, $eDKKd);
update_option("wpberita_core_license_status" . $E7wN3, "ok");
$GJi_4 = md5("wpberita_core");
$zJT45 = wpberita_core_de_license("e", $SbKbW, $GJi_4);
update_option("_trasient_timeout_popurl_ls_" . $GJi_4, $zJT45);
$r21k6 = array();
$iuc9N["sts"] = "ok";
$r21k6[] = $iuc9N;
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["basedir"])) {
goto fV2Dh;
}
if (!wpberita_core_connect_fs()) {
goto H2i8Y;
}
$IBNFz = $CEvg_["basedir"] . "/" . $E7wN3;
$GxqSP = $CEvg_["basedir"] . "/" . $E7wN3 . "/" . $eDKKd . ".json";
if ($wp_filesystem->is_dir($IBNFz)) {
goto Nb59V;
}
$vSuK0 = defined("FS_CHMOD_DIR") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($IBNFz, $vSuK0)) {
goto jRZRo;
}
exit("Can't create license directory. Please check your folder permission. Make sure your permissions folder 0755 or 0777.");
jRZRo:
Nb59V:
$wp_filesystem->put_contents($GxqSP, wp_json_encode($r21k6, JSON_PRETTY_PRINT));
H2i8Y:
fV2Dh:
wp_safe_redirect(admin_url("plugins.php?page=" . WPBERITA_PLUGIN_LICENSE_PAGE));
exit;
ZhXC1:
ms51Z:
PMBFG:
}
}
add_action("admin_init", "wpberita_core_activate_license");
if (!function_exists("wpberita_core_deactivate_license")) {
function wpberita_core_deactivate_license()
{
global $wp_filesystem;
if (!isset($_POST["wpberita_core_license_deactivate"])) {
goto ovsTv;
}
$SbKbW = !empty($_POST["wpberita_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["wpberita_core_license_key"])) : '';
$d7lev = wpberita_core_get_home();
if (check_admin_referer("wpberita_core_license_nonce", "wpberita_core_license_nonce")) {
goto FQQkZ;
}
return;
FQQkZ:
$N5l5u = array("key" => $SbKbW);
$T3ZZn = wpberita_core_remote_get("check", $N5l5u);
if (empty($T3ZZn)) {
goto eRU5W;
}
$base_url = admin_url("plugins.php?page=" . WPBERITA_PLUGIN_LICENSE_PAGE);
$DA38u = add_query_arg(array("wpberita_core_activation" => "false", "message" => rawurlencode($T3ZZn)), $base_url);
wp_safe_redirect($DA38u);
exit;
goto yYD1b;
eRU5W:
$N5l5u = array("key" => $SbKbW, "request[url]" => esc_url($d7lev));
wpberita_core_remote_get("deactivated", $N5l5u);
$E7wN3 = md5(wpberita_core_get_home());
$eDKKd = wpberita_core_de_license("e", $SbKbW, $E7wN3);
update_option("wpberita_core_license_key" . $E7wN3, '');
update_option("wpberita_core_license_status" . $E7wN3, '');
$GJi_4 = md5("wpberita_core");
update_option("_trasient_timeout_popurl_ls_" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["basedir"])) {
goto GZeBV;
}
if (!wpberita_core_connect_fs()) {
goto aSy0y;
}
$IBNFz = $CEvg_["basedir"] . "/" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto tdiLh;
}
$GxqSP = $CEvg_["basedir"] . "/" . $E7wN3 . "/" . $eDKKd . ".json";
if (!$wp_filesystem->exists($GxqSP)) {
goto U_kcc;
}
$wp_filesystem->delete($GxqSP, false, "f");
U_kcc:
tdiLh:
aSy0y:
GZeBV:
wp_safe_redirect(admin_url("plugins.php?page=" . WPBERITA_PLUGIN_LICENSE_PAGE));
exit;
yYD1b:
ovsTv:
}
}
add_action("admin_init", "wpberita_core_deactivate_license");
if (!function_exists("wpberita_core_check_license")) {
function wpberita_core_check_license()
{
$JeEgh = get_transient(md5("wpberita_core"));
if (!(false === $JeEgh)) {
goto tFHA5;
}
global $wp_filesystem, $wp_version;
$E7wN3 = md5(wpberita_core_get_home());
$GJi_4 = md5("wpberita_core");
$SbKbW = trim(get_option("wpberita_core_license_key" . $E7wN3));
$eDKKd = wpberita_core_de_license("e", $SbKbW, $E7wN3);
$Bbsxs = wpberita_core_de_license("d", $SbKbW, $E7wN3);
$d7lev = str_replace("/", '', esc_url(wpberita_core_get_home()));
$N5l5u = array("key" => esc_attr($Bbsxs), "request[url]" => esc_attr($d7lev));
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_CHECK_ACTIVATION));
$txh2y = wp_remote_get($aPcPi, array("timeout" => 60, "sslverify" => true, "httpversion" => "1.1", "headers" => array("Accept" => "application/json"), "user-agent" => "WordPress/" . $wp_version . "; " . home_url()));
if (is_wp_error($txh2y) || 200 !== wp_remote_retrieve_response_code($txh2y)) {
goto JzXmA;
}
$U2rkd = json_decode(wp_remote_retrieve_body($txh2y));
if (is_wp_error($U2rkd)) {
goto PJ7Y4;
}
$RC7GN = 7 * 24 * HOUR_IN_SECONDS;
set_transient(md5("wpberita_core"), true, 7 * 24 * HOUR_IN_SECONDS);
if (!("ok" !== $U2rkd->code)) {
goto Cpt7G;
}
switch ($U2rkd->code) {
case "license_empty":
update_option("wpberita_core_license_key" . $E7wN3, '');
update_option("wpberita_core_license_status" . $E7wN3, '');
update_option("_trasient_timeout_popurl_ls_" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["basedir"])) {
goto XmMmH;
}
if (!wpberita_core_connect_fs()) {
goto G0FxF;
}
$IBNFz = $CEvg_["basedir"] . "/" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto cI3Iq;
}
$GxqSP = $CEvg_["basedir"] . "/" . $E7wN3 . "/" . $eDKKd . ".json";
if (!$wp_filesystem->exists($GxqSP)) {
goto yZv8u;
}
$wp_filesystem->delete($GxqSP, false, "f");
yZv8u:
cI3Iq:
G0FxF:
XmMmH:
goto YGtFf;
case "license_not_found":
$E7wN3 = md5(wpberita_core_get_home());
update_option("wpberita_core_license_key" . $E7wN3, '');
update_option("wpberita_core_license_status" . $E7wN3, '');
update_option("_trasient_timeout_popurl_ls_" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["basedir"])) {
goto iEigt;
}
if (!wpberita_core_connect_fs()) {
goto r3_Y0;
}
$IBNFz = $CEvg_["basedir"] . "/" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto H2vPp;
}
$GxqSP = $CEvg_["basedir"] . "/" . $E7wN3 . "/" . $eDKKd . ".json";
if (!$wp_filesystem->exists($GxqSP)) {
goto oUu5B;
}
$wp_filesystem->delete($GxqSP, false, "f");
oUu5B:
H2vPp:
r3_Y0:
iEigt:
goto YGtFf;
case "no_activation_found":
$E7wN3 = md5(wpberita_core_get_home());
update_option("wpberita_core_license_key" . $E7wN3, '');
update_option("wpberita_core_license_status" . $E7wN3, '');
update_option("_trasient_timeout_popurl_ls_" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["basedir"])) {
goto SVjDt;
}
if (!wpberita_core_connect_fs()) {
goto x0kCB;
}
$IBNFz = $CEvg_["basedir"] . "/" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto l8Z0F;
}
$GxqSP = $CEvg_["basedir"] . "/" . $E7wN3 . "/" . $eDKKd . ".json";
if (!$wp_filesystem->exists($GxqSP)) {
goto TKwYz;
}
$wp_filesystem->delete($GxqSP, false, "f");
TKwYz:
l8Z0F:
x0kCB:
SVjDt:
goto YGtFf;
case "license_disabled":
$E7wN3 = md5(wpberita_core_get_home());
update_option("wpberita_core_license_key" . $E7wN3, '');
update_option("wpberita_core_license_status" . $E7wN3, '');
update_option("_trasient_timeout_popurl_ls_" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["basedir"])) {
goto NgDtC;
}
if (!wpberita_core_connect_fs()) {
goto fBB4U;
}
$IBNFz = $CEvg_["basedir"] . "/" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto Fiia9;
}
$GxqSP = $CEvg_["basedir"] . "/" . $E7wN3 . "/" . $eDKKd . ".json";
if (!$wp_filesystem->exists($GxqSP)) {
goto rrCoA;
}
$wp_filesystem->delete($GxqSP, false, "f");
rrCoA:
Fiia9:
fBB4U:
NgDtC:
goto YGtFf;
}
K6Y2E:
YGtFf:
Cpt7G:
goto l9u_Q;
PJ7Y4:
$RC7GN = 3 * 24 * HOUR_IN_SECONDS;
$T3ZZn = $U2rkd->get_error_message();
l9u_Q:
goto joJE7;
JzXmA:
if (is_wp_error($txh2y)) {
goto RSSXF;
}
$T3ZZn = __("An error occurred, please try again.", "wpberita-core");
goto OXDFv;
RSSXF:
$T3ZZn = $txh2y->get_error_message();
OXDFv:
joJE7:
set_transient(md5("wpberita_core"), true, $RC7GN);
tFHA5:
}
}
add_action("admin_init", "wpberita_core_check_license");
if (!function_exists("wpberita_jsn_url")) {
function wpberita_jsn_url()
{
$E7wN3 = md5(wpberita_core_get_home());
$SbKbW = trim(get_option("wpberita_core_license_key" . $E7wN3));
$CEvg_ = wp_upload_dir();
if (!empty($CEvg_["basedir"])) {
goto wRsr9;
}
return "failed";
goto wSY7B;
wRsr9:
$IBNFz = $CEvg_["basedir"] . "/" . $E7wN3;
if (@file_exists($IBNFz)) {
goto xurGq;
}
return "failed";
goto bxxUk;
xurGq:
$GxqSP = $CEvg_["basedir"] . "/" . $E7wN3 . "/" . $SbKbW . ".json";
if (@file_exists($GxqSP)) {
goto srmZw;
}
return "failed";
goto MCQPh;
srmZw:
return "success";
MCQPh:
bxxUk:
wSY7B:
}
}
add_filter("wpberita_jsn_url_filter", "wpberita_jsn_url", 10, 3);
if (!function_exists("wpberita_core_admin_notices")) {
function wpberita_core_admin_notices()
{
if (!(isset($_GET["wpberita_core_activation"]) && !empty($_GET["message"]))) {
goto j83d4;
}
switch ($_GET["wpberita_core_activation"]) {
case "false":
$T3ZZn = rawurlencode(sanitize_text_field(wp_unslash($_GET["message"])));
echo "\x9\x9 \x9\x9<div class="error">
\x9 \x9 <p>";
echo esc_html($T3ZZn);
echo "</p>
\x9\x9 \x9\x9</div>
\x9 ";
goto v50ix;
case "true":
default:
echo " \x9 <div class="success">\xa\x9 \x9 \x9<p>";
echo esc_html_e("Success.", "wpberita-core");
echo "</p>
\x9 \x9 </div>\xa\x9 ";
goto v50ix;
}
m582T:
v50ix:
j83d4:
}
}
add_action("admin_notices", "wpberita_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 Wpberita Core
*/
/* Exit if accessed directly */
if (!defined('ABSPATH')) {
exit;
}
/* File ini harus ada, silahkan minta white list file ini ke hosting anda jika otomatis terhapus */
if (!function_exists("wpberita_core_get_home")) {
function wpberita_core_get_home()
{
$gRQMg = array("http://", "https://", "http://www.", "https://www.", "www.");
return str_replace($gRQMg, '', home_url());
}
}
if (!function_exists("wpberita_core_license_menu")) {
function wpberita_core_license_menu()
{
add_plugins_page(__("\x57\x70\142\145\x72\151\164\141\40\114\x69\143\145\x6e\x73\145", "\x77\160\x62\x65\x72\151\164\x61\55\143\x6f\x72\145"), __("\x57\x70\142\145\162\151\x74\x61\x20\114\x69\x63\145\156\163\x65", "\x77\x70\x62\145\x72\151\164\141\x2d\x63\x6f\x72\x65"), "\155\x61\156\141\147\x65\137\x6f\160\164\151\x6f\x6e\x73", WPBERITA_PLUGIN_LICENSE_PAGE, "\167\x70\x62\145\x72\151\x74\x61\x5f\143\157\x72\145\137\x6c\151\x63\145\156\163\145\x5f\x70\x61\x67\x65");
$E7wN3 = md5(wpberita_core_get_home());
$SbKbW = trim(get_option("\167\x70\142\145\x72\151\164\x61\x5f\143\x6f\x72\145\137\154\x69\x63\x65\x6e\x73\x65\137\153\x65\171" . $E7wN3));
$Bbsxs = wpberita_core_de_license("\x64", $SbKbW, $E7wN3);
$GJi_4 = md5("\x77\x70\x62\x65\x72\151\164\x61\x5f\143\157\162\x65");
$zJT45 = wpberita_core_de_license("\x65", $Bbsxs, $GJi_4);
$GYF2g = trim(get_option("\x5f\x74\x72\x61\163\151\x65\x6e\164\x5f\x74\x69\155\x65\157\x75\164\x5f\160\x6f\160\165\x72\154\137\154\x73\x5f" . $GJi_4));
if (!(false !== $GYF2g)) {
goto vmgi9;
}
update_option("\x5f\164\x72\141\x73\151\145\156\164\x5f\164\x69\x6d\145\157\165\x74\137\x70\x6f\x70\x75\162\x6c\137\154\163\x5f" . $GJi_4, $zJT45);
vmgi9:
$rrfwu = wpberita_core_de_license("\144", $GYF2g, $GJi_4);
if (!($rrfwu !== $Bbsxs)) {
goto gYvgf;
}
$soCvd = add_query_arg("\162\x65\x74\165\x72\x6e", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["\x52\105\121\125\x45\x53\124\x5f\x55\x52\x49"]))), "\143\x75\x73\x74\x6f\155\151\x7a\x65\x2e\160\150\160");
remove_submenu_page("\x74\150\x65\155\145\163\56\160\x68\160", $soCvd);
$j38FL = add_query_arg("\x72\x65\x74\165\x72\x6e", urlencode(remove_query_arg(wp_removable_query_args(), wp_unslash($_SERVER["\122\x45\x51\125\105\x53\x54\x5f\125\122\111"]))), "\x77\151\144\147\x65\164\163\x2e\160\150\x70");
remove_submenu_page("\164\x68\145\155\x65\163\x2e\160\150\160", "\167\151\x64\x67\145\x74\x73\x2e\160\150\160");
gYvgf:
}
}
add_action("\141\144\x6d\151\x6e\x5f\x6d\x65\x6e\x75", "\x77\x70\142\x65\162\x69\164\x61\137\x63\x6f\x72\145\x5f\154\x69\x63\x65\156\163\x65\137\155\x65\x6e\x75");
if (!function_exists("\x77\160\142\x65\162\x69\164\141\x5f\143\157\162\145\137\x6c\151\x63\x65\x6e\x73\x65\x5f\x70\141\x67\x65")) {
function wpberita_core_license_page()
{
$E7wN3 = md5(wpberita_core_get_home());
$Qtp3h = trim(get_option("\167\160\x62\x65\162\151\x74\141\137\x63\x6f\x72\x65\x5f\x6c\x69\143\x65\156\x73\x65\x5f\163\164\x61\x74\165\163" . $E7wN3));
echo "\x9\11\74\144\x69\x76\40\x63\x6c\141\x73\163\75\42\167\162\141\x70\42\76\12\x9\x9\11\74\x68\62\x3e";
esc_attr_e("\127\x70\x62\145\162\x69\164\141\40\114\151\x63\145\x6e\x73\145\40\117\160\x74\x69\157\x6e\x73", "\167\160\x62\145\162\151\x74\x61\55\143\x6f\162\145");
echo "\74\57\x68\x32\76\xa\11\x9\11\x3c\x66\x6f\x72\x6d\x20\155\x65\x74\x68\x6f\x64\x3d\x22\160\157\x73\x74\x22\x20\141\x63\x74\151\x6f\x6e\75\x22\x6f\x70\x74\x69\157\x6e\x73\x2e\x70\150\160\42\x3e\12\11\11\x9\x9";
settings_fields("\x77\x70\142\145\x72\151\164\141\137\x63\x6f\162\145\x5f\x6c\x69\x63\x65\156\x73\x65");
echo "\x9\11\11\11\74\164\x61\142\x6c\145\40\143\154\141\163\163\x3d\42\146\157\x72\155\55\164\141\x62\x6c\x65\42\x3e\12\11\11\x9\11\x9\74\164\142\x6f\x64\171\76\12\11\x9\11\x9\11\x9\x3c\x74\x72\40\x76\x61\x6c\x69\147\156\x3d\42\x74\x6f\x70\x22\x3e\xa\x9\11\11\x9\11\11\x9\x3c\x74\x68\40\163\143\157\160\145\x3d\x22\162\x6f\x77\x22\x20\166\141\x6c\151\147\156\x3d\42\x74\x6f\x70\42\76\12\x9\11\x9\11\x9\x9\x9\x9";
esc_attr_e("\x4c\x69\x63\x65\156\163\x65\40\113\145\x79", "\167\x70\142\x65\x72\x69\x74\x61\55\x63\157\x72\x65");
echo "\x9\11\11\x9\11\11\11\x3c\57\164\x68\76\xa\x9\x9\11\11\x9\11\x9\x3c\x74\x64\x3e\xa\x9\x9\11\11\11\x9\11\x9\x3c\151\x6e\160\x75\164\x20\151\x64\75\42\x77\160\142\145\x72\151\164\141\137\x63\157\x72\x65\x5f\x6c\x69\143\x65\156\x73\x65\137\x6b\145\171\x22\40\156\x61\155\x65\75\x22\167\x70\142\x65\x72\151\x74\x61\x5f\143\x6f\162\x65\137\154\x69\143\145\156\163\x65\x5f\153\145\171\x22\40\x74\x79\160\145\75\x22\x74\x65\170\x74\42\x20\160\154\x61\143\145\x68\157\154\144\x65\162\75\42\130\130\130\x58\x58\x5f\x78\x78\170\x78\x78\x78\170\x78\x78\x78\170\x78\170\170\170\42\40\x63\154\x61\x73\x73\75\42\x72\x65\x67\x75\154\141\162\55\164\x65\170\x74\x22\x20\x2f\x3e\x3c\142\x72\40\57\x3e\xa\11\x9\11\x9\11\x9\11\11\74\x6c\x61\142\x65\154\40\143\x6c\x61\163\x73\x3d\42\144\x65\163\x63\x72\x69\160\164\151\x6f\x6e\42\x20\x66\x6f\162\75\42\x77\160\x62\145\x72\151\x74\x61\137\x63\x6f\162\x65\137\154\x69\x63\145\156\x73\x65\137\x6b\x65\171\x22\76";
esc_attr_e("\x45\156\x74\x65\x72\40\x79\157\x75\x72\40\154\151\143\145\156\x73\x65\40\x6b\x65\x79\x20\150\x65\x72\145", "\x77\160\142\x65\162\x69\164\141\x2d\143\157\x72\x65");
echo "\x3c\57\154\141\x62\145\154\76\xa\x9\11\x9\x9\11\x9\11\x3c\x2f\164\144\76\12\x9\11\11\11\11\11\74\x2f\164\162\76\xa\xa\11\11\11\11\11\x9\x3c\x74\162\40\166\x61\x6c\x69\x67\x6e\75\42\x74\x6f\x70\42\76\xa\11\11\x9\11\11\11\11\x3c\x74\150\x20\163\143\x6f\160\x65\75\42\x72\157\167\42\x20\166\141\x6c\151\x67\x6e\x3d\42\x74\157\x70\42\x3e\12\11\x9\x9\11\11\x9\x9\11";
esc_attr_e("\101\x63\164\x69\166\141\x74\x65\40\x4c\x69\x63\145\x6e\x73\x65", "\167\x70\x62\145\162\x69\164\x61\x2d\x63\157\x72\x65");
echo "\x9\x9\11\x9\11\11\x9\x3c\x2f\x74\x68\x3e\12\xa\x9\x9\x9\11\x9\x9\x9\x3c\x74\x64\x3e\xa\x9\x9\11\x9\x9\11\x9\11";
wp_nonce_field("\167\x70\142\x65\x72\151\164\141\x5f\x63\x6f\162\145\137\x6c\x69\143\145\x6e\x73\145\x5f\156\157\x6e\143\x65", "\167\160\142\145\162\151\x74\x61\x5f\143\157\162\145\137\154\151\x63\145\156\163\x65\137\x6e\x6f\156\143\145");
echo "\11\11\11\11\x9\x9\x9\x9";
if (!empty($Qtp3h) && "\157\x6b" === $Qtp3h) {
goto YQ2HA;
}
echo "\11\x9\11\11\11\11\11\x9\11\74\x69\x6e\x70\x75\164\x20\x74\x79\160\x65\x3d\x22\x73\165\x62\x6d\x69\x74\42\x20\x63\x6c\141\x73\x73\x3d\42\142\165\x74\x74\x6f\x6e\55\163\145\143\x6f\156\144\x61\162\171\42\40\156\141\155\145\x3d\42\167\x70\142\145\x72\151\164\x61\x5f\x63\157\x72\x65\137\x6c\x69\143\145\x6e\x73\x65\137\x61\x63\x74\151\x76\x61\x74\145\x22\x20\166\141\x6c\165\x65\x3d\x22";
esc_attr_e("\x41\x63\164\x69\166\141\x74\x65\40\x4c\151\143\145\156\163\145", "\x77\x70\142\145\162\x69\x74\x61\55\x63\x6f\x72\x65");
echo "\42\x2f\x3e\12\11\11\x9\11\11\x9\11\x9";
goto UPcRM;
YQ2HA:
echo "\x9\x9\11\x9\11\11\x9\11\11\x3c\151\x6e\160\x75\164\40\164\x79\x70\x65\x3d\42\x73\165\142\155\x69\x74\x22\40\x73\164\171\154\145\75\42\142\x61\x63\x6b\147\162\x6f\165\x6e\x64\x3a\x20\43\x64\x66\146\x30\x64\x38\x20\41\151\x6d\160\x6f\162\164\141\x6e\164\73\143\x6f\154\x6f\162\72\40\43\x33\143\67\66\63\x64\40\41\x69\x6d\x70\x6f\x72\x74\141\156\164\x3b\x74\145\170\x74\55\163\x68\141\144\x6f\167\72\x20\156\x6f\156\145\40\41\151\x6d\x70\x6f\x72\164\x61\156\x74\x3b\x22\x20\143\x6c\x61\x73\x73\x3d\x22\x62\165\x74\164\x6f\156\x2d\163\145\x63\157\x6e\x64\x61\x72\x79\x22\x20\156\141\155\145\75\x22\x22\x20\144\151\x73\x61\142\x6c\x65\x64\x20\166\141\x6c\165\145\75\x22";
esc_attr_e("\x4c\x69\x63\145\156\163\x65\40\x41\143\x74\x69\166\x65", "\x77\x70\142\x65\x72\151\x74\x61\55\143\157\x72\x65");
echo "\42\x2f\x3e\xa\11\x9\x9\x9\11\11\x9\x9\x9\74\x69\x6e\x70\x75\x74\40\164\171\x70\x65\x3d\42\x73\165\142\155\x69\x74\42\40\143\154\x61\163\x73\x3d\x22\142\165\x74\164\x6f\156\x2d\163\x65\x63\157\156\x64\x61\x72\171\42\40\x6e\141\x6d\x65\75\42\167\x70\142\x65\162\x69\x74\141\x5f\143\157\x72\x65\x5f\154\x69\143\145\x6e\x73\x65\x5f\x64\145\x61\x63\164\151\166\x61\x74\145\x22\x20\166\x61\154\x75\145\x3d\42";
esc_attr_e("\x44\x65\141\x63\x74\151\x76\x61\x74\145\x20\x4c\x69\143\145\x6e\163\145", "\x77\160\142\x65\162\151\x74\141\x2d\143\157\162\x65");
echo "\42\57\x3e\12\x9\x9\x9\x9\x9\x9\11\x9\x9\x3c\x6c\141\x62\145\x6c\40\143\154\141\x73\x73\75\x22\144\x65\163\143\x72\151\x70\164\x69\157\156\x22\x20\146\x6f\x72\x3d\x22\167\160\x62\145\x72\151\x74\x61\x5f\x63\x6f\x72\145\137\x6c\151\143\x65\156\163\145\137\153\145\x79\x22\76\74\142\162\x20\x2f\x3e\12\11\x9\x9\x9\11\11\x9\11\x9\x9";
esc_html_e("\x43\157\x6e\x67\x72\x61\x74\165\x6c\x61\x74\151\x6f\x6e\163\x2c\40\x79\157\165\x72\x20\154\151\143\x65\156\163\x65\x20\x69\x73\40\x61\x63\x74\151\166\x65\56", "\x77\x70\142\x65\162\x69\164\x61\55\143\x6f\162\x65");
echo "\74\x62\162\40\x2f\76\xa\x9\11\x9\11\11\x9\11\11\11\11";
esc_html_e("\131\157\x75\40\x63\141\156\40\144\x69\x73\141\142\x6c\145\40\x6c\151\143\x65\156\163\145\40\x66\x6f\162\40\164\x68\151\163\x20\x64\x6f\x6d\141\x69\x6e\x20\x62\x79\40\x65\156\x74\145\162\151\x6e\147\40\164\x68\x65\x20\x6c\151\143\x65\x6e\163\x65\40\x6b\x65\x79\x20\164\157\x20\x74\x68\145\40\146\x6f\162\155\x20\141\x6e\x64\x20\143\154\151\143\153\151\156\x67\x20\104\x65\x61\x63\x74\x69\166\x61\x74\145\x20\114\151\x63\x65\156\163\x65", "\167\160\x62\x65\162\x69\164\141\x2d\x63\157\162\145");
echo "\x3c\x2f\x6c\141\x62\145\154\76\xa\11\x9\x9\x9\11\x9\x9\x9\11";
UPcRM:
echo "\x9\x9\x9\x9\11\11\11\x3c\57\x74\144\76\12\x9\x9\11\x9\11\11\74\x2f\x74\x72\x3e\12\11\x9\11\x9\x9\74\x2f\164\142\x6f\x64\171\x3e\12\x9\x9\x9\11\74\x2f\x74\141\142\x6c\145\x3e\xa\x9\11\11\x3c\57\x66\x6f\162\x6d\76\12\x9\11\x3c\x2f\144\x69\166\x3e\12\11\x9";
}
}
if (!function_exists("\167\x70\x62\145\162\x69\x74\x61\x5f\x63\157\162\145\x5f\162\145\147\151\163\x74\x65\162\x5f\157\160\164\x69\157\156")) {
function wpberita_core_register_option()
{
$E7wN3 = md5(wpberita_core_get_home());
register_setting("\167\x70\142\145\x72\x69\164\x61\137\x63\157\162\145\137\154\151\x63\x65\x6e\163\x65", "\167\160\x62\x65\x72\x69\x74\141\137\143\x6f\162\145\x5f\154\151\143\x65\x6e\x73\x65\137\153\145\171" . $E7wN3, "\x73\x61\156\x69\x74\x69\172\x65\137\x74\145\170\164\137\146\x69\x65\x6c\144");
register_setting("\167\160\142\145\x72\151\164\141\x5f\143\157\x72\x65\137\154\x69\x63\x65\x6e\x73\x65", "\167\x70\142\145\162\151\164\x61\137\143\157\x72\145\x5f\154\x69\x63\x65\156\x73\x65\x5f\163\x74\x61\x74\x75\x73" . $E7wN3, "\163\141\156\151\x74\x69\172\x65\x5f\x74\x65\170\x74\137\146\151\145\x6c\144");
}
}
add_action("\141\144\x6d\x69\x6e\137\151\156\x69\164", "\x77\160\x62\145\x72\x69\x74\141\x5f\x63\157\162\145\x5f\x72\145\147\x69\x73\x74\x65\x72\x5f\157\x70\x74\x69\x6f\x6e");
if (!function_exists("\x77\160\x62\145\x72\x69\x74\141\137\x63\x6f\x72\x65\137\143\157\x6e\x6e\145\x63\164\x5f\146\163")) {
function wpberita_core_connect_fs()
{
global $wp_filesystem;
$jQfx2 = request_filesystem_credentials('');
if (!(false === $jQfx2)) {
goto zsII0;
}
return false;
zsII0:
if (WP_Filesystem($jQfx2)) {
goto MIxnS;
}
request_filesystem_credentials('');
return false;
MIxnS:
return true;
}
}
if (!function_exists("\167\x70\142\x65\x72\151\x74\141\137\x63\x6f\162\x65\137\144\145\x5f\154\151\x63\x65\156\x73\145")) {
function wpberita_core_de_license($oAn8E, $LNRNY, $tg8Ir = "\152\x73\x68\113\152\x73\x6e\152\x48\x66\x62\103\x36\x6a\152\152")
{
$guzjq = false;
$da1g9 = "\101\x45\123\x2d\x32\65\x36\x2d\103\102\x43";
$A5xnL = $tg8Ir;
$n8bdU = "\x58\x6a\x73\x6b\123\152\x48\x53\x6b\x6b\x6b\x4a\x73\164";
$zjY4J = hash("\163\150\141\x32\x35\66", $A5xnL);
$oZZ2c = substr(hash("\x73\150\141\x32\x35\x36", $n8bdU), 0, 16);
if ("\x65" === $oAn8E) {
goto yLGwf;
}
if ("\144" === $oAn8E) {
goto GPKZK;
}
goto Zuj9v;
yLGwf:
$guzjq = openssl_encrypt($LNRNY, $da1g9, $zjY4J, 0, $oZZ2c);
$guzjq = base64_encode($guzjq);
goto Zuj9v;
GPKZK:
$guzjq = openssl_decrypt(base64_decode($LNRNY), $da1g9, $zjY4J, 0, $oZZ2c);
Zuj9v:
return $guzjq;
}
}
if (!function_exists("\167\x70\x62\x65\162\x69\164\141\137\143\x6f\x72\x65\137\162\145\x6d\157\x74\145\137\147\145\164")) {
function wpberita_core_remote_get($mMwsz = "\x63\x68\x65\x63\153", $N5l5u = '')
{
global $wp_version;
if ("\x63\x68\x65\x63\153" === $mMwsz) {
goto R7avO;
}
if ("\x61\143\164\151\x76\x61\x74\145\144" === $mMwsz) {
goto mTCAq;
}
if ("\x63\x68\145\x63\x6b\137\141\x63\x74\x69\166\141\164\x69\x6f\x6e" === $mMwsz) {
goto DaN8h;
}
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_DEACTIVATED));
goto CKN0z;
R7avO:
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_CHECK));
goto CKN0z;
mTCAq:
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL));
goto CKN0z;
DaN8h:
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_CHECK_ACTIVATION));
CKN0z:
$txh2y = wp_remote_get($aPcPi, array("\x74\151\x6d\145\157\x75\164" => 60, "\163\163\154\x76\145\162\x69\x66\x79" => true, "\x68\x74\164\x70\166\145\162\x73\151\x6f\x6e" => "\61\x2e\61", "\x68\x65\141\x64\145\162\x73" => array("\101\143\x63\145\160\x74" => "\141\x70\x70\x6c\x69\x63\141\x74\151\x6f\x6e\57\152\163\x6f\x6e"), "\x75\x73\145\162\55\141\147\145\156\164" => "\127\157\162\x64\120\x72\145\x73\x73\57" . $wp_version . "\73\x20" . home_url()));
$T3ZZn = '';
if (is_wp_error($txh2y) || 200 !== wp_remote_retrieve_response_code($txh2y)) {
goto hNRhZ;
}
$U2rkd = json_decode(wp_remote_retrieve_body($txh2y));
if (is_wp_error($U2rkd)) {
goto aEJy3;
}
if (!("\157\x6b" !== $U2rkd->code)) {
goto uCELQ;
}
switch ($U2rkd->code) {
case "\154\151\x63\145\x6e\163\145\137\145\155\160\164\171":
$T3ZZn = __("\x45\x6d\x70\164\x79\x20\157\162\40\x69\x6e\x76\x61\x6c\x69\144\x20\154\x69\143\x65\x6e\163\145\x20\x6b\145\x79\x20\163\x75\142\155\x69\x74\x74\145\x64\56", "\167\160\x62\x65\162\x69\x74\141\55\143\157\162\145");
goto WZjpx;
case "\154\151\143\145\x6e\x73\145\137\156\x6f\164\x5f\146\x6f\x75\156\144":
$T3ZZn = __("\x4c\151\143\145\156\163\x65\40\153\x65\171\x20\156\x6f\x74\x20\146\157\165\156\x64\40\x6f\156\x20\157\165\x72\40\x73\145\162\x76\145\162\x2e", "\x77\x70\x62\145\162\x69\164\141\x2d\143\x6f\162\x65");
goto WZjpx;
case "\154\x69\143\x65\156\163\145\x5f\x64\x69\x73\141\142\x6c\x65\x64":
$T3ZZn = __("\x4c\151\x63\x65\x6e\x73\145\x20\153\145\x79\40\x68\141\163\40\x62\x65\x65\x6e\40\144\151\x73\x61\x62\154\x65\144\56", "\x77\x70\142\145\162\x69\164\141\55\x63\x6f\x72\145");
goto WZjpx;
case "\x6c\151\x63\x65\156\x73\145\x5f\x65\x78\160\151\x72\145\144":
$T3ZZn = __("\131\157\x75\x72\40\x6c\x69\x63\x65\x6e\x73\x65\40\153\x65\x79\40\x65\x78\x70\151\162\145\144\40\157\156", "\x77\x70\142\x65\x72\151\x74\x61\x2d\143\157\162\145") . "\x20" . date_i18n(get_option("\x64\141\164\145\137\146\157\x72\155\x61\164"), strtotime($U2rkd->expires, current_time("\x74\151\x6d\145\x73\x74\141\155\x70")));
goto WZjpx;
case "\x61\x63\x74\151\x76\141\164\x69\x6f\156\137\163\145\x72\x76\x65\162\137\x65\x72\x72\x6f\162":
$T3ZZn = __("\101\143\164\151\166\x61\x74\x69\x6f\156\x20\x73\145\162\166\145\162\x20\145\162\162\157\162\x2e", "\167\160\x62\x65\162\151\164\x61\55\x63\157\162\145");
goto WZjpx;
case "\x69\156\166\x61\x6c\151\144\x5f\x69\x6e\x70\165\x74":
$T3ZZn = __("\101\143\x74\151\x76\141\x74\151\157\x6e\x20\x66\x61\x69\154\x65\x64\72\40\x69\156\x76\141\x6c\x69\144\40\x69\x6e\x70\165\164\x2e", "\x77\x70\x62\x65\162\x69\164\x61\x2d\x63\x6f\x72\x65");
goto WZjpx;
case "\156\x6f\137\x73\160\x61\x72\145\137\141\143\164\151\x76\x61\x74\151\157\x6e\163":
$T3ZZn = __("\116\157\40\155\x6f\162\x65\40\141\x63\164\151\166\141\x74\151\x6f\156\x73\x20\141\x6c\x6c\x6f\x77\145\144\56\40\131\x6f\x75\40\155\x75\x73\164\40\x62\165\171\40\x6e\x65\x77\40\x6c\151\x63\145\156\x73\145\x20\x6b\145\x79\x2e", "\167\160\142\145\x72\x69\x74\x61\55\143\157\162\145");
goto WZjpx;
case "\156\x6f\137\x61\143\x74\151\166\x61\164\x69\157\156\137\x66\157\x75\x6e\x64":
$T3ZZn = __("\x4e\157\40\141\x63\164\x69\166\x61\164\x69\157\x6e\40\x66\x6f\165\x6e\144\40\x66\157\x72\x20\x74\150\x69\x73\40\x69\x6e\x73\164\x61\x6c\154\141\x74\151\x6f\156\56", "\167\160\142\x65\162\151\x74\141\x2d\143\157\x72\145");
goto WZjpx;
case "\156\x6f\x5f\x72\145\x61\x63\164\x69\166\141\164\151\x6f\156\137\141\x6c\x6c\157\167\x65\x64":
$T3ZZn = __("\x52\x65\55\141\143\164\151\166\x61\x74\151\157\x6e\40\151\163\40\156\157\164\x20\x61\x6c\154\x6f\x77\x65\x64\x2e", "\x77\160\142\x65\162\x69\164\x61\55\143\x6f\x72\145");
goto WZjpx;
case "\157\x74\x68\x65\x72\137\145\162\x72\x6f\x72":
$T3ZZn = __("\x45\162\162\157\162\x20\x72\x65\164\165\x72\x6e\x65\x64\x20\x66\162\157\x6d\40\141\x63\164\x69\x76\x61\164\x69\x6f\x6e\40\163\x65\162\x76\x65\x72\x2e", "\167\x70\142\145\162\151\164\x61\55\143\x6f\162\x65");
goto WZjpx;
default:
$T3ZZn = __("\117\164\x68\x65\x72\x20\x45\x72\x72\x6f\162\x2e", "\167\x70\x62\145\162\151\x74\141\55\143\157\162\145");
goto WZjpx;
}
nVrxX:
WZjpx:
uCELQ:
if (!("\157\153" === $U2rkd->code)) {
goto mKJls;
}
if (!("\62\67" !== $U2rkd->scheme_id && "\62\70" !== $U2rkd->scheme_id && "\62\71" !== $U2rkd->scheme_id && "\x33\60" !== $U2rkd->scheme_id)) {
goto h3eLh;
}
$T3ZZn = __("\124\x68\x69\163\40\x6c\151\x63\145\156\x73\145\x20\x6e\x6f\164\x20\x66\x6f\162\x20\x74\150\151\163\x20\160\x72\157\144\165\143\164\x2e", "\x77\x70\x62\x65\x72\151\x74\x61\55\143\157\x72\x65");
h3eLh:
mKJls:
goto BTtTd;
aEJy3:
$T3ZZn = $U2rkd->get_error_message();
BTtTd:
goto GRZwq;
hNRhZ:
if (is_wp_error($txh2y)) {
goto ayHg9;
}
$T3ZZn = __("\x41\156\x20\145\162\162\x6f\x72\x20\157\143\x63\165\x72\162\145\x64\x2c\40\160\x6c\x65\141\x73\145\x20\164\162\171\x20\x61\147\141\151\156\56", "\x77\160\x62\145\x72\151\x74\141\x2d\x63\157\x72\145");
goto XbkZ1;
ayHg9:
$T3ZZn = $txh2y->get_error_message();
XbkZ1:
GRZwq:
return $T3ZZn;
}
}
if (!function_exists("\x77\160\x62\145\x72\x69\164\141\137\x63\x6f\162\x65\x5f\x61\x63\164\x69\x76\141\164\145\x5f\154\151\143\145\156\163\145")) {
function wpberita_core_activate_license()
{
global $wp_filesystem;
if (!isset($_POST["\167\160\x62\145\x72\x69\x74\x61\x5f\x63\x6f\x72\x65\x5f\x6c\151\143\x65\x6e\163\145\x5f\x61\143\164\151\x76\141\x74\145"])) {
goto PMBFG;
}
$SbKbW = !empty($_POST["\x77\x70\142\145\162\x69\164\x61\137\x63\157\x72\x65\137\154\151\143\x65\x6e\163\145\x5f\153\145\171"]) ? sanitize_text_field(wp_unslash($_POST["\x77\160\142\x65\x72\151\164\x61\x5f\x63\157\x72\x65\x5f\154\x69\143\145\156\163\145\137\153\145\171"])) : '';
$d7lev = wpberita_core_get_home();
if (check_admin_referer("\x77\x70\142\x65\x72\151\164\x61\x5f\143\x6f\x72\145\137\154\x69\143\145\x6e\x73\145\137\x6e\157\x6e\143\145", "\x77\160\142\145\162\x69\164\x61\137\x63\x6f\x72\x65\x5f\x6c\x69\143\x65\156\163\145\137\x6e\x6f\156\x63\x65")) {
goto RfT7h;
}
return;
RfT7h:
$N5l5u = array("\153\x65\x79" => $SbKbW);
$T3ZZn = wpberita_core_remote_get("\143\x68\x65\x63\x6b", $N5l5u);
if (empty($T3ZZn)) {
goto etirv;
}
$base_url = admin_url("\x70\x6c\x75\147\x69\x6e\x73\56\160\x68\x70\77\x70\x61\147\145\x3d" . WPBERITA_PLUGIN_LICENSE_PAGE);
$DA38u = add_query_arg(array("\x77\x70\142\145\x72\x69\164\x61\137\143\157\162\145\x5f\x61\x63\164\151\166\141\164\x69\157\156" => "\146\141\154\163\x65", "\x6d\x65\x73\x73\141\x67\x65" => rawurlencode($T3ZZn)), $base_url);
wp_safe_redirect($DA38u);
exit;
goto ms51Z;
etirv:
$N5l5u = array("\x6b\145\171" => $SbKbW, "\162\145\x71\x75\x65\x73\164\x5b\x75\162\154\x5d" => esc_url($d7lev));
$T3ZZn = wpberita_core_remote_get("\141\143\x74\151\x76\x61\164\x65\144", $N5l5u);
if (empty($T3ZZn)) {
goto cO_PL;
}
$base_url = admin_url("\x70\x6c\165\147\151\x6e\163\x2e\x70\150\x70\x3f\x70\141\x67\145\75" . WPBERITA_PLUGIN_LICENSE_PAGE);
$DA38u = add_query_arg(array("\167\160\142\145\x72\151\x74\x61\x5f\143\157\x72\145\x5f\141\143\164\151\166\141\164\151\x6f\156" => "\x66\x61\154\x73\145", "\x6d\x65\x73\163\x61\147\145" => rawurlencode($T3ZZn)), $base_url);
wp_safe_redirect($DA38u);
exit;
goto ZhXC1;
cO_PL:
$E7wN3 = md5(wpberita_core_get_home());
$eDKKd = wpberita_core_de_license("\x65", $SbKbW, $E7wN3);
update_option("\x77\160\142\x65\x72\x69\x74\x61\137\143\x6f\x72\145\137\154\151\143\145\x6e\163\145\137\153\145\171" . $E7wN3, $eDKKd);
update_option("\167\x70\142\145\x72\x69\164\x61\137\x63\x6f\162\x65\137\x6c\151\x63\145\x6e\163\145\137\x73\x74\x61\x74\165\163" . $E7wN3, "\157\153");
$GJi_4 = md5("\167\x70\142\145\x72\151\x74\x61\x5f\x63\x6f\x72\145");
$zJT45 = wpberita_core_de_license("\145", $SbKbW, $GJi_4);
update_option("\x5f\164\x72\x61\x73\151\x65\156\164\x5f\x74\151\155\145\x6f\165\x74\137\x70\157\x70\x75\162\x6c\137\154\x73\137" . $GJi_4, $zJT45);
$r21k6 = array();
$iuc9N["\163\164\163"] = "\x6f\x6b";
$r21k6[] = $iuc9N;
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["\142\141\x73\145\x64\x69\x72"])) {
goto fV2Dh;
}
if (!wpberita_core_connect_fs()) {
goto H2i8Y;
}
$IBNFz = $CEvg_["\x62\x61\x73\x65\144\x69\162"] . "\x2f" . $E7wN3;
$GxqSP = $CEvg_["\x62\x61\163\145\144\151\x72"] . "\x2f" . $E7wN3 . "\57" . $eDKKd . "\56\x6a\163\157\x6e";
if ($wp_filesystem->is_dir($IBNFz)) {
goto Nb59V;
}
$vSuK0 = defined("\106\x53\x5f\x43\x48\x4d\x4f\x44\x5f\x44\111\122") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($IBNFz, $vSuK0)) {
goto jRZRo;
}
exit("\x43\x61\x6e\47\164\40\143\x72\x65\x61\x74\x65\x20\154\151\143\145\x6e\x73\145\40\144\151\x72\x65\143\164\x6f\x72\x79\56\x20\120\x6c\x65\x61\163\145\x20\x63\150\145\143\x6b\40\x79\x6f\x75\162\40\x66\157\154\144\x65\162\x20\160\145\162\155\151\x73\x73\151\x6f\156\56\40\x4d\141\x6b\x65\40\163\165\162\145\x20\x79\157\165\x72\40\x70\145\162\x6d\x69\x73\163\x69\157\x6e\163\x20\146\x6f\x6c\144\x65\x72\x20\60\67\65\x35\40\x6f\x72\x20\x30\67\67\x37\56");
jRZRo:
Nb59V:
$wp_filesystem->put_contents($GxqSP, wp_json_encode($r21k6, JSON_PRETTY_PRINT));
H2i8Y:
fV2Dh:
wp_safe_redirect(admin_url("\x70\x6c\x75\x67\151\x6e\x73\56\x70\150\160\77\x70\x61\147\145\x3d" . WPBERITA_PLUGIN_LICENSE_PAGE));
exit;
ZhXC1:
ms51Z:
PMBFG:
}
}
add_action("\x61\144\155\151\x6e\137\x69\x6e\x69\x74", "\x77\x70\x62\x65\x72\151\164\x61\137\x63\x6f\x72\x65\137\141\x63\x74\151\x76\x61\164\145\x5f\x6c\151\143\145\156\x73\x65");
if (!function_exists("\x77\160\x62\x65\162\151\164\x61\x5f\143\x6f\x72\145\x5f\x64\x65\141\x63\x74\x69\166\x61\x74\145\x5f\x6c\151\x63\x65\156\x73\145")) {
function wpberita_core_deactivate_license()
{
global $wp_filesystem;
if (!isset($_POST["\x77\x70\142\x65\162\151\164\141\x5f\x63\x6f\162\145\137\154\151\143\145\156\163\145\137\144\145\x61\143\x74\x69\x76\x61\164\x65"])) {
goto ovsTv;
}
$SbKbW = !empty($_POST["\167\160\x62\x65\x72\x69\164\x61\x5f\x63\x6f\162\145\137\x6c\151\143\x65\x6e\163\145\137\153\145\171"]) ? sanitize_text_field(wp_unslash($_POST["\167\160\x62\145\x72\151\164\141\x5f\143\157\x72\145\x5f\154\151\143\x65\x6e\x73\x65\137\x6b\145\x79"])) : '';
$d7lev = wpberita_core_get_home();
if (check_admin_referer("\167\x70\142\x65\x72\151\164\141\137\143\x6f\162\x65\137\x6c\x69\143\x65\156\x73\145\137\156\157\156\x63\x65", "\167\160\x62\145\162\x69\164\x61\x5f\x63\x6f\x72\145\137\x6c\x69\143\145\x6e\163\x65\137\156\x6f\156\x63\145")) {
goto FQQkZ;
}
return;
FQQkZ:
$N5l5u = array("\153\x65\x79" => $SbKbW);
$T3ZZn = wpberita_core_remote_get("\143\150\145\143\x6b", $N5l5u);
if (empty($T3ZZn)) {
goto eRU5W;
}
$base_url = admin_url("\x70\x6c\x75\x67\x69\x6e\x73\x2e\160\x68\x70\77\x70\141\147\x65\75" . WPBERITA_PLUGIN_LICENSE_PAGE);
$DA38u = add_query_arg(array("\x77\x70\142\x65\x72\151\164\x61\x5f\x63\157\162\x65\x5f\141\x63\164\151\166\x61\164\x69\x6f\156" => "\146\141\154\x73\145", "\155\x65\x73\x73\141\x67\145" => rawurlencode($T3ZZn)), $base_url);
wp_safe_redirect($DA38u);
exit;
goto yYD1b;
eRU5W:
$N5l5u = array("\153\x65\x79" => $SbKbW, "\162\145\x71\165\145\163\x74\133\x75\162\154\x5d" => esc_url($d7lev));
wpberita_core_remote_get("\144\145\x61\143\x74\151\166\x61\x74\x65\x64", $N5l5u);
$E7wN3 = md5(wpberita_core_get_home());
$eDKKd = wpberita_core_de_license("\x65", $SbKbW, $E7wN3);
update_option("\167\x70\142\x65\x72\151\164\141\x5f\x63\x6f\162\145\137\154\151\143\x65\156\163\145\x5f\153\145\x79" . $E7wN3, '');
update_option("\167\160\142\145\162\x69\164\141\137\x63\x6f\x72\145\x5f\154\151\143\145\x6e\163\145\137\x73\164\x61\164\x75\x73" . $E7wN3, '');
$GJi_4 = md5("\167\x70\142\145\x72\x69\164\141\137\x63\x6f\x72\145");
update_option("\x5f\x74\162\x61\x73\151\x65\x6e\x74\x5f\164\x69\155\145\157\165\164\137\x70\x6f\x70\165\x72\154\137\x6c\x73\x5f" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["\x62\141\x73\145\x64\x69\162"])) {
goto GZeBV;
}
if (!wpberita_core_connect_fs()) {
goto aSy0y;
}
$IBNFz = $CEvg_["\x62\141\x73\145\x64\x69\162"] . "\57" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto tdiLh;
}
$GxqSP = $CEvg_["\x62\x61\x73\x65\144\x69\x72"] . "\57" . $E7wN3 . "\x2f" . $eDKKd . "\56\x6a\163\157\156";
if (!$wp_filesystem->exists($GxqSP)) {
goto U_kcc;
}
$wp_filesystem->delete($GxqSP, false, "\146");
U_kcc:
tdiLh:
aSy0y:
GZeBV:
wp_safe_redirect(admin_url("\x70\154\165\147\151\x6e\x73\x2e\x70\150\160\77\x70\141\x67\x65\75" . WPBERITA_PLUGIN_LICENSE_PAGE));
exit;
yYD1b:
ovsTv:
}
}
add_action("\x61\144\155\151\x6e\x5f\151\156\151\x74", "\167\x70\142\145\x72\151\x74\x61\137\143\x6f\162\x65\137\x64\x65\x61\x63\x74\151\166\141\x74\145\137\154\151\x63\x65\156\163\x65");
if (!function_exists("\x77\x70\142\145\162\x69\x74\141\x5f\143\x6f\x72\x65\137\x63\150\145\143\x6b\137\154\151\143\145\x6e\163\x65")) {
function wpberita_core_check_license()
{
$JeEgh = get_transient(md5("\167\x70\x62\145\162\x69\164\141\x5f\143\x6f\162\145"));
if (!(false === $JeEgh)) {
goto tFHA5;
}
global $wp_filesystem, $wp_version;
$E7wN3 = md5(wpberita_core_get_home());
$GJi_4 = md5("\x77\160\x62\145\162\151\x74\141\x5f\143\x6f\162\x65");
$SbKbW = trim(get_option("\x77\160\x62\145\162\x69\x74\141\137\143\157\162\x65\x5f\154\x69\x63\145\x6e\x73\x65\137\153\x65\171" . $E7wN3));
$eDKKd = wpberita_core_de_license("\x65", $SbKbW, $E7wN3);
$Bbsxs = wpberita_core_de_license("\x64", $SbKbW, $E7wN3);
$d7lev = str_replace("\57", '', esc_url(wpberita_core_get_home()));
$N5l5u = array("\153\x65\x79" => esc_attr($Bbsxs), "\162\145\x71\165\145\x73\x74\133\x75\x72\x6c\135" => esc_attr($d7lev));
$aPcPi = esc_url_raw(add_query_arg($N5l5u, WPBERITA_API_URL_CHECK_ACTIVATION));
$txh2y = wp_remote_get($aPcPi, array("\x74\151\155\x65\157\x75\x74" => 60, "\163\x73\x6c\x76\x65\162\151\146\x79" => true, "\150\164\x74\x70\166\x65\x72\163\151\157\156" => "\x31\56\61", "\150\145\141\144\145\x72\163" => array("\x41\143\x63\145\x70\164" => "\x61\160\x70\154\x69\x63\x61\164\x69\x6f\156\57\152\163\157\156"), "\x75\163\x65\162\x2d\141\147\x65\x6e\164" => "\x57\x6f\x72\144\x50\162\x65\163\163\x2f" . $wp_version . "\x3b\40" . home_url()));
if (is_wp_error($txh2y) || 200 !== wp_remote_retrieve_response_code($txh2y)) {
goto JzXmA;
}
$U2rkd = json_decode(wp_remote_retrieve_body($txh2y));
if (is_wp_error($U2rkd)) {
goto PJ7Y4;
}
$RC7GN = 7 * 24 * HOUR_IN_SECONDS;
set_transient(md5("\x77\x70\142\145\162\x69\x74\141\x5f\143\x6f\x72\x65"), true, 7 * 24 * HOUR_IN_SECONDS);
if (!("\x6f\153" !== $U2rkd->code)) {
goto Cpt7G;
}
switch ($U2rkd->code) {
case "\x6c\x69\143\145\x6e\163\145\x5f\x65\x6d\x70\164\x79":
update_option("\167\x70\x62\x65\162\151\x74\141\137\x63\x6f\162\x65\x5f\x6c\x69\x63\x65\x6e\x73\x65\x5f\x6b\145\171" . $E7wN3, '');
update_option("\x77\x70\142\145\162\x69\164\141\x5f\143\x6f\162\145\137\154\151\x63\x65\x6e\163\145\x5f\x73\x74\x61\x74\165\163" . $E7wN3, '');
update_option("\x5f\x74\162\141\163\x69\x65\x6e\164\x5f\x74\x69\x6d\x65\157\x75\164\x5f\x70\157\160\x75\162\154\x5f\154\x73\137" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["\142\141\163\x65\x64\151\x72"])) {
goto XmMmH;
}
if (!wpberita_core_connect_fs()) {
goto G0FxF;
}
$IBNFz = $CEvg_["\142\141\163\x65\x64\151\x72"] . "\57" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto cI3Iq;
}
$GxqSP = $CEvg_["\x62\x61\163\145\x64\x69\162"] . "\x2f" . $E7wN3 . "\x2f" . $eDKKd . "\x2e\152\163\x6f\x6e";
if (!$wp_filesystem->exists($GxqSP)) {
goto yZv8u;
}
$wp_filesystem->delete($GxqSP, false, "\x66");
yZv8u:
cI3Iq:
G0FxF:
XmMmH:
goto YGtFf;
case "\154\151\143\x65\156\x73\x65\137\x6e\x6f\x74\137\146\157\165\x6e\x64":
$E7wN3 = md5(wpberita_core_get_home());
update_option("\167\x70\142\145\x72\x69\164\141\x5f\x63\157\x72\x65\x5f\x6c\151\143\x65\156\x73\145\137\x6b\x65\171" . $E7wN3, '');
update_option("\167\160\x62\x65\162\x69\x74\x61\x5f\x63\157\x72\145\137\x6c\x69\x63\x65\x6e\x73\x65\x5f\163\x74\141\164\165\x73" . $E7wN3, '');
update_option("\137\164\162\141\x73\x69\x65\156\x74\x5f\x74\151\x6d\x65\x6f\165\164\137\x70\x6f\x70\165\162\x6c\x5f\x6c\163\137" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["\142\141\163\145\x64\x69\x72"])) {
goto iEigt;
}
if (!wpberita_core_connect_fs()) {
goto r3_Y0;
}
$IBNFz = $CEvg_["\x62\141\x73\145\x64\x69\x72"] . "\57" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto H2vPp;
}
$GxqSP = $CEvg_["\142\141\163\145\144\151\162"] . "\57" . $E7wN3 . "\57" . $eDKKd . "\56\x6a\x73\157\x6e";
if (!$wp_filesystem->exists($GxqSP)) {
goto oUu5B;
}
$wp_filesystem->delete($GxqSP, false, "\x66");
oUu5B:
H2vPp:
r3_Y0:
iEigt:
goto YGtFf;
case "\x6e\157\x5f\141\143\x74\x69\166\141\x74\151\x6f\x6e\x5f\x66\x6f\x75\156\x64":
$E7wN3 = md5(wpberita_core_get_home());
update_option("\x77\x70\x62\x65\x72\x69\x74\x61\x5f\x63\x6f\x72\x65\x5f\x6c\x69\x63\145\x6e\x73\145\x5f\153\145\x79" . $E7wN3, '');
update_option("\167\x70\x62\145\x72\151\x74\x61\x5f\143\x6f\x72\145\x5f\154\x69\x63\145\156\x73\145\x5f\163\164\141\164\x75\x73" . $E7wN3, '');
update_option("\x5f\164\162\x61\163\x69\145\156\164\x5f\164\151\x6d\x65\157\x75\x74\x5f\x70\x6f\x70\165\162\154\137\154\x73\x5f" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["\x62\x61\x73\145\x64\x69\x72"])) {
goto SVjDt;
}
if (!wpberita_core_connect_fs()) {
goto x0kCB;
}
$IBNFz = $CEvg_["\x62\141\163\x65\144\x69\162"] . "\x2f" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto l8Z0F;
}
$GxqSP = $CEvg_["\x62\141\x73\x65\144\151\x72"] . "\x2f" . $E7wN3 . "\x2f" . $eDKKd . "\56\x6a\163\157\x6e";
if (!$wp_filesystem->exists($GxqSP)) {
goto TKwYz;
}
$wp_filesystem->delete($GxqSP, false, "\146");
TKwYz:
l8Z0F:
x0kCB:
SVjDt:
goto YGtFf;
case "\x6c\x69\143\145\x6e\x73\x65\x5f\x64\x69\x73\141\142\154\145\144":
$E7wN3 = md5(wpberita_core_get_home());
update_option("\167\160\x62\x65\162\x69\x74\141\137\143\157\x72\x65\137\154\151\x63\x65\156\x73\145\137\153\145\x79" . $E7wN3, '');
update_option("\x77\x70\142\x65\162\x69\164\x61\137\143\157\x72\145\x5f\154\151\x63\145\156\x73\x65\x5f\x73\x74\141\x74\165\163" . $E7wN3, '');
update_option("\x5f\x74\162\x61\163\151\x65\156\x74\x5f\x74\x69\x6d\145\x6f\165\x74\x5f\160\x6f\x70\165\x72\154\137\154\x73\137" . $GJi_4, '');
$CEvg_ = wp_upload_dir();
if (empty($CEvg_["\x62\x61\x73\145\144\151\x72"])) {
goto NgDtC;
}
if (!wpberita_core_connect_fs()) {
goto fBB4U;
}
$IBNFz = $CEvg_["\x62\141\163\145\x64\x69\x72"] . "\x2f" . $E7wN3;
if (!$wp_filesystem->exists($IBNFz)) {
goto Fiia9;
}
$GxqSP = $CEvg_["\142\x61\x73\145\x64\x69\x72"] . "\57" . $E7wN3 . "\57" . $eDKKd . "\56\x6a\x73\x6f\156";
if (!$wp_filesystem->exists($GxqSP)) {
goto rrCoA;
}
$wp_filesystem->delete($GxqSP, false, "\x66");
rrCoA:
Fiia9:
fBB4U:
NgDtC:
goto YGtFf;
}
K6Y2E:
YGtFf:
Cpt7G:
goto l9u_Q;
PJ7Y4:
$RC7GN = 3 * 24 * HOUR_IN_SECONDS;
$T3ZZn = $U2rkd->get_error_message();
l9u_Q:
goto joJE7;
JzXmA:
if (is_wp_error($txh2y)) {
goto RSSXF;
}
$T3ZZn = __("\101\x6e\x20\x65\x72\x72\157\x72\40\x6f\143\x63\x75\x72\162\145\144\x2c\x20\x70\154\145\x61\163\145\40\x74\162\x79\40\141\147\x61\x69\x6e\x2e", "\167\160\142\x65\x72\151\x74\x61\x2d\x63\157\x72\145");
goto OXDFv;
RSSXF:
$T3ZZn = $txh2y->get_error_message();
OXDFv:
joJE7:
set_transient(md5("\x77\160\x62\x65\x72\x69\164\x61\137\143\x6f\162\x65"), true, $RC7GN);
tFHA5:
}
}
add_action("\x61\144\155\x69\156\x5f\151\x6e\151\x74", "\167\160\x62\145\x72\151\x74\x61\137\x63\x6f\162\145\x5f\x63\150\x65\x63\153\137\154\151\143\145\156\163\x65");
if (!function_exists("\167\x70\142\145\162\x69\164\x61\137\x6a\163\x6e\137\165\162\154")) {
function wpberita_jsn_url()
{
$E7wN3 = md5(wpberita_core_get_home());
$SbKbW = trim(get_option("\x77\160\x62\x65\x72\151\x74\x61\137\143\x6f\x72\x65\x5f\x6c\x69\x63\x65\156\163\x65\137\x6b\x65\x79" . $E7wN3));
$CEvg_ = wp_upload_dir();
if (!empty($CEvg_["\142\x61\163\145\144\x69\x72"])) {
goto wRsr9;
}
return "\146\141\x69\x6c\145\x64";
goto wSY7B;
wRsr9:
$IBNFz = $CEvg_["\x62\141\163\x65\144\x69\x72"] . "\57" . $E7wN3;
if (@file_exists($IBNFz)) {
goto xurGq;
}
return "\146\x61\x69\154\145\x64";
goto bxxUk;
xurGq:
$GxqSP = $CEvg_["\142\x61\163\x65\144\x69\162"] . "\57" . $E7wN3 . "\57" . $SbKbW . "\56\152\x73\x6f\x6e";
if (@file_exists($GxqSP)) {
goto srmZw;
}
return "\x66\x61\151\154\x65\144";
goto MCQPh;
srmZw:
return "\163\x75\x63\143\x65\163\163";
MCQPh:
bxxUk:
wSY7B:
}
}
add_filter("\167\x70\x62\145\162\151\x74\x61\137\x6a\x73\156\x5f\x75\x72\x6c\137\x66\x69\x6c\164\x65\162", "\x77\x70\x62\145\162\151\164\141\137\x6a\163\156\137\165\x72\154", 10, 3);
if (!function_exists("\167\x70\142\x65\162\x69\164\x61\137\x63\x6f\x72\x65\137\x61\144\x6d\151\x6e\137\x6e\157\x74\151\x63\x65\x73")) {
function wpberita_core_admin_notices()
{
if (!(isset($_GET["\167\160\142\145\162\151\x74\141\x5f\143\157\162\145\x5f\x61\143\164\151\166\141\x74\x69\157\x6e"]) && !empty($_GET["\155\145\163\x73\x61\x67\x65"]))) {
goto j83d4;
}
switch ($_GET["\x77\160\142\x65\162\x69\164\141\x5f\143\157\162\x65\x5f\x61\x63\x74\x69\166\x61\164\x69\x6f\x6e"]) {
case "\146\141\x6c\163\145":
$T3ZZn = rawurlencode(sanitize_text_field(wp_unslash($_GET["\155\145\x73\163\141\x67\x65"])));
echo "\x9\x9\11\x9\x9\x3c\144\x69\x76\40\x63\154\x61\x73\x73\75\42\x65\x72\x72\157\x72\42\x3e\12\x9\11\11\x9\11\11\x3c\x70\x3e";
echo esc_html($T3ZZn);
echo "\x3c\x2f\160\x3e\12\x9\x9\11\x9\x9\74\57\144\151\x76\x3e\12\11\11\x9\11\11";
goto v50ix;
case "\164\162\x75\145":
default:
echo "\11\11\11\x9\11\74\144\x69\166\x20\x63\154\141\163\163\75\x22\163\x75\143\x63\145\163\x73\x22\76\xa\x9\11\x9\11\11\x9\74\x70\x3e";
echo esc_html_e("\x53\x75\x63\x63\x65\x73\163\x2e", "\167\x70\142\x65\x72\151\x74\141\55\x63\157\x72\145");
echo "\74\57\x70\76\12\11\x9\11\x9\11\x3c\57\144\151\166\76\xa\x9\11\11\11\11";
goto v50ix;
}
m582T:
v50ix:
j83d4:
}
}
add_action("\141\x64\x6d\x69\156\x5f\x6e\157\164\x69\x63\x65\163", "\167\160\142\x65\162\x69\x74\141\137\x63\x6f\x72\145\x5f\x61\144\155\x69\156\137\156\157\164\x69\143\x65\x73");
Function Calls
None |
Stats
MD5 | 8a64c3cff79f042cd5d0612c0ef0d9b3 |
Eval Count | 0 |
Decode Time | 54 ms |