Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
function auth(?string $username, ?string $password): bool { $isAdmin = $username == ..
Decoded Output download
<? function auth(?string $username, ?string $password): bool
{
$isAdmin = $username == "admin" && md5(md5($password)) == "0e385589729688144363378792916561";
if (!$isAdmin) {
return false;
}
session_start();
$_SESSION['is_admin'] = true;
session_commit();
return true;
} ?>
Did this file decode correctly?
Original Code
function auth(?string $username, ?string $password): bool
{
$isAdmin = $username == "admin" && md5(md5($password)) == "0e385589729688144363378792916561";
if (!$isAdmin) {
return false;
}
session_start();
$_SESSION['is_admin'] = true;
session_commit();
return true;
}
Function Calls
None |
Stats
MD5 | 66af1ad2a669d56a993defd2c579cdd9 |
Eval Count | 0 |
Decode Time | 96 ms |