Created
April 17, 2019 05:57
-
-
Save sohwendy/d601618bf1ea525db26c12e4baeec2c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$flag = "The Power is Yours"; | |
if (isset($_POST["user"]) && isset($_POST["pass"])) { | |
$password = make_key($_POST["user"]); | |
sleep(5); | |
if (strcmp($password, $_POST["pass"]) == 0) { | |
echo "You are close, but no cigar! <br />"; | |
if ($_POST["user"] == "127.0.0.1") { | |
echo "You got the flag, and the flag is: ".$flag."<br /> "; | |
} | |
} else { echo "Try again!"; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment