Created
January 30, 2017 19:51
-
-
Save sinansh/4ad36a1d3805deb0fe8fb9aa6b8a2f1e to your computer and use it in GitHub Desktop.
ctf web challenges
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 | |
echo $_GET["name"]; | |
?> |
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(preg_match('/alert/i', $GET["name"])){ | |
die("error"); | |
} | |
echo "Hello ".$GET["name"]; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment