V
V
Vladimir2019-04-24 20:36:43
PHP
Vladimir, 2019-04-24 20:36:43

How to bypass Cloudflare's parsing protection?

Good day to everyone, please help me bypass the protection from the parser, now it gives the answer

Please enable cookies.
One more step
Please complete the security check to access www.ilcats.com
Why do I have to complete a CAPTCHA?
Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.
What can I do to prevent this in the future?
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.
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.
Cloudflare Ray ID: 4cc9904bfc208082

Your IP: 160.242.17.178

Performance & security by Cloudflare

my curl
function get_curl_result($url, $headers = []) {
  global $arrproxy;
  $headers[] = 'referer: https://www.ilcats.ru/';
  $headers[] = 'upgrade-insecure-requests: 1';
  $headers[] = ':authority: www.ilcats.ru';
  $headers[] = ':method: GET';
  $headers[] = ':path: /abarth/';
  $headers[] = ':scheme: https';
  $headers[] = 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3';
  $headers[] = 'accept-language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7';
  $headers[] = 'cache-control: no-cache';
  $headers[] = 'pragma: no-cache';
  while (true) {
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
    curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
    curl_setopt($ch, CURLOPT_PROXY, $arrproxy[0]);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134');
    curl_setopt($ch, CURLOPT_COOKIEJAR, "ilcats.txt");
    curl_setopt($ch, CURLOPT_COOKIEFILE, "ilcats.txt");
    curl_setopt($ch, CURLPROTO_HTTPS,1);
    $htmltext = curl_exec($ch);
    curl_close($ch);
    d(strlen($htmltext));
    if (strlen($htmltext) < 100) {
      echo "<h3>Удаляем " . $arrproxy[0] . "--> осталось "  . (count($arrproxy) - 1) . " --> пробуем: " . $arrproxy[1] . "</h3>";
        $arrproxy = array_slice($arrproxy, 1);
    } else {
      return $htmltext; 
      break 1;
    }
  }
}

Please enable cookies.
One more step
Please complete the security check to access www.ilcats.ru
Why do I have to complete the CAPTCHA?
Completing the CAPTCHA proves you are human and gives you temporary access to the web property.
What can I do to prevent this in the future?
If you're on a personal connection, like at home, you can run a virus scan on your device to make sure it's not infected with malware.
If you are in an office or shared network, you can ask your network administrator to run a network scan looking for infected or misconfigured devices.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-04-24
L

Whatever the curl, you need to solve the captcha.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question