RyuzakiH / CloudflareSolverRe

Cloudflare Javascript & reCaptcha challenge (I'm Under Attack Mode or IUAM) solving / bypass .NET Standard library.
MIT License
178 stars 49 forks source link

captcha-bypass? #42

Open asulwer opened 3 years ago

asulwer commented 3 years ago

here is the source to the page that i cannot bypass.

<!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>Please Wait... | 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" />
<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>
  if (!navigator.cookieEnabled) {
    window.addEventListener('DOMContentLoaded', function () {
      var cookieEl = document.getElementById('cookie-alert');
      cookieEl.style.display = 'block';
    })
  }
</script>
<!--<![endif]-->

    <script type="text/javascript">
    //<![CDATA[
    (function(){
      window._cf_chl_opt={
        cvId: "2",
        cType: "managed",
        cNounce: "60922",
        cRay: "6662ad3e8acd3163",
        cHash: "1cc6fb5c5389892",
        cFPWv: "g",
        cTTimeMs: "4000",
        cLt: "n",
        cRq: {
          ru: "aHR0cDovL29sZC5zdGFyY2l0eWdhbWVzLmNvbS9idXlsaXN0L3NlYXJjaD9zZWFyY2gtdHlwZT1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9ZAj+kFNSYs7dKJkpcqVd4xwCRG7D2h3+mY+EqTiaL3djUXhWL4xpp6F68QuA0PbhUccLboGMcpiERmcm+rHp0/cIkp",
          t: "MTYyNDgzODg2NS43MDAwMDA=",
          m: "hssu9WNZXovxjZLvZC9vsWEOwWwEFPp74dbQ73XJVeM=",
          i1: "+WpCzBznp/HWpENOOQmTWw==",
          i2: "uCGoSZskZ8yqoZvIa0xDyg==",
          zh: "p611eV/A2fpEkfRww3F8M+TYqY1je5okfTJJdrAqBI4=",
          uh: "6RTndbNK0oR/lwz0pnNRHEp7GMeTS+kS6fZpqaDq5OY=",
          hh: "MlLK9Jn2KT+uqGrcquNyZrERCf5cO05hFrOkvxy84tA=",
        }
      };
    }());
    //]]>
    </script>

<style type="text/css">
  #cf-wrapper #spinner {width:69px; margin:  auto;}
  #cf-wrapper #cf-please-wait{text-align:center}
  .attribution {margin-top: 32px;}
  .bubbles { background-color: #f58220; width:20px; height: 20px; margin:2px; border-radius:100%; display:inline-block; }
  #cf-wrapper #challenge-form { padding-top:25px; padding-bottom:25px; }
  #cf-hcaptcha-container { text-align:center;}
  #cf-hcaptcha-container iframe { display: inline-block;}
  @keyframes fader     { 0% {opacity: 0.2;} 50% {opacity: 1.0;} 100% {opacity: 0.2;} }
  #cf-wrapper #cf-bubbles { width:69px; }
  @-webkit-keyframes fader { 0% {opacity: 0.2;} 50% {opacity: 1.0;} 100% {opacity: 0.2;} }
  #cf-bubbles > .bubbles { animation: fader 1.6s infinite;}
  #cf-bubbles > .bubbles:nth-child(2) { animation-delay: .2s;}
  #cf-bubbles > .bubbles:nth-child(3) { animation-delay: .4s;}
</style>
</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="managed_challenge_headline">Please wait...</h1>
        <h2 class="cf-subheadline"><span data-translate="managed_checking_msg">We are checking your browser...</span> old.starcitygames.com</h2>

      </div>

      <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 managed-form" id="challenge-form" action="/buylist/search?search-type=category&amp;id=5082&amp;__cf_chl_managed_tk__=17dbdce65c2eea60a070050208f4bdec1beecdf3-1624838865-0-AeltX9Hzjhx2ohaKBQl6pnSs2XALQ88y39_uCmK-2MY2KtxuIRMo3RSCM0r1Pan0MsmxOSKlNVSdXYH49PgtPRaRmgBSUu3VCY8_exe7dnfvdb6dPmUKI6ka8zlk-1SQEgKbMmeDmIY1Hs09Swvuby_uqr9XenqYVdxapUAVELVKcpPq8QkGjdqGrx1Ls8b1TlL8e8N7IOWZv3YK-yttuzYa1Z6B47bvNVp1alKghMUBaQvOGZOIqFLL6J_fCZDgNNqUpyZYJpdSVxnOQcO6BfiyuqFoCtTlzhchnP3SwK2uUBJ61GhoIX2dquced-X927Pea8xKsxIhmsFS6Lgh-REgGUjbMJf80ndc8srwb-TRMlVusLD7QUUA2Za5wWSBk_289lN4D92W_sUsPI3McI3Ss2QYp10MH0RRqsx2YTzLYkT_OCkJOoyqO6bNvkGwl9n76pFOqF7CErtWU6vUS5hQYo-8_AoR-COOc7-gjvqUVwxP0Feago4BC0XEpRVRikOb6IwqvFL27ynINOVP3EbK5vnvWcxaa3w1dxZt8l3Ewdzkm5Sz8a81nzUVFIb56UxoMyANsdTh9xLN-NMcLflAea01IltWRVW61UtnzWG2I-uXnWDzUg20hIZDsjdV6-Tq4gu20N0mQI9nnFgBKOgzOhnXLmlApXwwoI8hQlBoohzFib3Uzz1WyqDhuhXp4axMkurxWBXFp7EWfcOShA3jahcsXRZV5ZyFqa0zCrGv" method="POST" enctype="application/x-www-form-urlencoded">

    <div id='cf-please-wait'>
      <div id='spinner'>
        <div id="cf-bubbles">
            <div class="bubbles"></div>
            <div class="bubbles"></div>
            <div class="bubbles"></div>
        </div>
      </div>
      <p data-translate="please_wait" id="cf-spinner-please-wait">Please stand by, while we are checking your browser...</p>
      <p data-translate="redirecting" id="cf-spinner-redirecting" style="display:none">Redirecting...</p>
      </div>

  <input type="hidden" name="r" value="eed26aa9aa1f4fd259047232226a9d18b7ffa515-1624838865-0-AWu5ioY3rVWr+9Z96OjSVfIKX/+ZyCVUViBL2IGaJq2vcRnvBCUc6i19gYq5NOFyir0jDx3dcWkFswzGkLMTLpXhkKv9O+7WwgyPeu7BJ4SL3XlwWy9eUCEDCDUT7twY6MctOYKutGXLyuUvu/VAva4TcUR7U/CMySHarllPWxOwso6tB/XXi3DavJ0QZdPlTuoj5zkQPoIpHOzsFI3Z3xa+xxdbZFf9DZMc8T8ExsuSokkrYS4KkE4PXEFboJ33WTcH2G1GmMjWJM32JbmpyzvyVaLQ4NQaOzFCXsxGL3spdY4kQCL0sp0ghtdY4V5MgzirIjwGqUuEjdJymlf5xD9nGNDnthRZ1W/JRCD+5gK9/5XX7HxeXkktCVeEY0sj94B9JccWUYkT0CzfBguwd/fh5bQvPU93sSW+ndipoPuJVvuoMUB/vphLuu5x3h/TEoTX1HT1qP06J6ddr0VWJNU0/ActOinD3PfL/dNm8VYYggcaS4SXJrL1Qo/4rngcx3nmGeiqPjQn+UUfj60CnQrMsfBut/XL4Jz2pIBtrbyq3HUpBmD2clOrfcWRuHmDLZ3RgAOpUIL9e60LStbkx/lGYk9xRziHq01hCM7C5OZ4hS24JOayOztNXBuBgfJ6pwd69Rp0sfcfjg/rcCPrUH4IL2eVJjxDoogA9/XvBqJv9lYo+SKVYBMPnRCNkgk9wRuttMTIzhIVNDsdm/cObhgemZUzxtihFEC6rsWPvyH6Mb+U/SRrODvUJidMTmNlSOGbc04ghpuVdga6DcL+Kc/UAOfcaJhe6xm3MuCv8y5Nl+7Z9DoQtP7S3Np0UFxwYCRRZYJsETg4KQjI2KbgjOcWakYJ52TQ/5ZcRQPKQKLhvC2dCGFWW+S0vHmerObNIYJ44aVYB5rod7QK4xTgrmRxHrhL/+ErnyeWlAbsd0S0">
  <input type="hidden" name="cf_captcha_kind" value="h">
  <input type="hidden" name="vc" value="79c6089812621c0821849f9137a4242f">

  <noscript id="cf-captcha-bookmark" class="cf-captcha-info">
  <h1 data-translate="turn_on_js" style="color:#bd2426;">Please turn JavaScript on and reload the page.</h1>
  </noscript>
    <div id="no-cookie-warning" class="cookie-warning" data-translate="turn_on_cookies" style="display:none">
      <p data-translate="turn_on_cookies" style="color:#bd2426;">Please enable Cookies and reload the page.</p>
    </div>
  <script type="text/javascript">
  //<![CDATA[
    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 cookiesEnabled=(navigator.cookieEnabled)? true : false;
        if(!cookiesEnabled){
          var q = document.getElementById('no-cookie-warning');q.style.display = 'block';
        }
      });
  //]]>
  </script>
  <div id="trk_captcha_js" style="background-image:url('/cdn-cgi/images/trace/captcha/nojs/h/transparent.gif?ray=6662ad3e8acd3163')"></div>
</form>

  <script type="text/javascript">
    //<![CDATA[
    (function(){
        var isIE = /(MSIE|Trident\/|Edge\/)/i.test(window.navigator.userAgent);
        var trkjs = isIE ? new Image() : document.createElement('img');
        trkjs.setAttribute("src", "/cdn-cgi/images/trace/managed/js/transparent.gif?ray=6662ad3e8acd3163");
        trkjs.id = "trk_managed_js";
        trkjs.setAttribute("alt", "");
        document.body.appendChild(trkjs);
        var cpo=document.createElement('script');
        cpo.type='text/javascript';
        cpo.src="/cdn-cgi/challenge-platform/h/g/orchestrate/managed/v1?ray=6662ad3e8acd3163";
        document.getElementsByTagName('head')[0].appendChild(cpo);
    }());
    //]]>
    </script>

              </div>
            </div>

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

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

              </div>
            </div>
          </div>
        </div>
      </div>

      <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 rel="noopener noreferrer" href="https://chrome.google.com/webstore/detail/privacy-pass/ajhmfdgkijocedmfjonnpjfojldioehi">Chrome Web Store</a>.</p>

          </div>
        </div>
      </div>

      <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
  <p class="text-13">
    <span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">6662ad3e8acd3163</strong></span>
    <span class="cf-footer-separator sm:hidden">&bull;</span>
    <span class="cf-footer-item sm:block sm:mb-1"><span>Your IP</span>: 184.103.31.76</span>
    <span class="cf-footer-separator sm:hidden">&bull;</span>
    <span class="cf-footer-item sm:block sm:mb-1"><span>Performance &amp; security by</span> <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing" id="brand_link" target="_blank">Cloudflare</a></span>

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

    </div>
  </div>

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

</script>

</body>
</html>
longcharmroeun commented 3 years ago

This library doesn't work anymore #32 Due to cloudflare have been changed their teachnology recently i recommended you use headless chrome or real browser to bypass cloudflare anti-ddos system.