From cf1a5c97af7c4bb4d511698aa2077a2120ba81d1 Mon Sep 17 00:00:00 2001 From: ConnersHua Date: Tue, 14 Apr 2020 01:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9=20=E5=A2=9E=E5=8A=A0=20Surge=20Mod?= =?UTF-8?q?ule=20=E5=8F=8A=E4=BF=AE=E6=94=B9=20force-http-engine-hosts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Surge/Module/Advertising.sgmodule | 3 +++ Surge/Module/MitM-All-Hostnames.sgmodule | 5 +++++ Surge/NextGen.conf | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 Surge/Module/MitM-All-Hostnames.sgmodule diff --git a/Surge/Module/Advertising.sgmodule b/Surge/Module/Advertising.sgmodule index a85346c..4261614 100644 --- a/Surge/Module/Advertising.sgmodule +++ b/Surge/Module/Advertising.sgmodule @@ -2,6 +2,9 @@ #!desc=Advertising Rewrite for Surge iOS #!system=ios +[General] +force-http-engine-hosts = %APPEND% 123.59.31.1,119.18.193.135,122.14.246.33,175.102.178.52 + [URL Rewrite] # 0~9 # > 21经济 - api.21jingji.com diff --git a/Surge/Module/MitM-All-Hostnames.sgmodule b/Surge/Module/MitM-All-Hostnames.sgmodule new file mode 100644 index 0000000..5b61fe1 --- /dev/null +++ b/Surge/Module/MitM-All-Hostnames.sgmodule @@ -0,0 +1,5 @@ +#!name=MitM All Hostnames +#!desc=在所有端口为 443 的主机名上执行 MitM。仅推荐用于抓包时启用,如果你不知道这是作何用途就不要使用! + +[MITM] +hostname = * \ No newline at end of file diff --git a/Surge/NextGen.conf b/Surge/NextGen.conf index ab9a3e5..63a5dcf 100755 --- a/Surge/NextGen.conf +++ b/Surge/NextGen.conf @@ -16,7 +16,7 @@ tls-provider = openssl # hijack-dns = 8.8.8.8:53, 8.8.4.4:53 # always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com -force-http-engine-hosts = data.video.iqiyi.com,123.59.31.1,119.18.193.135,122.14.246.33,175.102.178.52 +force-http-engine-hosts = 123.59.31.1,119.18.193.135,122.14.246.33,175.102.178.52 [Replica] hide-apple-request=0