elcattivo / CloudFlareUtilities

A .NET Standard Library to bypass Cloudflare's Anti-DDoS measure (JavaScript challenge) using a DelegatingHandler.
MIT License
190 stars 47 forks source link

There are more server names than only one for cloudflare server #21

Closed twix20 closed 6 years ago

twix20 commented 6 years ago

Hi This PR make requests going through some servers.

kaso17 commented 6 years ago

@elcattivo I can confirm this. Must be a recent cloudflare change (2-3 weeks old). This should fix it.

Example domain is e.g. https://infinity-t.org/ using only Server: cloudflare (no -nginx).

We would appreciate a quick merge and new nuget release very much.

Naht commented 6 years ago

Had similar issue, though, unfortunately, found this PR only after fixing myself. I think simple .Contains(...) would also work, instead of string.Compare.

Please merge it.

elcattivo commented 6 years ago

@twix20 thanks for you help and sorry for the delay.