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 require_once 'flag.php'; if(isset($_GET['a']) and isset($_GET['hash'])){ ..
Decoded Output download
<?php
require_once 'flag.php';
if(isset($_GET['a']) and isset($_GET['hash'])){
$res = sanitize($_GET['a']);
$hash = sanitize($_GET['hash']);
$secretValue = (rand(5,5555)*555+55555555555);
if(($res != false) and ($hash != false)){
if($res.$secretValue == md5($_GET['hash'])){
echo "Congrats you is the hero : $flag";
}
else{
echo 'Try Again ... ';
}
}
else{
?>
Did this file decode correctly?
Original Code
<?php
require_once 'flag.php';
if(isset($_GET['a']) and isset($_GET['hash'])){
$res = sanitize($_GET['a']);
$hash = sanitize($_GET['hash']);
$secretValue = (rand(5,5555)*555+55555555555);
if(($res != false) and ($hash != false)){
if($res.$secretValue == md5($_GET['hash'])){
echo "Congrats you is the hero : $flag";
}
else{
echo 'Try Again ... ';
}
}
else{
Function Calls
| None |
Stats
| MD5 | c11f576be41b06ec0b2c38a5066bf4f3 |
| Eval Count | 0 |
| Decode Time | 90 ms |