Kafeine

5uu8

Feb 23rd, 2018
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var rules_type = '9';
  2. var this_dns = 'ntokei.co';
  3. if (window.is_cn) {
  4.     var rules_type;
  5.     var language = window.navigator.language;
  6.     if (!language) {
  7.         language = window.navigator.browserLanguage
  8.     }
  9.     var sysLanguage = navigator.systemLanguage ? navigator.systemLanguage : navigator.language;
  10.     if (language.toUpperCase() == "ZH-CN" || sysLanguage.toUpperCase() == "ZH-CN" || sysLanguage.toUpperCase() == "ZH" || language.toUpperCase() == "ZH") {
  11.         rules_type = window.is_cn
  12.     }
  13. }
  14. var s_url = ('https:' == document.location.protocol ? 'https://sslcode' : 'http://ip') + '.5uu8.com/ip/';
  15.  
  16. function no_site() {
  17.     Source = document.body.firstChild.data;
  18.     document.open();
  19.     document.close();
  20.     document.title = "\u60a8\u6240\u5728\u7684\u57df\u540d\uff0c\u975e\u6cd5\u8c03\u7528\u4e86 \u201cIP\u5c4f\u853d\u7cfb\u7edf\u201d,\u8bf7\u767b\u5f55\u7ba1\u7406\u5e73\u53f0\u514d\u8d39\u6dfb\u52a0\u5f53\u524d\u7ad9\u70b9\u57df\u540d";
  21.     document.body.innerHTML = Source;
  22.     document.body.innerHTML = '<iframe id="main" name="main" marginwidth="0" marginheight="0" scrolling="no" framespacing="0" vspace="0" hspace="0" frameborder="0" width="100%" height="680px" src="' + s_url + 'err/err0.html?err_id=0"></iframe>'
  23. }
  24.  
  25. function no_proxy() {
  26.     var page_url = 'http://ip.5uu8.com/ip/err/err0.html?err_id=1';
  27.     window.status = '\u8bf7\u4e0d\u8981\u7528\u5728\u7ebf\u7ffb\u8bd1\u6216\u5728\u7ebf\u4ee3\u7406\u8bbf\u95ee \u201cIP\u5c4f\u853d\u7cfb\u7edf\u201d';
  28.     document.title = "\u8bf7\u4e0d\u8981\u7528\u5728\u7ebf\u7ffb\u8bd1\u6216\u5728\u7ebf\u4ee3\u7406\u8bbf\u95ee \u201cIP\u5c4f\u853d\u7cfb\u7edf\u201d";
  29.     document.write("<body style='margin:0;padding:0;' scoll=no>");
  30.     var w_h = window.screen.height - 100;
  31.     document.write('<iframe id="main" name="main" marginwidth="0" marginheight="0" scrolling="auto" framespacing="0" vspace="0" hspace="0" frameborder="0" width="100%" height="' + w_h + 'px" style="background-color:#fff" src="' + page_url + '"></iframe>');
  32.     document.write("</body></html><script type='text/javascript' defer>document.body.style.overflow=document.documentElement.style.overflow= 'hidden';</script><div style=display:none><noscript>")
  33. }
  34.  
  35. function no_vip() {
  36.     Source = document.body.firstChild.data;
  37.     document.open();
  38.     document.close();
  39.     document.title = "\u5f53\u524d\u7ad9\u70b9\u7684VIP\u529f\u80fd\u672a\u5f00\u901a\u6216\u5df2\u7ecf\u8fc7\u671f\uff0c\u8bf7\u8bbf\u95eehttp://ip.5uu8.com\u8fdb\u884c\u7eed\u8d39";
  40.     document.body.innerHTML = Source;
  41.     document.body.innerHTML = '<iframe id="main" name="main" marginwidth="0" marginheight="0" scrolling="no" framespacing="0" vspace="0" hspace="0" frameborder="0" width="100%" height="680px" src="' + s_url + 'err/err0.html?err_id=2"></iframe>'
  42. }
  43.  
  44. function no_replace_page2() {
  45.     if (rules_url != '') {
  46.         var page_url = rules_url
  47.     }
  48.     window.status = '';
  49.     document.title = "";
  50.     document.write("<body style='margin:0;padding:0;' scoll=no>");
  51.     var w_h = window.screen.height - 100;
  52.     document.write('<iframe id="main" name="main" marginwidth="0" marginheight="0" scrolling="auto" framespacing="0" vspace="0" hspace="0" frameborder="0" width="100%" height="' + w_h + 'px" style="background-color:#fff" src="' + page_url + '"></iframe>');
  53.     document.write("</body></html><script type='text/javascript' defer>document.body.style.overflow=document.documentElement.style.overflow= 'hidden';</script><div style=display:none><noscript>")
  54. }
  55.  
  56. function d_err(var_type) {
  57.     window.status = '';
  58.     switch (var_type) {
  59.         case "404":
  60.             document.title = "The page cannot be found";
  61.             document.writeln('<!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><TITLE>The page cannot be found</TITLE><META HTTP-EQUIV="Content-Type"Content="text/html; charset=Windows-1252"><STYLE type="text/css">BODY{font:8pt/12pt verdana}H1{font:13pt/15pt verdana}H2{font:8pt/12pt verdana}A:link{color:red}A:visited{color:maroon}</STYLE></HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD><h1>The page cannot be found</h1>The page you are looking for might have been removed,had its name changed,or is temporarily unavailable.<hr><p>Please try the following:</p><ul><li>Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.</li><li>If you reached this page by clicking a link,contact the Web site administrator to alert them that the link is incorrectly formatted.</li><li>Click the<a href="javascript:history.back(1)">Back</a>button to try another link.</li></ul><h2>HTTP Error 404-File or directory not found.<br>Internet Information Services(IIS)</h2><hr><p>Technical Information(for support personnel)</p><ul><li>Go to<a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a>and perform a title search for the words<b>HTTP</b>and<b>404</b>.</li><li>Open<b>IIS Help</b>,which is accessible in IIS Manager(inetmgr),and search for topics titled<b>Web Site Setup</b>,<b>Common Administrative Tasks</b>,and<b>About Custom Error Messages</b>.</li></ul></TD></TR></TABLE></BODY></HTML><div style=display:none><noscript>');
  62.             break
  63.     }
  64.     if (document.all) {
  65.         document.execCommand("stop")
  66.     } else {
  67.         window.stop()
  68.     }
  69. }
  70. switch (rules_type) {
  71.     case "0":
  72.         window.top.location.href = rules_url;
  73.         break;
  74.     case "1":
  75.         var ua = navigator.userAgent.toLowerCase();
  76.         if (ua.match(/qq\//i) == "qq/") {
  77.             window.top.location.href = "https://wpa.qq.com/msgrd?V=1&Uin=6677591&Site=%E6%98%9F%E7%BD%91%E7%A7%91%E6%8A%80%EF%BC%9A%E7%82%B9%E5%87%BB%E5%92%8C%E6%88%91%E9%80%9A%E8%AF%9D&Menu=yes"
  78.         } else {
  79.             window.top.location.href = "about:blank"
  80.         }
  81.         break;
  82.     case "2":
  83.         document.title = "DNS\u89e3\u6790\u9519\u8bef\uff0c\u65e0\u6cd5\u663e\u793a\u8be5\u7f51\u9875";
  84.         var mydns = new Array();
  85.         mydns[2] = "http://dzl.baidu.com/iebar/iebardnserror.html?q=http%3A%2F%2Fwww." + this_dns + "%2F";
  86.         mydns[1] = "http://daohang.114so.cn/zy2/zj.htm?id=458&kw=localhost&s=hn&h=3&x=zx0114so&v=2&seq=243_275_194&t=web";
  87.         mydns[0] = "http://www.duba.com/iedns2.html?q=http%3A%2F%2Fwww." + this_dns + "%2F";
  88.         var r_x = Math.floor(Math.random() * (2 + 1));
  89.         window.top.location.href = mydns[r_x];
  90.         break;
  91.     case "3":
  92.         d_err("404");
  93.         break;
  94.     case "4":
  95.         no_replace_page2();
  96.         break;
  97.     case "5":
  98.         window.location.href = rules_url;
  99.         break;
  100.     case "6":
  101.         window.top.location.href = rules_url;
  102.         break;
  103.     case "7":
  104.         window.top.location.href = "http://ip.5uu8.com/ip/admin/oauth/login.php?a=site_qq_login&u=" + qq_url;
  105.         break;
  106.     case "9":
  107.         window.onload = no_site;
  108.         break;
  109.     case "10":
  110.         no_proxy();
  111.         break;
  112.     case "11":
  113.         window.onload = no_vip;
  114.         break;
  115.     case "ok":
  116.         var s_url2 = ('https:' == document.location.protocol ? 'https:\/\/sslcode' : 'http:\/\/ip') + '.5uu8.com\/ip\/';
  117.         document.writeln("<div id=\"top_tooltip\" style=\"display:none;background:url(" + s_url2 + "images\/top_tooltip.png) no-repeat;background-position:4px 4px;border-top:1px solid #fff; border-bottom:1px solid #aca899; height:26px; line-height:26px; padding-left:33px; font-size:12px; background-color:#ffffe1; text-align:left;color:#ff4e00; margin:1px auto\"><a style=\"background:url(" + s_url2 + "images\/top_tooltip.png) no-repeat;background-position:-2px -115px;width:15px; height:14px;float:right; display:inline; margin:5px 10px;cursor:pointer;\" onclick=\'set_top_visible(\"none\");\'><\/a><span style=\"color:#333;\">\u661f\u7f51 \u56fd\u5185IP\u5c4f\u853d\u7cfb\u7edf(<b><font color=red>\u56fd\u5916\u7528\u6237\u8bbf\u95ee\u4e0d\u4f1a\u51fa\u6b64\u63d0\u793a</font></b>) \u63d0\u9192\u60a8\uff1a<\/span><font color=blue>\u7528\u6237\u60a8\u597d:\u60a8\u5df2\u7ecf\u9a8c\u8bc1\u901a\u8fc7\uff0c\u53ef\u4ee5\u8bbf\u95ee\u88ab\u5c4f\u853d\u5185\u5bb9\uff01</font>\u66f4\u591a\u8bbe\u7f6e,\u8bf7\u8bbf\u95ee<a href=\"" + s_url2 + "\" target=_blank>http:\/\/IP.5UU8.COM\/<\/a>\uff0c\u5168\u7a0b\u4e13\u5bb6\u5728\u7ebf\uff0c\u5b9e\u65f6\u4e00\u5bf9\u4e00\u91d1\u724c\u670d\u52a1\uff01<\/div> ");
  118.         var st = 0000;
  119.         var ht = 5000;
  120.  
  121.         function set_top_visible(v) {
  122.             (!v) && (v = "block");
  123.             try {
  124.                 document.getElementById("top_tooltip").style.display = v
  125.             } catch (e) {}
  126.         }
  127.         setTimeout("set_top_visible()", st);
  128.         break
  129. }
Advertisement
Add Comment
Please, Sign In to add comment