KyranRana / cloudflare-bypass

A new and improved PHP library which bypasses the Cloudflare IUAM page using cURL
MIT License
275 stars 97 forks source link

Attention Required! | Cloudflare Please enable cookies #98

Closed RootC closed 5 years ago

RootC commented 5 years ago

Hello Dude

`

<div id="cf-error-details"class="cf-error-details-wrapper">
  <div class="cf-wrapper cf-header cf-error-overview">
    <h1data-translate="challenge_headline">One more step</h1>
    <h2class="cf-subheadline"><span data-translate="complete_sec_check">Please complete the security check to access</span> www.betlima110.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">

          <div class="cf-highlight-inverse cf-form-stacked">
            <form class="challenge-form"id="challenge-form"action="/cdn-cgi/l/chk_captcha"method="get">

          </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">
        <h2data-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>`

I can't get past this problem. ? :S

KyranRana commented 5 years ago

You need to use a proxy if that happens. Change your IP and let me know if that fixes the problem for you.

RootC commented 5 years ago

`<?php ini_set("display_errors","0"); header('Access-Control-Allow-Origin: *'); header("Content-type: application/json; charset=utf-8");

include 'src/autoload.php';

use CloudflareBypass\RequestMethod\CFCurl; $curl_cf_wrapper = new CFCurl(array( 'max_retries' => 1, 'cache' => false, 'cache_path' => DIR . '/cache', 'verbose' => false ));

$file = "cache/data.txt"; $adres = "https://www.bahissenin52.com"; $url = $adres.$_SERVER['REQUEST_URI'];

$ch = curl_init(); curl_setopt($ch, CURLOPT_PROXY, '78.187.228.9:8080'); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, true); if($_POST) { curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST); } if($_GET) { curl_setopt($ch, CURLOPT_POSTFIELDS, $_GET); } curl_setopt($ch, CURLOPT_COOKIEJAR, $file); curl_setopt($ch, CURLOPT_COOKIEFILE, $file); curl_setopt($ch, CURLOPT_REFERER,$adres); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36');

echo $curl_cf_wrapper->exec($ch); curl_close($ch); `

in any way does not work.

I've tried different servers in different countries.

Test ip: http://5.39.15.1/~httprich/

KyranRana commented 5 years ago

Cloudflare loves to blacklist a lot of the proxy ips, you need to keep trying :)

I've used my IP and it works fine. Have you tried your own IP?

RootC commented 5 years ago

I bought 100 different IP addresses. I've tried it all, it doesn't work.

ASN is issuing the Forbidden cloudflare line.

and most of them please enable cookies. he's making his mistake.

RootC commented 5 years ago

Before the update came, I was using a single IP address conveniently. now, unfortunately, he's making a mistake.

KyranRana commented 5 years ago

Do you have teamviewer or join.me? Add me on telegram @CoolioPD