开发者

<script type="text/javascript">alert('Xss done');</script>

开发者 https://www.devze.com 2023-01-25 19:57 出处:网络
How do you resolve this Xss from Stackoverflo开发者_如何学Pythonw?The output is html encoded. All html entities are replaced with their escaped characters, for example \"<\" is replaced by &lt

How do you resolve this Xss from Stackoverflo开发者_如何学Pythonw?


The output is html encoded.

All html entities are replaced with their escaped characters, for example "<" is replaced by &lt;.

More info on wikipedia along with a list of html characters, http://en.wikipedia.org/wiki/Character_encodings_in_HTML


Jeff actually posted his Sanitizer on RefactorMyCode.com

You can see it here. It may not be the final version they're currently using, but it will show you the basics of how it works.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号