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 if(ini_get(base64_decode('YWxsb3dfdXJsX2ZvcGVu'))==0){echo base64_decode('WW91IG5lZW..

Decoded Output download

<?php if(ini_get(base64_decode('YWxsb3dfdXJsX2ZvcGVu'))==0){echo base64_decode('WW91IG5lZWQgdG8gc2V0IDxzdHJvbmc+YWxsb3dfdXJsX2ZvcGVuPC9zdHJvbmc+IHRvIDEgb24geW91ciBQSFAuaW5p');return;}$j3=y2();if(!$j3){echo base64_decode('PGgxPkVycm9yIHJldHJpZXZpbmcgdGhlIFVSTCBvZiB5b3VyIHNlcnZlcjwvaDE+');return;}$q4=isset($_GET[base64_decode('bGFuZw==')])?$_GET[base64_decode('bGFuZw==')]:base64_decode('ZW4=');$h5=isset($_GET[base64_decode('Y29kZQ==')])?$_GET[base64_decode('Y29kZQ==')]:false;$t6=isset($_GET[base64_decode('Y29tcGFueQ==')])?$_GET[base64_decode('Y29tcGFueQ==')]:false;if(!$h5||!$t6){echo base64_decode('PGgxPlRyYWNraW5nIGNvZGUgYW5kIGNvbXBhbnkgY29kZSBjYW5ub3QgYmUgZW1wdHk8L2gxPg==');return;}$w7="https://www.trackingmore.com/track/{$q4}/{$h5}?express={$t6}";$n8=@file_get_contents($w7);if($n8===FALSE){echo base64_decode('PGgxPkVycm9yIHJldHJpZXZpbmcgdHJhY2tpbmcgaW5mbzwvaDE+');return;}$n8=str_replace(base64_decode('PC90aXRsZT4='),base64_decode('PC90aXRsZT48YmFzZSBocmVmPSJodHRwczovL3d3dy50cmFja2luZ21vcmUuY29tL3RyYWNrL2VuLzk0NjEyMDkyMDU1NjgyOTI2NTc2NDI/ZXhwcmVzcz11c3BzIiAvPg=='),$n8);$n8=str_replace(base64_decode('PC9oZWFkPg=='),base64_decode('PGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSI=').$j3.base64_decode('L3RyYWNrZXIvc3R5bGUuY3NzIiAvPjxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0IiBzcmM9Ig==').$j3.base64_decode('L3RyYWNrZXIvbWFpbi5qcyI+PC9zY3JpcHQ+PC9oZWFkPg=='),$n8);$n8=str_replace(base64_decode('PGxpbmsgcmVsPSJzaG9ydGN1dCBpY29uIiBocmVmPSIvL3MudHJhY2tpbmdtb3JlLmNvbS9pbWFnZXMvZmF2aWNvbi5pY28iPg=='),'',$n8);$n8=preg_replace(base64_decode('Izxub3NjcmlwdCguKj8pPiguKj8pPC9ub3NjcmlwdD4jaXM='),'',$n8);$n8=str_replace(base64_decode('KHdpbmRvdyxkb2N1bWVudCwnc2NyaXB0JywnLy93d3cuZ29vZ2xlLWFuYWx5dGljcy5jb20vYW5hbHl0aWNzLmpzJywnZ2EnKQ=='),'',$n8);$n8=str_replace(base64_decode('Z2EoJ2NyZWF0ZScsICdVQS01OTQ1NjAzMy0xJywgJ2F1dG8nKTs='),'',$n8);$n8=str_replace(base64_decode('Z2EoJ3NlbmQnLCAncGFnZXZpZXcnKTs='),'',$n8);$n8=str_replace(base64_decode('PHNjcmlwdCBkYXRhLWFkLWNsaWVudD0iY2EtcHViLTY2MDAwNDYwODg1MjQ0NDUiIGFzeW5jIHNyYz0iaHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvanMvYWRzYnlnb29nbGUuanMiPjwvc2NyaXB0Pg=='),'',$n8);$n8=str_replace(base64_decode('J2h0dHBzOi8vd3d3Lmdvb2dsZXRhZ21hbmFnZXIuY29tL2d0bS5qcz9pZD0nK2krZGw7Zi5wYXJlbnROb2RlLmluc2VydEJlZm9yZShqLGYp'),base64_decode('IiMi'),$n8);$n8=str_replace(base64_decode('KGFkc2J5Z29vZ2xlID0gd2luZG93LmFkc2J5Z29vZ2xlIHx8IFtdKS5wdXNoKHt9KTs='),'',$n8);$n8=str_replace(base64_decode('JC5hamF4'),'',$n8);echo $n8;function d0($w9,$i10,$j11){$x12=strpos($j11,$w9);$n13=strpos($j11,$i10);if($x12===false||$n13===false){return $j11;}$x14=substr($j11,$x12,($n13+strlen($i10))-$x12);return d0($w9,$i10,str_replace($x14,'',$j11));}function b1($r15=null){$h16=$r15?$r15:$_SERVER[base64_decode('U0VSVkVSX05BTUU=')];$z17=strtolower(trim($h16));$e18=substr_count($z17,base64_decode('Lg=='));if($e18===2){if(strlen(explode(base64_decode('Lg=='),$z17)[1])>3)$z17=explode(base64_decode('Lg=='),$z17,2)[1];}else if($e18>2){$z17=b1(explode(base64_decode('Lg=='),$z17,2)[1]);}if(($m19=strpos($z17,base64_decode('Lg==')))!==false){$z17=substr($z17,0,$m19);}return $z17;}function y2(){if(isset($_SERVER[base64_decode('SFRUUFM=')])&&($_SERVER[base64_decode('SFRUUFM=')]==base64_decode('b24=')||$_SERVER[base64_decode('SFRUUFM=')]==1)||isset($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')])&&$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')]==base64_decode('aHR0cHM=')){$j20=base64_decode('aHR0cHM6Ly8=');}else{$j20=base64_decode('aHR0cDovLw==');}$a21=$_SERVER[base64_decode('UEhQX1NFTEY=')];if($a21){$a21=str_replace(base64_decode('L3RyYWNrZXIvdHJhY2tlci5waHA='),'',$a21);}return $j20.$_SERVER[base64_decode('U0VSVkVSX05BTUU=')].$a21;}?>

Did this file decode correctly?

Original Code

<?php if(ini_get(base64_decode('YWxsb3dfdXJsX2ZvcGVu'))==0){echo base64_decode('WW91IG5lZWQgdG8gc2V0IDxzdHJvbmc+YWxsb3dfdXJsX2ZvcGVuPC9zdHJvbmc+IHRvIDEgb24geW91ciBQSFAuaW5p');return;}$j3=y2();if(!$j3){echo base64_decode('PGgxPkVycm9yIHJldHJpZXZpbmcgdGhlIFVSTCBvZiB5b3VyIHNlcnZlcjwvaDE+');return;}$q4=isset($_GET[base64_decode('bGFuZw==')])?$_GET[base64_decode('bGFuZw==')]:base64_decode('ZW4=');$h5=isset($_GET[base64_decode('Y29kZQ==')])?$_GET[base64_decode('Y29kZQ==')]:false;$t6=isset($_GET[base64_decode('Y29tcGFueQ==')])?$_GET[base64_decode('Y29tcGFueQ==')]:false;if(!$h5||!$t6){echo base64_decode('PGgxPlRyYWNraW5nIGNvZGUgYW5kIGNvbXBhbnkgY29kZSBjYW5ub3QgYmUgZW1wdHk8L2gxPg==');return;}$w7="https://www.trackingmore.com/track/{$q4}/{$h5}?express={$t6}";$n8=@file_get_contents($w7);if($n8===FALSE){echo base64_decode('PGgxPkVycm9yIHJldHJpZXZpbmcgdHJhY2tpbmcgaW5mbzwvaDE+');return;}$n8=str_replace(base64_decode('PC90aXRsZT4='),base64_decode('PC90aXRsZT48YmFzZSBocmVmPSJodHRwczovL3d3dy50cmFja2luZ21vcmUuY29tL3RyYWNrL2VuLzk0NjEyMDkyMDU1NjgyOTI2NTc2NDI/ZXhwcmVzcz11c3BzIiAvPg=='),$n8);$n8=str_replace(base64_decode('PC9oZWFkPg=='),base64_decode('PGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSI=').$j3.base64_decode('L3RyYWNrZXIvc3R5bGUuY3NzIiAvPjxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0IiBzcmM9Ig==').$j3.base64_decode('L3RyYWNrZXIvbWFpbi5qcyI+PC9zY3JpcHQ+PC9oZWFkPg=='),$n8);$n8=str_replace(base64_decode('PGxpbmsgcmVsPSJzaG9ydGN1dCBpY29uIiBocmVmPSIvL3MudHJhY2tpbmdtb3JlLmNvbS9pbWFnZXMvZmF2aWNvbi5pY28iPg=='),'',$n8);$n8=preg_replace(base64_decode('Izxub3NjcmlwdCguKj8pPiguKj8pPC9ub3NjcmlwdD4jaXM='),'',$n8);$n8=str_replace(base64_decode('KHdpbmRvdyxkb2N1bWVudCwnc2NyaXB0JywnLy93d3cuZ29vZ2xlLWFuYWx5dGljcy5jb20vYW5hbHl0aWNzLmpzJywnZ2EnKQ=='),'',$n8);$n8=str_replace(base64_decode('Z2EoJ2NyZWF0ZScsICdVQS01OTQ1NjAzMy0xJywgJ2F1dG8nKTs='),'',$n8);$n8=str_replace(base64_decode('Z2EoJ3NlbmQnLCAncGFnZXZpZXcnKTs='),'',$n8);$n8=str_replace(base64_decode('PHNjcmlwdCBkYXRhLWFkLWNsaWVudD0iY2EtcHViLTY2MDAwNDYwODg1MjQ0NDUiIGFzeW5jIHNyYz0iaHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvanMvYWRzYnlnb29nbGUuanMiPjwvc2NyaXB0Pg=='),'',$n8);$n8=str_replace(base64_decode('J2h0dHBzOi8vd3d3Lmdvb2dsZXRhZ21hbmFnZXIuY29tL2d0bS5qcz9pZD0nK2krZGw7Zi5wYXJlbnROb2RlLmluc2VydEJlZm9yZShqLGYp'),base64_decode('IiMi'),$n8);$n8=str_replace(base64_decode('KGFkc2J5Z29vZ2xlID0gd2luZG93LmFkc2J5Z29vZ2xlIHx8IFtdKS5wdXNoKHt9KTs='),'',$n8);$n8=str_replace(base64_decode('JC5hamF4'),'',$n8);echo $n8;function d0($w9,$i10,$j11){$x12=strpos($j11,$w9);$n13=strpos($j11,$i10);if($x12===false||$n13===false){return $j11;}$x14=substr($j11,$x12,($n13+strlen($i10))-$x12);return d0($w9,$i10,str_replace($x14,'',$j11));}function b1($r15=null){$h16=$r15?$r15:$_SERVER[base64_decode('U0VSVkVSX05BTUU=')];$z17=strtolower(trim($h16));$e18=substr_count($z17,base64_decode('Lg=='));if($e18===2){if(strlen(explode(base64_decode('Lg=='),$z17)[1])>3)$z17=explode(base64_decode('Lg=='),$z17,2)[1];}else if($e18>2){$z17=b1(explode(base64_decode('Lg=='),$z17,2)[1]);}if(($m19=strpos($z17,base64_decode('Lg==')))!==false){$z17=substr($z17,0,$m19);}return $z17;}function y2(){if(isset($_SERVER[base64_decode('SFRUUFM=')])&&($_SERVER[base64_decode('SFRUUFM=')]==base64_decode('b24=')||$_SERVER[base64_decode('SFRUUFM=')]==1)||isset($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')])&&$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9QUk9UTw==')]==base64_decode('aHR0cHM=')){$j20=base64_decode('aHR0cHM6Ly8=');}else{$j20=base64_decode('aHR0cDovLw==');}$a21=$_SERVER[base64_decode('UEhQX1NFTEY=')];if($a21){$a21=str_replace(base64_decode('L3RyYWNrZXIvdHJhY2tlci5waHA='),'',$a21);}return $j20.$_SERVER[base64_decode('U0VSVkVSX05BTUU=')].$a21;}?>

Function Calls

None

Variables

None

Stats

MD5 f3ce099a5e77a89920cae0d5fd4618fd
Eval Count 0
Decode Time 85 ms