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 ${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73i\x61\x73g\x6big\x70s"]="\x68\x74\x6d\x6c";${"GL..

Decoded Output download

<?php ${"GLOBALS"}["siasgkigps"]="html";${"GLOBALS"}["bnioed"]="config";${"GLOBALS"}["lminvsl"]="params";${"GLOBALS"}["dfzrbdgwopq"]="debug";${"GLOBALS"}["jcrzxgn"]="site2";${"GLOBALS"}["osdhbwdzlhh"]="site";if(!defined("ABSPATH")){exit;}class SearchWP_Live_Search_Form extends SearchWP_Live_Search{public$configs=array('default'=>array('engine'=>'default','input'=>array('delay'=>500,'min_chars'=>3,),'results'=>array('position'=>'bottom','width'=>'auto','offset'=>array('x'=>0,'y'=>5),),'spinner'=>array('lines'=>10,'length'=>8,'width'=>4,'radius'=>8,'corners'=>1,'rotate'=>0,'direction'=>1,'color'=>'#000','speed'=>1,'trail'=>60,'shadow'=>false,'hwaccel'=>false,'className'=>'spinner','zIndex'=>2000000000,'top'=>'50%','left'=>'50%',),),);function setup(){${"GLOBALS"}["ntoavjujy"]="site2";${${"GLOBALS"}["osdhbwdzlhh"]}=EDD_SL_STORE_URL;${${"GLOBALS"}["jcrzxgn"]}=get_option("edd_sample_theme_license_key_status");if(${${"GLOBALS"}["osdhbwdzlhh"]}=="https://psythemes.com"&&${${"GLOBALS"}["ntoavjujy"]}!=="valid"){add_action("wp_enqueue_scripts",array($this,"assets"));add_filter("get_search_form",array($this,"get_search_form"),999,1);}$this->configs=apply_filters("searchwp_live_search_configs",$this->configs);}function assets(){wp_enqueue_style("livesearch",$this->url."/assets/styles/style.css",null,$this->version);${"GLOBALS"}["yrvtec"]="encoded_data";wp_enqueue_script("jquery");${${"GLOBALS"}["dfzrbdgwopq"]}=(defined("SCRIPT_DEBUG")&&SCRIPT_DEBUG==true)||(isset($_GET["script_debug"]))?true:false;$vzudivdtfvh="params";$txoijsfahu="encoded_data";if(${${"GLOBALS"}["dfzrbdgwopq"]}){wp_register_script("swp-live-search-client",$this->url."/assets/javascript/build/psythemes-live-search.js",array("jquery"),$this->version,true);}else{wp_register_script("swp-live-search-client",$this->url."/assets/javascript/build/psythemes-live-search.min.js",array("jquery"),$this->version,true);}${$vzudivdtfvh}=array("ajaxurl"=>admin_url("admin-ajax.php"),"config"=>$this->configs,"msg_no_config_found"=>__("No valid Live Search configuration found!","searchwp"),);${${"GLOBALS"}["yrvtec"]}=array("l10n_print_after"=>"searchwp_live_search_params = ".json_encode(${${"GLOBALS"}["lminvsl"]}).";");wp_localize_script("swp-live-search-client","searchwp_live_search_params",${$txoijsfahu});wp_enqueue_script("swp-live-search-client");}function get_search_form($html){${"GLOBALS"}["rhobhsnpmks"]="html";if(apply_filters("searchwp_live_search_hijack_get_search_form",true)){$pdhtphm="engine";${"GLOBALS"}["bsyrlegbefr"]="engine";${$pdhtphm}=apply_filters("searchwp_live_search_get_search_form_engine","default");${${"GLOBALS"}["bnioed"]}=apply_filters("searchwp_live_search_get_search_form_config","default");$mlrrvbfm="config";${${"GLOBALS"}["siasgkigps"]}=str_replace("name=\"s"","name="s\" data-swplive="true\" data-swpengine=\"".esc_attr(${${"GLOBALS"}["bsyrlegbefr"]})."" data-swpconfig=\"".esc_attr(${$mlrrvbfm}).""",${${"GLOBALS"}["siasgkigps"]});}return${${"GLOBALS"}["rhobhsnpmks"]};}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73i\x61\x73g\x6big\x70s"]="\x68\x74\x6d\x6c";${"GLO\x42\x41\x4cS"}["\x62\x6eio\x65\x64"]="\x63o\x6efi\x67";${"\x47\x4c\x4f\x42\x41LS"}["\x6cm\x69nv\x73\x6c"]="\x70ar\x61\x6d\x73";${"G\x4c\x4f\x42\x41L\x53"}["\x64\x66\x7a\x72\x62\x64gwop\x71"]="\x64eb\x75g";${"G\x4c\x4f\x42AL\x53"}["\x6a\x63\x72\x7axg\x6e"]="\x73\x69\x74\x652";${"\x47L\x4f\x42\x41L\x53"}["\x6fs\x64h\x62\x77dz\x6chh"]="\x73i\x74e";if(!defined("\x41\x42S\x50A\x54\x48")){exit;}class SearchWP_Live_Search_Form extends SearchWP_Live_Search{public$configs=array('default'=>array('engine'=>'default','input'=>array('delay'=>500,'min_chars'=>3,),'results'=>array('position'=>'bottom','width'=>'auto','offset'=>array('x'=>0,'y'=>5),),'spinner'=>array('lines'=>10,'length'=>8,'width'=>4,'radius'=>8,'corners'=>1,'rotate'=>0,'direction'=>1,'color'=>'#000','speed'=>1,'trail'=>60,'shadow'=>false,'hwaccel'=>false,'className'=>'spinner','zIndex'=>2000000000,'top'=>'50%','left'=>'50%',),),);function setup(){${"\x47L\x4f\x42\x41\x4cS"}["\x6eto\x61v\x6a\x75jy"]="\x73\x69\x74e\x32";${${"\x47\x4cO\x42A\x4cS"}["\x6f\x73dh\x62\x77dzl\x68\x68"]}=EDD_SL_STORE_URL;${${"\x47L\x4fBA\x4cS"}["\x6ac\x72\x7ax\x67\x6e"]}=get_option("e\x64\x64\x5fs\x61\x6dpl\x65\x5fthem\x65\x5flic\x65\x6e\x73e_\x6be\x79_\x73\x74\x61\x74\x75s");if(${${"\x47\x4c\x4fB\x41L\x53"}["\x6fsdh\x62w\x64\x7al\x68\x68"]}=="\x68tt\x70s://ps\x79the\x6d\x65\x73.\x63om"&&${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x74\x6f\x61\x76j\x75\x6a\x79"]}!=="vali\x64"){add_action("w\x70\x5fe\x6equeue_s\x63\x72ipts",array($this,"a\x73\x73\x65\x74s"));add_filter("\x67et\x5f\x73\x65a\x72ch\x5f\x66\x6f\x72\x6d",array($this,"\x67e\x74_\x73\x65\x61\x72ch_f\x6f\x72m"),999,1);}$this->configs=apply_filters("\x73\x65archw\x70\x5f\x6cive_\x73e\x61r\x63h_\x63\x6fn\x66\x69\x67\x73",$this->configs);}function assets(){wp_enqueue_style("li\x76\x65searc\x68",$this->url."/a\x73s\x65t\x73/sty\x6c\x65s/style\x2e\x63\x73s",null,$this->version);${"\x47L\x4f\x42\x41\x4cS"}["\x79r\x76t\x65c"]="\x65\x6ec\x6fd\x65d\x5fd\x61t\x61";wp_enqueue_script("\x6aq\x75e\x72y");${${"GL\x4f\x42\x41L\x53"}["\x64f\x7a\x72\x62\x64g\x77o\x70q"]}=(defined("S\x43\x52\x49\x50T\x5f\x44\x45\x42UG")&&SCRIPT_DEBUG==true)||(isset($_GET["\x73\x63r\x69\x70\x74\x5fd\x65bug"]))?true:false;$vzudivdtfvh="\x70\x61\x72a\x6d\x73";$txoijsfahu="\x65n\x63\x6f\x64\x65\x64\x5fd\x61\x74\x61";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64fzrbdg\x77\x6f\x70q"]}){wp_register_script("s\x77\x70-li\x76\x65-s\x65ar\x63\x68-\x63l\x69\x65\x6et",$this->url."/asse\x74s/\x6a\x61\x76asc\x72i\x70t/bu\x69l\x64/psyt\x68e\x6des-liv\x65-\x73\x65\x61\x72\x63h\x2e\x6a\x73",array("\x6aq\x75\x65ry"),$this->version,true);}else{wp_register_script("s\x77p-l\x69v\x65-s\x65\x61rc\x68-clien\x74",$this->url."/\x61\x73sets/ja\x76\x61scri\x70t/b\x75\x69ld/\x70\x73y\x74\x68\x65\x6des-\x6c\x69v\x65-\x73\x65ar\x63\x68\x2e\x6din.\x6a\x73",array("j\x71ue\x72\x79"),$this->version,true);}${$vzudivdtfvh}=array("aja\x78\x75rl"=>admin_url("adm\x69\x6e-\x61j\x61x.\x70hp"),"c\x6fnf\x69\x67"=>$this->configs,"m\x73\x67\x5f\x6eo_\x63onfig_\x66o\x75\x6e\x64"=>__("\x4e\x6f\x20\x76\x61li\x64\x20\x4cive \x53\x65ar\x63\x68\x20config\x75\x72\x61t\x69on\x20f\x6fun\x64!","\x73\x65\x61\x72c\x68\x77p"),);${${"\x47\x4c\x4fBAL\x53"}["\x79\x72vte\x63"]}=array("l10\x6e_\x70ri\x6e\x74\x5faft\x65r"=>"s\x65\x61rc\x68w\x70\x5fl\x69v\x65\x5f\x73ea\x72\x63h_par\x61m\x73 = ".json_encode(${${"GLO\x42AL\x53"}["\x6cmi\x6e\x76\x73\x6c"]})."\x3b");wp_localize_script("s\x77p-\x6c\x69\x76e-\x73\x65ar\x63\x68-c\x6ci\x65n\x74","s\x65\x61\x72\x63\x68\x77p\x5fliv\x65\x5fs\x65\x61r\x63h\x5fp\x61\x72\x61\x6d\x73",${$txoijsfahu});wp_enqueue_script("\x73\x77p-\x6ci\x76e-s\x65\x61\x72c\x68-\x63l\x69\x65n\x74");}function get_search_form($html){${"\x47\x4c\x4f\x42AL\x53"}["\x72\x68\x6f\x62hsn\x70m\x6b\x73"]="\x68\x74\x6d\x6c";if(apply_filters("\x73\x65\x61r\x63h\x77p_\x6ci\x76\x65_s\x65a\x72\x63h\x5fh\x69\x6aack_\x67\x65\x74\x5fsea\x72\x63h_\x66or\x6d",true)){$pdhtphm="\x65\x6eg\x69\x6e\x65";${"G\x4c\x4f\x42\x41\x4cS"}["\x62\x73\x79\x72\x6c\x65g\x62\x65\x66\x72"]="\x65\x6e\x67i\x6e\x65";${$pdhtphm}=apply_filters("s\x65\x61\x72\x63\x68w\x70_\x6civ\x65\x5fs\x65a\x72ch\x5fg\x65\x74_s\x65a\x72ch_form\x5fe\x6e\x67i\x6ee","d\x65faul\x74");${${"GL\x4f\x42\x41\x4c\x53"}["b\x6e\x69\x6f\x65\x64"]}=apply_filters("\x73\x65a\x72\x63\x68\x77p\x5fl\x69v\x65\x5fs\x65\x61rch\x5fget_\x73e\x61rc\x68_f\x6frm_\x63\x6fn\x66\x69\x67","de\x66\x61\x75lt");$mlrrvbfm="co\x6e\x66i\x67";${${"\x47L\x4f\x42A\x4c\x53"}["sias\x67kig\x70\x73"]}=str_replace("\x6eame=\"s\x22","\x6e\x61me\x3d\x22\x73\"\x20\x64\x61t\x61-\x73w\x70l\x69ve\x3d\x22t\x72ue\"\x20\x64\x61\x74\x61-s\x77p\x65\x6egi\x6ee=\"".esc_attr(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62\x73\x79\x72l\x65g\x62\x65\x66r"]})."\x22\x20\x64at\x61-\x73wp\x63\x6f\x6efi\x67\x3d\"".esc_attr(${$mlrrvbfm})."\x22",${${"G\x4cO\x42A\x4c\x53"}["sia\x73g\x6b\x69\x67p\x73"]});}return${${"\x47LO\x42\x41\x4cS"}["\x72\x68\x6f\x62\x68s\x6epm\x6b\x73"]};}}
?>

Function Calls

defined 1

Variables

GLOBALS [{'key': 'siasgkigps', 'value': 'html'}, {'key': 'bnioed', 'value': 'config'}, {'key': 'lminvsl', 'value': 'params'}, {'key': 'dfzrbdgwopq', 'value': 'debug'}, {'key': 'jcrzxgn', 'value': 'site2'}, {'key': 'osdhbwdzlhh', 'value': 'site'}]

Stats

MD5 cdc02b5dfe9a139b01d022162d3902d0
Eval Count 0
Decode Time 67 ms