mirror of https://git.envs.net/envs/ifconfig.git
change to whois.envs.net
This commit is contained in:
parent
d71797f182
commit
f8d7f48b0d
24
README.md
24
README.md
|
@ -1,17 +1,23 @@
|
|||
ifconfig
|
||||
========
|
||||
|
||||
Yet Another ifconfig inspired by http://ifconfig.me, the online demo is [https://ifconfig.minidump.info](https://ifconfig.minidump.info).
|
||||
Yet Another ifconfig inspired by http://ifconfig.me, the online demo is [https://whois.envs.net](https://whois.envs.net).
|
||||
|
||||
[![Build Status](https://secure.travis-ci.org/dfordsoft/ifconfig.png)](https://travis-ci.org/dfordsoft/ifconfig) [![GitHub release](https://img.shields.io/github/release/dfordsoft/ifconfig.svg?maxAge=2592000)](https://github.com/dfordsoft/ifconfig/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dfordsoft/ifconfig/master/LICENSE)
|
||||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dfordsoft/ifconfig/master/LICENSE)
|
||||
|
||||
|
||||
Build
|
||||
Install / Build
|
||||
----
|
||||
```bash
|
||||
wget -O /opt/ https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz
|
||||
tar -C /usr/local -xzf /opt/go1.12.6.linux-amd64.tar.gz
|
||||
git clone https://github.com/cremesk/ifconfig.git
|
||||
|
||||
go get github.com/cremesk/ifconfig
|
||||
go build main.go
|
||||
```
|
||||
|
||||
Download
|
||||
----
|
||||
|
||||
`go get github.com/dfordsoft/ifconfig`
|
||||
|
||||
Download
|
||||
----
|
||||
|
||||
Click this button to download the binary for your platform: [![GitHub release](https://img.shields.io/github/release/dfordsoft/ifconfig.svg?maxAge=2592000)](https://github.com/dfordsoft/ifconfig/releases)
|
||||
Click this button to download the binary for your platform: [![GitHub release](https://img.shields.io/github/release/dfordsoft/ifconfig.svg?maxAge=2592000)](https://github.com/dfordsoft/ifconfig/releases)
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#footer{background:#777;height:20px;line-height:20px;color:#ddd;text-align:center;margin-top:15px;border-top:none;}
|
||||
#ip_address{font-size:1.9em;}
|
||||
#ip_address_cell{padding:5px;height:50px;}
|
||||
|
||||
|
||||
#plungins{height:20px;float:right;}
|
||||
.plungin{float:right;}
|
||||
#button_twitter{width:100px;}
|
||||
|
@ -52,7 +52,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<h1><a href="https://ifconfig.minidump.info">What Is My IP Address? - Yet Another ifconfig</a></h1>
|
||||
<h1><a href="https://whois.envs.net">What Is My IP Address? - Yet Another ifconfig</a></h1>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -125,27 +125,27 @@
|
|||
<div id="cli_wrap">
|
||||
<h2>Command Line Interface</h2>
|
||||
<table id="cli_table" summary="cli">
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info</td><td class="cli_arrow">⇒</td><td>{{.IP}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/ip</td><td class="cli_arrow">⇒</td><td>{{.IP}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/host</td><td class="cli_arrow">⇒</td><td>{{.Host}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/ua</td><td class="cli_arrow">⇒</td><td>{{.UserAgent}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/port</td><td class="cli_arrow">⇒</td><td>{{.Port}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/lang</td><td class="cli_arrow">⇒</td><td>{{.Lang}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/keepalive</td><td class="cli_arrow">⇒</td><td>{{.Keepalive}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/connection</td><td class="cli_arrow">⇒</td><td>{{.Connection}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/encoding</td><td class="cli_arrow">⇒</td><td>{{.Encoding}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/mime</td><td class="cli_arrow">⇒</td><td>{{.Mime}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/charset</td><td class="cli_arrow">⇒</td><td>{{.Charset}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/via</td><td class="cli_arrow">⇒</td><td>{{.Via}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/forwarded</td><td class="cli_arrow">⇒</td><td>{{.Forwarded}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/all</td><td class="cli_arrow">⇒</td><td>ip_addr: {{.IP}}<br />remote_host: {{.Host}} <br />user_agent: {{.UserAgent}}<br />port: {{.Port}}<br />lang: {{.Lang}}<br />connection: {{.Connection}}<br />keep_alive: {{.Keepalive}}<br />encoding: {{.Encoding}}<br />mime: {{.Mime}}<br />charset: {{.Charset}}<br />via: {{.Via}}<br />forwarded: {{.Forwarded}}<br /></td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/all.xml</td><td class="cli_arrow">⇒</td><td><info><br /> <charset>{{.Charset}}</charset><br /> <connection>{{.Connection}}</connection><br /> <encoding>{{.Encoding}}</encoding><br /> <forwarded>{{.Forwarded}}</forwarded><br /> <ip_addr>{{.IP}}</ip_addr><br /> <keep_alive>{{.Keepalive}}</keep_alive><br /> <lang>{{.Lang}}</lang><br /> <mime>{{.Mime}}</mime><br /> <port>{{.Port}}</port><br /> <remote_host>{{.Host}}</remote_host><br /> <user_agent>{{.UserAgent}}</user_agent><br /> <via>{{.Via}}</via><br />
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net</td><td class="cli_arrow">⇒</td><td>{{.IP}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/ip</td><td class="cli_arrow">⇒</td><td>{{.IP}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/host</td><td class="cli_arrow">⇒</td><td>{{.Host}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/ua</td><td class="cli_arrow">⇒</td><td>{{.UserAgent}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/port</td><td class="cli_arrow">⇒</td><td>{{.Port}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/lang</td><td class="cli_arrow">⇒</td><td>{{.Lang}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/keepalive</td><td class="cli_arrow">⇒</td><td>{{.Keepalive}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/connection</td><td class="cli_arrow">⇒</td><td>{{.Connection}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/encoding</td><td class="cli_arrow">⇒</td><td>{{.Encoding}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/mime</td><td class="cli_arrow">⇒</td><td>{{.Mime}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/charset</td><td class="cli_arrow">⇒</td><td>{{.Charset}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/via</td><td class="cli_arrow">⇒</td><td>{{.Via}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/forwarded</td><td class="cli_arrow">⇒</td><td>{{.Forwarded}}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/all</td><td class="cli_arrow">⇒</td><td>ip_addr: {{.IP}}<br />remote_host: {{.Host}} <br />user_agent: {{.UserAgent}}<br />port: {{.Port}}<br />lang: {{.Lang}}<br />connection: {{.Connection}}<br />keep_alive: {{.Keepalive}}<br />encoding: {{.Encoding}}<br />mime: {{.Mime}}<br />charset: {{.Charset}}<br />via: {{.Via}}<br />forwarded: {{.Forwarded}}<br /></td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/all.xml</td><td class="cli_arrow">⇒</td><td><info><br /> <charset>{{.Charset}}</charset><br /> <connection>{{.Connection}}</connection><br /> <encoding>{{.Encoding}}</encoding><br /> <forwarded>{{.Forwarded}}</forwarded><br /> <ip_addr>{{.IP}}</ip_addr><br /> <keep_alive>{{.Keepalive}}</keep_alive><br /> <lang>{{.Lang}}</lang><br /> <mime>{{.Mime}}</mime><br /> <port>{{.Port}}</port><br /> <remote_host>{{.Host}}</remote_host><br /> <user_agent>{{.UserAgent}}</user_agent><br /> <via>{{.Via}}</via><br />
|
||||
</info><br />
|
||||
</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/all.json</td><td class="cli_arrow">⇒</td><td>{"connection":"{{.Connection}}","ip_addr":"{{.IP}}","lang":"{{.Lang}}","remote_host":"{{.Host}}","user_agent":"{{.UserAgent}}","charset":"{{.Charset}}","port":"{{.Port}}","via":"{{.Via}}","forwarded":"{{.Forwarded}}","mime":"{{.Mime}}","keep_alive":"{{.Keepalive}}","encoding":"{{.Encoding}}"}</td></tr>
|
||||
<tr><td class="cli_command">$ curl https://whois.envs.net/all.json</td><td class="cli_arrow">⇒</td><td>{"connection":"{{.Connection}}","ip_addr":"{{.IP}}","lang":"{{.Lang}}","remote_host":"{{.Host}}","user_agent":"{{.UserAgent}}","charset":"{{.Charset}}","port":"{{.Port}}","via":"{{.Via}}","forwarded":"{{.Forwarded}}","mime":"{{.Mime}}","keep_alive":"{{.Keepalive}}","encoding":"{{.Encoding}}"}</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="footer">© 2014 - 2016 <a href="https://ifconfig.minidump.info">https://ifconfig.minidump.info</a></div>
|
||||
<div id="footer">© 2014 - 2016 <a href="https://whois.envs.net">https://whois.envs.net</a></div>
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue