音乐播放器
Xuwuyibing's Blog
 
文章 标签
4

Powered by Cloudflare Pages | Theme: Fog
载入天数...
载入时分秒...

使用Hosts解锁New Bing

最近非常依赖于New Bing查找需要的资料,但是New Bing并不能随时随地拿来用,而且之前我讲改XFF的路子发到v2ex以后,那个法子很快就被一些无良人士搬到bilibili,营销-传播-滥用-被封,一条龙服务。最近又找了一些直连New Bing的方法,希望读者自己用就行,减少传播。

其实这个方法也不稀奇,就是找一个SNI Reverse Proxy,随后将New Bing所需的域名通过hosts重定向过去就行了,本质上还是依赖于代理。

具体的使用方法如下:

  1. 首先,找到记事本,右键,以管理员身份打开:

  2. 在记事本左上角选择“文件”-“打开”。
    (1)随后在目录栏填入:C:\Windows\System32\drivers\etc
    (2)右下角选择所有文件
    (3)双击hosts

  3. 在hosts文件中另起一行,粘贴以下内容:

#new_bing
172.233.67.49 www.bing.com
172.233.67.49 bing.com
172.233.67.49 www4.bing.com
172.233.67.49 r.bing.com
172.233.67.49 ssl.bing.com
172.233.67.49 sydney.bing.com
172.233.67.49 copilot.microsoft.com
172.233.67.49 edgeservices.bing.com
172.233.67.49 services.bingapis.com
172.233.67.49 www.bingapis.com
#block_edge_tracking
10.0.0.1 browser.events.data.msn.com

或者,如果你有稳定可用的ipv6的话,也可以选择ipv6 hosts,这个路子不是扫描而来,而是利用了NAT64服务,会稳定很多。

#new bing
2a01:4f8:c2c:123f:64:5:b856:fb13 www.bing.com
2a01:4f8:c2c:123f:64:5:cc4f:c5c8 bing.com
2a01:4f8:c2c:123f:64:5:b856:fb13 www4.bing.com
2a01:4f8:c2c:123f:64:5:b856:fb13 www-www.bing.com.trafficmanager.net
2a01:4f8:c2c:123f:64:5:b856:fb13 www.bing.com.edgekey.net
2a01:4f8:c2c:123f:64:5:b856:fb13 r.bing.com
2a01:4f8:c2c:123f:64:5:0d6b:15c8 ssl.bing.com
2a01:4f8:c2c:123f:64:5:cc4f:c5ed sydney.bing.com
2a01:4f8:c2c:123f:64:5:cc4f:c5ed copilot.microsoft.com
2a01:4f8:c2c:123f:64:5:b856:fb13 edgeservices.bing.com
2a00:1098:2b::1:d6b:550 services.bingapis.com
2a00:1098:2b::1:d6b:550 www.bingapis.com
#block_edge_tracking
10.0.0.1 browser.events.data.msn.com

保存退出,重启电脑或刷新DNS即可食用。
Bing AI链接是https://www.bing.com/?mkt=zh-hk
进去以后点聊天就行了。Enjoy it.

One More Thing: 实际上,不幸的是,172.233.67.49这个IP是我扫描到的一个美国IP,速度只能说勉强可用,为了减少被玩坏的概率,我不敢把更多扫描到的IP发出来,但是在这里可以提供一些教程。

首先,打开fofa,在这里面,你可以看到扫描出来了很多IP,过去这些大部分都能用,现在大部分都不能用了,所以还要手动扫描,我的建议是使用curl命令:

curl "https://www.bing.com/" --resolve www.bing.com:443:【填入扫描到的IP】

例如:

curl "https://www.bing.com/" --resolve www.bing.com:443:172.233.67.49

当IP正确的时候,会返回如图的数百行html代码,有可能会比较卡,而当返回值只有几行错误的时候,IP是不可用的。

上图意味着172.233.67.49是可用的sni proxy

而这是出现错误的情况:

user>>curl "https://www.bing.com/" --resolve www.bing.com:443:210.61.201.55
curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log.

参考:不良林的博客