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("PD9waHAgDQpyZXF1aXJlICdPYmZ1c2NhdG9yLnBocCc7DQoNCiRmaWxlbmF..

Decoded Output download

?>b'<?php 
require \'Obfuscator.php\';

$filename = \'code\'; // A PHP filename (without .php) that you want to obfuscate

$sData = file_get_contents($filename . \'.php\');
$sData = str_replace(array(\'<?php\', \'<?\', \'?>\'), \'\', $sData); // We strip the open/close PHP tags
$sObfusationData = new Obfuscator($sData, \'Class/Code NAME\');
file_put_contents($filename . \'_obfuscated.php\', \'<?php \' . "rn" . $sObfusationData);'

Did this file decode correctly?

Original Code

<?php eval("?>".base64_decode("PD9waHAgDQpyZXF1aXJlICdPYmZ1c2NhdG9yLnBocCc7DQoNCiRmaWxlbmFtZSA9ICdjb2RlJzsgLy8gQSBQSFAgZmlsZW5hbWUgKHdpdGhvdXQgLnBocCkgdGhhdCB5b3Ugd2FudCB0byBvYmZ1c2NhdGUNCg0KJHNEYXRhID0gZmlsZV9nZXRfY29udGVudHMoJGZpbGVuYW1lIC4gJy5waHAnKTsNCiRzRGF0YSA9IHN0cl9yZXBsYWNlKGFycmF5KCc8P3BocCcsICc8PycsICc/PicpLCAnJywgJHNEYXRhKTsgLy8gV2Ugc3RyaXAgdGhlIG9wZW4vY2xvc2UgUEhQIHRhZ3MNCiRzT2JmdXNhdGlvbkRhdGEgPSBuZXcgT2JmdXNjYXRvcigkc0RhdGEsICdDbGFzcy9Db2RlIE5BTUUnKTsNCmZpbGVfcHV0X2NvbnRlbnRzKCRmaWxlbmFtZSAuICdfb2JmdXNjYXRlZC5waHAnLCAnPD9waHAgJyAuICJybiIgLiAkc09iZnVzYXRpb25EYXRhKTs=")); ?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 f0dbbfbf8e2f378bab5baf71151beb25
Eval Count 1
Decode Time 88 ms