烏雲自動跳轉

烏雲自動跳轉到鏡像網站

  1. // ==UserScript==
  2. // @name Auto jmup into wooyun mirror site
  3. // @name:zh-TW 烏雲自動跳轉
  4. // @namespace HTTP://WWW.RUSSIAVK.COM/
  5. // @version 0.2
  6. // @description Auto jmup into mirror-site of wooyun from www.wooyun.org
  7. // @description:zh-TW 烏雲自動跳轉到鏡像網站
  8. // @author WWW.RUSSIAVK.CN
  9. // @supportURL huanxiangxr21@gmail.com
  10. // @contributionURL https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=huanxiangxr21@gmail.com&item_name=Greasy+Fork+donation
  11. // @match http://www.wooyun.org/*
  12. // @require https://code.jquery.com/jquery-latest.js
  13. // ==/UserScript==
  14. (function() {
  15. 'use strict';
  16. let d=document,
  17. href=location.href.replace('wooyun.org','anquan.us/static')+'.html',
  18. TestUrl,
  19. r,
  20. index=href.substr(href.indexOf('1')+1,1),
  21. find="location.href=href;console.log('找到了');",
  22. UnFind="console.log('此链接错误开始');";
  23. r=Cheak(href);
  24. console.log(href);
  25. if(r!==true){
  26. eval(UnFind);
  27. Auto(index);
  28. }
  29. else{
  30. eval(find);
  31. }
  32. function Auto(index){
  33. for(let i=0;i<=5;i++){
  34. if(i!==index){//continue;
  35. TestUrl=href.replace('1'+index,'1'+i);
  36. console.log(TestUrl);
  37. if(Cheak(TestUrl)==true){
  38. find=find.replace('=href','="'+TestUrl+'"');
  39. eval(find);
  40. }
  41. else{
  42. eval(UnFind.replace('开始',''));
  43. }
  44. }
  45. }
  46. }
  47. function Cheak(URL){
  48. $.ajax({
  49. type: 'GET',
  50. url:URL,
  51. async:false,
  52. success:function(data,statusTXT){
  53. r=true;
  54. }
  55. });
  56. return r
  57. }
  58. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址