取消本地已有证书获取

This commit is contained in:
Muihd
2024-09-28 16:00:35 +08:00
parent 084b3a8976
commit 72a51ab187
+3 -1
View File
@@ -111,6 +111,8 @@ namespace BarrageGrab.Proxy
if (result != null) return result; if (result != null) return result;
return null;
// 打开“受信任的根证书颁发机构”存储区 // 打开“受信任的根证书颁发机构”存储区
using (X509Store store = new X509Store(StoreName.My, StoreLocation.LocalMachine)) using (X509Store store = new X509Store(StoreName.My, StoreLocation.LocalMachine))
{ {
@@ -519,7 +521,7 @@ namespace BarrageGrab.Proxy
{ {
js = reg2.Replace(js, "if(false &&"); js = reg2.Replace(js, "if(false &&");
e.SetResponseBodyString(js); e.SetResponseBodyString(js);
Logger.PrintColor($"已成功绕过JS页面无操作检测 {urlNoQuery}\n", ConsoleColor.Green); Logger.PrintColor($"已成功绕过页面无操作检测\n", ConsoleColor.Green);
} }
} }