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'; highlight_file("index.php"); if (isset($_GET['x']) and isset(..
Decoded Output download
<?php
include 'flag.php';
highlight_file("index.php");
if (isset($_GET['x']) and isset($_GET['y']) and isset($_GET['z'])) {
$a = floatval($_GET['x']);
$b = floatval($_GET['y']);
$c = floatval($_GET['z']);
if ($a <= 0 or $b <= 0 or $c <= 0)
echo '<p>Under Zero</p>';
else if ($a >= 1000000 or $b >= 1000000 or $c >= 1000000)
echo '<p>Over Million</p>';
else if ($a ** 3 + $b ** 3 == $c ** 3)
echo '<p>'.$flag.'</p>';
else
echo '<p>No Flag</p>';
}
?>
Did this file decode correctly?
Original Code
<?php
include 'flag.php';
highlight_file("index.php");
if (isset($_GET['x']) and isset($_GET['y']) and isset($_GET['z'])) {
$a = floatval($_GET['x']);
$b = floatval($_GET['y']);
$c = floatval($_GET['z']);
if ($a <= 0 or $b <= 0 or $c <= 0)
echo '<p>Under Zero</p>';
else if ($a >= 1000000 or $b >= 1000000 or $c >= 1000000)
echo '<p>Over Million</p>';
else if ($a ** 3 + $b ** 3 == $c ** 3)
echo '<p>'.$flag.'</p>';
else
echo '<p>No Flag</p>';
}
?>
Function Calls
None |
Stats
MD5 | eaa3ba5c3d6808aa964ce2d290b6d93d |
Eval Count | 0 |
Decode Time | 97 ms |