mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed issue in CF Bypass when not using a proxy.
This commit is contained in:
@@ -134,9 +134,12 @@ namespace RuriLib
|
||||
var clearanceCookie = cookies["cf_clearance"];
|
||||
var cfduidCookie = cookies["__cfduid"];
|
||||
data.Cookies.Add("cf_clearance", clearanceCookie.Value);
|
||||
data.Proxy.Clearance = clearanceCookie.Value;
|
||||
data.Cookies.Add("__cfduid", cfduidCookie.Value);
|
||||
data.Proxy.Cfduid = cfduidCookie.Value;
|
||||
if (data.UseProxies)
|
||||
{
|
||||
data.Proxy.Clearance = clearanceCookie.Value;
|
||||
data.Proxy.Cfduid = cfduidCookie.Value;
|
||||
}
|
||||
data.Log(new LogEntry("Got Cloudflare clearance!", Colors.GreenYellow));
|
||||
data.Log(new LogEntry(clearanceCookie + Environment.NewLine + cfduidCookie + Environment.NewLine, Colors.White));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user