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 if ( ! defined('ABSPATH')) { exit; } if ( ! function_exists("\x64\154\16..
Decoded Output download
<?php
if ( ! defined('ABSPATH')) {
exit;
}
if ( ! function_exists("dlpro_core_get_home")) {
function dlpro_core_get_home()
{
$y8qnT = array(
"http://", "https://", "http://www.", "https://www.", "www."
);
return str_replace($y8qnT, '', home_url());
}
}
if ( ! function_exists("dlpro_core_license_menu")) {
function dlpro_core_license_menu()
{
add_plugins_page(__("Dlpro License", "dlpro-core"),
__("Dlpro License", "dlpro-core"), "manage_options", DLPRO_PLUGIN_LICENSE_PAGE,
"dlpro_core_license_page");
}
}
add_action("admin_menu", "dlpro_core_license_menu");
if ( ! function_exists("dlpro_core_license_page")) {
function dlpro_core_license_page()
{
$KsZiC = md5(dlpro_core_get_home());
$v7Ob1 = trim(get_option("dlpro_core_license_status".$KsZiC));
echo "\x9\x9<div class="wrap">\xa <h2>";
esc_attr_e("Dlpro License Options", "dlpro-core");
echo "</h2>\xa \x9\x9<form method="post" action="options.php">\xa\x9\x9 \x9";
settings_fields("dlpro_core_license");
echo " \x9 \x9<table class="form-table">
\x9<tbody>
\x9 \x9\x9<tr valign="top">\xa\x9\x9\x9\x9 \x9 <th scope="row" valign="top">\xa \x9 \x9\x9";
esc_attr_e("License Key", "dlpro-core");
echo "\x9 \x9 \x9 </th>
\x9\x9\x9 \x9\x9<td>
\x9\x9 \x9 \x9 <input id="dlpro_core_license_key" name="dlpro_core_license_key" type="text" placeholder="XXXXX_xxxxxxxxxxxxxxx" class="regular-text" /><br />\xa \x9 \x9 \x9\x9<label class="description" for="dlpro_core_license_key">";
esc_attr_e("Enter your license key here", "dlpro-core");
echo "</label>\xa\x9\x9 \x9\x9 </td>\xa \x9 \x9 </tr>
\xa\x9\x9\x9 \x9<tr valign="top">
\x9 \x9\x9 <th scope="row" valign="top">\xa \x9\x9\x9\x9 \x9";
esc_attr_e("Activate License", "dlpro-core");
echo "\x9\x9\x9 \x9 \x9</th>
\x9 \x9 \x9\x9<td>
\x9\x9 \x9 \x9";
if ( ! empty($v7Ob1) && "ok" === $v7Ob1) {
goto aNT4B;
}
wp_nonce_field("dlpro_core_license_nonce",
"dlpro_core_license_nonce");
echo "\x9\x9 \x9 \x9 \x9<input type="submit" class="button-secondary" name="dlpro_core_license_activate" value="";
esc_attr_e("Activate License", "dlpro-core");
echo ""/>\xa \x9 \x9 \x9 ";
goto ZdCy4;
aNT4B:
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", "dlpro-core");
echo ""/>\xa \x9";
wp_nonce_field("dlpro_core_license_nonce",
"dlpro_core_license_nonce");
echo "\x9\x9\x9\x9\x9 \x9 \x9<input type="submit" class="button-secondary" name="dlpro_core_license_deactivate" value="";
esc_attr_e("Deactivate License", "dlpro-core");
echo ""/>
\x9\x9 \x9\x9 \x9<label class="description" for="dlpro_core_license_key"><br />\xa \x9 \x9 ";
esc_html_e("Congratulations, your license is active.",
"dlpro-core");
echo "<br />
\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",
"dlpro-core");
echo "</label>
\x9 \x9 \x9 \x9\x9\x9";
dlpro_core_check_license();
echo "\x9\x9\x9 \x9 \x9";
ZdCy4:
echo " \x9\x9\x9\x9 </td>
\x9 \x9 </tr>
\x9 \x9\x9</tbody>\xa\x9 \x9</table>
\x9\x9 </form>\xa\x9\x9</div>\xa ";
}
}
if ( ! function_exists("dlpro_core_register_option")) {
function dlpro_core_register_option()
{
$KsZiC = md5(dlpro_core_get_home());
register_setting("dlpro_core_license", "dlpro_core_license_key".$KsZiC,
"sanitize_text_field");
register_setting("dlpro_core_license",
"dlpro_core_license_status".$KsZiC,
"sanitize_text_field");
}
}
add_action("admin_init", "dlpro_core_register_option");
if ( ! function_exists("dlpro_core_connect_fs")) {
function dlpro_core_connect_fs()
{
global $wp_filesystem;
if ( ! (false === ($YrNA7 = request_filesystem_credentials('')))) {
goto ZmS8a;
}
return false;
ZmS8a:
if (WP_Filesystem($YrNA7)) {
goto JagWr;
}
request_filesystem_credentials('');
return false;
JagWr:
return true;
}
}
if ( ! function_exists("dlpro_core_de_license")) {
function dlpro_core_de_license($GF3PB, $T89WZ, $Cas0j = "jshKjsnjHfbC6jjj")
{
$TtrC2 = false;
$JtFEB = "AES-256-CBC";
$R3L9f = $Cas0j;
$dNbED = "XjskSjHSkkkJst";
$RmiX6 = hash("sha256", $R3L9f);
$TATWv = substr(hash("sha256", $dNbED), 0, 16);
if ("e" === $GF3PB) {
goto ux6_o;
}
if ("d" === $GF3PB) {
goto kOUcY;
}
goto YMk3J;
ux6_o:
$TtrC2 = openssl_encrypt($T89WZ, $JtFEB, $RmiX6, 0, $TATWv);
$TtrC2 = base64_encode($TtrC2);
goto YMk3J;
kOUcY:
$TtrC2 = openssl_decrypt(base64_decode($T89WZ), $JtFEB, $RmiX6, 0, $TATWv);
YMk3J:
return $TtrC2;
}
}
if ( ! function_exists("dlpro_core_remote_get")) {
function dlpro_core_remote_get($jM3qN = "check", $kPOXF = '')
{
if ("check" === $jM3qN) {
goto pD_1G;
}
if ("activated" === $jM3qN) {
goto dEEX2;
}
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL_DEACTIVATED));
goto s2uhg;
pD_1G:
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL_CHECK));
goto s2uhg;
dEEX2:
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL));
s2uhg:
$xalMS = wp_remote_get($DzRbT, array("timeout" => 20, "sslverify" => false));
$LH8hG = '';
if (is_wp_error($xalMS) || 200 !== wp_remote_retrieve_response_code($xalMS)) {
goto mtHf6;
}
$kcW41 = json_decode(wp_remote_retrieve_body($xalMS));
if (is_wp_error($kcW41)) {
goto OM6vM;
}
if ( ! ("ok" !== $kcW41->code)) {
goto d0hRD;
}
switch ($kcW41->code) {
case "license_empty":
$LH8hG = __("Empty or invalid license key submitted.",
"dlpro-core");
goto MY6hX;
case "license_not_found":
$LH8hG = __("License key not found on our server.",
"dlpro-core");
goto MY6hX;
case "license_disabled":
$LH8hG = __("License key has been disabled.", "dlpro-core");
goto MY6hX;
case "license_expired":
$LH8hG = __("Your license key expired on",
"dlpro-core")." ".date_i18n(get_option("date_format"),
strtotime($kcW41->expires, current_time("timestamp")));
goto MY6hX;
case "activation_server_error":
$LH8hG = __("Activation server error.", "dlpro-core");
goto MY6hX;
case "invalid_input":
$LH8hG = __("Activation failed: invalid input.",
"dlpro-core");
goto MY6hX;
case "no_spare_activations":
$LH8hG = __("No more activations allowed. You must buy new license key.",
"dlpro-core");
goto MY6hX;
case "no_activation_found":
$LH8hG = __("No activation found for this installation.",
"dlpro-core");
goto MY6hX;
case "no_reactivation_allowed":
$LH8hG = __("Re-activation is not allowed.", "dlpro-core");
goto MY6hX;
case "other_error":
$LH8hG = __("Error returned from activation server.",
"dlpro-core");
goto MY6hX;
default:
$LH8hG = __("Other Error.", "dlpro-core");
goto MY6hX;
}
vYJPb: MY6hX: d0hRD:
if ( ! ("ok" === $kcW41->code)) {
goto Kp_M2;
}
if ( ! ("10" !== $kcW41->scheme_id && "11" !== $kcW41->scheme_id && "12" !== $kcW41->scheme_id)) {
goto UU3Kp;
}
$LH8hG = __("This license not for this product.", "dlpro-core");
UU3Kp: Kp_M2:
goto zvSXM;
OM6vM:
$LH8hG = $kcW41->get_error_message();
zvSXM:
goto yuLsY;
mtHf6:
if (is_wp_error($xalMS)) {
goto nQmS_;
}
$LH8hG = __("An error occurred, please try again.",
"dlpro-core");
goto cdUAR;
nQmS_:
$LH8hG = $xalMS->get_error_message();
cdUAR: yuLsY:
return $LH8hG;
}
}
if ( ! function_exists("dlpro_core_activate_license")) {
function dlpro_core_activate_license()
{
global $wp_filesystem;
if ( ! isset($_POST["dlpro_core_license_activate"])) {
goto bwj1A;
}
$hD23I = ! empty($_POST["dlpro_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["dlpro_core_license_key"])) : '';
$JT8j6 = dlpro_core_get_home();
if (check_admin_referer("dlpro_core_license_nonce",
"dlpro_core_license_nonce")) {
goto L79tb;
}
return;
L79tb:
$kPOXF = array("key" => $hD23I);
$LH8hG = dlpro_core_remote_get("check", $kPOXF);
if (empty($LH8hG)) {
goto bUAz1;
}
$base_url = admin_url("plugins.php?page=".DLPRO_PLUGIN_LICENSE_PAGE);
$vBdpR = add_query_arg(array(
"dlpro_core_activation" => "false", "message" => rawurlencode($LH8hG)
), $base_url);
wp_safe_redirect($vBdpR);
exit;
goto DeiAO;
bUAz1:
$kPOXF = array("key" => $hD23I, "request[url]" => esc_url($JT8j6));
$LH8hG = dlpro_core_remote_get("activated", $kPOXF);
if (empty($LH8hG)) {
goto SgZqE;
}
$base_url = admin_url("plugins.php?page=".DLPRO_PLUGIN_LICENSE_PAGE);
$vBdpR = add_query_arg(array(
"dlpro_core_activation" => "false", "message" => rawurlencode($LH8hG)
), $base_url);
wp_safe_redirect($vBdpR);
exit;
goto eRRkK;
SgZqE:
$KsZiC = md5(dlpro_core_get_home());
$F17lU = dlpro_core_de_license("e", $hD23I, $KsZiC);
update_option("dlpro_core_license_key".$KsZiC, $F17lU);
update_option("dlpro_core_license_status".$KsZiC, "ok");
$WDii3 = [];
$AYQNA["sts"] = "ok";
$WDii3[] = $AYQNA;
$dxsba = wp_upload_dir();
if (empty($dxsba["basedir"])) {
goto q_i4N;
}
if ( ! dlpro_core_connect_fs()) {
goto a5f_e;
}
$ySSse = $dxsba["basedir"]."/".$KsZiC;
$cgqWt = $dxsba["basedir"]."/".$KsZiC."/".$F17lU.".json";
if ($wp_filesystem->is_dir($ySSse)) {
goto fqwoQ;
}
$KARIT = defined("FS_CHMOD_DIR") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($ySSse, $KARIT)) {
goto cI67S;
}
exit("Can't create cache directory. Please check your folder permission.");
cI67S: fqwoQ:
$wp_filesystem->put_contents($cgqWt, json_encode($WDii3, JSON_PRETTY_PRINT));
a5f_e: q_i4N:
wp_safe_redirect(admin_url("plugins.php?page=".DLPRO_PLUGIN_LICENSE_PAGE));
exit;
eRRkK: DeiAO: bwj1A:
}
}
add_action("admin_init", "dlpro_core_activate_license");
if ( ! function_exists("dlpro_core_deactivate_license")) {
function dlpro_core_deactivate_license()
{
global $wp_filesystem;
if ( ! isset($_POST["dlpro_core_license_deactivate"])) {
goto QBJd3;
}
$hD23I = ! empty($_POST["dlpro_core_license_key"]) ? sanitize_text_field(wp_unslash($_POST["dlpro_core_license_key"])) : '';
$JT8j6 = dlpro_core_get_home();
if (check_admin_referer("dlpro_core_license_nonce",
"dlpro_core_license_nonce")) {
goto gE8ya;
}
return;
gE8ya:
$kPOXF = array("key" => $hD23I);
$LH8hG = dlpro_core_remote_get("check", $kPOXF);
if (empty($LH8hG)) {
goto JKnQd;
}
$base_url = admin_url("plugins.php?page=".DLPRO_PLUGIN_LICENSE_PAGE);
$vBdpR = add_query_arg(array(
"dlpro_core_activation" => "false", "message" => rawurlencode($LH8hG)
), $base_url);
wp_safe_redirect($vBdpR);
exit;
goto JY2p7;
JKnQd:
$kPOXF = array("key" => $hD23I, "request[url]" => esc_url($JT8j6));
dlpro_core_remote_get("deactivated", $kPOXF);
$KsZiC = md5(dlpro_core_get_home());
$F17lU = dlpro_core_de_license("e", $hD23I, $KsZiC);
update_option("dlpro_core_license_key".$KsZiC, '');
update_option("dlpro_core_license_status".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["basedir"])) {
goto sQeXX;
}
if ( ! dlpro_core_connect_fs()) {
goto A7Eo0;
}
$ySSse = $dxsba["basedir"]."/".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto Fd3CB;
}
$cgqWt = $dxsba["basedir"]."/".$KsZiC."/".$F17lU.".json";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto UyXkc;
}
$wp_filesystem->delete($cgqWt, false, "f");
UyXkc: Fd3CB: A7Eo0: sQeXX:
wp_safe_redirect(admin_url("plugins.php?page=".DLPRO_PLUGIN_LICENSE_PAGE));
exit;
JY2p7: QBJd3:
}
}
add_action("admin_init", "dlpro_core_deactivate_license");
if ( ! function_exists("dlpro_core_check_license")) {
function dlpro_core_check_license()
{
if ( ! (false === get_transient("dlprocorelicense_transient"))) {
goto TIzEW;
}
global $wp_filesystem;
$KsZiC = md5(dlpro_core_get_home());
$hD23I = trim(get_option("dlpro_core_license_key".$KsZiC));
$F17lU = dlpro_core_de_license("e", $hD23I, $KsZiC);
$NCoxS = dlpro_core_de_license("d", $hD23I, $KsZiC);
$kPOXF = array("key" => $NCoxS);
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL_CHECK));
$xalMS = wp_remote_get($DzRbT, array("timeout" => 20, "sslverify" => false));
if (is_wp_error($xalMS) || 200 !== wp_remote_retrieve_response_code($xalMS)) {
goto XwRIB;
}
$kcW41 = json_decode(wp_remote_retrieve_body($xalMS));
if (is_wp_error($kcW41)) {
goto EKQx3;
}
set_transient("dlprocorelicense_transient", "hashcache", 7 * 24 * HOUR_IN_SECONDS);
if ( ! ("ok" !== $kcW41->code)) {
goto aHMB_;
}
switch ($kcW41->code) {
case "license_empty":
update_option("dlpro_core_license_key".$KsZiC, '');
update_option("dlpro_core_license_status".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["basedir"])) {
goto Og5CA;
}
if ( ! dlpro_core_connect_fs()) {
goto NMKpb;
}
$ySSse = $dxsba["basedir"]."/".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto yEzJU;
}
$cgqWt = $dxsba["basedir"]."/".$KsZiC."/".$F17lU.".json";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto fF5oa;
}
$wp_filesystem->delete($cgqWt, false, "f");
fF5oa: yEzJU: NMKpb: Og5CA:
goto NdEG1;
case "license_not_found":
$KsZiC = md5(dlpro_core_get_home());
update_option("dlpro_core_license_key".$KsZiC, '');
update_option("dlpro_core_license_status".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["basedir"])) {
goto TLZjX;
}
if ( ! dlpro_core_connect_fs()) {
goto dRJmw;
}
$ySSse = $dxsba["basedir"]."/".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto jOwDb;
}
$cgqWt = $dxsba["basedir"]."/".$KsZiC."/".$F17lU.".json";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto pIrx8;
}
$wp_filesystem->delete($cgqWt, false, "f");
pIrx8: jOwDb: dRJmw: TLZjX:
goto NdEG1;
case "license_disabled":
$KsZiC = md5(dlpro_core_get_home());
update_option("dlpro_core_license_key".$KsZiC, '');
update_option("dlpro_core_license_status".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["basedir"])) {
goto eC9aD;
}
if ( ! dlpro_core_connect_fs()) {
goto M313h;
}
$ySSse = $dxsba["basedir"]."/".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto rfsgo;
}
$cgqWt = $dxsba["basedir"]."/".$KsZiC."/".$F17lU.".json";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto addB_;
}
$wp_filesystem->delete($cgqWt, false, "f");
addB_: rfsgo: M313h: eC9aD:
goto NdEG1;
}
MHg2N: NdEG1: aHMB_:
goto W3uns;
EKQx3:
$LH8hG = $kcW41->get_error_message();
W3uns:
goto pw4h5;
XwRIB:
if (is_wp_error($xalMS)) {
goto W4ZTZ;
}
$LH8hG = __("An error occurred, please try again.",
"dlpro-core");
goto Bthsh;
W4ZTZ:
$LH8hG = $xalMS->get_error_message();
Bthsh: pw4h5: TIzEW:
}
}
if ( ! function_exists("dlpro_core_admin_notices")) {
function dlpro_core_admin_notices()
{
if ( ! (isset($_GET["dlpro_core_activation"]) && ! empty($_GET["message"]))) {
goto X6J3g;
}
switch ($_GET["dlpro_core_activation"]) {
case "false":
$LH8hG = rawurldecode(sanitize_text_field(wp_unslash($_GET["message"])));
echo "\x9\x9\x9\x9 <div class="error">\xa \x9\x9 <p>";
echo esc_html($LH8hG);
echo "</p>\xa\x9\x9\x9 </div>\xa \x9\x9\x9";
goto PVtJS;
case "true":
default:
echo "\x9 \x9 <div class="success">\xa\x9 \x9\x9 \x9<p>";
echo esc_html_e("Success.", "dlpro-core");
echo "</p>\xa \x9 \x9</div>\xa\x9 ";
goto PVtJS;
}
udP3w: PVtJS: X6J3g:
}
}
add_action("admin_notices", "dlpro_core_admin_notices");
?>
Did this file decode correctly?
Original Code
<?php
if ( ! defined('ABSPATH')) {
exit;
}
if ( ! function_exists("\x64\154\160\162\157\137\143\157\162\x65\137\x67\x65\x74\x5f\x68\157\155\x65")) {
function dlpro_core_get_home()
{
$y8qnT = array(
"\150\x74\164\x70\72\x2f\57", "\150\x74\164\x70\x73\72\x2f\x2f", "\x68\x74\164\x70\72\x2f\x2f\167\x77\x77\56", "\x68\164\164\x70\163\x3a\57\x2f\x77\x77\x77\x2e", "\167\167\x77\x2e"
);
return str_replace($y8qnT, '', home_url());
}
}
if ( ! function_exists("\x64\154\x70\x72\x6f\x5f\143\157\x72\x65\x5f\x6c\x69\x63\145\156\x73\x65\x5f\x6d\145\156\x75")) {
function dlpro_core_license_menu()
{
add_plugins_page(__("\104\154\x70\x72\x6f\40\x4c\151\x63\x65\x6e\x73\x65", "\x64\x6c\160\x72\x6f\x2d\143\157\x72\x65"),
__("\104\154\160\162\157\40\114\x69\x63\145\x6e\x73\x65", "\x64\x6c\x70\x72\157\55\x63\157\x72\x65"), "\155\141\156\141\147\x65\x5f\157\160\x74\x69\x6f\x6e\x73", DLPRO_PLUGIN_LICENSE_PAGE,
"\x64\154\x70\162\157\137\x63\157\x72\x65\x5f\154\151\143\x65\x6e\163\x65\x5f\x70\x61\x67\x65");
}
}
add_action("\x61\x64\155\x69\156\x5f\x6d\x65\156\x75", "\144\154\x70\x72\157\x5f\x63\x6f\162\145\x5f\x6c\151\143\145\156\163\145\x5f\x6d\145\156\x75");
if ( ! function_exists("\x64\x6c\x70\x72\157\x5f\x63\x6f\x72\145\137\154\151\x63\145\x6e\163\145\x5f\160\x61\x67\x65")) {
function dlpro_core_license_page()
{
$KsZiC = md5(dlpro_core_get_home());
$v7Ob1 = trim(get_option("\144\x6c\x70\162\157\x5f\x63\x6f\x72\145\x5f\x6c\x69\x63\145\156\163\x65\137\163\x74\141\164\x75\163".$KsZiC));
echo "\x9\x9\x3c\144\151\166\x20\x63\154\x61\163\163\75\x22\167\162\x61\160\x22\x3e\xa\11\11\11\74\150\x32\76";
esc_attr_e("\x44\x6c\x70\x72\157\x20\114\151\x63\145\x6e\163\145\40\117\160\164\151\157\156\x73", "\x64\154\160\162\x6f\55\x63\x6f\x72\x65");
echo "\x3c\57\x68\62\x3e\xa\11\x9\x9\x3c\x66\x6f\x72\155\x20\x6d\145\164\x68\x6f\x64\75\42\x70\157\x73\164\42\40\x61\143\x74\151\x6f\x6e\x3d\x22\x6f\x70\x74\151\157\x6e\x73\56\x70\150\160\x22\76\xa\x9\x9\11\x9";
settings_fields("\144\154\160\162\157\x5f\143\x6f\x72\145\x5f\x6c\x69\143\145\x6e\163\x65");
echo "\11\x9\11\x9\x3c\x74\141\x62\x6c\x65\40\x63\154\141\x73\x73\x3d\x22\x66\x6f\x72\155\x2d\164\x61\x62\154\145\42\76\12\11\11\11\11\x9\x3c\x74\142\157\x64\171\76\12\11\11\x9\11\x9\x9\x3c\164\x72\40\x76\141\x6c\151\x67\x6e\75\x22\164\x6f\x70\x22\x3e\xa\x9\x9\x9\x9\11\x9\11\74\164\x68\x20\163\x63\157\160\145\75\x22\x72\157\167\x22\x20\x76\x61\x6c\x69\147\156\75\42\164\x6f\x70\x22\76\xa\11\11\11\x9\11\11\x9\x9";
esc_attr_e("\114\x69\143\x65\156\x73\145\40\x4b\145\x79", "\x64\154\160\162\157\x2d\143\x6f\x72\145");
echo "\x9\11\x9\11\x9\11\11\x3c\57\x74\x68\x3e\12\x9\x9\x9\11\11\x9\x9\x3c\164\144\x3e\12\x9\x9\11\11\x9\11\x9\11\x3c\x69\x6e\160\x75\164\40\x69\x64\75\42\x64\x6c\x70\x72\157\137\x63\x6f\162\145\x5f\x6c\151\143\145\156\x73\x65\x5f\153\145\x79\42\40\x6e\x61\x6d\145\x3d\x22\x64\154\160\x72\157\137\143\157\162\x65\137\x6c\x69\143\145\x6e\x73\x65\137\x6b\x65\x79\x22\x20\164\171\160\x65\x3d\42\164\x65\x78\164\42\x20\x70\x6c\x61\143\x65\x68\x6f\x6c\x64\145\x72\75\42\x58\x58\x58\x58\x58\137\170\170\170\170\170\x78\170\170\x78\x78\170\x78\170\x78\170\x22\40\143\154\x61\x73\x73\x3d\42\x72\x65\x67\x75\x6c\141\162\55\164\x65\170\x74\42\x20\x2f\x3e\74\x62\x72\40\x2f\x3e\xa\11\x9\11\x9\11\11\x9\x9\74\154\141\142\x65\154\40\143\x6c\141\x73\x73\x3d\x22\x64\x65\x73\x63\x72\x69\x70\164\x69\157\x6e\42\40\x66\x6f\x72\x3d\42\144\x6c\160\x72\x6f\x5f\143\157\x72\145\x5f\154\151\x63\x65\x6e\x73\145\137\153\x65\171\42\x3e";
esc_attr_e("\x45\x6e\164\145\x72\40\x79\x6f\165\x72\40\154\151\x63\x65\156\163\x65\40\153\x65\171\40\150\x65\162\x65", "\144\154\160\162\157\x2d\143\x6f\x72\x65");
echo "\74\57\154\141\x62\145\154\x3e\xa\x9\x9\11\11\x9\x9\11\74\x2f\x74\x64\x3e\xa\11\x9\11\11\x9\11\74\x2f\164\x72\76\12\xa\x9\x9\x9\11\11\x9\x3c\164\162\40\166\141\x6c\x69\147\x6e\75\x22\x74\157\160\x22\x3e\12\11\x9\11\11\x9\x9\11\74\164\150\40\163\143\157\160\145\x3d\x22\162\157\167\x22\x20\166\141\154\x69\147\156\x3d\42\164\x6f\160\42\x3e\xa\11\x9\x9\x9\x9\11\11\x9";
esc_attr_e("\x41\x63\164\151\x76\x61\164\x65\x20\x4c\151\x63\145\x6e\163\145", "\144\x6c\160\162\157\x2d\x63\x6f\162\145");
echo "\x9\x9\x9\11\x9\11\x9\74\57\x74\x68\76\12\12\x9\11\11\x9\11\x9\x9\x3c\164\144\x3e\12\x9\x9\11\x9\11\11\11\x9";
if ( ! empty($v7Ob1) && "\x6f\x6b" === $v7Ob1) {
goto aNT4B;
}
wp_nonce_field("\144\x6c\160\x72\x6f\x5f\x63\x6f\x72\145\137\x6c\151\143\x65\x6e\163\145\x5f\x6e\x6f\x6e\x63\145",
"\144\154\x70\162\x6f\x5f\143\157\x72\145\x5f\154\x69\143\145\156\163\145\x5f\156\x6f\156\x63\145");
echo "\x9\x9\11\x9\11\x9\11\11\x9\74\x69\x6e\160\165\164\40\164\171\160\145\x3d\x22\x73\165\x62\155\x69\x74\42\40\x63\154\x61\163\x73\x3d\x22\142\165\x74\x74\157\156\x2d\x73\145\x63\x6f\156\x64\x61\x72\171\x22\x20\x6e\141\x6d\x65\x3d\42\x64\154\160\x72\x6f\x5f\x63\x6f\162\x65\137\154\x69\x63\145\156\x73\x65\137\x61\x63\x74\x69\x76\x61\x74\145\42\40\166\x61\x6c\165\x65\75\x22";
esc_attr_e("\101\x63\164\x69\166\x61\164\145\40\x4c\x69\x63\x65\156\163\x65", "\x64\x6c\x70\x72\x6f\55\x63\x6f\162\145");
echo "\x22\57\76\xa\11\x9\11\x9\11\x9\11\11";
goto ZdCy4;
aNT4B:
echo "\11\11\x9\x9\x9\11\11\x9\11\x3c\x69\x6e\x70\165\x74\x20\x74\171\x70\x65\75\x22\x73\x75\142\x6d\151\x74\x22\40\x73\164\171\x6c\145\75\42\142\x61\x63\x6b\147\x72\157\x75\156\144\72\40\x23\x64\x66\x66\x30\x64\x38\x20\41\151\155\160\157\162\x74\141\156\164\x3b\143\x6f\154\157\x72\x3a\40\43\63\x63\67\x36\x33\144\x20\x21\x69\x6d\160\x6f\162\164\141\x6e\x74\73\x74\145\x78\164\55\163\150\141\144\x6f\x77\72\x20\x6e\157\156\x65\x20\41\x69\x6d\x70\x6f\x72\x74\x61\x6e\164\73\42\x20\143\x6c\141\163\163\x3d\x22\142\x75\164\x74\157\x6e\55\163\x65\x63\157\x6e\x64\x61\162\x79\x22\x20\156\x61\x6d\145\x3d\x22\x22\x20\x64\x69\x73\x61\142\x6c\145\144\40\x76\x61\154\x75\x65\x3d\42";
esc_attr_e("\114\x69\143\145\x6e\x73\x65\40\x41\x63\x74\x69\166\x65", "\144\x6c\x70\x72\157\x2d\143\x6f\x72\x65");
echo "\x22\57\x3e\xa\11\11\11\11\11\11\11\11\x9";
wp_nonce_field("\144\154\x70\x72\157\x5f\x63\x6f\x72\x65\x5f\154\x69\x63\145\x6e\163\145\x5f\156\x6f\156\143\145",
"\144\154\x70\x72\157\137\143\157\x72\145\x5f\x6c\151\x63\145\156\163\x65\x5f\x6e\157\x6e\143\x65");
echo "\x9\x9\x9\x9\x9\11\x9\11\x9\74\x69\x6e\160\165\164\x20\x74\171\160\145\75\x22\163\165\x62\155\x69\164\x22\x20\x63\154\141\163\163\x3d\x22\142\165\164\x74\157\156\55\x73\x65\143\x6f\x6e\144\141\162\x79\42\x20\156\141\x6d\x65\x3d\42\x64\154\160\x72\157\x5f\143\157\x72\x65\137\x6c\151\x63\x65\x6e\163\145\137\144\145\x61\143\164\151\166\x61\164\x65\x22\40\166\x61\154\165\x65\x3d\42";
esc_attr_e("\x44\x65\141\x63\x74\x69\x76\141\x74\145\40\114\x69\143\x65\156\163\x65", "\144\x6c\x70\x72\157\55\x63\157\x72\x65");
echo "\42\x2f\x3e\12\11\x9\x9\11\x9\x9\11\11\x9\x3c\154\141\142\145\x6c\40\x63\x6c\x61\x73\163\x3d\42\x64\x65\x73\143\x72\151\x70\164\x69\157\156\42\40\146\x6f\x72\75\x22\x64\x6c\160\162\157\x5f\143\x6f\162\145\137\154\151\x63\145\156\163\145\137\153\x65\x79\42\x3e\x3c\142\162\40\57\76\xa\11\11\x9\11\11\x9\11\11\11\11";
esc_html_e("\103\x6f\156\147\x72\x61\x74\165\x6c\x61\164\151\x6f\x6e\163\54\40\171\157\165\x72\40\154\x69\143\145\156\x73\x65\x20\x69\163\x20\x61\143\x74\x69\x76\145\56",
"\x64\x6c\160\162\x6f\x2d\143\157\x72\145");
echo "\74\142\x72\40\57\x3e\12\x9\x9\x9\x9\11\11\11\x9\11\x9";
esc_html_e("\131\x6f\165\40\x63\x61\156\40\x64\x69\x73\141\142\x6c\x65\x20\x6c\151\143\145\156\163\145\40\x66\157\162\x20\164\x68\151\x73\40\x64\x6f\x6d\141\x69\x6e\40\x62\171\40\145\156\x74\145\x72\151\x6e\x67\40\164\150\x65\x20\x6c\x69\x63\145\x6e\163\x65\x20\x6b\x65\x79\40\x74\157\40\x74\x68\145\40\146\157\162\x6d\40\x61\x6e\x64\x20\143\x6c\x69\143\153\151\156\x67\40\104\145\x61\x63\x74\x69\166\x61\164\145\x20\114\x69\x63\x65\156\163\x65",
"\144\154\x70\x72\x6f\55\x63\x6f\162\145");
echo "\74\x2f\154\x61\142\x65\x6c\x3e\12\x9\11\x9\11\x9\11\11\x9\x9\x9";
dlpro_core_check_license();
echo "\x9\x9\x9\11\11\x9\11\11\x9";
ZdCy4:
echo "\11\x9\x9\x9\x9\11\11\74\57\164\144\76\12\11\x9\11\x9\11\11\74\x2f\x74\x72\76\12\11\x9\11\x9\x9\x3c\57\x74\142\157\x64\x79\76\xa\x9\11\11\x9\x3c\x2f\164\141\x62\154\145\76\12\x9\x9\11\x3c\57\x66\x6f\162\155\x3e\xa\x9\x9\x3c\57\x64\x69\166\x3e\xa\11\11";
}
}
if ( ! function_exists("\144\154\x70\162\x6f\137\x63\x6f\x72\x65\137\x72\x65\x67\x69\163\x74\x65\x72\137\157\x70\x74\151\x6f\x6e")) {
function dlpro_core_register_option()
{
$KsZiC = md5(dlpro_core_get_home());
register_setting("\x64\154\160\x72\x6f\137\x63\157\162\x65\137\x6c\x69\143\145\x6e\163\x65", "\x64\x6c\x70\x72\157\x5f\143\x6f\162\x65\137\x6c\x69\x63\145\156\163\145\x5f\x6b\x65\171".$KsZiC,
"\x73\141\156\151\164\x69\x7a\x65\137\x74\145\x78\164\x5f\x66\151\145\x6c\x64");
register_setting("\144\154\x70\x72\x6f\x5f\x63\157\162\x65\137\x6c\x69\x63\x65\156\x73\x65",
"\x64\154\x70\x72\x6f\x5f\x63\157\x72\145\x5f\154\151\x63\145\x6e\x73\145\137\163\164\141\164\x75\x73".$KsZiC,
"\x73\141\x6e\x69\164\151\172\x65\137\164\x65\170\x74\x5f\146\151\145\x6c\144");
}
}
add_action("\141\144\155\x69\x6e\137\151\x6e\151\x74", "\144\x6c\x70\162\x6f\137\x63\157\x72\145\x5f\x72\x65\147\x69\163\x74\145\x72\x5f\x6f\160\x74\x69\x6f\x6e");
if ( ! function_exists("\x64\x6c\160\162\x6f\x5f\x63\157\x72\145\137\x63\x6f\156\x6e\145\x63\164\x5f\x66\163")) {
function dlpro_core_connect_fs()
{
global $wp_filesystem;
if ( ! (false === ($YrNA7 = request_filesystem_credentials('')))) {
goto ZmS8a;
}
return false;
ZmS8a:
if (WP_Filesystem($YrNA7)) {
goto JagWr;
}
request_filesystem_credentials('');
return false;
JagWr:
return true;
}
}
if ( ! function_exists("\144\x6c\160\162\157\x5f\143\x6f\162\x65\x5f\144\x65\137\x6c\151\x63\x65\x6e\x73\145")) {
function dlpro_core_de_license($GF3PB, $T89WZ, $Cas0j = "\152\x73\150\x4b\152\163\x6e\x6a\110\x66\142\103\x36\152\152\x6a")
{
$TtrC2 = false;
$JtFEB = "\101\105\x53\55\62\x35\66\x2d\x43\102\x43";
$R3L9f = $Cas0j;
$dNbED = "\130\x6a\163\x6b\123\x6a\110\123\x6b\x6b\x6b\112\163\164";
$RmiX6 = hash("\163\150\141\62\65\x36", $R3L9f);
$TATWv = substr(hash("\x73\150\141\x32\65\66", $dNbED), 0, 16);
if ("\145" === $GF3PB) {
goto ux6_o;
}
if ("\144" === $GF3PB) {
goto kOUcY;
}
goto YMk3J;
ux6_o:
$TtrC2 = openssl_encrypt($T89WZ, $JtFEB, $RmiX6, 0, $TATWv);
$TtrC2 = base64_encode($TtrC2);
goto YMk3J;
kOUcY:
$TtrC2 = openssl_decrypt(base64_decode($T89WZ), $JtFEB, $RmiX6, 0, $TATWv);
YMk3J:
return $TtrC2;
}
}
if ( ! function_exists("\144\x6c\160\162\x6f\x5f\143\157\162\145\137\x72\145\x6d\x6f\x74\145\137\x67\x65\164")) {
function dlpro_core_remote_get($jM3qN = "\143\150\145\x63\153", $kPOXF = '')
{
if ("\x63\150\x65\x63\153" === $jM3qN) {
goto pD_1G;
}
if ("\x61\x63\x74\151\x76\141\x74\145\x64" === $jM3qN) {
goto dEEX2;
}
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL_DEACTIVATED));
goto s2uhg;
pD_1G:
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL_CHECK));
goto s2uhg;
dEEX2:
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL));
s2uhg:
$xalMS = wp_remote_get($DzRbT, array("\164\151\155\x65\x6f\165\164" => 20, "\x73\163\154\x76\x65\x72\x69\x66\x79" => false));
$LH8hG = '';
if (is_wp_error($xalMS) || 200 !== wp_remote_retrieve_response_code($xalMS)) {
goto mtHf6;
}
$kcW41 = json_decode(wp_remote_retrieve_body($xalMS));
if (is_wp_error($kcW41)) {
goto OM6vM;
}
if ( ! ("\x6f\x6b" !== $kcW41->code)) {
goto d0hRD;
}
switch ($kcW41->code) {
case "\x6c\151\x63\x65\x6e\x73\x65\x5f\x65\155\x70\164\171":
$LH8hG = __("\105\155\x70\164\x79\40\157\162\x20\x69\156\166\141\154\x69\x64\x20\154\151\143\145\156\x73\145\x20\153\x65\x79\x20\163\165\142\x6d\x69\x74\164\x65\x64\x2e",
"\x64\x6c\160\162\157\x2d\x63\x6f\x72\x65");
goto MY6hX;
case "\154\x69\x63\x65\x6e\x73\145\137\156\x6f\164\137\x66\x6f\x75\x6e\x64":
$LH8hG = __("\114\x69\x63\x65\156\x73\x65\x20\x6b\x65\x79\x20\x6e\x6f\164\40\x66\157\165\x6e\x64\x20\157\156\x20\157\x75\x72\40\163\145\162\166\145\162\56",
"\144\x6c\160\162\157\55\x63\x6f\x72\x65");
goto MY6hX;
case "\x6c\x69\x63\145\156\163\x65\x5f\x64\x69\x73\x61\x62\154\x65\144":
$LH8hG = __("\114\x69\x63\145\x6e\x73\145\x20\153\145\x79\40\x68\x61\163\x20\142\145\x65\x6e\x20\144\151\x73\x61\x62\154\145\x64\x2e", "\x64\154\160\162\x6f\x2d\143\x6f\x72\145");
goto MY6hX;
case "\x6c\x69\x63\x65\x6e\163\145\x5f\x65\170\x70\151\162\145\x64":
$LH8hG = __("\x59\x6f\x75\162\x20\154\151\143\x65\x6e\x73\145\40\x6b\145\x79\x20\x65\170\160\151\162\x65\144\x20\x6f\156",
"\x64\x6c\x70\x72\157\x2d\143\x6f\x72\x65")."\40".date_i18n(get_option("\x64\141\164\145\137\146\x6f\162\x6d\x61\x74"),
strtotime($kcW41->expires, current_time("\164\151\x6d\145\163\x74\141\x6d\x70")));
goto MY6hX;
case "\x61\143\x74\151\x76\x61\164\x69\157\x6e\137\x73\145\162\166\x65\x72\x5f\145\162\x72\157\x72":
$LH8hG = __("\101\x63\164\151\166\x61\164\x69\157\x6e\x20\163\145\x72\166\x65\x72\x20\x65\x72\162\x6f\x72\x2e", "\144\x6c\160\162\x6f\55\143\x6f\x72\x65");
goto MY6hX;
case "\x69\x6e\166\141\x6c\x69\x64\137\x69\156\160\x75\x74":
$LH8hG = __("\x41\143\164\151\166\141\x74\x69\157\156\x20\146\x61\x69\x6c\145\144\72\x20\x69\156\x76\141\x6c\x69\x64\40\151\x6e\x70\165\164\56",
"\x64\154\160\x72\x6f\x2d\143\157\162\x65");
goto MY6hX;
case "\x6e\157\x5f\163\160\x61\162\x65\137\141\143\164\151\x76\x61\164\x69\157\156\x73":
$LH8hG = __("\x4e\157\x20\155\x6f\x72\x65\x20\x61\143\164\151\166\x61\x74\151\157\x6e\163\40\141\x6c\x6c\157\167\x65\144\x2e\x20\x59\157\x75\40\155\165\163\x74\x20\142\165\x79\40\156\145\167\40\154\151\143\145\156\163\145\x20\x6b\145\171\56",
"\x64\x6c\160\162\157\x2d\143\157\x72\145");
goto MY6hX;
case "\156\157\137\x61\143\164\151\x76\x61\164\x69\157\x6e\x5f\146\157\x75\156\144":
$LH8hG = __("\x4e\x6f\40\141\x63\164\x69\166\141\164\151\x6f\156\x20\146\157\x75\156\144\40\x66\157\x72\40\x74\150\151\163\40\x69\156\x73\x74\141\x6c\154\x61\x74\151\157\156\56",
"\144\x6c\x70\162\x6f\55\143\157\x72\x65");
goto MY6hX;
case "\x6e\x6f\137\162\145\141\143\164\151\166\x61\164\151\x6f\156\x5f\141\154\154\x6f\x77\145\144":
$LH8hG = __("\x52\145\x2d\141\143\164\x69\166\141\x74\151\157\x6e\x20\x69\x73\x20\x6e\157\x74\x20\x61\154\x6c\x6f\x77\145\144\56", "\x64\154\x70\162\157\x2d\x63\x6f\162\145");
goto MY6hX;
case "\x6f\164\150\x65\x72\137\145\162\162\157\x72":
$LH8hG = __("\105\x72\x72\157\162\x20\x72\x65\164\165\162\156\x65\144\x20\146\162\x6f\x6d\x20\141\143\164\x69\x76\x61\164\x69\157\x6e\x20\x73\145\x72\166\x65\x72\x2e",
"\x64\154\160\x72\157\55\x63\157\162\145");
goto MY6hX;
default:
$LH8hG = __("\x4f\164\150\145\x72\40\105\x72\x72\x6f\x72\x2e", "\x64\x6c\160\x72\157\x2d\x63\157\162\145");
goto MY6hX;
}
vYJPb: MY6hX: d0hRD:
if ( ! ("\x6f\x6b" === $kcW41->code)) {
goto Kp_M2;
}
if ( ! ("\x31\60" !== $kcW41->scheme_id && "\61\x31" !== $kcW41->scheme_id && "\61\62" !== $kcW41->scheme_id)) {
goto UU3Kp;
}
$LH8hG = __("\x54\150\x69\x73\40\x6c\x69\x63\x65\x6e\163\145\x20\156\157\164\40\x66\157\x72\40\x74\x68\151\x73\40\x70\162\157\x64\165\143\x74\56", "\144\x6c\160\x72\157\x2d\143\157\162\145");
UU3Kp: Kp_M2:
goto zvSXM;
OM6vM:
$LH8hG = $kcW41->get_error_message();
zvSXM:
goto yuLsY;
mtHf6:
if (is_wp_error($xalMS)) {
goto nQmS_;
}
$LH8hG = __("\x41\156\40\x65\x72\162\x6f\162\40\157\143\x63\165\x72\x72\x65\x64\54\40\160\x6c\145\x61\x73\x65\x20\164\162\x79\x20\141\x67\141\151\156\x2e",
"\144\x6c\160\x72\157\x2d\143\157\162\145");
goto cdUAR;
nQmS_:
$LH8hG = $xalMS->get_error_message();
cdUAR: yuLsY:
return $LH8hG;
}
}
if ( ! function_exists("\144\x6c\160\162\x6f\137\143\157\x72\x65\x5f\141\x63\x74\151\x76\x61\x74\x65\137\154\151\143\x65\156\163\x65")) {
function dlpro_core_activate_license()
{
global $wp_filesystem;
if ( ! isset($_POST["\144\154\160\162\x6f\137\x63\157\162\145\x5f\x6c\151\x63\x65\156\x73\145\x5f\141\x63\x74\151\x76\x61\164\x65"])) {
goto bwj1A;
}
$hD23I = ! empty($_POST["\x64\154\x70\162\x6f\137\x63\x6f\162\x65\x5f\x6c\151\143\145\x6e\163\x65\x5f\153\145\x79"]) ? sanitize_text_field(wp_unslash($_POST["\x64\154\160\162\157\137\x63\157\162\145\137\x6c\x69\143\145\x6e\x73\x65\137\x6b\x65\x79"])) : '';
$JT8j6 = dlpro_core_get_home();
if (check_admin_referer("\x64\x6c\160\162\157\x5f\x63\x6f\x72\145\137\154\x69\143\x65\156\x73\145\x5f\156\157\156\x63\x65",
"\x64\154\160\162\x6f\137\143\x6f\162\145\x5f\154\x69\x63\x65\x6e\x73\145\137\x6e\x6f\x6e\x63\145")) {
goto L79tb;
}
return;
L79tb:
$kPOXF = array("\153\145\171" => $hD23I);
$LH8hG = dlpro_core_remote_get("\x63\x68\x65\x63\x6b", $kPOXF);
if (empty($LH8hG)) {
goto bUAz1;
}
$base_url = admin_url("\x70\154\x75\147\151\156\x73\56\x70\x68\x70\x3f\x70\141\147\145\x3d".DLPRO_PLUGIN_LICENSE_PAGE);
$vBdpR = add_query_arg(array(
"\144\154\160\x72\157\x5f\x63\x6f\x72\x65\x5f\141\x63\164\x69\166\x61\x74\151\157\156" => "\146\141\154\x73\x65", "\155\x65\163\163\141\x67\x65" => rawurlencode($LH8hG)
), $base_url);
wp_safe_redirect($vBdpR);
exit;
goto DeiAO;
bUAz1:
$kPOXF = array("\153\x65\x79" => $hD23I, "\x72\145\x71\165\x65\163\164\x5b\x75\x72\x6c\x5d" => esc_url($JT8j6));
$LH8hG = dlpro_core_remote_get("\141\143\164\151\166\141\164\x65\x64", $kPOXF);
if (empty($LH8hG)) {
goto SgZqE;
}
$base_url = admin_url("\x70\x6c\x75\147\x69\x6e\x73\56\x70\150\160\77\160\141\x67\145\75".DLPRO_PLUGIN_LICENSE_PAGE);
$vBdpR = add_query_arg(array(
"\144\x6c\x70\x72\157\x5f\143\x6f\162\145\x5f\x61\x63\164\151\x76\141\164\x69\x6f\156" => "\146\141\x6c\163\x65", "\155\x65\163\163\x61\x67\145" => rawurlencode($LH8hG)
), $base_url);
wp_safe_redirect($vBdpR);
exit;
goto eRRkK;
SgZqE:
$KsZiC = md5(dlpro_core_get_home());
$F17lU = dlpro_core_de_license("\x65", $hD23I, $KsZiC);
update_option("\x64\x6c\x70\x72\157\x5f\x63\x6f\x72\x65\x5f\154\151\143\145\x6e\x73\x65\137\153\145\x79".$KsZiC, $F17lU);
update_option("\144\154\160\162\x6f\x5f\143\x6f\x72\145\x5f\154\151\x63\x65\x6e\x73\x65\137\163\x74\x61\164\165\x73".$KsZiC, "\157\153");
$WDii3 = [];
$AYQNA["\163\x74\x73"] = "\157\153";
$WDii3[] = $AYQNA;
$dxsba = wp_upload_dir();
if (empty($dxsba["\x62\x61\163\145\144\151\x72"])) {
goto q_i4N;
}
if ( ! dlpro_core_connect_fs()) {
goto a5f_e;
}
$ySSse = $dxsba["\x62\x61\x73\145\144\151\162"]."\x2f".$KsZiC;
$cgqWt = $dxsba["\x62\x61\x73\145\x64\x69\162"]."\57".$KsZiC."\x2f".$F17lU."\x2e\x6a\x73\157\x6e";
if ($wp_filesystem->is_dir($ySSse)) {
goto fqwoQ;
}
$KARIT = defined("\x46\123\137\103\110\x4d\x4f\x44\x5f\104\x49\x52") ? FS_CHMOD_DIR : fileperms(WP_CONTENT_DIR) & 0777 | 0755;
if ($wp_filesystem->mkdir($ySSse, $KARIT)) {
goto cI67S;
}
exit("\x43\141\x6e\47\164\40\x63\162\x65\141\164\x65\40\x63\141\143\x68\x65\40\144\x69\x72\x65\x63\164\x6f\162\171\x2e\40\120\x6c\145\x61\163\x65\x20\x63\x68\x65\143\153\x20\x79\157\165\162\40\146\157\154\144\145\x72\x20\x70\x65\x72\x6d\151\163\163\151\x6f\156\x2e");
cI67S: fqwoQ:
$wp_filesystem->put_contents($cgqWt, json_encode($WDii3, JSON_PRETTY_PRINT));
a5f_e: q_i4N:
wp_safe_redirect(admin_url("\160\154\165\x67\151\156\163\56\160\150\x70\77\x70\141\x67\145\75".DLPRO_PLUGIN_LICENSE_PAGE));
exit;
eRRkK: DeiAO: bwj1A:
}
}
add_action("\x61\x64\155\x69\156\x5f\151\x6e\151\x74", "\144\154\x70\x72\x6f\137\x63\157\x72\145\x5f\x61\x63\x74\151\x76\141\164\x65\x5f\x6c\151\x63\x65\156\x73\145");
if ( ! function_exists("\144\154\160\x72\x6f\x5f\x63\157\x72\x65\x5f\144\145\x61\143\x74\x69\166\141\164\145\137\154\x69\x63\x65\156\163\145")) {
function dlpro_core_deactivate_license()
{
global $wp_filesystem;
if ( ! isset($_POST["\144\x6c\x70\x72\157\137\x63\157\x72\x65\137\154\151\x63\x65\156\163\x65\x5f\x64\x65\x61\x63\x74\x69\166\141\x74\x65"])) {
goto QBJd3;
}
$hD23I = ! empty($_POST["\x64\x6c\x70\162\x6f\x5f\x63\157\162\145\137\x6c\x69\x63\145\156\x73\145\x5f\153\145\x79"]) ? sanitize_text_field(wp_unslash($_POST["\x64\x6c\x70\162\x6f\x5f\143\x6f\162\x65\x5f\x6c\151\143\145\156\163\145\x5f\x6b\145\171"])) : '';
$JT8j6 = dlpro_core_get_home();
if (check_admin_referer("\x64\154\160\x72\157\137\143\157\x72\145\137\154\x69\143\145\x6e\x73\145\x5f\156\x6f\x6e\x63\x65",
"\144\154\160\162\157\137\x63\157\162\145\x5f\x6c\151\143\145\x6e\x73\145\137\156\157\156\x63\x65")) {
goto gE8ya;
}
return;
gE8ya:
$kPOXF = array("\153\x65\x79" => $hD23I);
$LH8hG = dlpro_core_remote_get("\143\150\x65\143\153", $kPOXF);
if (empty($LH8hG)) {
goto JKnQd;
}
$base_url = admin_url("\160\x6c\x75\x67\151\156\x73\56\160\x68\x70\x3f\160\141\147\x65\75".DLPRO_PLUGIN_LICENSE_PAGE);
$vBdpR = add_query_arg(array(
"\144\x6c\160\162\157\137\x63\157\x72\x65\137\141\143\x74\x69\x76\141\x74\151\157\156" => "\146\x61\154\163\145", "\155\145\x73\x73\x61\x67\x65" => rawurlencode($LH8hG)
), $base_url);
wp_safe_redirect($vBdpR);
exit;
goto JY2p7;
JKnQd:
$kPOXF = array("\x6b\145\x79" => $hD23I, "\162\x65\x71\x75\x65\x73\164\x5b\165\x72\154\x5d" => esc_url($JT8j6));
dlpro_core_remote_get("\144\x65\141\143\164\x69\166\141\x74\145\x64", $kPOXF);
$KsZiC = md5(dlpro_core_get_home());
$F17lU = dlpro_core_de_license("\x65", $hD23I, $KsZiC);
update_option("\x64\x6c\160\162\x6f\x5f\x63\157\162\x65\x5f\x6c\x69\143\145\x6e\x73\x65\x5f\x6b\x65\x79".$KsZiC, '');
update_option("\144\x6c\160\162\157\x5f\143\x6f\x72\145\137\154\151\x63\145\156\x73\x65\137\163\164\141\x74\x75\x73".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["\x62\x61\x73\x65\x64\x69\x72"])) {
goto sQeXX;
}
if ( ! dlpro_core_connect_fs()) {
goto A7Eo0;
}
$ySSse = $dxsba["\x62\141\163\145\144\151\162"]."\x2f".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto Fd3CB;
}
$cgqWt = $dxsba["\x62\x61\x73\145\144\151\162"]."\57".$KsZiC."\57".$F17lU."\56\152\x73\157\x6e";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto UyXkc;
}
$wp_filesystem->delete($cgqWt, false, "\x66");
UyXkc: Fd3CB: A7Eo0: sQeXX:
wp_safe_redirect(admin_url("\x70\154\165\x67\151\x6e\163\x2e\x70\x68\x70\x3f\160\x61\147\145\x3d".DLPRO_PLUGIN_LICENSE_PAGE));
exit;
JY2p7: QBJd3:
}
}
add_action("\141\144\x6d\x69\156\x5f\x69\156\x69\164", "\144\x6c\160\x72\157\137\x63\x6f\x72\x65\x5f\x64\x65\141\143\164\x69\166\x61\164\145\137\154\151\143\x65\156\163\145");
if ( ! function_exists("\144\x6c\160\162\x6f\137\143\157\x72\145\x5f\x63\150\x65\x63\153\137\154\x69\x63\x65\x6e\163\x65")) {
function dlpro_core_check_license()
{
if ( ! (false === get_transient("\x64\154\x70\x72\x6f\x63\x6f\x72\x65\x6c\x69\x63\x65\x6e\163\145\137\x74\x72\x61\x6e\x73\x69\145\156\164"))) {
goto TIzEW;
}
global $wp_filesystem;
$KsZiC = md5(dlpro_core_get_home());
$hD23I = trim(get_option("\144\x6c\x70\162\x6f\137\143\157\162\145\137\154\151\x63\x65\x6e\163\145\x5f\153\x65\x79".$KsZiC));
$F17lU = dlpro_core_de_license("\145", $hD23I, $KsZiC);
$NCoxS = dlpro_core_de_license("\144", $hD23I, $KsZiC);
$kPOXF = array("\x6b\145\171" => $NCoxS);
$DzRbT = esc_url_raw(add_query_arg($kPOXF, DLPRO_API_URL_CHECK));
$xalMS = wp_remote_get($DzRbT, array("\x74\151\x6d\x65\x6f\x75\164" => 20, "\163\163\154\166\x65\x72\151\146\171" => false));
if (is_wp_error($xalMS) || 200 !== wp_remote_retrieve_response_code($xalMS)) {
goto XwRIB;
}
$kcW41 = json_decode(wp_remote_retrieve_body($xalMS));
if (is_wp_error($kcW41)) {
goto EKQx3;
}
set_transient("\x64\x6c\160\x72\x6f\143\157\x72\145\x6c\x69\143\x65\x6e\163\x65\137\x74\162\141\156\x73\151\145\156\164", "\x68\141\x73\150\143\141\143\x68\145", 7 * 24 * HOUR_IN_SECONDS);
if ( ! ("\157\x6b" !== $kcW41->code)) {
goto aHMB_;
}
switch ($kcW41->code) {
case "\154\x69\143\x65\156\163\145\137\145\155\160\164\171":
update_option("\x64\x6c\x70\x72\x6f\137\143\x6f\162\x65\137\154\151\x63\x65\156\x73\x65\x5f\153\145\171".$KsZiC, '');
update_option("\144\x6c\x70\162\157\x5f\x63\157\x72\145\137\154\151\x63\145\x6e\163\x65\137\163\164\x61\164\165\x73".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["\142\x61\163\145\x64\x69\162"])) {
goto Og5CA;
}
if ( ! dlpro_core_connect_fs()) {
goto NMKpb;
}
$ySSse = $dxsba["\142\x61\163\x65\x64\151\162"]."\x2f".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto yEzJU;
}
$cgqWt = $dxsba["\142\141\163\x65\x64\151\x72"]."\x2f".$KsZiC."\57".$F17lU."\56\x6a\x73\x6f\x6e";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto fF5oa;
}
$wp_filesystem->delete($cgqWt, false, "\x66");
fF5oa: yEzJU: NMKpb: Og5CA:
goto NdEG1;
case "\154\x69\x63\x65\156\163\145\x5f\156\x6f\164\137\x66\157\x75\x6e\x64":
$KsZiC = md5(dlpro_core_get_home());
update_option("\x64\x6c\x70\162\157\x5f\x63\x6f\x72\145\137\154\x69\x63\145\x6e\x73\x65\137\153\145\x79".$KsZiC, '');
update_option("\144\154\x70\x72\x6f\137\x63\x6f\162\x65\x5f\x6c\151\143\145\x6e\x73\x65\137\163\164\141\x74\x75\163".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["\x62\x61\x73\145\144\x69\162"])) {
goto TLZjX;
}
if ( ! dlpro_core_connect_fs()) {
goto dRJmw;
}
$ySSse = $dxsba["\x62\141\x73\145\144\x69\162"]."\57".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto jOwDb;
}
$cgqWt = $dxsba["\142\141\163\145\x64\x69\x72"]."\57".$KsZiC."\57".$F17lU."\x2e\x6a\x73\157\x6e";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto pIrx8;
}
$wp_filesystem->delete($cgqWt, false, "\146");
pIrx8: jOwDb: dRJmw: TLZjX:
goto NdEG1;
case "\x6c\x69\143\x65\x6e\163\145\137\x64\151\163\141\x62\154\x65\144":
$KsZiC = md5(dlpro_core_get_home());
update_option("\x64\x6c\x70\162\157\x5f\143\x6f\162\x65\137\x6c\x69\x63\x65\x6e\163\145\x5f\x6b\145\171".$KsZiC, '');
update_option("\x64\154\x70\162\157\137\x63\x6f\162\x65\x5f\x6c\151\143\x65\x6e\x73\x65\137\x73\164\x61\x74\x75\x73".$KsZiC, '');
$dxsba = wp_upload_dir();
if (empty($dxsba["\142\x61\x73\145\144\x69\162"])) {
goto eC9aD;
}
if ( ! dlpro_core_connect_fs()) {
goto M313h;
}
$ySSse = $dxsba["\142\x61\163\145\x64\151\162"]."\x2f".$KsZiC;
if ( ! $wp_filesystem->exists($ySSse)) {
goto rfsgo;
}
$cgqWt = $dxsba["\142\141\163\x65\144\151\x72"]."\x2f".$KsZiC."\57".$F17lU."\x2e\x6a\163\157\156";
if ( ! $wp_filesystem->exists($cgqWt)) {
goto addB_;
}
$wp_filesystem->delete($cgqWt, false, "\146");
addB_: rfsgo: M313h: eC9aD:
goto NdEG1;
}
MHg2N: NdEG1: aHMB_:
goto W3uns;
EKQx3:
$LH8hG = $kcW41->get_error_message();
W3uns:
goto pw4h5;
XwRIB:
if (is_wp_error($xalMS)) {
goto W4ZTZ;
}
$LH8hG = __("\101\156\40\x65\162\x72\157\x72\40\157\x63\143\x75\162\x72\x65\144\x2c\x20\160\154\145\x61\x73\145\40\x74\x72\171\40\x61\x67\141\x69\156\56",
"\144\154\x70\162\157\x2d\x63\x6f\162\145");
goto Bthsh;
W4ZTZ:
$LH8hG = $xalMS->get_error_message();
Bthsh: pw4h5: TIzEW:
}
}
if ( ! function_exists("\144\x6c\160\x72\x6f\137\x63\x6f\162\x65\137\141\x64\x6d\x69\x6e\x5f\x6e\x6f\x74\x69\x63\145\x73")) {
function dlpro_core_admin_notices()
{
if ( ! (isset($_GET["\144\154\160\x72\x6f\137\x63\157\x72\145\137\141\x63\x74\x69\166\141\x74\151\157\156"]) && ! empty($_GET["\x6d\x65\163\163\141\147\x65"]))) {
goto X6J3g;
}
switch ($_GET["\144\154\160\162\x6f\137\x63\157\x72\x65\x5f\141\x63\164\151\x76\x61\164\x69\x6f\156"]) {
case "\x66\141\154\x73\x65":
$LH8hG = rawurldecode(sanitize_text_field(wp_unslash($_GET["\155\145\x73\163\x61\x67\145"])));
echo "\x9\x9\x9\x9\11\x3c\x64\x69\166\40\143\x6c\141\163\163\75\42\145\x72\162\x6f\x72\x22\x3e\xa\11\x9\x9\11\11\11\74\x70\x3e";
echo esc_html($LH8hG);
echo "\74\57\x70\76\xa\x9\x9\x9\11\11\x3c\x2f\x64\151\x76\x3e\xa\11\11\x9\x9\x9";
goto PVtJS;
case "\164\x72\165\145":
default:
echo "\x9\11\x9\11\11\x3c\144\x69\166\40\143\154\x61\163\163\75\42\163\165\x63\143\x65\x73\x73\x22\76\xa\x9\11\x9\x9\11\x9\74\x70\76";
echo esc_html_e("\x53\165\x63\143\x65\x73\x73\56", "\x64\154\160\x72\157\55\x63\157\x72\145");
echo "\74\57\x70\x3e\xa\11\11\x9\11\x9\74\57\144\x69\x76\x3e\xa\x9\11\11\11\11";
goto PVtJS;
}
udP3w: PVtJS: X6J3g:
}
}
add_action("\141\x64\155\x69\156\x5f\x6e\x6f\x74\151\x63\145\x73", "\x64\x6c\x70\x72\157\x5f\x63\157\162\145\x5f\x61\144\x6d\151\156\137\156\x6f\x74\151\x63\x65\163");
Function Calls
None |
Stats
MD5 | 34806bfc9d0a7d0d9e8b38f2a828ea14 |
Eval Count | 0 |
Decode Time | 60 ms |