Last active
December 15, 2015 22:19
-
-
Save MiLk/5332066 to your computer and use it in GitHub Desktop.
# Fujicraft - XSS
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
| <?php | |
| // include/pages/addComment.php - line 19 | |
| $comment = htmlspecialchars($_POST['comment'], ENT_QUOTES, 'UTF-8', false); |
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
| <?php | |
| // includes/pages/profil.php - line 112 | |
| $userSkype = htmlspecialchars($_POST['skype'], ENT_QUOTES, 'UTF-8', false); | |
| $userFacebook = htmlspecialchars($_POST['facebook'], ENT_QUOTES, 'UTF-8', false); | |
| $userTwitter = htmlspecialchars($_POST['twitter'], ENT_QUOTES, 'UTF-8', false); | |
| $userGoogle = htmlspecialchars($_POST['google'], ENT_QUOTES, 'UTF-8', false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment