Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-03-01 08:58:09 +00:00
parent 0cfd1f87b4
commit 850a294aaf
1 changed files with 1 additions and 1 deletions

2
661.sh
View File

@ -1406,7 +1406,7 @@ WARPun && ONEWARPGO
ShowSOCKS5(){
if [[ $(systemctl is-active warp-svc) = active ]]; then
mport=`warp-cli --accept-tos settings 2>/dev/null | grep 'WarpProxy on port' | awk -F "port " '{print $2}'`
s5ip=`curl -sx socks5h://localhost:$mport ip.gs -k`
s5ip=`curl -sx socks5h://localhost:$mport ip.sb -k`
NF=$(./nf -proxy socks5h://localhost:$mport | awk '{print $1}' | sed -n '3p')
[[ $(curl -sx socks5h://localhost:$mport https://chat.openai.com/ -I | grep "text/plain") != "" ]] && chat='遗憾无法访问Chatgpt官网服务' || chat='恭喜支持访问Chatgpt官网服务'
isp4a=`curl -sx socks5h://localhost:$mport --user-agent "${UA_Browser}" http://ip-api.com/json/$v4?lang=zh-CN -k | cut -f13 -d ":" | cut -f2 -d '"'`