codemanki / cloudscraper

--DEPRECATED -- 🛑 🛑 Node.js library to bypass cloudflare's anti-ddos page
MIT License
599 stars 139 forks source link

error :data is not defined #308

Open akchaudhary6532 opened 4 years ago

akchaudhary6532 commented 4 years ago
I am using cloudscraper@4.5.0 and node@10.16.0 few weeks ago everything was working fine, but when I ran the code today I got the error : 'Challenge form is missing secret input'. I then read some for issues here and found the issue was already fixed. Then I wrote a testcode and ran it in seperate file with fresh install of cloudscraper, code is : ```js const cloudscraper = require("cloudscraper"); const test = () => { cloudscraper.get("https://animedao.com") .catch(err => console.log(err)); }; test(); ``` and I got the following error : ```js { CaptchaError: captcha at validateResponse (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:273:11) at onCloudflareResponse (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:222:5) at onRequestResponse (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:205:5) at Request. (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:149:7) at Object.onceWrapper (events.js:286:20) at Request.emit (events.js:198:13) at Request. (/home/antrikshs/anime/packet/node_modules/request/request.js:1161:10) at Request.emit (events.js:198:13) at Gunzip. (/home/antrikshs/anime/packet/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:286:20) at Gunzip.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19) name: 'CaptchaError', message: 'captcha' } ```
akchaudhary6532 commented 4 years ago

and one I edited the code to

const cloudscraper = require("cloudscraper").defaults({ onCaptcha });;
const test = () => {
  cloudscraper.get("https://animedao.com")
  .catch(err => console.log(err));
};
test();

I started getting the 'Challenge form is missing secret input' error again.

Challenge form is missing secret input
    at onCaptcha (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:512:21)
    at onCloudflareResponse (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:226:14)
    at onRequestResponse (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:205:5)
    at Request.<anonymous> (/home/antrikshs/anime/packet/node_modules/cloudscraper/index.js:149:7)
    at Object.onceWrapper (events.js:286:20)
    at Request.emit (events.js:198:13)
    at Request.<anonymous> (/home/antrikshs/anime/packet/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:198:13)
    at Gunzip.<anonymous> (/home/antrikshs/anime/packet/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:286:20)
    at Gunzip.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1129:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  name: 'ParserError',
  message:
   '\n### Cloudflare may have changed their technique, or there may be a bug.\n### Bug Reports: https://github.com/codemanki/cloudscraper/issues\n### Check the detailed exception message that follows for the cause.\n\nChallenge form is missing secret input' }
codemanki commented 4 years ago

@akchaudhary6532 for me that site works perfectly fine with cloudscraper. Could you share html of the body of the error? .catch(err => console.log(err.response.body));

akchaudhary6532 commented 4 years ago

@akchaudhary6532 for me that site works perfectly fine with cloudscraper. Could you share html of the body of the error? .catch(err => console.log(err.response.body));

thanks for the fast reply, here is the response.body

 <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta name="captcha-bypass" id="captcha-bypass" />
<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" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>

<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]-->
<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script><!--<![endif]-->

</head>
<body>
  <div id="cf-wrapper">
    <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
    <div id="cf-error-details" class="cf-error-details-wrapper">
      <div class="cf-wrapper cf-header cf-error-overview">
        <h1 data-translate="challenge_headline">One more step</h1>
        <h2 class="cf-subheadline"><span data-translate="complete_sec_check">Please complete the security check to access</span> animedao.com</h2>
      </div><!-- /.header -->

      <div class="cf-section cf-highlight cf-captcha-container">
        <div class="cf-wrapper">
          <div class="cf-columns two">
            <div class="cf-column">
            <a href="https://abusesurvey.org/shareholder.php?blogid=963" style="display: none;">table</a>
              <div class="cf-highlight-inverse cf-form-stacked">
                <form class="challenge-form" id="challenge-form" action="/?__cf_chl_captcha_tk__=b2e52fef94bb22aa9818028ba6a7720ec47c7b41-1577285140-0-AXYYQTF1kFshjvk9xLVo20J1DU9xxDDL_zT_OqgvK9S3pTGhkKeHStxy5LMD4CEtfA04T5nH-XPuZWULpl6I4wrMvtpR8ael3_W8dOyREKnVodO-IkfqXArEcQ-hahK9IDWfDAQ31C9vhkvqyH8y-xeM1VPgxTCUvEpP0OfFq-qF84eTQdY43bQ0AGI8e3hOcl-uosD1nADZX3a2lslowibLGyY0WL5TzbBp8fnm9uHdjOIstV6LoGjMVMXQhZJGxIg07Ql1ksNAY8484WjaXYhdPUDfqGotr4QKa_A8Ulhx0iTsSjNOjaHjjuwWWxMTOA" method="POST" enctype="application/x-www-form-urlencoded">
  <input type="hidden" name="r" value="">
  <script type="text/javascript" src="/cdn-cgi/scripts/cf.challenge.js" data-type="normal"  data-ray="54ab99a0bdbad9c4" async data-sitekey="6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0"></script>
  <div class="g-recaptcha"></div>
  <noscript id="cf-captcha-bookmark" class="cf-captcha-info">
    <div><div style="width: 302px">
      <div>
        <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0" frameborder="0" scrolling="no" style="width: 302px; height:422px; border-style: none;"></iframe>
      </div>
      <div style="width: 300px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
        <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;"></textarea>
        <input type="submit" value="Submit"></input>
      </div>
    </div></div>
  </noscript>
</form>

                <script type="text/javascript">
  (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(){
      if (!a()) return;

      window.addEventListener("message", handleMessage, false)

      function handleMessage(event) {
        if (event.data && event.data.type === 'results') {
          var f = document.getElementById('challenge-form');

          if (f) {
            addInput(f, 'bf_challenge_id', '3345');
            addInput(f, 'bf_execution_time', event.data.executionTimeMs);
            addInput(f, 'bf_result_hash', event.data.resultHash);
          }

          window.removeEventListener("message", handleMessage, false)
        }
      }

      function addInput(parent, name, value) {
        var input = document.createElement('input');
        input.type = 'hidden';
        input.name = name;
        input.value = value;
        parent.appendChild(input);
      }

      function withIframe(iframeContent) {
        var iframe = document.createElement('iframe');
        iframe.id = 'bf_test_iframe';
        iframe.style.visibility = 'hidden';
        document.body.appendChild(iframe);
        var doc = (iframe.contentWindow || iframe.contentDocument).document;
        doc.write(iframeContent);
        doc.close();
      }

      withIframe("<!doctype html>\n<meta charset=\"utf-8\">\n<script src=\"https:\/\/ajax.cloudflare.com\/cdn-cgi\/scripts\/697236fc\/cloudflare-static\/bot-filter.js\"><\/__script__>\n\n\n\n<style>\n    td {\n        padding: 0;\n    }\n<\/style>\n<h1><\/h1>\n<a href=\"https:\/\/drafts.csswg.org\/css-tables-3\/#computing-the-table-width\">Spec<\/a>\n<p>\nSetting a spanning column to visibility:collapse changes table width but\nnot height. The middle column has been collapsed.\n<\/p>\n<table id=\"test\" style=\"border-spacing: 0;\">\n  <col style=\"background-color:red;\">\n  <col style=\"background-color: blue; visibility: collapse;\">\n  <col style=\"background-color: green;\">\n  <tr>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n  <\/tr>\n  <tr>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n  <\/tr>\n  <tr>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n    <td><div style=\"width: 10px; height: 10px\"><\/div><\/td>\n  <\/tr>\n  <tr>\n    <td colspan=\"3\"><div style=\"width: 30px; height: 10px\"><\/div><\/td>\n  <\/tr>\n<\/table>\n\n\n<\/html><script>for(tests=[[document.getElementById(\"test\").offsetHeight,40,\"col visibility:collapse doesn't change table height\"],[document.getElementById(\"test\").offsetWidth,20,\"col visibility:collapse changes table width\"]],i=0;i<tests.length;i++)test(function(){__c$1.apply(this,tests[i])});<\/__script__>".replace(/\/__script__/g, '/script'));

    }, false);
  })();
  </script>

              </div>
            </div>

            <div class="cf-column">
              <div class="cf-screenshot-container">

                <span class="cf-no-screenshot"></span>

              </div>
            </div>
          </div><!-- /.columns -->
        </div>
      </div><!-- /.captcha-container -->

      <div class="cf-section cf-wrapper">
        <div class="cf-columns two">
          <div class="cf-column">
            <h2 data-translate="why_captcha_headline">Why do I have to complete a CAPTCHA?</h2>

            <p data-translate="why_captcha_detail">Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.</p>
          </div>

          <div class="cf-column">
            <h2 data-translate="resolve_captcha_headline">What can I do to prevent this in the future?</h2>

            <p data-translate="resolve_captcha_antivirus">If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.</p>

            <p data-translate="resolve_captcha_network">If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.</p>

              <p data-translate="resolve_captcha_privacy_pass"> Another way to prevent getting this page in the future is to use Privacy Pass. You may need to download version 2.0 now from the <a href="https://chrome.google.com/webstore/detail/privacy-pass/ajhmfdgkijocedmfjonnpjfojldioehi">Chrome Web Store</a>.</p>

          </div>
        </div>
      </div><!-- /.section -->

      <div class="cf-error-footer cf-wrapper">
  <p>
    <span class="cf-footer-item">Cloudflare Ray ID: <strong>54ab99a0bdbad9c4</strong></span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-item"><span>Your IP</span>: 49.36.128.89</span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-item"><span>Performance &amp; security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span>

  </p>
</div><!-- /.error-footer -->

    </div><!-- /#cf-error-details -->
  </div><!-- /#cf-wrapper -->

  <script type="text/javascript">
  window._cf_translation = {};

</script>

  <script src="https://ajax.cloudflare.com/cdn-cgi/scripts/f8ce4a63/cloudflare-static/pic-chl.js"></script>
<script type="text/javascript">
  (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 f = document.getElementById('challenge-form');
      if (f) {
        var input = document.createElement('input');
        input.type = 'hidden';
        input.name = 'cv_chal_result';
        input.value = window.__CF$cv$chal([0xc7e5432cce,0x58a62b829c]);
        f.appendChild(input);
        try {
           if (window.__CF$cv$fp) {
              var input = document.createElement('input');
              input.type = 'hidden';
              input.name = 'cv_chal_fp';
              input.value = window.__CF$cv$fp();
              f.appendChild(input);
           }
        } catch (e) { }
      }
    }, false);
  })();
</script>

</body>
</html>
codemanki commented 4 years ago

Not sure why <input type="hidden" name="r" value="">'s value is empty 🤔 It is required for the recaptcha solution i guess

lucasreppewelander commented 4 years ago

I'm getting the same error while trying this url https://play.esea.net/api/users/541409 but in my response, <input type="hidden" name="r" /> values isn't empty.

Below is my error.response.body:

<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta name="captcha-bypass" id="captcha-bypass" />
<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" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>

<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]-->
<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script><!--<![endif]-->

</head>
<body>
  <div id="cf-wrapper">
    <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
    <div id="cf-error-details" class="cf-error-details-wrapper">
      <div class="cf-wrapper cf-header cf-error-overview">
        <h1 data-translate="challenge_headline">One more step</h1>
        <h2 class="cf-subheadline"><span data-translate="complete_sec_check">Please complete the security check to access</span> play.esea.net</h2>
      </div><!-- /.header -->

      <div class="cf-section cf-highlight cf-captcha-container">
        <div class="cf-wrapper">
          <div class="cf-columns two">
            <div class="cf-column">

              <div class="cf-highlight-inverse cf-form-stacked">
                <form class="challenge-form" id="challenge-form" action="/api/users/1946967?__cf_chl_captcha_tk__=7143d0e853c18f99000656e7fc245415e0fd34db-1582546702-0-AZHg2bm0mU_BMi9H7va_cp63Ql0Ujk8uEEqd-CPReLbpKZi-3fqhk4a1tmyBsQxXjo6VrguvU92ZwyeFJGuaBhLEcWhkuDr3IgzoJlRjUWGksxiu_pzB85mmzFb7WMmxG5a4k0j_Evc6iCQ76maUApcWd1xwEA1akOmLw8drs2_G8LbNzuBQb66y6k3u1VilvH-FUW2vwkkzfzdMyrjmNxOCOTeTmCxEUGg684MgMPxLFOJteEjJTfjaSaaI6I-wrVhiUuhyc7gBZVX9WY5EBg6DTA8uNWJAKyXBhyXSgDf0D_tc8v5pTOaat6e0vJBvuSTC6aTE2X1EpwcOId3D4r__xxMrJsW8nSqRmHMcCAfyfo_ZJ9ihtw14jTIz_IrDqa3vJKMfCtyN6F9QroHhr1c" method="POST" enctype="application/x-www-form-urlencoded">
  <input type="hidden" name="r" value="24a5fa870adab5633a541b55c79c7adbf726d0ca-1582546702-0-AfmTJFYkJD6gbb0uLz75KUzkBNWfH1+CrcG8+SPXrpHt58opAkTxGMCQxEDjN2pNY0t3+khwZSt6LF2bNcCn7MCRppLIipih+qa9lIn0cTpz+E0J809f44q0FWmAULX6KvLlYb6/P6RfR41K+HBG4GcD7siTviSrLFdWrEOPw1c+1wTMSKsmwUSSgoEhdEN20EdgzU11ukV4ypp0J0vk5px4ylpuAgig9ghSJQjY97b3z2MdAQGJhhJIEq7LzwgmSr4jtSyew+8AH0s9ZC/hE/LPXRNp/cbzIhfvD0TZgkYgUb/B+UkqQW5zT5BzAsQZERIbQznupLIZ+rLquLl9POuHCxyO9SJ4RTZnptYl3yWnm5rmnjcdNqTaGacKaGHyYYdcN0eMV7MOG7kG+LP7yvgQ2HQtAmX7cTvKnRSuWoDj0N2Xja/K7dHagFG3TytJJmjKUTG26elptLNTFnoG3e9aW1O7dPipSXaXbT0JwudlAGMmVDIJXJ7ttrfihMxIaNvTNyjEZ+SQvEQ5ULkCxO4tlIcIkaprvjputO4SGzobt10pH/l8EQjAZL/ZIQw/NCX8i6uPWJjZ6/Ku2lXCVvsRzXgKungs8Oury3JGC1fvz6sNw5LAyjNLBKy/Vd9UyNN8PQarMdE1K1W+NNHhljQ6H0V6RjZmIoB9PN6+8vaHBUBtZ4iB7nfptXTM0URWRRcBJdZQR+qMbdAM4JO+6FrRspu2tEjDJuQ1CKnAAMJBuDmnSxIt66N16N+lrInizQM+PmTsWgG0gxXdOJHyJ0isngHNKYWIwKkIyhinZH/FXjtiXiZVcT4SaLiOguCfPxuTvGk2mjXaq35VHGgUH4UiVWYaXtbOGR594DkMnbZyaYZUSC8oI0EtFBDE3ZjwUla5Jz982p8vTFbOPAtTSQdeOC9sgx8NYFAXVc5v7OaUCWOOvSfsL0vH6i823fuCHDI/GiUNx0wzvT+dO7V/G1Ss9BGmX4l5wCH2a6/ImHhuSJH1p0DtE0hzfrgNRniY0lqfq+lRm2rqsBR3ncGxPzW1WkGqkBzpghZUf7+Mwr485Pi07pcyolwKQzMrqeY8s83Ko8uHlC9DHUW2LXClYoLUH3i2MX2E6qlsyZmaHqupuyx8fO7NTUa6V3nfKN1PUCI0n6V6AmGQhoEGKkswK+hplPB29+fjAOOxoL7XdXTF5n1e9WHr12I1rbeOdrqYrq2ZCLK+8xJX4Gqfijp28pHxSFCexFW+oiDy+RBngpRjq/RWdhwSsEfDgkp/6GbOJ1xoMwFAfxvJguTw+GiH+j2/4F0DA0sLQupVCl3QuxbAOuq5HYQO2uxP/ZVlSb8i0KVoU43eOlmJrPeqIilsCa3ZwBcacLeKtcEmjTUPduN7">
  <script type="text/javascript" src="/cdn-cgi/scripts/cf.challenge.js" data-type="normal"  data-ray="56a161bb9d3275c2" async data-sitekey="6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0"></script>
  <div class="g-recaptcha"></div>
  <noscript id="cf-captcha-bookmark" class="cf-captcha-info">
    <div><div style="width: 302px">
      <div>
        <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0" frameborder="0" scrolling="no" style="width: 302px; height:422px; border-style: none;"></iframe>
      </div>
      <div style="width: 300px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
        <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;"></textarea>
        <input type="submit" value="Submit"></input>
      </div>
    </div></div>
  </noscript>
</form>

              </div>
            </div>

            <div class="cf-column">
              <div class="cf-screenshot-container">

                <span class="cf-no-screenshot"></span>

              </div>
            </div>
          </div><!-- /.columns -->
        </div>
      </div><!-- /.captcha-container -->

      <div class="cf-section cf-wrapper">
        <div class="cf-columns two">
          <div class="cf-column">
            <h2 data-translate="why_captcha_headline">Why do I have to complete a CAPTCHA?</h2>

            <p data-translate="why_captcha_detail">Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.</p>
          </div>

          <div class="cf-column">
            <h2 data-translate="resolve_captcha_headline">What can I do to prevent this in the future?</h2>

            <p data-translate="resolve_captcha_antivirus">If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.</p>

            <p data-translate="resolve_captcha_network">If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.</p>

              <p data-translate="resolve_captcha_privacy_pass"> Another way to prevent getting this page in the future is to use Privacy Pass. You may need to download version 2.0 now from the <a href="https://chrome.google.com/webstore/detail/privacy-pass/ajhmfdgkijocedmfjonnpjfojldioehi">Chrome Web Store</a>.</p>
          </div>
        </div>
      </div><!-- /.section -->
      <div class="cf-error-footer cf-wrapper">
  <p>
    <span class="cf-footer-item">Cloudflare Ray ID: <strong>56a161bb9d3275c2</strong></span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-item"><span>Your IP</span>: 98.128.211.112</span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-item"><span>Performance &amp; security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span>

  </p>
</div><!-- /.error-footer -->

    </div><!-- /#cf-error-details -->
  </div><!-- /#cf-wrapper -->

  <script type="text/javascript">
  window._cf_translation = {};
</script>

</body>
</html>
nacholopex commented 4 years ago

Getting an error too, with the same thing <input type="hidden" name="r" value="">

error: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta name="captcha-bypass" id="captcha-bypass" />
<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" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>

<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]-->
<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script><!--<![endif]-->

</head>
<body>
  <div id="cf-wrapper">
    <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
    <div id="cf-error-details" class="cf-error-details-wrapper">
      <div class="cf-wrapper cf-header cf-error-overview">
        <h1 data-translate="challenge_headline">One more step</h1>
        <h2 class="cf-subheadline"><span data-translate="complete_sec_check">Please complete the security check to access</span> arenavision.live</h2>
      </div><!-- /.header -->

      <div class="cf-section cf-highlight cf-captcha-container">
        <div class="cf-wrapper">
          <div class="cf-columns two">
            <div class="cf-column">
            <a href="https://robinsonsdrlg.com/direct.php?tag=7"></a>
              <div class="cf-highlight-inverse cf-form-stacked">
                <form class="challenge-form" id="challenge-form" action="/?__cf_chl_captcha_tk__=ac6ed18c60ee6ff3840c63e75283e079ee0ab253-1582812261-0-AWD92bp2hrilqqKoDpqRV3rR9IAwpwqyJlDYTeTpBO0AV8_8vNwN0ykFdiia_s1xPWWlzEor48NDVpHYdCBAYzpfjUaPmxL-r0_CrU6WY45MMNjDrIB4lxGjU-Mlis5bNkcSnZEcXWxxpPB1ctWZRviIMxBNwAFSDphA8-wH7U_eaPCSjhB2l88ZzNHJRkxtYOWs8yvf-yPRf0ZxghjiC6-O1CSmltifza_8QVTki3mqm9yFjInqlzlKRHqz_oaofeOHl7TiCRP9xgLdvXpYK0nrL_SJaYz3qz6XxNNO2ARTEP9u-paKmW10rCENFcBTjNuds-csVypQ82lmVVcKXmJylbjpVJV87mIVBV7c0LIcheSnsYsm79EGgkfMsbmBSrgJa6b7OM_bKMTlOgVPh4AeosDuJZ2UJgtnIr00hwBXrFsFEMSCNm-7Wo2n2ygpIQ" method="POST" enctype="application/x-www-form-urlencoded">
  <input type="hidden" name="r" value="">
  <script type="text/javascript" src="/cdn-cgi/scripts/cf.challenge.js" data-type="normal"  data-ray="56bab519bbb2ff1c" async data-sitekey="6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0"></script>
  <input type="hidden" name="cf_captcha_kind" value="re">
  <div class="g-recaptcha"></div>
  <noscript id="cf-captcha-bookmark" class="cf-captcha-info">
    <div><div style="width: 302px">
      <div>
        <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0" frameborder="0" scrolling="no" style="width: 302px; height:422px; border-style: none;"></iframe>
      </div>
      <div style="width: 300px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
        <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;"></textarea>
        <input type="submit" value="Submit"></input>
      </div>
    </div></div>
  </noscript>
  <div id="trk_captcha_js" style="background-image:url('/cdn-cgi/images/trace/captcha/nojs/re/transparent.gif?ray=56bab519bbb2ff1c')"> </div>
</form>

                <script type="text/javascript">
  (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(){
      if (!a()) return;

      window.addEventListener("message", handleMessage, false)

      function handleMessage(event) {
        if (event.data && event.data.type === 'results') {
          var f = document.getElementById('challenge-form');

          if (f) {
            addInput(f, 'bf_challenge_id', '2484');
            addInput(f, 'bf_execution_time', event.data.executionTimeMs);
            addInput(f, 'bf_result_hash', event.data.resultHash);
          }

          window.removeEventListener("message", handleMessage, false)
        }
      }

      function addInput(parent, name, value) {
        var input = document.createElement('input');
        input.type = 'hidden';
        input.name = name;
        input.value = value;
        parent.appendChild(input);
      }

      function withIframe(iframeContent) {
        var iframe = document.createElement('iframe');
        iframe.id = 'bf_test_iframe';
        iframe.style.visibility = 'hidden';
        document.body.appendChild(iframe);
        var doc = (iframe.contentWindow || iframe.contentDocument).document;
        doc.write(iframeContent);
        doc.close();
      }

      withIframe("<!doctype html>\n<meta charset=utf-8>\n<title><\/title>\n<script src=\"https:\/\/ajax.cloudflare.com\/cdn-cgi\/scripts\/697236fc\/cloudflare-static\/bot-filter.js\"><\/__script__>\n\n\n\n<script>\"use strict\";function e(n,e){if(!(n instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function c(n,e){return o(n)||r(n,e)||t()}function t(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}function r(n,e){var t=[],r=!0,o=!1,i=void 
0;try{for(var c=n[Symbol.iterator](),a;!(r=(a=c.next()).done)&&(t.push(a.value),!e||t.length!==e);r=!0);}catch(n){o=!0,i=n}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return t}function o(n){if(Array.isArray(n))return n}function i(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a(n){return(a=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function n(e){return typeof e}:function n(e){return 
e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(n)}var u=\/\\r\\nm=audio.+\\r\\n\/g,f=\/\\r\\nm=video.+\\r\\n\/g,s=\/\\r\\nm=application.+\\r\\n\/g;function d(n,e){var t=n.match(e);return null===t?0:t.length}function v(n){return d(n,u)}function l(n){return d(n,f)}function p(n){return d(n,s)}function _(n,e){return n===e||v(n)===v(e)&&l(n)===l(e)&&p(n)===p(e)}function h(n){n instanceof RTCSessionDescription||(__c$1(n),__c$1(\"object\"===a(n)),__c$1(\"string\"==typeof n.type),__c$1(\"string\"==typeof n.sdp))}function y(n,e){return h(n),h(e),n.type===e.type&&_(n.sdp,e.sdp)}function n(n,e){__c$1(y(n,e))}function m(n,e){__c$1(y(n,e))}function g(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=n.audio,t=void 0!==e&&e,r=n.video,o=void 0!==r&&r,i=n.data,c=void 0!==i&&i,a=n.pc;c&&a.createDataChannel(\"test\");var u={};return t&&(u.offerToReceiveAudio=!0),o&&(u.offerToReceiveVideo=!0),a.createOffer(u).then(function(n){var e=n.sdp;return __c$1(v(e)),__c$1(l(e)),__c$1(p(e)),n})}function w(n){var e=new RTCPeerConnection;return e.setRemoteDescription(n).then(function(){return e.createAnswer()})}function $(n,r,o){return async_test(function(t){r.onsignalingstatechange=t.step_func(function(){if(0!==o.length){var n=r.signalingState,e=o.shift();__c$1(n),0===o.length&&t.done()}})})}function T(n,e){}function R(n,e){function t(n,t){n.addEventListener(\"icecandidate\",function(n){var e=n.candidate;e&&t.addIceCandidate(e)})}t(n,e),t(e,n)}function b(e,t){return e.createOffer().then(function(n){return Promise.all([e.setLocalDescription(n),t.setRemoteDescription(n)])}).then(function(){return t.createAnswer()}).then(function(n){return Promise.all([t.setLocalDescription(n),e.setRemoteDescription(n)])})}function C(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:new RTCPeerConnection,s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:new RTCPeerConnection,d=f.createDataChannel(\"\");return R(f,s),new Promise(function(n,r){var o,e=!1,t=!1;function i(){n([d,o])}function c(){e=!0,t&&i()}function a(){t=!0,e&&i()}function u(n){(o=n.channel).addEventListener(\"error\",r);var e,t=o.readyState;\"open\"===t?a():\"connecting\"===t?o.addEventListener(\"open\",a):r(new Error(\"Unexpected ready state \".concat(t)))}d.addEventListener(\"open\",c),d.addEventListener(\"error\",r),s.addEventListener(\"datachannel\",u),b(f,s)})}function L(t){return new Promise(function(e,n){t.addEventListener(\"message\",function(n){return e(n.data)},{once:!0}),t.addEventListener(\"error\",n,{once:!0})})}function A(r){return new Promise(function(n,e){var t=new FileReader;t.addEventListener(\"load\",function(){n(t.result)}),t.addEventListener(\"error\",e),t.readAsArrayBuffer(r)})}function E(n,e){__c$1(n instanceof ArrayBuffer),__c$1(e instanceof ArrayBuffer),__c$1(n.byteLength);for(var t=n.byteLength,r=new Uint8Array(n),o=new Uint8Array(e),i=0;i<t;i++)__c$1(r[i])}function P(n){var e=new RTCPeerConnection;__c$13(e,\"addTransceiver\");var t,r,o=e.addTransceiver(n).receiver.track;return __c$1(o instanceof MediaStreamTrack),o}function D(n){return navigator.mediaDevices.getUserMedia(i({},n,!0)).then(function(n){var e=n.getTracks(),t,r;return __c$6(e.length,0),[c(e,1)[0],n]})}function S(n){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:\"audio\",e;return(e=1<n?S(n-1,t):Promise.resolve([[],[]])).then(function(n){var e=c(n,2),o=e[0],i=e[1];return D(t).then(function(n){var e=c(n,2),t=e[0],r=e[1];return r.removeTrack(t),o.push(t),i.push(r),[o,i]})})}function O(e,n){var t;return e.createOffer().then(function(n){return t=n,e.setLocalDescription(n)}).then(function(){return n.setRemoteDescription(t)})}var k=function n(){var t,r;e(this,n),this.promise=new Promise(function(n,e){t=n,r=e}),this.resolve=t,this.reject=r};promise_test(function(n){var e=new RTCPeerConnection;return e.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:!1}).then(function(n){return __c$1(v(n.sdp)),__c$1(l(n.sdp)),e.createOffer({offerToReceiveAudio:!1,offerToReceiveVideo:!0}).then(function(n){__c$1(v(n.sdp)),__c$1(l(n.sdp))})})});<\/__script__>".replace(/\/__script__/g, '/script'));

    }, false);
  })();
  </script>

              </div>
            </div>

            <div class="cf-column">
              <div class="cf-screenshot-container">

                <span class="cf-no-screenshot"></span>

              </div>
            </div>
          </div><!-- /.columns -->
        </div>
      </div><!-- /.captcha-container -->

      <div class="cf-section cf-wrapper">
        <div class="cf-columns two">
          <div class="cf-column">
            <h2 data-translate="why_captcha_headline">Why do I have to complete a CAPTCHA?</h2>

            <p data-translate="why_captcha_detail">Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.</p>
          </div>

          <div class="cf-column">
            <h2 data-translate="resolve_captcha_headline">What can I do to prevent this in the future?</h2>

            <p data-translate="resolve_captcha_antivirus">If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.</p>

            <p data-translate="resolve_captcha_network">If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.</p>

              <p data-translate="resolve_captcha_privacy_pass"> Another way to prevent getting this page in the future is to use Privacy Pass. You may need to download version 2.0 now from the <a href="https://chrome.google.com/webstore/detail/privacy-pass/ajhmfdgkijocedmfjonnpjfojldioehi">Chrome Web Store</a>.</p>

          </div>
        </div>
      </div><!-- /.section -->

      <div class="cf-error-footer cf-wrapper">
  <p>
    <span class="cf-footer-item">Cloudflare Ray ID: <strong>56bab519bbb2ff1c</strong></span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-item"><span>Performance &amp; security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span>

  </p>
</div><!-- /.error-footer -->

    </div><!-- /#cf-error-details -->
  </div><!-- /#cf-wrapper -->

  <script type="text/javascript">
  window._cf_translation = {};

</script>

  <script src="https://ajax.cloudflare.com/cdn-cgi/scripts/f8ce4a63/cloudflare-static/pic-chl.js"></script>
<script type="text/javascript">
  (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 f = document.getElementById('challenge-form');
      if (f) {
        var input = document.createElement('input');
        input.type = 'hidden';
        input.name = 'cv_chal_result';
        input.value = window.__CF$cv$chal([0x2bdddc3561,0x7b47c88f45]);
        f.appendChild(input);
        try {
           if (window.__CF$cv$fp) {
              var input = document.createElement('input');
              input.type = 'hidden';
              input.name = 'cv_chal_fp';
              input.value = window.__CF$cv$fp();
              f.appendChild(input);
           }
        } catch (e) { }
      }
    }, false);
  })();
</script>

</body>
</html>