Extra cloudflare cookies

This commit is contained in:
UnfamiliarLegacy 2024-05-28 19:31:15 +02:00
parent 88ba87a819
commit 776d16ed49
2 changed files with 8 additions and 2 deletions

View File

@ -24,11 +24,16 @@ public class NitroHttpProxyFilter extends HttpFiltersAdapter {
private static final HashSet<String> CloudflareCookies = new HashSet<>(Arrays.asList( private static final HashSet<String> CloudflareCookies = new HashSet<>(Arrays.asList(
"__cflb", "__cflb",
"__cf_bm", "__cf_bm",
"__cfseq",
"cf_ob_info", "cf_ob_info",
"cf_use_ob", "cf_use_ob",
"__cfwaitingroom", "__cfwaitingroom",
"__cfruid", "__cfruid",
"cf_clearance" "_cfuvid",
"cf_clearance",
"cf_chl_rc_i",
"cf_chl_rc_ni",
"cf_chl_rc_m"
)); ));
private static final String HeaderAcceptEncoding = "Accept-Encoding"; private static final String HeaderAcceptEncoding = "Accept-Encoding";

View File

@ -15,7 +15,8 @@ public class NitroWindows implements NitroOsFunctions {
/** /**
* Semicolon separated hosts to ignore for proxying. * Semicolon separated hosts to ignore for proxying.
*/ */
private static final String PROXY_IGNORE = "discord.com;discordapp.com;github.com;"; // habba.io;
private static final String PROXY_IGNORE = "discord.com;discordapp.com;github.com;challenges.cloudflare.com;";
/** /**
* Checks if the certificate is trusted by the local machine. * Checks if the certificate is trusted by the local machine.