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 simple JS challenge #35

Closed booooohdan closed 4 years ago

booooohdan commented 4 years ago

This URL protected by Cloudflare: https://warthunder.ru/ru/community/userinfo/?nick=Keofox Using Xamarin.Android. In debug, my program stuck on this string: var result = cf.Solve(target).Result;. I waiting for 5 and 10 minutes and don't get the result. This is my code:

 private async Task ConnectToSiteAsync()
    {
        var target = new Uri("https://warthunder.ru/ru/community/userinfo/?nick=Keofox");

        var cf = new CloudflareSolver
        {
            MaxTries = 3,
            ClearanceDelay = 3000
        };

        var result = cf.Solve(target).Result;

        if (!result.Success)
        {
            Console.WriteLine($"[Failed] Details: {result.FailReason}");
            return;
        }

        var request = (HttpWebRequest)WebRequest.Create(target);
        request.Headers.Add(HttpRequestHeader.Cookie, result.Cookies.AsHeaderString());
        request.Headers.Add(HttpRequestHeader.UserAgent, result.UserAgent);

        var response = (HttpWebResponse)request.GetResponse();
        var content = new StreamReader(response.GetResponseStream()).ReadToEnd();
        Log.Debug("My result", content);
    }

Calling method in OnCreate like this: ConnectToSiteAsync().Wait();

longcharmroeun commented 4 years ago

@booooooogdan Sorry this library is not working any more due to Cloudflare release new anti bot system. you can try this https://github.com/Jackett/Jackett/issues/9029

booooohdan commented 4 years ago

@booooooogdan Sorry this library is not working any more due to Cloudflare release new anti bot system. you can try this https://github.com/Jackett/Jackett/issues/9029

Link is broken. "No results matched your search."

longcharmroeun commented 4 years ago

@booooooogdan Sorry this library is not working any more due to Cloudflare release new anti bot system. you can try this https://github.com/Jackett/Jackett/issues/9029

Link is broken. "No results matched your search."

Here new link: https://github.com/ngosang/FlareSolverr