Created
May 31, 2017 07:50
-
-
Save aidantwoods/5d72fa1bfb58eae1fb5fc2ed9e84d803 to your computer and use it in GitHub Desktop.
Try ?password[]=1
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 | |
if (0 == strcmp('password', $_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