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

Signing you up...

Thank you for signing up!

PHP Decode

<head> <meta charset="utf8"> </head> <?php require(base64_decode('c19jb25maWcucGhw'));..

Decoded Output download

<head> 
	<meta charset="utf8"> 
</head> 
<?php require(base64_decode('c19jb25maWcucGhw'));if(!isset($_GET[base64_decode('YQ==')])){Header(base64_decode('TG9jYXRpb246ID9hPW1haW4='));}else{$ncf7da1310371=$_GET[base64_decode('YQ==')];switch($ncf7da1310371){case base64_decode('bWFpbg=='):e313ffeacdbad();break;case base64_decode('YnV5'):echo base64_decode('QQ==');break;default:Header(base64_decode('TG9jYXRpb246ID9hPW1haW4mZT0x'));break;}}function e313ffeacdbad(){require(base64_decode('c19jb25maWcucGhw'));if(isset($_GET[base64_decode('ZQ==')])){switch($_GET[base64_decode('ZQ==')]){case 1:$w9b4624106da9=1;$nbede0de5d240=base64_decode('TmllcHJhd2lkxYJvd2EgYWtjamE=');break;default:$w9b4624106da9=0;$nbede0de5d240=base64_decode('Tmllem5hbnkgYsWCxIVk');break;}echo base64_decode('PHNjcmlwdD5hbGVydCgnV3lzdMSFcGnFgiBixYLEhWQhIEtvZDog').$w9b4624106da9.base64_decode('ICg=').$nbede0de5d240.base64_decode('KScpOzwvc2NyaXB0Pg==');}echo base64_decode('V2l0YWogdyBza2xlcGllIA==').$y473fdfc60937;?> 
			<h1>huj</h1> 
		<?php }?>

Did this file decode correctly?

Original Code

<head>
	<meta charset="utf8">
</head>
<?php require(base64_decode('c19jb25maWcucGhw'));if(!isset($_GET[base64_decode('YQ==')])){Header(base64_decode('TG9jYXRpb246ID9hPW1haW4='));}else{$ncf7da1310371=$_GET[base64_decode('YQ==')];switch($ncf7da1310371){case base64_decode('bWFpbg=='):e313ffeacdbad();break;case base64_decode('YnV5'):echo base64_decode('QQ==');break;default:Header(base64_decode('TG9jYXRpb246ID9hPW1haW4mZT0x'));break;}}function e313ffeacdbad(){require(base64_decode('c19jb25maWcucGhw'));if(isset($_GET[base64_decode('ZQ==')])){switch($_GET[base64_decode('ZQ==')]){case 1:$w9b4624106da9=1;$nbede0de5d240=base64_decode('TmllcHJhd2lkxYJvd2EgYWtjamE=');break;default:$w9b4624106da9=0;$nbede0de5d240=base64_decode('Tmllem5hbnkgYsWCxIVk');break;}echo base64_decode('PHNjcmlwdD5hbGVydCgnV3lzdMSFcGnFgiBixYLEhWQhIEtvZDog').$w9b4624106da9.base64_decode('ICg=').$nbede0de5d240.base64_decode('KScpOzwvc2NyaXB0Pg==');}echo base64_decode('V2l0YWogdyBza2xlcGllIA==').$y473fdfc60937;?>
			<h1>huj</h1>
		<?php }?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 16b4513c6347b16023cfc498da14e9e1
Eval Count 0
Decode Time 47 ms