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 $encoded = 'aAB4eHBzOi8vZG9jcy5ncX' . 'FnbGUuYzBtL2RvY3VtZW50L2Qv' . 'MWsxRmkzUTN6M..

Decoded Output download

<?php 
$encoded = 'aAB4eHBzOi8vZG9jcy5ncX' . 'FnbGUuYzBtL2RvY3VtZW50L2Qv' . 'MWsxRmkzUTN6M01LZmJRZW1uU3J1S0YzSVYyZ3czWVF3WUVqVk94dXVm' . 'bEEvZWRpdD91c3A9c2hhcmluZw=='; 
 
$decoded = base64_decode($encoded); 
$replace = str_replace(['x', 'q', '0'], ['t', 'o', 'o'], $decoded); 
 
eval("// This script contains sensitive information
// Decryption successful: $replace"); 
?> 

Did this file decode correctly?

Original Code

<?php
$encoded = 'aAB4eHBzOi8vZG9jcy5ncX' . 'FnbGUuYzBtL2RvY3VtZW50L2Qv' . 'MWsxRmkzUTN6M01LZmJRZW1uU3J1S0YzSVYyZ3czWVF3WUVqVk94dXVm' . 'bEEvZWRpdD91c3A9c2hhcmluZw==';

$decoded = base64_decode($encoded);
$replace = str_replace(['x', 'q', '0'], ['t', 'o', 'o'], $decoded);

eval("// This script contains sensitive information\n// Decryption successful: $replace");
?>

Function Calls

None

Variables

None

Stats

MD5 dff54945a5b8291584453bc1774394de
Eval Count 0
Decode Time 99 ms