Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<!DOCTYPE html> <html> <head> <title>MD5 is fun</title> </head> <body> ..
Decoded Output download
<!DOCTYPE html>
<html>
<head>
<title>MD5 is fun</title>
</head>
<body>
<h1>Do you thing NOTHING here?</h1>
<?php
include 'secret.php';
if(isset($_GET["is_debug"]) && $_GET["is_debug"] === "1"){
highlight_file(__FILE__);
}
if(isset($_GET["a"]) and isset($_GET["b"])) {
if ($_GET["a"] !== $_GET["b"] and
hash("md5", $salt . $_GET["a"]) === hash("md5", $salt . $_GET["b"])) {
echo $flag;
} else {
echo "Try again :))";
}
exit();
}
?>
<!--is_debug = 1 -->
</body>
</html>
Did this file decode correctly?
Original Code
<!DOCTYPE html>
<html>
<head>
<title>MD5 is fun</title>
</head>
<body>
<h1>Do you thing NOTHING here?</h1>
<?php
include 'secret.php';
if(isset($_GET["is_debug"]) && $_GET["is_debug"] === "1"){
highlight_file(__FILE__);
}
if(isset($_GET["a"]) and isset($_GET["b"])) {
if ($_GET["a"] !== $_GET["b"] and
hash("md5", $salt . $_GET["a"]) === hash("md5", $salt . $_GET["b"])) {
echo $flag;
} else {
echo "Try again :))";
}
exit();
}
?>
<!--is_debug = 1 -->
</body>
</html>
Function Calls
None |
Stats
MD5 | 99bee5df40f0c8a7c5a369fe18156f6a |
Eval Count | 0 |
Decode Time | 129 ms |