change to whois.envs.net

This commit is contained in:
cremesk 2019-06-30 12:55:43 +02:00
parent d71797f182
commit f8d7f48b0d
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 35 additions and 29 deletions

View File

@ -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)

View File

@ -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">&rArr;</td><td>{{.IP}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/ip</td><td class="cli_arrow">&rArr;</td><td>{{.IP}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/host</td><td class="cli_arrow">&rArr;</td><td>{{.Host}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/ua</td><td class="cli_arrow">&rArr;</td><td>{{.UserAgent}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/port</td><td class="cli_arrow">&rArr;</td><td>{{.Port}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/lang</td><td class="cli_arrow">&rArr;</td><td>{{.Lang}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/keepalive</td><td class="cli_arrow">&rArr;</td><td>{{.Keepalive}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/connection</td><td class="cli_arrow">&rArr;</td><td>{{.Connection}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/encoding</td><td class="cli_arrow">&rArr;</td><td>{{.Encoding}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/mime</td><td class="cli_arrow">&rArr;</td><td>{{.Mime}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/charset</td><td class="cli_arrow">&rArr;</td><td>{{.Charset}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/via</td><td class="cli_arrow">&rArr;</td><td>{{.Via}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/forwarded</td><td class="cli_arrow">&rArr;</td><td>{{.Forwarded}}</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/all</td><td class="cli_arrow">&rArr;</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">&rArr;</td><td>&lt;info&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;charset&gt;{{.Charset}}&lt;/charset&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;connection&gt;{{.Connection}}&lt;/connection&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;encoding&gt;{{.Encoding}}&lt;/encoding&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;forwarded&gt;{{.Forwarded}}&lt;/forwarded&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;ip_addr&gt;{{.IP}}&lt;/ip_addr&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;keep_alive&gt;{{.Keepalive}}&lt;/keep_alive&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;lang&gt;{{.Lang}}&lt;/lang&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;mime&gt;{{.Mime}}&lt;/mime&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;port&gt;{{.Port}}&lt;/port&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;remote_host&gt;{{.Host}}&lt;/remote_host&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;user_agent&gt;{{.UserAgent}}&lt;/user_agent&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;via&gt;{{.Via}}&lt;/via&gt;<br />
<tr><td class="cli_command">$ curl https://whois.envs.net</td><td class="cli_arrow">&rArr;</td><td>{{.IP}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/ip</td><td class="cli_arrow">&rArr;</td><td>{{.IP}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/host</td><td class="cli_arrow">&rArr;</td><td>{{.Host}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/ua</td><td class="cli_arrow">&rArr;</td><td>{{.UserAgent}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/port</td><td class="cli_arrow">&rArr;</td><td>{{.Port}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/lang</td><td class="cli_arrow">&rArr;</td><td>{{.Lang}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/keepalive</td><td class="cli_arrow">&rArr;</td><td>{{.Keepalive}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/connection</td><td class="cli_arrow">&rArr;</td><td>{{.Connection}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/encoding</td><td class="cli_arrow">&rArr;</td><td>{{.Encoding}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/mime</td><td class="cli_arrow">&rArr;</td><td>{{.Mime}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/charset</td><td class="cli_arrow">&rArr;</td><td>{{.Charset}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/via</td><td class="cli_arrow">&rArr;</td><td>{{.Via}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/forwarded</td><td class="cli_arrow">&rArr;</td><td>{{.Forwarded}}</td></tr>
<tr><td class="cli_command">$ curl https://whois.envs.net/all</td><td class="cli_arrow">&rArr;</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">&rArr;</td><td>&lt;info&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;charset&gt;{{.Charset}}&lt;/charset&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;connection&gt;{{.Connection}}&lt;/connection&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;encoding&gt;{{.Encoding}}&lt;/encoding&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;forwarded&gt;{{.Forwarded}}&lt;/forwarded&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;ip_addr&gt;{{.IP}}&lt;/ip_addr&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;keep_alive&gt;{{.Keepalive}}&lt;/keep_alive&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;lang&gt;{{.Lang}}&lt;/lang&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;mime&gt;{{.Mime}}&lt;/mime&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;port&gt;{{.Port}}&lt;/port&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;remote_host&gt;{{.Host}}&lt;/remote_host&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;user_agent&gt;{{.UserAgent}}&lt;/user_agent&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;via&gt;{{.Via}}&lt;/via&gt;<br />
&lt;/info&gt;<br />
</td></tr>
<tr><td class="cli_command">$ curl https://ifconfig.minidump.info/all.json</td><td class="cli_arrow">&rArr;</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">&rArr;</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">&copy; 2014 - 2016 <a href="https://ifconfig.minidump.info">https://ifconfig.minidump.info</a></div>
<div id="footer">&copy; 2014 - 2016 <a href="https://whois.envs.net">https://whois.envs.net</a></div>
</div>
</body>
</body>
</html>