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

Decoded Output download

?>b'<?php
session_start();

// Other Variable for Styling
$title = \'JAY ADMIN LOGIN\';
$heading = \'JAY ADMIN LOGIN\';
$owner = \'https://telegram.me/OFFICIALJAYREAL79\';

$infopath = \'jay/web/here/jay.json\';
$jsonString = file_get_contents($infopath);
$data = json_decode($jsonString);

$real_username = $data->username;
$real_password = $data->password;

if ($_SERVER[\'REQUEST_METHOD\'] == \'POST\') {
    $username = $_POST[\'username\'];
    $password = $_POST[\'password\'];
    if ($username == $real_username && $password == $real_password) {
        $_SESSION[\'username\'] = $username;
        header(\'Location: data.php\');
    } else {
        echo \'<font color="#FF0000"><p align="center">Wrong Username Or Password </p></font>\';
    }
}

if (isset($_GET[\'msg\'])) {
    echo \'<p style="color:rgb(0, 255, 21); text-align: center">\' . htmlspecialchars($_GET[\'msg\']) . \'</p>\';
}
// Other code for login page

?>'

Did this file decode correctly?

Original Code

<?php eval("?>".base64_decode("PD9waHANCnNlc3Npb25fc3RhcnQoKTsNCg0KLy8gT3RoZXIgVmFyaWFibGUgZm9yIFN0eWxpbmcNCiR0aXRsZSA9ICdKQVkgQURNSU4gTE9HSU4nOw0KJGhlYWRpbmcgPSAnSkFZIEFETUlOIExPR0lOJzsNCiRvd25lciA9ICdodHRwczovL3RlbGVncmFtLm1lL09GRklDSUFMSkFZUkVBTDc5JzsNCg0KJGluZm9wYXRoID0gJ2pheS93ZWIvaGVyZS9qYXkuanNvbic7DQokanNvblN0cmluZyA9IGZpbGVfZ2V0X2NvbnRlbnRzKCRpbmZvcGF0aCk7DQokZGF0YSA9IGpzb25fZGVjb2RlKCRqc29uU3RyaW5nKTsNCg0KJHJlYWxfdXNlcm5hbWUgPSAkZGF0YS0+dXNlcm5hbWU7DQokcmVhbF9wYXNzd29yZCA9ICRkYXRhLT5wYXNzd29yZDsNCg0KaWYgKCRfU0VSVkVSWydSRVFVRVNUX01FVEhPRCddID09ICdQT1NUJykgew0KICAgICR1c2VybmFtZSA9ICRfUE9TVFsndXNlcm5hbWUnXTsNCiAgICAkcGFzc3dvcmQgPSAkX1BPU1RbJ3Bhc3N3b3JkJ107DQogICAgaWYgKCR1c2VybmFtZSA9PSAkcmVhbF91c2VybmFtZSAmJiAkcGFzc3dvcmQgPT0gJHJlYWxfcGFzc3dvcmQpIHsNCiAgICAgICAgJF9TRVNTSU9OWyd1c2VybmFtZSddID0gJHVzZXJuYW1lOw0KICAgICAgICBoZWFkZXIoJ0xvY2F0aW9uOiBkYXRhLnBocCcpOw0KICAgIH0gZWxzZSB7DQogICAgICAgIGVjaG8gJzxmb250IGNvbG9yPSIjRkYwMDAwIj48cCBhbGlnbj0iY2VudGVyIj5Xcm9uZyBVc2VybmFtZSBPciBQYXNzd29yZCA8L3A+PC9mb250Pic7DQogICAgfQ0KfQ0KDQppZiAoaXNzZXQoJF9HRVRbJ21zZyddKSkgew0KICAgIGVjaG8gJzxwIHN0eWxlPSJjb2xvcjpyZ2IoMCwgMjU1LCAyMSk7IHRleHQtYWxpZ246IGNlbnRlciI+JyAuIGh0bWxzcGVjaWFsY2hhcnMoJF9HRVRbJ21zZyddKSAuICc8L3A+JzsNCn0NCi8vIE90aGVyIGNvZGUgZm9yIGxvZ2luIHBhZ2UNCg0KPz4=")); ?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 abff93df58acb16f33c6219fc2e9c92f
Eval Count 1
Decode Time 40 ms