RyuzakiH / CloudflareSolverRe

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

Not working at www.curseforge.com #7

Open pkejval opened 4 years ago

pkejval commented 4 years ago

URL: https://www.curseforge.com/wow/addons/deadly-boss-mods

This code fails with exception CloudflareSolverRe.Exceptions.CloudflareClearanceException: Clearance failed after 3 attempt(s).

Not working even if I increase number of MaxTries nor incereasing ClearanceDelay.

But when I try URL from this project tests, everything is working. Maybe www.curseforge.com uses new protection?

Pythons library https://pypi.org/project/cfscrape/ can overpass even this Cloudflare protection so it's doable but I don't know how. :)

            var target = new Uri("https://www.curseforge.com/wow/addons/deadly-boss-mods");

            var handler = new ClearanceHandler
            {
                MaxTries = 3,
                ClearanceDelay = 3000
            };

            try
            {
                var client = new HttpClient(handler);
                var content = await client.GetStringAsync(target);
            }
            catch (Exception ex) { Console.WriteLine(ex.ToString()); }
N0ise1337 commented 4 years ago

Yes, CFScrape works fine with that, i did a test using a small script and worked fine However the websites doesn't contain uam or recaptcha, i guess thats made for uam / captcha only

RyuzakiH commented 4 years ago

Sorry for late reply, but this site seems to use the recaptcha challenge every time for me. I think cfscrape uses a way to decrease the recaptcha challenge possibility. This library cannot make this now, I'll try finding a way.

Summpot commented 4 years ago

This python library doesn't handle captcha at all, it prevents the appearance of captcha by adding ciphers to a urllib3_ssl_context. Is there something similar in C # that can implement this function?