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 include('flag.php'); $num = $_GET['num']?: 0; $checksum = $_GET['checksum']?..
Decoded Output download
<?php
include('flag.php');
$num = $_GET['num']?: 0;
$checksum = $_GET['checksum']?: 0;
if (md5($num + hexdec(md5($flag))) === $checksum)
echo "Got flag: {$flag} <br>";
else
highlight_file(__FILE__); ?>
Did this file decode correctly?
Original Code
<?php
include('flag.php');
$num = $_GET['num']?: 0;
$checksum = $_GET['checksum']?: 0;
if (md5($num + hexdec(md5($flag))) === $checksum)
echo "Got flag: {$flag} <br>";
else
highlight_file(__FILE__);
Function Calls
None |
Stats
MD5 | e4e5fa9ffe81aee501487445f9d9fc30 |
Eval Count | 0 |
Decode Time | 40 ms |