From a04087fe61ef0157f423b9f75ff9d37e8b8330e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Thu, 22 Sep 2022 08:37:01 +0000 Subject: [PATCH] Update CFwarp1.sh --- CFwarp1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CFwarp1.sh b/CFwarp1.sh index f30853a..d74c10f 100644 --- a/CFwarp1.sh +++ b/CFwarp1.sh @@ -118,7 +118,7 @@ if [[ -n $v4 ]]; then wgcfv4=$(curl -s4 https://www.cloudflare.com/cdn-cgi/trace -k | grep warp | cut -d= -f2) isp4a=`curl -sm6 --user-agent "${UA_Browser}" http://ip-api.com/json/$v4?lang=zh-CN -k | cut -f12 -d"," | cut -f4 -d '"'` isp4b=`curl -sm6 --user-agent "${UA_Browser}" https://api.ip.sb/geoip/$v4 -k | awk -F "isp" '{print $2}' | awk -F "offset" '{print $1}' | sed "s/[,\":]//g"` -[[ -n $isp4a ]] && isp4=$isp6a || isp4=$isp4b +[[ -n $isp4a ]] && isp4=$isp4a || isp4=$isp4b nonf=$(curl -sm6 --user-agent "${UA_Browser}" http://ip-api.com/json/$v4?lang=zh-CN -k | cut -f2 -d"," | cut -f4 -d '"') sunf=$(./nf | awk '{print $1}' | sed -n '4p') snnf=$(curl -s4m6 ip.p3terx.com -k | sed -n 2p | awk '{print $3}')