Created
May 12, 2014 09:31
-
-
Save chemdemo/eb50aa5cf3c0f97a3e07 to your computer and use it in GitHub Desktop.
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
//比如在下列A、B、C、D三处转义方式均有细节差异。 | |
//<a href="http://www.qq.com" title="<?=$A?>"><?=$B?></a> | |
//<script>var name="<?=$C?>"</script> | |
//<textarea> | |
//<?=$D?> | |
//</textarea> | |
//进行pre的只能是D,而且还要做其他转义,比如 < 转为 < |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment