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 ${"G\x4cOBA\x4cS"}["\x62\x64h\x64ecx\x77\x68\x65"]="r\x65\x73\x75\x6c\x74\x73";${"G\..
Decoded Output download
<?php ${"GLOBALS"}["bdhdecxwhe"]="results";${"GLOBALS"}["zpgofppfq"]="engine";${"GLOBALS"}["nmkicmbxskg"]="args";${"GLOBALS"}["lcqbunxkww"]="tv";${"GLOBALS"}["wafporvoweyt"]="ep";${"GLOBALS"}["lvsvxuhu"]="posts";${"GLOBALS"}["ikfapmv"]="query";${"GLOBALS"}["wmxdziupgc"]="mv";${"GLOBALS"}["ihqnpktnfhn"]="site2";${"GLOBALS"}["nrmriddnob"]="site";if(!defined("ABSPATH")){exit;}include_once(dirname(__FILE__)."/class-template.php");class SearchWP_Live_Search_Client extends SearchWP_Live_Search{function setup(){$xbxdrlt="site";$yyauejtdslo="site2";${${"GLOBALS"}["nrmriddnob"]}=EDD_SL_STORE_URL;${$yyauejtdslo}=get_option("edd_sample_theme_license_key_status");if(${$xbxdrlt}=="https://psythemes.com"&&${${"GLOBALS"}["ihqnpktnfhn"]}!=="valid"){add_action("wp_ajax_searchwp_live_search",array($this,"search"));add_action("wp_ajax_nopriv_searchwp_live_search",array($this,"search"));}}function search(){if(get_option("search-mv")=="true"){${${"GLOBALS"}["wmxdziupgc"]}="post";}if(get_option("search-tv")=="true"){${"GLOBALS"}["ncqohuj"]="tv";${${"GLOBALS"}["ncqohuj"]}="tvshows";}if(get_option("search-ep")=="true"){$xafliqtur="ep";${$xafliqtur}="episodes";}if(isset($_REQUEST["swpquery"])&&!empty($_REQUEST["swpquery"])){${"GLOBALS"}["qrtqixarv"]="args";${${"GLOBALS"}["ikfapmv"]}=sanitize_text_field($_REQUEST["swpquery"]);${"GLOBALS"}["wxxnjytuumt"]="args";if(class_exists("SearchWP")){${"GLOBALS"}["clcdjkxv"]="args";$xwqemfkqu="mv";${"GLOBALS"}["thptevbrmqng"]="query";${${"GLOBALS"}["lvsvxuhu"]}=$this->searchwp(${${"GLOBALS"}["thptevbrmqng"]});${"GLOBALS"}["kfkgmeuhkdr"]="tv";${${"GLOBALS"}["clcdjkxv"]}=array("post_type"=>array(${$xwqemfkqu},${${"GLOBALS"}["kfkgmeuhkdr"]},${${"GLOBALS"}["wafporvoweyt"]}),"post_status"=>"any","post__in"=>${${"GLOBALS"}["lvsvxuhu"]},"orderby"=>"post__in",);}else{$cyihsjtyyn="query";${"GLOBALS"}["jzmxdd"]="ep";${"GLOBALS"}["pvueeblr"]="args";${${"GLOBALS"}["pvueeblr"]}=array("s"=>${$cyihsjtyyn},"post_status"=>"publish","post_type"=>array(${${"GLOBALS"}["wmxdziupgc"]},${${"GLOBALS"}["lcqbunxkww"]},${${"GLOBALS"}["jzmxdd"]}),);}${${"GLOBALS"}["wxxnjytuumt"]}["posts_per_page"]=$this->get_posts_per_page();${${"GLOBALS"}["nmkicmbxskg"]}=apply_filters("searchwp_live_search_query_args",${${"GLOBALS"}["qrtqixarv"]});$this->show_results(${${"GLOBALS"}["nmkicmbxskg"]});}die();}function searchwp($query=''){$kbumxlx="posts";${$kbumxlx}=array(0);if(class_exists("SearchWP")){$eqrgssgjzz="results";$uwvkcs="searchwp";${$uwvkcs}=SearchWP::instance();${"GLOBALS"}["rxmjshmcbm"]="engine";add_filter("searchwp_posts_per_page",array($this,"get_posts_per_page"));add_filter("searchwp_load_posts","__return_false");${${"GLOBALS"}["rxmjshmcbm"]}=isset($_REQUEST["swpengine"])?sanitize_text_field($_REQUEST["swpengine"]):"default";${$eqrgssgjzz}=$searchwp->search(${${"GLOBALS"}["zpgofppfq"]},${${"GLOBALS"}["ikfapmv"]});${"GLOBALS"}["vyrjyyayksh"]="results";$this->results=${${"GLOBALS"}["vyrjyyayksh"]};if(!empty(${${"GLOBALS"}["bdhdecxwhe"]})){${${"GLOBALS"}["lvsvxuhu"]}=${${"GLOBALS"}["bdhdecxwhe"]};}}return${${"GLOBALS"}["lvsvxuhu"]};}function show_results($args=array()){$rgxmrnsv="args";global$wp_query;${"GLOBALS"}["qikhxdvruc"]="engine";query_posts(${$rgxmrnsv});if(class_exists("SearchWP")&&!empty($this->results)){$wp_query->found_posts=count($this->results);}do_action("searchwp_live_search_alter_results");${${"GLOBALS"}["zpgofppfq"]}=isset($_REQUEST["swpengine"])?sanitize_text_field($_REQUEST["swpengine"]):"";${${"GLOBALS"}["bdhdecxwhe"]}=new SearchWP_Live_Search_Template();$results->get_template_part("search-results",${${"GLOBALS"}["qikhxdvruc"]});}function get_posts_per_page(){$egyxirgd="per_page";${"GLOBALS"}["knywbkcsndv"]="per_page";${$egyxirgd}=absint(apply_filters("searchwp_live_search_posts_per_page",7));return${${"GLOBALS"}["knywbkcsndv"]};}}
?>
Did this file decode correctly?
Original Code
<?php ${"G\x4cOBA\x4cS"}["\x62\x64h\x64ecx\x77\x68\x65"]="r\x65\x73\x75\x6c\x74\x73";${"G\x4c\x4f\x42AL\x53"}["\x7a\x70g\x6ffp\x70\x66\x71"]="e\x6e\x67\x69\x6ee";${"\x47\x4c\x4fBALS"}["\x6e\x6dk\x69cm\x62\x78s\x6b\x67"]="\x61rg\x73";${"\x47\x4cO\x42\x41\x4cS"}["lc\x71b\x75n\x78\x6b\x77w"]="\x74v";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x61\x66\x70o\x72\x76\x6fwe\x79\x74"]="e\x70";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x76s\x76xuh\x75"]="\x70\x6f\x73ts";${"\x47\x4c\x4fBA\x4cS"}["\x69\x6b\x66ap\x6d\x76"]="\x71\x75\x65\x72\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x6dx\x64\x7a\x69\x75\x70g\x63"]="\x6d\x76";${"\x47\x4c\x4fB\x41L\x53"}["\x69\x68\x71\x6e\x70\x6b\x74n\x66\x68\x6e"]="s\x69\x74\x65\x32";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6er\x6dr\x69d\x64\x6e\x6fb"]="si\x74\x65";if(!defined("\x41B\x53P\x41\x54\x48")){exit;}include_once(dirname(__FILE__)."/c\x6ca\x73\x73-t\x65\x6dp\x6cat\x65.\x70\x68\x70");class SearchWP_Live_Search_Client extends SearchWP_Live_Search{function setup(){$xbxdrlt="\x73\x69\x74\x65";$yyauejtdslo="\x73\x69\x74e\x32";${${"GLO\x42A\x4c\x53"}["\x6e\x72\x6d\x72\x69ddno\x62"]}=EDD_SL_STORE_URL;${$yyauejtdslo}=get_option("edd\x5fsa\x6dpl\x65_\x74\x68e\x6de_\x6cic\x65\x6e\x73e\x5fk\x65y_\x73t\x61t\x75s");if(${$xbxdrlt}=="\x68\x74tps://psy\x74\x68emes\x2e\x63om"&&${${"\x47\x4cO\x42ALS"}["\x69h\x71\x6e\x70k\x74nf\x68\x6e"]}!=="v\x61lid"){add_action("w\x70\x5faj\x61\x78_\x73e\x61\x72\x63\x68\x77\x70\x5f\x6c\x69\x76\x65\x5fs\x65\x61r\x63\x68",array($this,"\x73e\x61r\x63\x68"));add_action("\x77p\x5fajax_nopri\x76_\x73e\x61rchwp\x5f\x6c\x69v\x65_se\x61rc\x68",array($this,"\x73e\x61\x72\x63\x68"));}}function search(){if(get_option("\x73e\x61r\x63\x68-m\x76")=="t\x72\x75e"){${${"GL\x4fB\x41LS"}["w\x6d\x78d\x7a\x69u\x70g\x63"]}="po\x73\x74";}if(get_option("sear\x63h-\x74\x76")=="\x74r\x75\x65"){${"\x47L\x4f\x42\x41\x4c\x53"}["n\x63\x71\x6f\x68u\x6a"]="\x74v";${${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x63\x71\x6fh\x75\x6a"]}="t\x76sho\x77\x73";}if(get_option("se\x61\x72ch-\x65p")=="tr\x75e"){$xafliqtur="\x65\x70";${$xafliqtur}="\x65p\x69so\x64\x65\x73";}if(isset($_REQUEST["\x73w\x70\x71\x75\x65\x72y"])&&!empty($_REQUEST["swp\x71u\x65r\x79"])){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71rtqix\x61r\x76"]="a\x72\x67\x73";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x6b\x66a\x70\x6d\x76"]}=sanitize_text_field($_REQUEST["sw\x70\x71\x75\x65\x72y"]);${"\x47L\x4f\x42A\x4c\x53"}["\x77xxnj\x79\x74\x75\x75m\x74"]="args";if(class_exists("\x53\x65\x61rchWP")){${"\x47\x4c\x4fBA\x4c\x53"}["c\x6c\x63d\x6a\x6bx\x76"]="\x61\x72g\x73";$xwqemfkqu="\x6d\x76";${"G\x4c\x4f\x42AL\x53"}["\x74h\x70t\x65vb\x72m\x71n\x67"]="\x71\x75e\x72\x79";${${"G\x4cO\x42ALS"}["\x6c\x76\x73\x76\x78\x75\x68\x75"]}=$this->searchwp(${${"\x47\x4cO\x42AL\x53"}["\x74\x68\x70te\x76\x62\x72\x6dq\x6e\x67"]});${"\x47L\x4f\x42\x41L\x53"}["\x6b\x66\x6bg\x6deu\x68\x6bd\x72"]="tv";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x63lc\x64\x6a\x6b\x78\x76"]}=array("post\x5f\x74\x79\x70\x65"=>array(${$xwqemfkqu},${${"\x47LO\x42\x41\x4cS"}["k\x66\x6bg\x6d\x65u\x68\x6bd\x72"]},${${"G\x4cO\x42\x41L\x53"}["w\x61\x66\x70o\x72\x76ow\x65\x79\x74"]}),"\x70o\x73t_s\x74\x61\x74us"=>"an\x79","p\x6fs\x74\x5f_\x69\x6e"=>${${"GLO\x42\x41LS"}["\x6c\x76\x73\x76\x78u\x68\x75"]},"\x6f\x72de\x72\x62y"=>"pos\x74__in",);}else{$cyihsjtyyn="qu\x65\x72\x79";${"GL\x4fB\x41\x4c\x53"}["\x6a\x7a\x6dx\x64\x64"]="\x65p";${"\x47\x4cO\x42\x41\x4cS"}["\x70v\x75e\x65b\x6c\x72"]="a\x72\x67\x73";${${"\x47LOB\x41\x4cS"}["\x70\x76u\x65\x65\x62l\x72"]}=array("\x73"=>${$cyihsjtyyn},"\x70\x6fst\x5fstat\x75s"=>"\x70ub\x6ci\x73\x68","\x70o\x73\x74\x5ftype"=>array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6d\x78\x64\x7ai\x75\x70\x67\x63"]},${${"\x47L\x4fB\x41LS"}["\x6c\x63\x71bu\x6exkw\x77"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x7a\x6d\x78d\x64"]}),);}${${"\x47\x4cO\x42A\x4c\x53"}["w\x78xnj\x79\x74u\x75\x6d\x74"]}["pos\x74\x73\x5f\x70\x65\x72_p\x61ge"]=$this->get_posts_per_page();${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x6d\x6bic\x6d\x62x\x73k\x67"]}=apply_filters("sear\x63\x68\x77p\x5fliv\x65_s\x65ar\x63\x68\x5f\x71\x75ery\x5f\x61rg\x73",${${"\x47L\x4f\x42\x41L\x53"}["qr\x74\x71\x69x\x61\x72\x76"]});$this->show_results(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6em\x6b\x69\x63\x6d\x62\x78skg"]});}die();}function searchwp($query=''){$kbumxlx="\x70\x6fst\x73";${$kbumxlx}=array(0);if(class_exists("\x53e\x61\x72\x63hWP")){$eqrgssgjzz="\x72e\x73\x75l\x74s";$uwvkcs="s\x65\x61\x72\x63\x68w\x70";${$uwvkcs}=SearchWP::instance();${"\x47L\x4f\x42AL\x53"}["\x72\x78m\x6as\x68\x6d\x63b\x6d"]="\x65n\x67\x69\x6ee";add_filter("se\x61r\x63hwp\x5fp\x6f\x73\x74\x73_per\x5fp\x61g\x65",array($this,"ge\x74\x5f\x70os\x74\x73_pe\x72\x5f\x70a\x67e"));add_filter("sear\x63\x68w\x70\x5flo\x61\x64\x5fp\x6fs\x74\x73","\x5f\x5fretu\x72\x6e_fal\x73\x65");${${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x78\x6d\x6as\x68m\x63\x62\x6d"]}=isset($_REQUEST["\x73w\x70\x65\x6e\x67\x69\x6ee"])?sanitize_text_field($_REQUEST["sw\x70e\x6e\x67i\x6ee"]):"defa\x75l\x74";${$eqrgssgjzz}=$searchwp->search(${${"\x47\x4cOB\x41\x4c\x53"}["z\x70\x67o\x66\x70\x70\x66q"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x6b\x66a\x70m\x76"]});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x79\x72\x6ay\x79\x61y\x6b\x73\x68"]="r\x65\x73\x75\x6c\x74\x73";$this->results=${${"\x47L\x4f\x42\x41LS"}["\x76\x79\x72j\x79\x79\x61\x79\x6b\x73h"]};if(!empty(${${"GL\x4f\x42\x41\x4c\x53"}["\x62\x64h\x64e\x63\x78\x77\x68\x65"]})){${${"\x47\x4c\x4f\x42\x41\x4cS"}["l\x76\x73v\x78\x75hu"]}=${${"G\x4cO\x42\x41\x4cS"}["\x62\x64h\x64\x65\x63\x78w\x68e"]};}}return${${"G\x4cOB\x41\x4c\x53"}["\x6cvs\x76\x78\x75\x68u"]};}function show_results($args=array()){$rgxmrnsv="\x61r\x67\x73";global$wp_query;${"\x47L\x4f\x42\x41\x4c\x53"}["\x71\x69k\x68x\x64\x76\x72\x75\x63"]="e\x6e\x67i\x6e\x65";query_posts(${$rgxmrnsv});if(class_exists("S\x65\x61rch\x57P")&&!empty($this->results)){$wp_query->found_posts=count($this->results);}do_action("\x73earchwp_liv\x65\x5fs\x65a\x72c\x68_alt\x65\x72_res\x75l\x74s");${${"\x47\x4c\x4fB\x41\x4c\x53"}["z\x70g\x6f\x66p\x70f\x71"]}=isset($_REQUEST["s\x77\x70\x65\x6egi\x6e\x65"])?sanitize_text_field($_REQUEST["\x73wpen\x67\x69ne"]):"";${${"\x47\x4c\x4fBA\x4cS"}["b\x64h\x64e\x63\x78\x77\x68\x65"]}=new SearchWP_Live_Search_Template();$results->get_template_part("se\x61rc\x68-\x72e\x73u\x6cts",${${"\x47\x4cO\x42\x41\x4cS"}["q\x69\x6b\x68\x78\x64v\x72u\x63"]});}function get_posts_per_page(){$egyxirgd="\x70e\x72_\x70\x61\x67\x65";${"\x47L\x4fBA\x4cS"}["\x6b\x6ey\x77\x62k\x63\x73\x6e\x64v"]="per\x5f\x70\x61\x67\x65";${$egyxirgd}=absint(apply_filters("\x73\x65\x61r\x63hw\x70\x5f\x6ci\x76e_s\x65\x61rc\x68\x5fp\x6fs\x74\x73_\x70\x65\x72_pa\x67e",7));return${${"G\x4c\x4f\x42ALS"}["\x6b\x6eyw\x62k\x63\x73\x6e\x64\x76"]};}}
?>
Function Calls
defined | 1 |
Stats
MD5 | 37be9e8373ef8845dabc73c636937127 |
Eval Count | 0 |
Decode Time | 62 ms |