detest my ip's location

This commit is contained in:
luk
2026-10-14 09:44:42 +08:00
parent 1857f86ff2
commit 2abbc95a8b
4 changed files with 31 additions and 13 deletions
+7
View File
@@ -0,0 +1,7 @@
echo https://ipinfo.io/country == $(curl -s https://ipinfo.io/country) # 返回国家代码,例如 CN, DE, US
echo https://myip.ipip.net == $(curl -s https://myip.ipip.net) # 国内站应显示无锡/电信(直连)
echo https://ipinfo.io/json ==
curl -s https://ipinfo.io/json # 详情:IP、城市、组织
# curl ipinfo.io
echo