CSS样式

CSS

CSS是一种穿插在HTML中的样式代码, 提供网页上的多种视觉效果

在HTML中, CSS一般是以这样的样子来表示

1
2
3
4
5
6
7
8
9
10
<style>
iframe {
width:500px; /*宽*/
height500px; /*高*/
position:absolute; /*位置*/
top:0; left:0; /*位置*/
filteralpha(opacity=0); /*透明*/
opacity:0.1;
}
</style>

<style> 之间的就是CSS样式的源代码 </style>

1
2
3
4
5
6
7
8
iframe {
width:500px;
height500px;
position:absolute;
top:0; left:0;
filteralpha(opacity=0);
opacity:0.1;
}

CSS漏洞

如HTML, 纯CSS的漏洞也很少

但也不是没有

比如CSS-keylogging

是一个纯CSS的插入式脚本, 源码为nodejs

他会生成一个密码输入框, 并记录输入的值, 将其返回到对应的服务器上

相当于一个小的键盘钩子

项目在github上

  • Copyrights © 2024 Cdog Shen
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信