Created
May 31, 2017 08:12
-
-
Save aidantwoods/b1af3d0f25219ebd9e9f1bf83762c496 to your computer and use it in GitHub Desktop.
Try ?password=0
This file contains 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
<?php | |
$unfortunateHash = '0e23957352'; | |
if ($unfortunateHash == $_GET['password']) | |
{ | |
echo 'logged in!'; | |
} | |
else | |
{ | |
echo 'incorrect password'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'll admit, this one is very unlikely in the way it's presented – not impossible though. Or could bite you in another use case