Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
if(!function_exists("\x6e\145\167\x6b\141\162\x6d\x61\x5f\x63\157\x72\x65\137\x67\145\x74\..
Decoded Output download
<? if(!function_exists("newkarma_core_get_home")){function newkarma_core_get_home(){$FW3oK=array("http://","https://","http://www.","https://www.","www.");return str_replace($FW3oK,'',home_url());}}if(!function_exists("newkarma_core_license_menu")){function newkarma_core_license_menu(){add_plugins_page(__("Newkarma License","newkarma-core"),__("Newkarma License","newkarma-core"),"manage_options",NEWKARMA_PLUGIN_LICENSE_PAGE,"newkarma_core_license_page");}}add_action("admin_menu","newkarma_core_license_menu");if(!function_exists("newkarma_core_license_page")){function newkarma_core_license_page(){$IUHtJ=md5(newkarma_core_get_home());$Y3pAq=trim(get_option("newkarma_core_license_status".$IUHtJ));echo "\x9\x9<div class="wrap">
\x9 \x9<h2>";esc_attr_e("Newkarma License Options","newkarma-core");echo "</h2>\xa \x9\x9<form method="post" action="options.php">
\x9 \x9 ";settings_fields("newkarma_core_license");echo "\x9 \x9 <table class="form-table">\xa\x9 \x9\x9 <tbody>
\x9\x9\x9\x9 <tr valign="top">
\x9\x9\x9 \x9 <th scope="row" valign="top">\xa\x9\x9 \x9 \x9 ";esc_attr_e("License Key","newkarma-core");echo "\x9 \x9\x9 \x9</th>\xa \x9 \x9 \x9 <td>\xa \x9\x9\x9 \x9\x9 <input id="newkarma_core_license_key" name="newkarma_core_license_key" type="text" placeholder="XXXXX_xxxxxxxxxxxxxxx" class="regular-text" /><br />
\x9\x9\x9\x9 \x9 <label class="description" for="newkarma_core_license_key">";esc_attr_e("Enter your license key here","newkarma-core");echo "</label>
\x9\x9 \x9 </td>\xa </tr>\xa\xa \x9 \x9\x9<tr valign="top">\xa \x9\x9\x9 \x9\x9<th scope="row" valign="top">\xa\x9 \x9\x9\x9 \x9";esc_attr_e("Activate License","newkarma-core");echo " \x9 \x9</th>
\xa \x9 \x9\x9<td>\xa \x9 \x9 ";if(!empty($Y3pAq)&&"ok"===$Y3pAq){goto TKy3Z;}wp_nonce_field("newkarma_core_license_nonce","newkarma_core_license_nonce");echo "\x9\x9 \x9\x9\x9 \x9<input type="submit" class="button-secondary" name="newkarma_core_license_activate" value="";esc_attr_e("Activate License","newkarma-core");echo ""/>\xa \x9 \x9\x9\x9\x9";goto RaHje;TKy3Z:echo " \x9\x9 \x9\x9\x9\x9<input type="submit" style="background: #dff0d8 !important;color: #3c763d !important;text-shadow: none !important;" class="button-secondary" name="" disabled value="";esc_attr_e("License Active","newkarma-core");echo ""/>
\x9\x9\x9 ";wp_nonce_field("newkarma_core_license_nonce","newkarma_core_license_nonce");echo "\x9\x9\x9\x9\x9\x9 <input type="submit" class="button-secondary" name="newkarma_core_license_deactivate" value="";esc_attr_e("Deactivate License","newkarma-core");echo ""/>\xa \x9\x9\x9 \x9\x9<label class="description" for="newkarma_core_license_key"><br />
\x9 \x9 \x9\x9\x9\x9";esc_html_e("Congratulations, your license is active.","newkarma-core");echo "<br />
\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","newkarma-core");echo "</label>\xa\x9\x9\x9\x9 \x9 ";newkarma_core_check_license();echo " \x9 \x9";RaHje:echo "\x9\x9 \x9\x9 </td>\xa\x9 \x9 </tr>\xa\x9\x9 \x9</tbody>\xa\x9\x9\x9\x9</table>\xa </form>\xa\x9\x9</div>\xa ";}}if(!function_exists("newkarma_core_register_option")){function newkarma_core_register_option(){$IUHtJ=md5(newkarma_core_get_home());register_setting("newkarma_core_license","newkarma_core_license_key".$IUHtJ,"sanitize_text_field");register_setting("newkarma_core_license","newkarma_core_license_status".$IUHtJ,"sanitize_text_field");}}add_action("admin_init","newkarma_core_register_option");if(!function_exists("newkarma_core_connect_fs")){function newkarma_core_connect_fs(){global $wp_filesystem;if(!(false===($DXFCI=request_filesystem_credentials('')))){goto Kr0NZ;}return false;Kr0NZ:if(WP_Filesystem($DXFCI)){goto qFZhn;}request_filesystem_credentials('');return false;qFZhn:return true;}}if(!function_exists("newkarma_core_de_license")){function newkarma_core_de_license($rIuuM,$ME1qR,$Tvglz="jshKjsnjHfbC6jjj"){$oU_OM=false;$QVntO="AES-256-CBC";$WqfUa=$Tvglz;$Fr27U="XjskSjHSkkkJst";$s2Kwy=hash("sha256",$WqfUa);$n8eQ2=substr(hash("sha256",$Fr27U),0,16);if("e"===$rIuuM){goto naSZr;}if("d"===$rIuuM){goto sO5oE;}goto Bl8zA;naSZr:$oU_OM=openssl_encrypt($ME1qR,$QVntO,$s2Kwy,0,$n8eQ2);$oU_OM=base64_encode($oU_OM);goto Bl8zA;sO5oE:$oU_OM=openssl_decrypt(base64_decode($ME1qR),$QVntO,$s2Kwy,0,$n8eQ2);Bl8zA:return $oU_OM;}}if(!function_exists("newkarma_core_remote_get")){function newkarma_core_remote_get($nZcRY="check",$ews7Q=''){if("check"===$nZcRY){goto OFq_U;}if("activated"===$nZcRY){goto pZ4cZ;}$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL_DEACTIVATED));goto ilMjC;OFq_U:$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL_CHECK));goto ilMjC;pZ4cZ:$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL));ilMjC:$y5Pe1=wp_remote_get($QkYNP,array("timeout"=>20,"sslverify"=>false));$VXu76='';if(is_wp_error($y5Pe1)||200!==wp_remote_retrieve_response_code($y5Pe1)){goto g9m3B;}$t85st=json_decode(wp_remote_retrieve_body($y5Pe1));if(is_wp_error($t85st)){goto CU54d;}if(!("ok"!==$t85st->code)){goto KU7sJ;}switch($t85st->code){case "license_empty":$VXu76=__("Empty or invalid license key submitted.","newkarma-core");goto w2yPW;case "license_not_found":$VXu76=__("License key not found on our server.","newkarma-core");goto w2yPW;case "license_disabled":$VXu76=__("License key has been disabled.","newkarma-core");goto w2yPW;case "license_expired":$VXu76=__("Your license key expired on","newkarma-core")." ".date_i18n(get_option("date_format"),strtotime($t85st->expires,current_time("timestamp")));goto w2yPW;case "activation_server_error":$VXu76=__("Activation server error.","newkarma-core");goto w2yPW;case "invalid_input":$VXu76=__("Activation failed: invalid input.","newkarma-core");goto w2yPW;case "no_spare_activations":$VXu76=__("No more activations allowed. You must buy new license key.","newkarma-core");goto w2yPW;case "no_activation_found":$VXu76=__("No activation found for this installation.","newkarma-core");goto w2yPW;case "no_reactivation_allowed":$VXu76=__("Re-activation is not allowed.","newkarma-core");goto w2yPW;case "other_error":$VXu76=__("Error returned from activation server.","newkarma-core");goto w2yPW;default:$VXu76=__("Other Error.","newkarma-core");goto w2yPW;}IAG1A:w2yPW:KU7sJ:if(!("ok"===$t85st->code)){goto fFjNR;}if(!("13"!==$t85st->scheme_id&&"14"!==$t85st->scheme_id&&"15"!==$t85st->scheme_id&&"16"!==$t85st->scheme_id)){goto JBkW3;}$VXu76=__("This license not for this product.","newkarma-core");JBkW3:fFjNR:goto qPK0r;CU54d:$VXu76=$t85st->get_error_message();qPK0r:goto Hhr7j;g9m3B:if(is_wp_error($y5Pe1)){goto Nf65t;}$VXu76=__("An error occurred, please try again.","newkarma-core");goto qQisB;Nf65t:$VXu76=$y5Pe1->get_error_message();qQisB:Hhr7j:return $VXu76;}}if(!function_exists("newkarma_core_activate_license")){function newkarma_core_activate_license(){global $wp_filesystem;if(!isset($_POST["newkarma_core_license_activate"])){goto ACqLw;}$YcRI8=!empty($_POST["newkarma_core_license_key"])?sanitize_text_field(wp_unslash($_POST["newkarma_core_license_key"])):'';$Wa_Mr=newkarma_core_get_home();if(check_admin_referer("newkarma_core_license_nonce","newkarma_core_license_nonce")){goto rUFYA;}return;rUFYA:$ews7Q=array("key"=>$YcRI8);$VXu76=newkarma_core_remote_get("check",$ews7Q);if(empty($VXu76)){goto Q31oW;}$base_url=admin_url("plugins.php?page=".NEWKARMA_PLUGIN_LICENSE_PAGE);$SHnrW=add_query_arg(array("newkarma_core_activation"=>"false","message"=>rawurlencode($VXu76)),$base_url);wp_safe_redirect($SHnrW);exit;goto UPQ5n;Q31oW:$ews7Q=array("key"=>$YcRI8,"request[url]"=>esc_url($Wa_Mr));$VXu76=newkarma_core_remote_get("activated",$ews7Q);if(empty($VXu76)){goto fxloP;}$base_url=admin_url("plugins.php?page=".NEWKARMA_PLUGIN_LICENSE_PAGE);$SHnrW=add_query_arg(array("newkarma_core_activation"=>"false","message"=>rawurlencode($VXu76)),$base_url);wp_safe_redirect($SHnrW);exit;goto LhEA_;fxloP:$IUHtJ=md5(newkarma_core_get_home());$dhOzX=newkarma_core_de_license("e",$YcRI8,$IUHtJ);update_option("newkarma_core_license_key".$IUHtJ,$dhOzX);update_option("newkarma_core_license_status".$IUHtJ,"ok");$WJ5dS=[];$gS8ml["sts"]="ok";$WJ5dS[]=$gS8ml;$oWwBA=wp_upload_dir();if(empty($oWwBA["basedir"])){goto ycLcG;}if(!newkarma_core_connect_fs()){goto I6D7H;}$rUd6k=$oWwBA["basedir"]."/".$IUHtJ;$H7vyc=$oWwBA["basedir"]."/".$IUHtJ."/".$dhOzX.".json";if($wp_filesystem->is_dir($rUd6k)){goto EsnG3;}$paTEu=defined("FS_CHMOD_DIR")?FS_CHMOD_DIR:fileperms(WP_CONTENT_DIR)&0777|0755;if($wp_filesystem->mkdir($rUd6k,$paTEu)){goto tRbMf;}exit("Can't create cache directory. Please check your folder permission.");tRbMf:EsnG3:$wp_filesystem->put_contents($H7vyc,json_encode($WJ5dS,JSON_PRETTY_PRINT));I6D7H:ycLcG:wp_safe_redirect(admin_url("plugins.php?page=".NEWKARMA_PLUGIN_LICENSE_PAGE));exit;LhEA_:UPQ5n:ACqLw:}}add_action("admin_init","newkarma_core_activate_license");if(!function_exists("newkarma_core_deactivate_license")){function newkarma_core_deactivate_license(){global $wp_filesystem;if(!isset($_POST["newkarma_core_license_deactivate"])){goto BzALd;}$YcRI8=!empty($_POST["newkarma_core_license_key"])?sanitize_text_field(wp_unslash($_POST["newkarma_core_license_key"])):'';$Wa_Mr=newkarma_core_get_home();if(check_admin_referer("newkarma_core_license_nonce","newkarma_core_license_nonce")){goto CV3WC;}return;CV3WC:$ews7Q=array("key"=>$YcRI8);$VXu76=newkarma_core_remote_get("check",$ews7Q);if(empty($VXu76)){goto YsqWv;}$base_url=admin_url("plugins.php?page=".NEWKARMA_PLUGIN_LICENSE_PAGE);$SHnrW=add_query_arg(array("newkarma_core_activation"=>"false","message"=>rawurlencode($VXu76)),$base_url);wp_safe_redirect($SHnrW);exit;goto Z4YE2;YsqWv:$ews7Q=array("key"=>$YcRI8,"request[url]"=>esc_url($Wa_Mr));newkarma_core_remote_get("deactivated",$ews7Q);$IUHtJ=md5(newkarma_core_get_home());$dhOzX=newkarma_core_de_license("e",$YcRI8,$IUHtJ);update_option("newkarma_core_license_key".$IUHtJ,'');update_option("newkarma_core_license_status".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["basedir"])){goto RV054;}if(!newkarma_core_connect_fs()){goto wZuBW;}$rUd6k=$oWwBA["basedir"]."/".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto oICr8;}$H7vyc=$oWwBA["basedir"]."/".$IUHtJ."/".$dhOzX.".json";if(!$wp_filesystem->exists($H7vyc)){goto JFQ1h;}$wp_filesystem->delete($H7vyc,false,"f");JFQ1h:oICr8:wZuBW:RV054:wp_safe_redirect(admin_url("plugins.php?page=".NEWKARMA_PLUGIN_LICENSE_PAGE));exit;Z4YE2:BzALd:}}add_action("admin_init","newkarma_core_deactivate_license");if(!function_exists("newkarma_core_check_license")){function newkarma_core_check_license(){if(!(false===get_transient("newkarmacorelicense_transient"))){goto JUOgA;}global $wp_filesystem;$IUHtJ=md5(newkarma_core_get_home());$YcRI8=trim(get_option("newkarma_core_license_key".$IUHtJ));$dhOzX=newkarma_core_de_license("e",$YcRI8,$IUHtJ);$kW24V=newkarma_core_de_license("d",$YcRI8,$IUHtJ);$ews7Q=array("key"=>$kW24V);$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL_CHECK));$y5Pe1=wp_remote_get($QkYNP,array("timeout"=>20,"sslverify"=>false));if(is_wp_error($y5Pe1)||200!==wp_remote_retrieve_response_code($y5Pe1)){goto WSclZ;}$t85st=json_decode(wp_remote_retrieve_body($y5Pe1));if(is_wp_error($t85st)){goto jK60i;}set_transient("newkarmacorelicense_transient","hashcache",7*24*HOUR_IN_SECONDS);if(!("ok"!==$t85st->code)){goto HNKoV;}switch($t85st->code){case "license_empty":update_option("newkarma_core_license_key".$IUHtJ,'');update_option("newkarma_core_license_status".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["basedir"])){goto zVvJY;}if(!newkarma_core_connect_fs()){goto Z5D63;}$rUd6k=$oWwBA["basedir"]."/".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto FKytM;}$H7vyc=$oWwBA["basedir"]."/".$IUHtJ."/".$dhOzX.".json";if(!$wp_filesystem->exists($H7vyc)){goto eIScH;}$wp_filesystem->delete($H7vyc,false,"f");eIScH:FKytM:Z5D63:zVvJY:goto IVy4p;case "license_not_found":$IUHtJ=md5(newkarma_core_get_home());update_option("newkarma_core_license_key".$IUHtJ,'');update_option("newkarma_core_license_status".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["basedir"])){goto NybTT;}if(!newkarma_core_connect_fs()){goto CM9bH;}$rUd6k=$oWwBA["basedir"]."/".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto Q79Ky;}$H7vyc=$oWwBA["basedir"]."/".$IUHtJ."/".$dhOzX.".json";if(!$wp_filesystem->exists($H7vyc)){goto ILQKk;}$wp_filesystem->delete($H7vyc,false,"f");ILQKk:Q79Ky:CM9bH:NybTT:goto IVy4p;case "license_disabled":$IUHtJ=md5(newkarma_core_get_home());update_option("newkarma_core_license_key".$IUHtJ,'');update_option("newkarma_core_license_status".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["basedir"])){goto Q284x;}if(!newkarma_core_connect_fs()){goto j1t7n;}$rUd6k=$oWwBA["basedir"]."/".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto jLlEK;}$H7vyc=$oWwBA["basedir"]."/".$IUHtJ."/".$dhOzX.".json";if(!$wp_filesystem->exists($H7vyc)){goto Xa94y;}$wp_filesystem->delete($H7vyc,false,"f");Xa94y:jLlEK:j1t7n:Q284x:goto IVy4p;}fHXI7:IVy4p:HNKoV:goto JF7Py;jK60i:$VXu76=$t85st->get_error_message();JF7Py:goto k4jXC;WSclZ:if(is_wp_error($y5Pe1)){goto Iui6o;}$VXu76=__("An error occurred, please try again.","newkarma-core");goto BuKbx;Iui6o:$VXu76=$y5Pe1->get_error_message();BuKbx:k4jXC:JUOgA:}}if(!function_exists("newkarma_core_admin_notices")){function newkarma_core_admin_notices(){if(!(isset($_GET["newkarma_core_activation"])&&!empty($_GET["message"]))){goto o8SdR;}switch($_GET["newkarma_core_activation"]){case "false":$VXu76=rawurldecode(sanitize_text_field(wp_unslash($_GET["message"])));echo " \x9\x9\x9<div class="error">
\x9\x9<p>";echo esc_html($VXu76);echo "</p>
\x9\x9 \x9</div>\xa\x9 ";goto BXXsk;case "true":default:echo " \x9\x9 <div class="success">
\x9\x9\x9 <p>";echo esc_html_e("Success.","newkarma-core");echo "</p>
\x9\x9 </div>\xa \x9\x9\x9";goto BXXsk;}YJsUa:BXXsk:o8SdR:}}add_action("admin_notices","newkarma_core_admin_notices");$IUHtJ=md5(newkarma_core_get_home());$YcRI8=trim(get_option("newkarma_core_license_key".$IUHtJ));$oWwBA=wp_upload_dir();if(!empty($oWwBA["basedir"])){goto ELkw3;}include_once NEWKARMA_CORE_DIRNAME."lib/z_license.newkarma-core.php";goto T9eKu;ELkw3:$rUd6k=$oWwBA["basedir"]."/".$IUHtJ;if(@file_exists($rUd6k)){goto ZD4Pv;}include_once NEWKARMA_CORE_DIRNAME."lib/z_license.newkarma-core.php";goto EKZXn;ZD4Pv:$H7vyc=$oWwBA["basedir"]."/".$IUHtJ."/".$YcRI8.".json";if(@file_exists($H7vyc)){goto Ef2cm;}include_once NEWKARMA_CORE_DIRNAME."lib/z_license.newkarma-core.php";goto mT0kR;Ef2cm:include_once NEWKARMA_CORE_DIRNAME."lib/z_setting.newkarma-core.php";mT0kR:EKZXn:T9eKu: ?>
Did this file decode correctly?
Original Code
if(!function_exists("\x6e\145\167\x6b\141\162\x6d\x61\x5f\x63\157\x72\x65\137\x67\145\x74\137\150\x6f\155\145")){function newkarma_core_get_home(){$FW3oK=array("\x68\x74\x74\160\x3a\57\57","\x68\164\x74\x70\x73\x3a\x2f\x2f","\150\164\x74\x70\x3a\57\x2f\x77\x77\x77\x2e","\x68\x74\x74\x70\163\72\x2f\x2f\167\167\167\56","\167\167\x77\56");return str_replace($FW3oK,'',home_url());}}if(!function_exists("\x6e\145\x77\x6b\x61\x72\x6d\141\x5f\x63\x6f\x72\x65\137\154\x69\143\x65\156\x73\x65\137\155\x65\x6e\165")){function newkarma_core_license_menu(){add_plugins_page(__("\116\145\167\153\x61\x72\x6d\x61\40\x4c\x69\143\145\156\x73\x65","\x6e\145\167\153\x61\x72\x6d\141\55\143\157\162\x65"),__("\116\x65\x77\153\141\x72\155\141\40\114\x69\x63\x65\x6e\163\145","\156\145\167\x6b\x61\x72\x6d\141\55\143\x6f\162\x65"),"\155\141\x6e\141\147\x65\137\157\x70\164\151\157\156\163",NEWKARMA_PLUGIN_LICENSE_PAGE,"\x6e\x65\167\153\x61\162\155\141\x5f\x63\x6f\x72\x65\137\x6c\x69\143\145\156\x73\x65\x5f\x70\141\x67\x65");}}add_action("\x61\144\155\x69\x6e\x5f\x6d\145\x6e\x75","\156\145\167\x6b\141\162\x6d\x61\137\x63\x6f\x72\145\x5f\x6c\151\143\x65\x6e\x73\145\x5f\x6d\145\x6e\165");if(!function_exists("\x6e\145\167\153\x61\162\155\141\137\x63\157\x72\145\137\154\151\143\x65\156\x73\x65\x5f\160\141\x67\x65")){function newkarma_core_license_page(){$IUHtJ=md5(newkarma_core_get_home());$Y3pAq=trim(get_option("\x6e\145\167\153\x61\x72\155\x61\x5f\143\x6f\162\x65\137\x6c\151\x63\145\x6e\x73\145\x5f\163\164\141\164\165\163".$IUHtJ));echo "\x9\x9\x3c\x64\x69\166\x20\143\x6c\x61\163\163\75\42\x77\162\141\160\x22\76\12\x9\11\x9\x3c\150\x32\x3e";esc_attr_e("\x4e\145\x77\153\141\x72\155\x61\40\114\x69\x63\x65\x6e\163\145\x20\x4f\x70\164\151\x6f\x6e\x73","\156\x65\167\153\x61\162\x6d\x61\x2d\143\x6f\x72\x65");echo "\74\57\150\x32\76\xa\11\x9\x9\74\x66\x6f\162\x6d\40\155\145\164\x68\x6f\144\x3d\x22\160\157\163\x74\x22\x20\141\143\164\x69\x6f\156\75\42\x6f\x70\x74\x69\x6f\x6e\x73\56\x70\150\160\42\x3e\12\x9\11\x9\11";settings_fields("\156\x65\167\x6b\141\162\x6d\141\137\x63\x6f\162\145\137\154\151\143\x65\156\163\145");echo "\x9\11\x9\11\74\164\x61\142\x6c\145\x20\143\154\x61\163\163\x3d\42\146\157\x72\155\x2d\164\141\x62\x6c\x65\x22\x3e\xa\x9\11\x9\x9\11\x3c\x74\x62\x6f\144\x79\76\12\11\x9\x9\x9\x9\11\74\164\x72\40\166\x61\154\151\x67\x6e\x3d\42\x74\157\x70\x22\x3e\12\11\x9\x9\x9\11\x9\11\x3c\x74\x68\40\x73\143\x6f\160\145\x3d\x22\x72\157\x77\42\40\x76\141\x6c\x69\x67\x6e\x3d\x22\164\x6f\160\42\76\xa\x9\x9\11\x9\11\x9\11\11";esc_attr_e("\114\x69\x63\145\156\x73\x65\40\113\x65\x79","\x6e\145\x77\153\x61\162\x6d\x61\55\143\x6f\162\145");echo "\x9\11\11\x9\x9\11\x9\x3c\x2f\164\150\76\xa\11\x9\11\x9\11\x9\11\74\x74\x64\76\xa\11\x9\x9\x9\11\x9\x9\11\74\x69\x6e\160\x75\164\x20\x69\x64\x3d\x22\156\x65\x77\153\141\162\x6d\141\x5f\143\157\x72\145\137\154\151\x63\x65\156\163\x65\x5f\153\145\x79\42\x20\156\x61\155\x65\75\x22\156\145\167\x6b\141\x72\155\141\137\143\x6f\162\x65\137\154\151\143\x65\x6e\163\x65\137\153\x65\x79\x22\40\x74\171\x70\x65\75\42\x74\145\170\164\x22\40\x70\x6c\x61\143\145\x68\157\x6c\144\x65\x72\x3d\x22\130\x58\130\130\130\x5f\170\x78\x78\x78\x78\x78\x78\x78\x78\x78\170\x78\170\x78\170\42\x20\143\x6c\141\163\x73\75\x22\162\x65\x67\165\x6c\141\x72\55\164\145\x78\164\42\40\x2f\76\74\x62\162\40\x2f\76\12\11\x9\x9\x9\x9\11\x9\11\x3c\x6c\141\x62\145\154\x20\143\x6c\x61\x73\163\75\x22\x64\145\x73\143\x72\x69\160\x74\x69\157\156\x22\x20\146\157\x72\x3d\42\156\145\x77\x6b\x61\x72\155\141\137\143\x6f\x72\145\x5f\x6c\151\x63\145\156\163\x65\x5f\153\x65\x79\42\x3e";esc_attr_e("\105\x6e\x74\145\162\40\x79\x6f\x75\x72\40\x6c\151\x63\x65\x6e\163\145\40\x6b\145\171\40\x68\x65\x72\145","\x6e\x65\167\153\x61\162\155\141\55\x63\x6f\162\145");echo "\x3c\57\154\141\142\145\x6c\x3e\12\11\x9\x9\11\x9\11\11\x3c\57\x74\144\76\xa\11\11\11\11\11\11\x3c\57\164\162\76\xa\xa\11\11\x9\11\x9\x9\x3c\164\162\40\166\141\154\151\147\156\75\42\164\x6f\x70\42\76\xa\11\x9\x9\x9\11\x9\x9\74\164\x68\40\163\143\x6f\x70\x65\x3d\x22\x72\x6f\x77\42\x20\x76\141\x6c\x69\x67\156\x3d\x22\x74\x6f\160\42\x3e\xa\x9\11\11\x9\x9\x9\11\x9";esc_attr_e("\x41\x63\x74\151\166\x61\164\x65\x20\x4c\151\x63\145\x6e\x73\x65","\x6e\x65\x77\x6b\x61\162\155\x61\x2d\x63\157\x72\145");echo "\11\11\x9\11\11\11\x9\74\x2f\164\x68\76\12\xa\11\x9\11\11\11\x9\x9\74\164\x64\76\xa\11\x9\11\11\11\11\x9\11";if(!empty($Y3pAq)&&"\x6f\153"===$Y3pAq){goto TKy3Z;}wp_nonce_field("\x6e\x65\x77\x6b\x61\x72\155\141\137\143\x6f\x72\x65\x5f\x6c\151\143\x65\156\163\x65\x5f\x6e\157\x6e\143\145","\156\x65\x77\x6b\x61\162\x6d\141\x5f\143\x6f\x72\145\x5f\154\x69\143\x65\x6e\163\x65\137\x6e\157\x6e\x63\x65");echo "\x9\x9\11\11\x9\x9\x9\11\x9\x3c\151\156\x70\165\x74\x20\164\x79\x70\x65\75\42\163\x75\x62\155\x69\164\x22\x20\x63\x6c\141\x73\x73\75\x22\142\165\164\x74\157\x6e\x2d\163\x65\143\157\x6e\x64\x61\162\171\x22\40\x6e\141\155\145\x3d\42\x6e\145\167\x6b\x61\162\155\x61\x5f\143\157\162\x65\137\154\151\143\145\156\163\145\x5f\x61\x63\164\151\166\x61\164\145\x22\x20\x76\141\154\165\x65\x3d\x22";esc_attr_e("\x41\x63\x74\x69\166\x61\x74\x65\x20\114\151\143\x65\156\163\x65","\x6e\x65\167\x6b\x61\x72\x6d\x61\55\x63\x6f\162\145");echo "\x22\x2f\x3e\xa\11\x9\11\11\x9\x9\x9\x9";goto RaHje;TKy3Z:echo "\11\x9\x9\11\11\x9\x9\x9\x9\x3c\151\156\160\x75\164\40\x74\x79\x70\x65\x3d\42\x73\165\x62\x6d\151\164\x22\x20\x73\164\171\x6c\x65\75\42\142\x61\x63\x6b\147\x72\157\165\156\x64\x3a\40\43\144\x66\146\60\x64\70\40\41\151\155\160\157\162\164\141\x6e\x74\73\143\x6f\x6c\x6f\162\x3a\40\x23\x33\x63\67\66\63\x64\40\x21\151\x6d\160\x6f\162\x74\141\x6e\164\x3b\x74\x65\x78\x74\55\x73\150\x61\144\157\x77\72\x20\156\157\156\145\40\41\x69\x6d\x70\x6f\162\164\x61\156\x74\x3b\x22\x20\143\x6c\141\x73\x73\75\42\142\165\x74\164\157\x6e\55\163\x65\143\157\156\x64\141\162\171\x22\x20\x6e\x61\x6d\x65\75\x22\x22\x20\144\x69\163\141\142\x6c\x65\144\x20\166\x61\154\165\x65\x3d\42";esc_attr_e("\x4c\x69\x63\x65\156\163\x65\x20\101\x63\x74\x69\166\145","\x6e\x65\x77\x6b\141\x72\155\141\x2d\x63\157\x72\x65");echo "\42\57\76\12\11\x9\x9\x9\11\11\11\11\11";wp_nonce_field("\156\x65\x77\x6b\141\162\155\141\x5f\143\157\162\x65\x5f\154\x69\143\x65\x6e\163\x65\137\156\x6f\x6e\x63\145","\156\x65\x77\x6b\x61\162\x6d\141\137\143\x6f\162\x65\137\x6c\151\143\x65\x6e\x73\145\x5f\x6e\x6f\x6e\143\145");echo "\x9\x9\x9\x9\x9\x9\11\11\11\74\x69\x6e\x70\165\x74\x20\x74\x79\160\145\x3d\42\x73\x75\142\155\151\x74\x22\x20\143\x6c\141\163\x73\x3d\42\142\x75\164\164\157\x6e\55\x73\145\143\x6f\156\144\141\162\171\x22\x20\156\141\155\x65\75\42\156\x65\x77\153\x61\x72\155\141\x5f\x63\x6f\162\145\x5f\154\x69\143\x65\156\x73\x65\x5f\x64\x65\x61\x63\x74\x69\166\x61\x74\145\42\40\166\141\x6c\165\145\75\x22";esc_attr_e("\104\x65\x61\x63\x74\151\166\x61\x74\x65\40\114\x69\x63\145\x6e\163\x65","\x6e\145\x77\153\141\162\x6d\141\55\x63\x6f\162\145");echo "\x22\57\x3e\xa\11\x9\x9\x9\11\11\11\x9\x9\74\x6c\141\x62\145\154\x20\143\154\x61\163\163\x3d\x22\x64\145\163\143\x72\x69\160\164\151\157\156\42\40\x66\x6f\162\75\42\156\145\167\x6b\141\x72\x6d\x61\137\x63\157\162\x65\137\x6c\x69\x63\145\x6e\163\145\x5f\153\145\171\x22\x3e\x3c\x62\162\40\57\76\12\11\x9\11\x9\11\11\x9\x9\x9\x9";esc_html_e("\x43\157\x6e\147\162\141\x74\165\154\x61\164\x69\157\x6e\x73\54\40\x79\x6f\165\162\x20\154\151\143\145\x6e\x73\x65\x20\151\x73\40\x61\x63\x74\151\x76\145\56","\156\145\167\x6b\x61\162\x6d\x61\x2d\143\x6f\x72\x65");echo "\74\x62\162\40\57\76\12\11\11\11\x9\11\x9\11\x9\11\x9";esc_html_e("\x59\x6f\165\x20\143\141\156\x20\x64\151\x73\x61\x62\x6c\145\x20\154\151\143\x65\x6e\x73\x65\x20\146\157\x72\x20\164\x68\x69\163\40\144\157\155\x61\x69\x6e\x20\x62\x79\x20\x65\156\x74\145\x72\151\156\147\40\x74\x68\x65\x20\154\x69\x63\x65\x6e\x73\145\40\153\x65\171\x20\x74\157\40\x74\x68\x65\x20\146\x6f\x72\155\40\x61\x6e\144\x20\143\154\151\x63\x6b\151\x6e\147\40\104\x65\x61\x63\164\x69\x76\141\164\145\40\x4c\x69\x63\x65\156\163\x65","\x6e\145\167\x6b\x61\x72\x6d\x61\x2d\143\157\x72\145");echo "\x3c\x2f\x6c\141\142\145\154\x3e\xa\x9\x9\x9\x9\11\11\11\11\x9\11";newkarma_core_check_license();echo "\11\11\x9\11\11\11\11\11\x9";RaHje:echo "\x9\x9\11\11\x9\x9\11\74\57\x74\x64\76\xa\x9\11\x9\11\11\11\x3c\x2f\164\x72\x3e\xa\x9\x9\11\11\x9\74\x2f\x74\x62\x6f\144\x79\x3e\xa\x9\x9\x9\x9\x3c\x2f\x74\141\142\154\x65\x3e\xa\11\11\11\x3c\57\x66\157\x72\x6d\x3e\xa\x9\x9\74\x2f\144\x69\x76\x3e\xa\11\11";}}if(!function_exists("\156\145\x77\x6b\x61\x72\x6d\141\137\143\157\162\145\x5f\162\145\147\x69\163\164\x65\x72\x5f\x6f\x70\x74\151\157\x6e")){function newkarma_core_register_option(){$IUHtJ=md5(newkarma_core_get_home());register_setting("\x6e\x65\167\x6b\x61\162\155\141\x5f\x63\157\162\x65\x5f\154\x69\x63\145\156\163\x65","\156\x65\x77\153\141\x72\155\x61\137\143\x6f\162\145\x5f\154\151\143\145\156\x73\145\x5f\x6b\145\x79".$IUHtJ,"\x73\141\x6e\x69\164\x69\172\x65\137\x74\x65\170\164\137\146\151\x65\154\144");register_setting("\156\x65\x77\x6b\x61\162\x6d\x61\x5f\x63\x6f\x72\145\137\x6c\x69\143\x65\x6e\163\145","\x6e\145\167\x6b\141\162\155\x61\x5f\x63\157\162\x65\x5f\x6c\151\143\145\156\163\x65\x5f\163\164\141\164\x75\163".$IUHtJ,"\x73\x61\x6e\151\x74\151\x7a\x65\137\164\x65\x78\x74\x5f\146\x69\145\154\x64");}}add_action("\x61\144\x6d\x69\156\137\151\x6e\x69\164","\156\145\x77\x6b\x61\x72\155\x61\137\x63\157\162\145\137\x72\145\147\x69\x73\164\145\162\x5f\157\160\164\x69\157\x6e");if(!function_exists("\x6e\x65\x77\153\141\x72\155\x61\x5f\143\x6f\x72\x65\x5f\x63\x6f\x6e\x6e\145\x63\164\x5f\146\x73")){function newkarma_core_connect_fs(){global $wp_filesystem;if(!(false===($DXFCI=request_filesystem_credentials('')))){goto Kr0NZ;}return false;Kr0NZ:if(WP_Filesystem($DXFCI)){goto qFZhn;}request_filesystem_credentials('');return false;qFZhn:return true;}}if(!function_exists("\156\145\167\153\x61\162\x6d\141\x5f\143\157\x72\145\137\x64\x65\137\154\151\143\x65\x6e\x73\x65")){function newkarma_core_de_license($rIuuM,$ME1qR,$Tvglz="\152\163\x68\113\x6a\x73\156\152\x48\146\142\x43\66\x6a\x6a\152"){$oU_OM=false;$QVntO="\x41\105\x53\x2d\x32\65\x36\55\x43\102\x43";$WqfUa=$Tvglz;$Fr27U="\130\x6a\163\153\x53\x6a\110\x53\x6b\x6b\153\x4a\163\164";$s2Kwy=hash("\x73\150\x61\x32\x35\66",$WqfUa);$n8eQ2=substr(hash("\163\x68\141\62\x35\x36",$Fr27U),0,16);if("\145"===$rIuuM){goto naSZr;}if("\144"===$rIuuM){goto sO5oE;}goto Bl8zA;naSZr:$oU_OM=openssl_encrypt($ME1qR,$QVntO,$s2Kwy,0,$n8eQ2);$oU_OM=base64_encode($oU_OM);goto Bl8zA;sO5oE:$oU_OM=openssl_decrypt(base64_decode($ME1qR),$QVntO,$s2Kwy,0,$n8eQ2);Bl8zA:return $oU_OM;}}if(!function_exists("\x6e\x65\x77\x6b\x61\162\155\x61\x5f\x63\x6f\162\145\137\x72\145\x6d\157\x74\145\137\x67\x65\x74")){function newkarma_core_remote_get($nZcRY="\143\150\145\x63\153",$ews7Q=''){if("\143\x68\x65\143\x6b"===$nZcRY){goto OFq_U;}if("\x61\x63\164\151\x76\141\x74\x65\144"===$nZcRY){goto pZ4cZ;}$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL_DEACTIVATED));goto ilMjC;OFq_U:$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL_CHECK));goto ilMjC;pZ4cZ:$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL));ilMjC:$y5Pe1=wp_remote_get($QkYNP,array("\x74\x69\x6d\x65\x6f\165\x74"=>20,"\x73\x73\x6c\x76\145\x72\151\146\x79"=>false));$VXu76='';if(is_wp_error($y5Pe1)||200!==wp_remote_retrieve_response_code($y5Pe1)){goto g9m3B;}$t85st=json_decode(wp_remote_retrieve_body($y5Pe1));if(is_wp_error($t85st)){goto CU54d;}if(!("\157\x6b"!==$t85st->code)){goto KU7sJ;}switch($t85st->code){case "\x6c\x69\x63\x65\156\x73\x65\x5f\x65\155\x70\164\x79":$VXu76=__("\x45\x6d\160\x74\171\x20\x6f\162\40\151\156\166\141\x6c\151\x64\40\154\x69\x63\x65\156\163\145\x20\153\145\x79\x20\x73\165\x62\155\x69\164\164\x65\144\56","\x6e\x65\x77\153\141\162\155\x61\55\x63\x6f\162\x65");goto w2yPW;case "\x6c\x69\143\x65\x6e\x73\145\137\x6e\157\164\137\146\x6f\x75\156\144":$VXu76=__("\x4c\x69\x63\x65\x6e\x73\x65\40\x6b\145\171\x20\156\x6f\x74\40\x66\157\x75\156\144\40\x6f\156\40\157\x75\162\40\x73\145\x72\166\x65\162\x2e","\156\145\x77\x6b\141\x72\x6d\x61\55\x63\x6f\x72\145");goto w2yPW;case "\154\x69\x63\145\x6e\x73\145\137\x64\151\x73\x61\142\154\x65\x64":$VXu76=__("\x4c\151\x63\x65\x6e\x73\x65\x20\x6b\x65\171\40\150\x61\163\40\142\145\145\156\x20\x64\151\x73\141\x62\x6c\x65\x64\x2e","\156\x65\167\x6b\x61\x72\155\141\55\143\x6f\x72\145");goto w2yPW;case "\154\151\x63\x65\156\x73\x65\x5f\145\x78\160\x69\162\145\x64":$VXu76=__("\131\157\165\162\40\x6c\151\x63\145\156\163\145\x20\153\145\x79\40\145\170\160\x69\x72\x65\144\40\157\156","\x6e\145\167\153\141\162\155\141\x2d\143\x6f\x72\x65")."\x20".date_i18n(get_option("\x64\141\x74\145\137\146\157\x72\155\x61\x74"),strtotime($t85st->expires,current_time("\164\151\x6d\145\x73\x74\x61\x6d\160")));goto w2yPW;case "\x61\x63\164\x69\166\141\164\151\157\156\137\163\x65\162\x76\x65\162\x5f\145\x72\162\x6f\162":$VXu76=__("\101\x63\164\151\x76\141\164\151\157\156\40\163\x65\162\x76\145\162\x20\x65\x72\162\157\162\x2e","\x6e\x65\x77\153\141\162\x6d\x61\55\x63\157\162\145");goto w2yPW;case "\x69\x6e\x76\x61\154\x69\144\137\x69\x6e\160\x75\x74":$VXu76=__("\x41\x63\164\151\166\x61\164\151\157\x6e\x20\146\x61\x69\154\x65\x64\x3a\40\x69\x6e\x76\x61\x6c\x69\144\40\151\x6e\160\x75\164\56","\x6e\145\x77\153\141\162\155\141\x2d\x63\157\x72\x65");goto w2yPW;case "\156\157\x5f\163\x70\x61\x72\x65\x5f\141\143\164\151\x76\x61\x74\151\157\156\163":$VXu76=__("\x4e\157\x20\155\x6f\162\145\40\x61\143\x74\x69\166\x61\164\151\x6f\156\163\40\x61\154\x6c\x6f\167\x65\144\x2e\40\x59\x6f\165\x20\x6d\x75\x73\x74\x20\142\165\171\40\156\145\x77\x20\x6c\151\143\x65\156\163\x65\40\x6b\145\171\x2e","\x6e\145\167\153\x61\162\x6d\x61\x2d\143\157\162\x65");goto w2yPW;case "\156\157\137\141\143\x74\151\166\141\164\x69\x6f\x6e\137\146\x6f\x75\156\x64":$VXu76=__("\116\x6f\x20\x61\143\164\x69\166\x61\x74\151\157\156\40\x66\x6f\165\x6e\144\x20\x66\x6f\x72\40\164\150\x69\163\40\x69\156\x73\164\141\154\x6c\141\164\151\x6f\x6e\56","\x6e\x65\167\153\141\x72\155\141\x2d\x63\157\162\145");goto w2yPW;case "\156\x6f\137\x72\x65\x61\143\164\x69\x76\x61\164\151\157\x6e\137\x61\154\x6c\157\167\x65\x64":$VXu76=__("\x52\x65\x2d\141\x63\x74\151\166\x61\164\151\x6f\156\x20\151\163\40\x6e\x6f\164\x20\x61\154\x6c\157\x77\x65\x64\56","\x6e\x65\167\153\x61\x72\155\x61\55\143\x6f\162\145");goto w2yPW;case "\157\164\150\145\162\x5f\x65\162\x72\x6f\x72":$VXu76=__("\x45\162\x72\x6f\162\x20\x72\145\164\165\162\x6e\x65\x64\x20\146\162\x6f\x6d\40\x61\143\164\151\166\141\x74\x69\157\156\40\x73\x65\162\x76\145\x72\56","\156\145\x77\x6b\x61\x72\155\141\55\x63\x6f\162\x65");goto w2yPW;default:$VXu76=__("\117\164\x68\145\x72\40\x45\162\162\x6f\x72\x2e","\x6e\145\167\x6b\141\x72\155\141\x2d\x63\x6f\162\x65");goto w2yPW;}IAG1A:w2yPW:KU7sJ:if(!("\157\x6b"===$t85st->code)){goto fFjNR;}if(!("\61\x33"!==$t85st->scheme_id&&"\x31\x34"!==$t85st->scheme_id&&"\x31\x35"!==$t85st->scheme_id&&"\x31\66"!==$t85st->scheme_id)){goto JBkW3;}$VXu76=__("\x54\x68\x69\163\40\154\x69\143\x65\x6e\163\x65\x20\x6e\157\x74\40\x66\x6f\x72\x20\x74\150\151\163\x20\x70\x72\x6f\144\165\x63\164\56","\156\145\167\153\x61\162\155\x61\x2d\143\x6f\162\x65");JBkW3:fFjNR:goto qPK0r;CU54d:$VXu76=$t85st->get_error_message();qPK0r:goto Hhr7j;g9m3B:if(is_wp_error($y5Pe1)){goto Nf65t;}$VXu76=__("\101\156\x20\145\x72\x72\157\162\x20\x6f\143\x63\x75\x72\162\145\144\x2c\40\160\x6c\x65\x61\x73\x65\x20\x74\162\x79\40\141\147\x61\x69\x6e\x2e","\x6e\145\167\153\141\162\155\x61\x2d\x63\x6f\x72\x65");goto qQisB;Nf65t:$VXu76=$y5Pe1->get_error_message();qQisB:Hhr7j:return $VXu76;}}if(!function_exists("\156\145\x77\x6b\141\162\155\141\x5f\143\x6f\x72\145\137\x61\143\x74\x69\166\x61\x74\145\137\x6c\x69\x63\145\156\163\x65")){function newkarma_core_activate_license(){global $wp_filesystem;if(!isset($_POST["\156\x65\167\x6b\x61\162\155\x61\137\x63\x6f\x72\x65\137\154\x69\143\145\156\x73\145\x5f\x61\x63\x74\x69\166\141\164\x65"])){goto ACqLw;}$YcRI8=!empty($_POST["\x6e\x65\x77\153\x61\x72\x6d\141\x5f\x63\157\x72\145\137\154\151\x63\x65\156\163\145\137\153\145\171"])?sanitize_text_field(wp_unslash($_POST["\156\x65\167\x6b\141\162\x6d\141\x5f\143\157\x72\x65\137\154\x69\x63\145\156\x73\x65\x5f\x6b\145\171"])):'';$Wa_Mr=newkarma_core_get_home();if(check_admin_referer("\x6e\145\167\x6b\141\162\155\x61\137\x63\157\162\x65\x5f\x6c\151\x63\145\156\163\x65\x5f\x6e\157\x6e\143\x65","\156\x65\x77\x6b\141\162\155\x61\137\x63\157\162\x65\137\154\151\x63\145\x6e\x73\x65\137\156\157\x6e\143\x65")){goto rUFYA;}return;rUFYA:$ews7Q=array("\x6b\x65\x79"=>$YcRI8);$VXu76=newkarma_core_remote_get("\x63\x68\x65\x63\x6b",$ews7Q);if(empty($VXu76)){goto Q31oW;}$base_url=admin_url("\x70\x6c\165\x67\x69\x6e\163\x2e\160\x68\x70\x3f\x70\x61\x67\x65\x3d".NEWKARMA_PLUGIN_LICENSE_PAGE);$SHnrW=add_query_arg(array("\x6e\x65\167\x6b\x61\162\155\x61\x5f\143\157\x72\x65\137\x61\x63\164\x69\166\141\164\151\157\x6e"=>"\146\141\154\163\x65","\155\x65\163\x73\141\x67\x65"=>rawurlencode($VXu76)),$base_url);wp_safe_redirect($SHnrW);exit;goto UPQ5n;Q31oW:$ews7Q=array("\153\x65\171"=>$YcRI8,"\x72\x65\x71\165\145\163\164\133\165\162\154\135"=>esc_url($Wa_Mr));$VXu76=newkarma_core_remote_get("\x61\x63\x74\151\166\141\x74\145\x64",$ews7Q);if(empty($VXu76)){goto fxloP;}$base_url=admin_url("\x70\x6c\165\147\x69\x6e\x73\x2e\160\150\160\77\160\141\x67\145\75".NEWKARMA_PLUGIN_LICENSE_PAGE);$SHnrW=add_query_arg(array("\x6e\145\167\x6b\x61\x72\155\x61\137\x63\157\x72\x65\137\141\143\x74\x69\166\141\164\151\157\x6e"=>"\x66\141\154\x73\145","\155\x65\163\x73\141\147\145"=>rawurlencode($VXu76)),$base_url);wp_safe_redirect($SHnrW);exit;goto LhEA_;fxloP:$IUHtJ=md5(newkarma_core_get_home());$dhOzX=newkarma_core_de_license("\145",$YcRI8,$IUHtJ);update_option("\156\145\x77\x6b\x61\162\x6d\141\137\143\157\x72\x65\137\x6c\151\x63\x65\x6e\163\x65\137\153\x65\x79".$IUHtJ,$dhOzX);update_option("\156\145\x77\x6b\x61\162\155\x61\137\x63\x6f\162\x65\x5f\154\x69\143\x65\x6e\163\145\137\163\x74\141\x74\x75\x73".$IUHtJ,"\x6f\153");$WJ5dS=[];$gS8ml["\x73\x74\163"]="\x6f\153";$WJ5dS[]=$gS8ml;$oWwBA=wp_upload_dir();if(empty($oWwBA["\142\x61\163\145\144\151\162"])){goto ycLcG;}if(!newkarma_core_connect_fs()){goto I6D7H;}$rUd6k=$oWwBA["\142\x61\x73\x65\x64\151\162"]."\57".$IUHtJ;$H7vyc=$oWwBA["\142\x61\163\145\144\x69\x72"]."\x2f".$IUHtJ."\57".$dhOzX."\x2e\x6a\x73\x6f\156";if($wp_filesystem->is_dir($rUd6k)){goto EsnG3;}$paTEu=defined("\x46\123\137\x43\x48\x4d\117\104\x5f\104\111\x52")?FS_CHMOD_DIR:fileperms(WP_CONTENT_DIR)&0777|0755;if($wp_filesystem->mkdir($rUd6k,$paTEu)){goto tRbMf;}exit("\103\x61\156\47\164\40\x63\x72\x65\x61\x74\x65\x20\143\x61\143\x68\x65\40\x64\151\162\x65\143\x74\x6f\162\171\x2e\40\x50\x6c\x65\x61\163\x65\x20\x63\150\x65\x63\x6b\x20\x79\x6f\165\162\40\146\x6f\x6c\x64\x65\162\40\x70\145\x72\155\x69\163\163\x69\157\x6e\56");tRbMf:EsnG3:$wp_filesystem->put_contents($H7vyc,json_encode($WJ5dS,JSON_PRETTY_PRINT));I6D7H:ycLcG:wp_safe_redirect(admin_url("\x70\x6c\x75\147\x69\x6e\163\56\x70\x68\x70\77\x70\x61\x67\x65\x3d".NEWKARMA_PLUGIN_LICENSE_PAGE));exit;LhEA_:UPQ5n:ACqLw:}}add_action("\141\144\155\x69\156\x5f\x69\156\x69\164","\156\145\167\x6b\x61\162\x6d\x61\137\143\157\162\145\137\141\x63\164\x69\166\141\164\x65\x5f\154\x69\143\x65\x6e\163\145");if(!function_exists("\x6e\x65\x77\x6b\x61\162\155\x61\x5f\143\157\x72\145\137\144\145\x61\x63\x74\x69\166\x61\x74\x65\x5f\154\x69\143\145\156\x73\x65")){function newkarma_core_deactivate_license(){global $wp_filesystem;if(!isset($_POST["\156\145\x77\x6b\141\x72\155\x61\137\143\x6f\x72\x65\x5f\154\x69\x63\x65\x6e\x73\145\x5f\144\145\141\x63\164\x69\166\141\x74\x65"])){goto BzALd;}$YcRI8=!empty($_POST["\156\145\167\x6b\141\x72\x6d\x61\137\x63\157\x72\x65\x5f\x6c\x69\143\x65\156\x73\145\x5f\x6b\x65\171"])?sanitize_text_field(wp_unslash($_POST["\156\145\x77\x6b\x61\x72\155\141\x5f\x63\157\x72\x65\137\x6c\x69\x63\x65\156\163\x65\x5f\153\x65\171"])):'';$Wa_Mr=newkarma_core_get_home();if(check_admin_referer("\x6e\x65\167\153\141\x72\155\x61\137\x63\157\x72\x65\137\x6c\151\x63\x65\156\163\x65\x5f\x6e\x6f\156\143\145","\x6e\145\x77\153\141\162\x6d\141\137\143\157\162\x65\137\154\x69\x63\x65\x6e\x73\145\x5f\x6e\x6f\156\143\145")){goto CV3WC;}return;CV3WC:$ews7Q=array("\x6b\x65\x79"=>$YcRI8);$VXu76=newkarma_core_remote_get("\143\150\x65\143\x6b",$ews7Q);if(empty($VXu76)){goto YsqWv;}$base_url=admin_url("\160\x6c\165\x67\151\x6e\163\x2e\160\150\x70\x3f\160\x61\x67\x65\x3d".NEWKARMA_PLUGIN_LICENSE_PAGE);$SHnrW=add_query_arg(array("\156\x65\x77\153\141\162\x6d\141\137\143\x6f\x72\145\x5f\141\143\x74\x69\x76\x61\164\x69\x6f\x6e"=>"\x66\141\x6c\x73\145","\x6d\x65\163\x73\141\x67\x65"=>rawurlencode($VXu76)),$base_url);wp_safe_redirect($SHnrW);exit;goto Z4YE2;YsqWv:$ews7Q=array("\153\145\x79"=>$YcRI8,"\162\145\161\x75\x65\x73\164\133\165\162\154\x5d"=>esc_url($Wa_Mr));newkarma_core_remote_get("\x64\145\141\x63\x74\x69\166\141\x74\145\x64",$ews7Q);$IUHtJ=md5(newkarma_core_get_home());$dhOzX=newkarma_core_de_license("\x65",$YcRI8,$IUHtJ);update_option("\x6e\145\x77\153\141\x72\x6d\141\137\143\157\x72\x65\x5f\154\x69\143\x65\x6e\163\145\137\x6b\x65\x79".$IUHtJ,'');update_option("\x6e\x65\x77\x6b\x61\x72\155\141\137\143\x6f\x72\x65\137\154\x69\143\145\x6e\163\x65\137\163\x74\x61\164\165\163".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["\142\x61\163\x65\144\x69\162"])){goto RV054;}if(!newkarma_core_connect_fs()){goto wZuBW;}$rUd6k=$oWwBA["\x62\141\163\x65\x64\x69\162"]."\x2f".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto oICr8;}$H7vyc=$oWwBA["\142\x61\163\145\x64\151\162"]."\57".$IUHtJ."\57".$dhOzX."\56\152\163\x6f\x6e";if(!$wp_filesystem->exists($H7vyc)){goto JFQ1h;}$wp_filesystem->delete($H7vyc,false,"\146");JFQ1h:oICr8:wZuBW:RV054:wp_safe_redirect(admin_url("\x70\154\x75\x67\x69\156\x73\x2e\160\x68\160\77\160\x61\x67\x65\x3d".NEWKARMA_PLUGIN_LICENSE_PAGE));exit;Z4YE2:BzALd:}}add_action("\x61\144\x6d\151\156\137\x69\x6e\x69\x74","\156\x65\167\153\141\x72\x6d\x61\x5f\143\157\x72\x65\x5f\144\145\141\x63\164\151\166\x61\164\x65\137\154\x69\x63\x65\156\x73\x65");if(!function_exists("\x6e\145\x77\x6b\141\162\155\x61\x5f\143\157\x72\145\x5f\143\150\x65\x63\x6b\137\x6c\151\x63\x65\156\163\145")){function newkarma_core_check_license(){if(!(false===get_transient("\x6e\x65\x77\x6b\x61\x72\x6d\x61\143\157\x72\145\x6c\x69\143\145\156\x73\145\x5f\164\x72\x61\x6e\163\151\145\156\x74"))){goto JUOgA;}global $wp_filesystem;$IUHtJ=md5(newkarma_core_get_home());$YcRI8=trim(get_option("\156\145\x77\x6b\141\x72\155\141\137\143\x6f\162\x65\137\x6c\151\x63\x65\156\x73\x65\x5f\x6b\145\171".$IUHtJ));$dhOzX=newkarma_core_de_license("\145",$YcRI8,$IUHtJ);$kW24V=newkarma_core_de_license("\x64",$YcRI8,$IUHtJ);$ews7Q=array("\x6b\x65\x79"=>$kW24V);$QkYNP=esc_url_raw(add_query_arg($ews7Q,NEWKARMA_API_URL_CHECK));$y5Pe1=wp_remote_get($QkYNP,array("\164\x69\x6d\145\x6f\165\164"=>20,"\x73\x73\154\x76\145\162\151\x66\171"=>false));if(is_wp_error($y5Pe1)||200!==wp_remote_retrieve_response_code($y5Pe1)){goto WSclZ;}$t85st=json_decode(wp_remote_retrieve_body($y5Pe1));if(is_wp_error($t85st)){goto jK60i;}set_transient("\156\145\167\x6b\141\162\x6d\141\143\x6f\162\x65\x6c\151\143\145\156\x73\145\x5f\x74\x72\141\x6e\163\151\x65\x6e\x74","\x68\141\x73\150\143\141\143\x68\x65",7*24*HOUR_IN_SECONDS);if(!("\157\153"!==$t85st->code)){goto HNKoV;}switch($t85st->code){case "\154\151\x63\145\x6e\163\145\137\x65\x6d\x70\x74\171":update_option("\156\x65\167\x6b\x61\162\x6d\x61\x5f\x63\157\x72\145\x5f\x6c\151\143\x65\x6e\x73\x65\x5f\x6b\145\x79".$IUHtJ,'');update_option("\156\x65\167\153\x61\x72\155\x61\x5f\x63\x6f\162\145\x5f\154\x69\143\x65\x6e\163\145\x5f\x73\164\141\x74\165\163".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["\142\x61\163\145\x64\151\x72"])){goto zVvJY;}if(!newkarma_core_connect_fs()){goto Z5D63;}$rUd6k=$oWwBA["\x62\141\x73\145\x64\x69\x72"]."\57".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto FKytM;}$H7vyc=$oWwBA["\142\x61\x73\145\144\151\x72"]."\57".$IUHtJ."\x2f".$dhOzX."\56\x6a\x73\x6f\156";if(!$wp_filesystem->exists($H7vyc)){goto eIScH;}$wp_filesystem->delete($H7vyc,false,"\x66");eIScH:FKytM:Z5D63:zVvJY:goto IVy4p;case "\154\151\x63\145\156\x73\x65\137\156\157\164\137\x66\157\165\x6e\144":$IUHtJ=md5(newkarma_core_get_home());update_option("\156\145\167\153\x61\x72\x6d\x61\137\x63\157\x72\145\x5f\x6c\x69\x63\x65\x6e\163\x65\x5f\x6b\145\x79".$IUHtJ,'');update_option("\x6e\x65\x77\153\x61\162\155\141\137\x63\x6f\x72\x65\x5f\x6c\151\143\145\x6e\163\x65\x5f\x73\164\x61\164\165\163".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["\x62\141\163\145\144\151\x72"])){goto NybTT;}if(!newkarma_core_connect_fs()){goto CM9bH;}$rUd6k=$oWwBA["\x62\141\163\145\144\151\x72"]."\x2f".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto Q79Ky;}$H7vyc=$oWwBA["\x62\141\x73\145\x64\x69\x72"]."\57".$IUHtJ."\x2f".$dhOzX."\x2e\x6a\x73\157\x6e";if(!$wp_filesystem->exists($H7vyc)){goto ILQKk;}$wp_filesystem->delete($H7vyc,false,"\x66");ILQKk:Q79Ky:CM9bH:NybTT:goto IVy4p;case "\x6c\x69\x63\145\x6e\x73\x65\x5f\x64\x69\x73\x61\x62\x6c\x65\144":$IUHtJ=md5(newkarma_core_get_home());update_option("\x6e\x65\167\x6b\x61\162\155\141\137\143\157\x72\x65\x5f\154\x69\143\x65\156\163\x65\137\153\145\171".$IUHtJ,'');update_option("\156\145\167\x6b\x61\162\x6d\141\x5f\x63\157\x72\x65\137\154\x69\x63\145\x6e\163\x65\137\163\x74\x61\x74\165\163".$IUHtJ,'');$oWwBA=wp_upload_dir();if(empty($oWwBA["\x62\141\163\145\144\x69\x72"])){goto Q284x;}if(!newkarma_core_connect_fs()){goto j1t7n;}$rUd6k=$oWwBA["\x62\x61\x73\145\144\151\x72"]."\x2f".$IUHtJ;if(!$wp_filesystem->exists($rUd6k)){goto jLlEK;}$H7vyc=$oWwBA["\x62\x61\163\145\x64\x69\162"]."\57".$IUHtJ."\57".$dhOzX."\x2e\x6a\163\x6f\x6e";if(!$wp_filesystem->exists($H7vyc)){goto Xa94y;}$wp_filesystem->delete($H7vyc,false,"\x66");Xa94y:jLlEK:j1t7n:Q284x:goto IVy4p;}fHXI7:IVy4p:HNKoV:goto JF7Py;jK60i:$VXu76=$t85st->get_error_message();JF7Py:goto k4jXC;WSclZ:if(is_wp_error($y5Pe1)){goto Iui6o;}$VXu76=__("\101\x6e\40\x65\x72\162\x6f\162\40\x6f\x63\143\165\162\162\x65\144\x2c\x20\x70\x6c\x65\141\x73\145\40\164\162\x79\x20\141\x67\141\151\x6e\56","\156\145\167\x6b\x61\x72\155\141\x2d\x63\x6f\162\x65");goto BuKbx;Iui6o:$VXu76=$y5Pe1->get_error_message();BuKbx:k4jXC:JUOgA:}}if(!function_exists("\x6e\x65\167\153\141\162\155\x61\x5f\x63\157\162\145\137\x61\x64\x6d\151\156\137\x6e\x6f\164\151\x63\x65\x73")){function newkarma_core_admin_notices(){if(!(isset($_GET["\x6e\x65\x77\153\141\162\x6d\x61\137\x63\157\x72\x65\137\141\x63\x74\151\x76\141\x74\x69\157\156"])&&!empty($_GET["\x6d\145\x73\163\x61\x67\x65"]))){goto o8SdR;}switch($_GET["\x6e\145\x77\153\141\162\155\141\x5f\143\157\162\x65\137\141\143\164\x69\166\x61\164\x69\x6f\x6e"]){case "\146\x61\x6c\x73\x65":$VXu76=rawurldecode(sanitize_text_field(wp_unslash($_GET["\155\x65\163\163\141\147\x65"])));echo "\11\11\x9\x9\x9\74\144\151\x76\40\143\x6c\x61\163\x73\x3d\x22\145\x72\x72\x6f\x72\x22\x3e\12\11\11\11\11\x9\x9\x3c\160\76";echo esc_html($VXu76);echo "\x3c\57\x70\x3e\12\x9\x9\11\11\x9\x3c\x2f\x64\x69\166\x3e\xa\x9\11\11\11\11";goto BXXsk;case "\x74\162\165\x65":default:echo "\11\11\x9\x9\11\x3c\x64\151\x76\x20\x63\x6c\x61\x73\163\75\x22\x73\165\143\x63\145\x73\163\x22\x3e\12\11\11\x9\x9\x9\11\x3c\160\76";echo esc_html_e("\123\165\x63\x63\x65\163\163\x2e","\156\145\x77\x6b\141\162\155\x61\55\143\x6f\162\x65");echo "\74\x2f\x70\x3e\12\11\x9\x9\11\11\74\57\144\151\166\76\xa\11\11\x9\x9\x9";goto BXXsk;}YJsUa:BXXsk:o8SdR:}}add_action("\141\x64\x6d\151\156\x5f\x6e\x6f\164\x69\143\x65\x73","\156\x65\167\x6b\141\x72\155\x61\137\x63\157\x72\145\x5f\141\x64\155\151\156\137\156\x6f\x74\151\x63\x65\x73");$IUHtJ=md5(newkarma_core_get_home());$YcRI8=trim(get_option("\x6e\145\x77\153\x61\162\155\141\137\x63\x6f\x72\x65\137\x6c\x69\143\x65\x6e\x73\x65\137\153\145\x79".$IUHtJ));$oWwBA=wp_upload_dir();if(!empty($oWwBA["\x62\x61\x73\145\x64\151\x72"])){goto ELkw3;}include_once NEWKARMA_CORE_DIRNAME."\x6c\151\x62\57\x7a\x5f\154\x69\x63\x65\156\163\x65\56\156\x65\167\153\141\x72\x6d\141\x2d\143\x6f\x72\x65\x2e\x70\150\160";goto T9eKu;ELkw3:$rUd6k=$oWwBA["\142\141\163\145\x64\151\162"]."\57".$IUHtJ;if(@file_exists($rUd6k)){goto ZD4Pv;}include_once NEWKARMA_CORE_DIRNAME."\154\x69\x62\57\x7a\x5f\x6c\151\143\x65\x6e\x73\145\56\x6e\x65\x77\153\141\x72\155\141\x2d\143\157\x72\145\56\160\150\160";goto EKZXn;ZD4Pv:$H7vyc=$oWwBA["\x62\141\163\145\x64\151\x72"]."\57".$IUHtJ."\57".$YcRI8."\x2e\152\x73\x6f\156";if(@file_exists($H7vyc)){goto Ef2cm;}include_once NEWKARMA_CORE_DIRNAME."\x6c\x69\x62\57\x7a\137\x6c\151\x63\x65\156\163\145\56\x6e\x65\167\153\141\x72\x6d\x61\x2d\x63\x6f\x72\145\56\x70\x68\160";goto mT0kR;Ef2cm:include_once NEWKARMA_CORE_DIRNAME."\154\x69\x62\57\x7a\137\x73\145\x74\x74\151\156\147\56\x6e\145\x77\153\x61\162\x6d\x61\x2d\143\157\162\145\x2e\x70\x68\160";mT0kR:EKZXn:T9eKu:
Function Calls
None |
Stats
MD5 | f52e12771ef0d9012b7f4de9317edc1a |
Eval Count | 0 |
Decode Time | 50 ms |