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("PD9waHAKLy8gSW5pdGlhbGl6ZSB0aGUgc2Vzc2lvbgpzZXNzaW9uX3N0YXJ..
Decoded Output download
?>b'<?php
// Initialize the session
session_start();
// Unset all of the session variables
$_SESSION = array();
// Destroy the session.
session_destroy();
// Redirect to login page
header("location: ../index.php");
exit;
?>'
Did this file decode correctly?
Original Code
<?php eval("?>".base64_decode("PD9waHAKLy8gSW5pdGlhbGl6ZSB0aGUgc2Vzc2lvbgpzZXNzaW9uX3N0YXJ0KCk7CiAKLy8gVW5zZXQgYWxsIG9mIHRoZSBzZXNzaW9uIHZhcmlhYmxlcwokX1NFU1NJT04gPSBhcnJheSgpOwogCi8vIERlc3Ryb3kgdGhlIHNlc3Npb24uCnNlc3Npb25fZGVzdHJveSgpOwogCi8vIFJlZGlyZWN0IHRvIGxvZ2luIHBhZ2UKaGVhZGVyKCJsb2NhdGlvbjogLi4vaW5kZXgucGhwIik7CmV4aXQ7Cj8+")); ?>
Function Calls
base64_decode | 1 |
Stats
MD5 | 7e7a67290c7659e6ebb369288f1161bc |
Eval Count | 1 |
Decode Time | 50 ms |