shell花样获取外网ip

shell花样获取外网ip

httpbin_ip=`curl "http://httpbin.org/get" |jq .origin|sed 's/\"//g'`
ip42pl_ip=`curl https://ip.42.pl/raw`
jsonip_ip=`curl "https://jsonip.com/"|jq .ip|sed 's/\"//g'`
ipify_ip=`curl https://api.ipify.org/`
ifconfigme_ip=`curl https://ifconfig.me/ip `
ipwcn_ip=`curl https://ipv4.ipw.cn/api/ip/myip`

 - [ ] curl ip.sb 
 - [ ] curl ifconfig.me 
 - [ ] curl icanhazip.com 
 - [ ] curl curlmyip.com
 - [ ] curl ip.appspot.com 
 - [ ] curl ipinfo.io/ip 
 - [ ] curl ipecho.net/plain
 - [ ] curl www.trackip.net/i

curl ifconfig.me
curl icanhazip.com
curl curlmyip.com
curl ip.appspot.com
curl ipinfo.io/ip
curl ipecho.net/plain
curl www.trackip.net/i
 
 
#补充
curl ip.sb
curl ip.6655.com/ip.aspx
curl whatismyip.akamai.com
wget -qO - ifconfig.co
dig +short myip.opendns.com @resolver1.opendns.com
curl ident.me
curl v4.ident.me
curl v6.ident.me
curl inet-ip.info
 
#返回IP和地区
curl ip.6655.com/ip.aspx?area=1
curl 1111.ip138.com/ic.asp
curl ip.cn
curl cip.cc
上一篇:JS 画 ❤


下一篇:2021-2022学年英语周报七年级第2期答案及试题