h6744615 2017-02-10 03:28 采纳率: 0%
浏览 3027

抓取到的网站页面,对方有个js加密+定时跳转,如何解决?

 <!DOCTYPE HTML>
<html lang="en-US">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  <meta name="robots" content="noindex, nofollow" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>Just a moment...</title>
  <style type="text/css">
    html, body {width: 100%; height: 100%; margin: 0; padding: 0;}
    body {background-color: #ffffff; font-family: Helvetica, Arial, sans-serif; font-size: 100%;}
    h1 {font-size: 1.5em; color: #404040; text-align: center;}
    p {font-size: 1em; color: #404040; text-align: center; margin: 10px 0 0 0;}
    #spinner {margin: 0 auto 30px auto; display: block;}
    .attribution {margin-top: 20px;}
    @-webkit-keyframes bubbles { 33%: { -webkit-transform: translateY(10px); transform: translateY(10px); } 66% { -webkit-transform: translateY(-10px); transform: translateY(-10px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } }
    @keyframes bubbles { 33%: { -webkit-transform: translateY(10px); transform: translateY(10px); } 66% { -webkit-transform: translateY(-10px); transform: translateY(-10px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } }
    .bubbles { background-color: #404040; width:15px; height: 15px; margin:2px; border-radius:100%; -webkit-animation:bubbles 0.6s 0.07s infinite ease-in-out; animation:bubbles 0.6s 0.07s infinite ease-in-out; -webkit-animation-fill-mode:both; animation-fill-mode:both; display:inline-block; }
  </style>

    <script type="text/javascript">
  //<![CDATA[
  (function(){
    var a = function() {try{return !!window.addEventListener} catch(e) {return !1} },
    b = function(b, c) {a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)};
    b(function(){
      var a = document.getElementById('cf-content');a.style.display = 'block';
      setTimeout(function(){
        var s,t,o,p,b,r,e,a,k,i,n,g,f, iFhpHCE={"rkBBjKVIpmV":!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]};
        t = document.createElement('div');
        t.innerHTML="<a href='/'>x</a>";
        t = t.firstChild.href;r = t.match(/https?:\/\//)[0];
        t = t.substr(r.length); t = t.substr(0,t.length-1);
        a = document.getElementById('jschl-answer');
        f = document.getElementById('challenge-form');
        ;iFhpHCE.rkBBjKVIpmV+=+((!+[]+!![]+!![]+!![]+[])+(+!![]));iFhpHCE.rkBBjKVIpmV+=+((+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]));iFhpHCE.rkBBjKVIpmV-=+!![];iFhpHCE.rkBBjKVIpmV-=+((+!![]+[])+(!+[]+!![]));iFhpHCE.rkBBjKVIpmV-=!+[]+!![]+!![]+!![];iFhpHCE.rkBBjKVIpmV+=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]));iFhpHCE.rkBBjKVIpmV+=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]));iFhpHCE.rkBBjKVIpmV-=+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]));iFhpHCE.rkBBjKVIpmV-=+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]));iFhpHCE.rkBBjKVIpmV*=+((+!![]+[])+(+[]));a.value = parseInt(iFhpHCE.rkBBjKVIpmV, 10) + t.length; '; 121'
        f.submit();
      }, 4000);
    }, false);
  })();
  //]]>
</script>


</head>
<body>
  <table width="100%" height="100%" cellpadding="20">
    <tr>
      <td align="center" valign="middle">
          <div class="cf-browser-verification cf-im-under-attack">
  <noscript><h1 data-translate="turn_on_js" style="color:#bd2426;">Please turn JavaScript on and reload the page.</h1></noscript>
  <div id="cf-content" style="display:none">
    <div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
    </div>
    <h1><span data-translate="checking_browser">Checking your browser before accessing</span> knlotto.kr.</h1>
    <p data-translate="process_is_automatic">This process is automatic. Your browser will redirect to your requested content shortly.</p>
    <p data-translate="allow_5_secs">Please allow up to 5 seconds&hellip;</p>
  </div>
  <form id="challenge-form" action="/cdn-cgi/l/chk_jschl" method="get">
    <input type="hidden" name="jschl_vc" value="48d072e0d71ade632aace23e347185db"/>
    <input type="hidden" name="pass" value="1484395376.543-eFdBKA6qvF"/>
    <input type="hidden" id="jschl-answer" name="jschl_answer"/>
  </form>
</div>


          <div class="attribution">
            <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=iuam" target="_blank" style="font-size: 12px;">DDoS protection by CloudFlare</a>
            <br>
            Ray ID: 3210f106637a33bb
          </div>
      </td>
    </tr>
  </table>
</body>
</html>

  • 写回答

1条回答 默认 最新

  • Go 旅城通票 2017-02-10 05:38
    关注

    就是怪异的计算而已,对象转换之类的,自己log下对应的值就知道是什么了,然后按照js算法自己服务器端写一遍

    参考
    +/-一元运算符计算空字符结果为0分析
    javascript计算不同数据类型如何转换

              var s, t, o, p, b, r, e, a, k, i, n, g, f, iFhpHCE = { "rkBBjKVIpmV": !+[] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] };
              console.log(!+[] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![])// 9
            //t = document.createElement('div');
           // t.innerHTML="<a href='/'>x</a>";
           // t = t.firstChild.href;r = t.match(/https?:\/\//)[0];
           // t = t.substr(r.length); t = t.substr(0,t.length-1);
           // a = document.getElementById('jschl-answer');
          //  f = document.getElementById('challenge-form');
              ; iFhpHCE.rkBBjKVIpmV += +((!+[] + !![] + !![] + !![] + []) + (+!![]));
              console.log(+((!+[] + !![] + !![] + !![] + []) + (+!![])))// 41
              iFhpHCE.rkBBjKVIpmV += +((+!![] + []) + (!+[] + !![] + !![] + !![] + !![] + !![] + !![] + !![]));
              console.log(+((+!![] + []) + (!+[] + !![] + !![] + !![] + !![] + !![] + !![] + !![])))// 18
              iFhpHCE.rkBBjKVIpmV -= +!![];
              console.log(+!![])// 1
              iFhpHCE.rkBBjKVIpmV -= +((+!![] + []) + (!+[] + !![]));
              console.log(+((+!![] + []) + (!+[] + !![])))//  12
              iFhpHCE.rkBBjKVIpmV -= !+[] + !![] + !![] + !![];
              console.log(!+[] + !![] + !![] + !![])//4
              iFhpHCE.rkBBjKVIpmV += +((!+[] + !![] + !![] + !![] + []) + (!+[] + !![]));
              console.log(+((!+[] + !![] + !![] + !![] + []) + (!+[] + !![])))//42
              iFhpHCE.rkBBjKVIpmV += +((!+[] + !![] + !![] + !![] + []) + (!+[] + !![] + !![] + !![] + !![] + !![]));
              console.log(+((!+[] + !![] + !![] + !![] + []) + (!+[] + !![] + !![] + !![] + !![] + !![])))//46
              iFhpHCE.rkBBjKVIpmV -= +((!+[] + !![] + !![] + []) + (!+[] + !![] + !![]));
              console.log(+((!+[] + !![] + !![] + []) + (!+[] + !![] + !![])))//33
              iFhpHCE.rkBBjKVIpmV -= +((!+[] + !![] + !![] + []) + (!+[] + !![] + !![] + !![] + !![] + !![] + !![]));
              console.log(+((!+[] + !![] + !![] + []) + (!+[] + !![] + !![] + !![] + !![] + !![] + !![])))//37
              iFhpHCE.rkBBjKVIpmV *= +((+!![] + []) + (+[]));
              console.log(+((+!![] + []) + (+[])))//10
              a.value = parseInt(iFhpHCE.rkBBjKVIpmV, 10) + t.length; '; 121'
    
    评论

报告相同问题?

悬赏问题

  • ¥15 file converter 转换格式失败 报错 Error marking filters as finished,如何解决?
  • ¥15 ubuntu系统下挂载磁盘上执行./提示权限不够
  • ¥15 Arcgis相交分析无法绘制一个或多个图形
  • ¥15 关于#r语言#的问题:差异分析前数据准备,报错Error in data[, sampleName1] : subscript out of bounds请问怎么解决呀以下是全部代码:
  • ¥15 seatunnel-web使用SQL组件时候后台报错,无法找到表格
  • ¥15 fpga自动售货机数码管(相关搜索:数字时钟)
  • ¥15 用前端向数据库插入数据,通过debug发现数据能走到后端,但是放行之后就会提示错误
  • ¥30 3天&7天&&15天&销量如何统计同一行
  • ¥30 帮我写一段可以读取LD2450数据并计算距离的Arduino代码
  • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型