一个展示当前访问用户的 UA 和公网 IP 的小网页 https://myua.is
技术比较简单 net/http + autocert + GeoIP 支持常用命令行工具的方式获取公网 IP:
$ curl -L myua.is
$ http -b myua.is
$ wget -qO- myua.is
$ fetch -qo- https://myua.is
$ bat -print=b myua.is
一个展示当前访问用户的 UA 和公网 IP 的小网页 https://myua.is
技术比较简单 net/http + autocert + GeoIP 支持常用命令行工具的方式获取公网 IP:
$ curl -L myua.is
$ http -b myua.is
$ wget -qO- myua.is
$ fetch -qo- https://myua.is
$ bat -print=b myua.is
1
loading May 26, 2018
不考虑 github 一下?
|
2
hizzx May 26, 2018
是呀,谢谢分享
|
4
misaka19000 May 26, 2018
http://107.174.218.197/
|
6
azh7138m May 26, 2018 via Android
emmmm,说出来你可能不信,Nginx 自己就可以做到
|
8
crll May 26, 2018
@misaka19000 大佬,不考虑 github 一下吗?
|
9
misaka19000 May 26, 2018 @crll #8 <script src="https://gist.github.com/RitterHou/b5a72898585358e3385d78ffaa27f530.js"></script>
|
10
E1n May 26, 2018 via Android
go 效率高吗
|
12
crll May 26, 2018
@misaka19000 谢谢~~
|
14
azh7138m May 27, 2018
|