From 11de9c8351b7ffa08c0b9f3712c2968a3cf028e1 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Mon, 20 Jun 2022 14:15:47 +0800 Subject: [PATCH] Update port_pure.sh --- port_pure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port_pure.sh b/port_pure.sh index c48c66f..0082e56 100644 --- a/port_pure.sh +++ b/port_pure.sh @@ -6,7 +6,7 @@ ip=$1 NODE_ID=('CN_35' 'CN_40' 'CN_50' 'CN_90' 'CN_103' 'CN_104' 'CN_105' 'CN_150' 'CN_160' 'CN_210') NODE_ZH=('深圳 | 阿里云' '北京 | 阿里云' '北京 | 腾讯云' '泉州 | 电信CN2' '江苏 | 电信' '江苏 | 移动' '江苏 | 联通' '杭州 | 阿里云' '青岛 | 阿里云' '上海 | 阿里云') -result0='✅'; result1='📛' +result0='✅ '; result1='📛 ' TOKEN=$(wget -qO- https://tcp$STACK.ping.pe/$ip | grep 'document.cookie' | sed "s/.*document.cookie=\"\([^;]\{1,\}\).*/\1/g") STREAM_ID=$(wget -qO- --header="cookie: $TOKEN" https://tcp$STACK.ping.pe/$ip | grep 'stream_id =' | cut -d \' -f2)