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 @eval("?>".base64_decode("PD9waHANCmhlYWRlcigiQ29udGVudC10eXBlOiB0ZXh0L2NzcyIpOw0KIC..

Decoded Output download

?>b'<?php
header("Content-type: text/css");
 $root_dir = realpath("../");

readfile($root_dir.\'/css/site.css\');

if( isset($_GET[\'f\'])){
	$files = explode(\',\', $_GET[\'f\']);
	foreach ($files as $key ) {
		readfile($root_dir.\'/css/\'.$key.\'.css\');
	}
}

?>'

Did this file decode correctly?

Original Code

<?php @eval("?>".base64_decode("PD9waHANCmhlYWRlcigiQ29udGVudC10eXBlOiB0ZXh0L2NzcyIpOw0KICRyb290X2RpciA9IHJlYWxwYXRoKCIuLi8iKTsNCg0KcmVhZGZpbGUoJHJvb3RfZGlyLicvY3NzL3NpdGUuY3NzJyk7DQoNCmlmKCBpc3NldCgkX0dFVFsnZiddKSl7DQoJJGZpbGVzID0gZXhwbG9kZSgnLCcsICRfR0VUWydmJ10pOw0KCWZvcmVhY2ggKCRmaWxlcyBhcyAka2V5ICkgew0KCQlyZWFkZmlsZSgkcm9vdF9kaXIuJy9jc3MvJy4ka2V5LicuY3NzJyk7DQoJfQ0KfQ0KDQo/Pg=="));//Generated by Ampare PHP Encoder. For more security please use php protect before encode the php program

Function Calls

base64_decode 1

Variables

None

Stats

MD5 9e3201dce0502c39375dcf97e2d4a103
Eval Count 1
Decode Time 41 ms