We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xss全称Cross Site Scripting(跨站脚本),为了与“CSS”区别,就使用XSS作为简称。XSS 攻击是指hacker往 HTML 文件中注入恶意脚本,从而在用户浏览页面时运行恶意脚本对用户实施攻击的一种手段。
<script src='xxx'></script>
<scriptscr='xxx'></script>,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
XSS
xss全称Cross Site Scripting(跨站脚本),为了与“CSS”区别,就使用XSS作为简称。XSS 攻击是指hacker往 HTML 文件中注入恶意脚本,从而在用户浏览页面时运行恶意脚本对用户实施攻击的一种手段。
危害
类别
反射性xss一般指攻击者通过特定的方式来诱惑受害者去访问一个包含恶意代码的URL。当受害者点击恶意链接url的时候,恶意代码会直接在受害者的主机上的浏览器执行。
客户端的js对页面dom节点进行动态的操作,比如插入、修改页面的内容
通过客户端的输入把SQL命令注入到一个应用的数据库中,从而执行恶意的SQL语句
预防
<script src='xxx'></script>
转码,成<scriptscr='xxx'></script>,
这样浏览器的DOM解析器就不能运行恶意脚本。参考链接
The text was updated successfully, but these errors were encountered: