KyranRana / cloudflare-bypass

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

Why do you public this repo? #189

Open khanhpkvn opened 4 years ago

khanhpkvn commented 4 years ago

Hi Kyran,

I think you shouldn't public this repo, because Cloudflare will know what the way you are using to bypass them. And then they're will be fix that. You need research to bypass them again. This is not intelligent. If you have a way to bypass Cloudflare, and you confident can be bypass Cloudflare when they are fix that in next more time. You should to sell a premium version and encrypt all your codes. Nobody know the original source code, and maybe Cloudflare too. We only need it working fine and only need to know how to use it. Please secure and encrypt all your codes.

I hope you understand me!

bert-w commented 4 years ago

I disagree. The way this library is made will forever result in a unsatisfactory solution. In order to solve a JS challenge, you cant use PHP to try to parse JS haphazardly. You'd have to use PHP's V8Js module or go a whole different route that does not include PHP. That way, you can safely make it open source since there is (mostly) nothing Cloudflare can do to mess it up since the challenge is solved by a complete javascript engine.

Even if you would make this repo closed source, it would still result in failing bypasses when Cloudflare changes 1 character in their challenge code. You cant provide stability with the current regex solution.

arabcoders commented 4 years ago

i agree with @bert-w i already moved to use puppeteer to grab the clearance token and pass that to the PHP app. no more trying to keep up with cf changing their code daily.

onemans-battle commented 4 years ago

i agree with @bert-w i already moved to use puppeteer to grab the clearance token and pass that to the PHP app. no more trying to keep up with cf changing their code daily.

Thank you for telling me we can use puppeteer to bypass. I have also moved to use it. Only used a few lines of code to bypass

But overall I really appreciate this library

nitemare commented 4 years ago

How do you accomplish this? Can you provide any example to get started?

On Fri, May 22, 2020 at 12:32 PM onemans-battle notifications@github.com wrote:

i agree with @bert-w https://github.com/bert-w i already moved to use puppeteer to grab the clearance token and pass that to the PHP app. no more trying to keep up with cf changing their code daily.

Thank you for telling me we can use puppeteer to bypass. I have also moved to use it. Only used a few lines of code to bypass

But overall I really appreciate this library

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KyranRana/cloudflare-bypass/issues/189#issuecomment-632756013, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUD6WCGLJ6CFDUBTK3HRCLRS2LJPANCNFSM4MXUC67A .

-- Scott L

onemans-battle commented 4 years ago

@nitemare I modified based on this code, you can also refer to https://github.com/KevCui/cf-cookie/blob/master/getCFcookie.js