1
Livid MOD curl ifconfig.me
|
3
kingwkb 2014-07-03 16:35:27 +08:00 2
给你个国内 速度超快的版本
curl 115.29.200.26 |
5
Tink 2014-07-03 17:14:21 +08:00 via iPhone 1
|
6
Tonni 2014-07-03 17:16:42 +08:00 1
|
7
kfll 2014-07-03 17:26:37 +08:00 via Android 2
|
8
panzhc 2014-07-03 17:34:09 +08:00 1
curl ip.qaros.com
|
9
zhujinliang 2014-07-03 18:00:16 +08:00 1
以前写了一个,就是curl ip138页面里面嵌的那个iframe,然后grep一下
不过刚才再去看,ip138变聪明了,嵌的那个iframe src会变了 |
11
Havee 2014-07-03 20:15:50 +08:00 1
试试这个脚本
URL=ip.cn help() { echo -e " myip # get your ip myip ipadress # get your adress from ip myip -h # display this help message\n" } if [[ "$1" == "-h" || "$1" == "--help" ]]; then help exit 0 elif [ -z "$1" ]; then curl $URL else curl ${URL}/index.php?ip=$1 fi |
13
likebeta 2015-09-05 20:21:53 +08:00
补充一个`curl ns1.dnspod.net:6666`
|