Skip to content

Instantly share code, notes, and snippets.

@aidantwoods
Created May 31, 2017 07:50
Show Gist options
  • Save aidantwoods/5d72fa1bfb58eae1fb5fc2ed9e84d803 to your computer and use it in GitHub Desktop.
Save aidantwoods/5d72fa1bfb58eae1fb5fc2ed9e84d803 to your computer and use it in GitHub Desktop.
Try ?password[]=1
<?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