<?php
include "flag.php";
$source = show_source("index.php", true);
echo("<div>");
print $source;
echo("</div>");
if (isset($_GET['shell']) && isset($_GET['pwn'])) {
if(is_array($_GET['shell']) || is_array($_GET['pwn'])){
die("<h1>Try Harder! </h1>");
}
if ($_GET['shell'] !== $_GET['pwn'] && hash("md5", $_GET['shell']) === hash("md5", $_GET['pwn'])) {
echo("<h1>$flag</h1>");
} else {
echo("<h1>Try harder! </h1>");
}
} else {
echo("<h1>Get the flag!</h1>");
}
?>