youtube播放地址:https://youtu.be/T5S5O2D1hqg
在线检测NAT类型:https://natchecker.com
可用的STUN服务器列表:https://github.com/pradt2/always-online-stun
NAT穿透工具
NATMap:https://github.com/heiher/natmap
Lucky:https://github.com/gdy666/lucky
通过短链接更新
https://www.zoomeye.ai/searchResult?q=dGl0bGU9Ik15VXJscyI%3D
https://fofa.info/result?qbase64=dGl0bGU9Ik15VXJscyI%3D
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| #!/bin/sh SITE="https://suo.yt" PREFIX=""
TARGET=$(echo -n "http://${1}:${2}" | base64) if [ ! -f "$PREFIX" ]; then echo "1" > "$PREFIX" i=1 else i=$(cat "$PREFIX") i=$((i + 1)) fi
while true; do curl -s -k -X POST "${SITE%/}/short" \ -H "accept: application/json" \ -F "longUrl=${TARGET}" \ -F "shortKey=${PREFIX}${i}" if [ $? -eq 0 ]; then break fi done
echo "$i" > "$PREFIX"
|
通过CF域名更新
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| #!/bin/sh
DOMAIN='' ZONEID='' PAGEID='' APIKEY='' TARGET="http://${1}:${2}"
while true; do curl -s -X PATCH "https://api.cloudflare.com/client/v4/zones/${ZONEID}/pagerules/${PAGEID}" \ -H "Authorization: Bearer ${APIKEY}" \ -H "Content-Type: application/json" \ --data "{ \"status\":\"active\", \"targets\":[{\"target\":\"url\",\"constraint\":{\"operator\":\"matches\",\"value\":\"$DOMAIN\"}}], \"actions\":[{\"id\":\"forwarding_url\",\"value\":{\"url\":\"$TARGET\",\"status_code\":302}}] }" if [ $? -eq 0 ]; then break fi done
|