From 825ab5ecff19ea0340c104bf7a0dc7ae8839a1af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E7=8C=BF?= <1083092844@qq.com> Date: Sat, 5 Nov 2022 16:39:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8IPV6,=20=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E4=BB=A3=E7=90=86=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BarrageGrab/FiddlerProxy.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/BarrageGrab/FiddlerProxy.cs b/BarrageGrab/FiddlerProxy.cs index f5a138a..2fd68bf 100644 --- a/BarrageGrab/FiddlerProxy.cs +++ b/BarrageGrab/FiddlerProxy.cs @@ -33,7 +33,7 @@ namespace BarrageGrab /// public void Start() { - FiddlerApplication.Startup(8887, FiddlerCoreStartupFlags.Default); + FiddlerApplication.Startup(8827, FiddlerCoreStartupFlags.Default); console.WriteLine("Fiddler代理已启动", ConsoleColor.Green); } @@ -64,11 +64,18 @@ namespace BarrageGrab { oRootCert = CertMaker.GetRootCertificate(); } + //信任证书 + CertMaker.trustRootCert(); + FiddlerApplication.oDefaultClientCertificate = oRootCert; //忽略服务器证书错误 CONFIG.IgnoreServerCertErrors = true; - //信任证书 - CertMaker.trustRootCert(); + CONFIG.bEnableIPv6 = false; + //CONFIG.bCaptureCONNECT = true; + //CONFIG.bUseEventLogForExceptions = false; + //CONFIG.bAutoProxyLogon = false; + //CONFIG.bMITM_HTTPS = false; + ////CONFIG.SetNoDecryptList("*"); } private void FiddlerApplication_OnWebSocketMessage(object sender, WebSocketMessageEventArgs e)