SkillAgentSearch skills...

Ipsearch

a CLI tool searching ip location based on api of ipip.net

Install / Use

/learn @alastairruhm/Ipsearch
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

GitHub release Build Status Coverage Status Go Report Card License: MIT

ipsearch

a CLI tool searching ip location based on api of https://www.ipip.net/

Installation

Use go get to install and update:

$ go get -u github.com/alastairruhm/ipsearch

Or without golang installed, you can download binary from release page, rename it with ipsearch and place it in $PATH directory.

Usage

From the commandline, ipsearch provides the functions as follows.By default, it prints its output to stdout.

example:

# IP
$ ipsearch 8.8.8.8
8.8.8.8 GOOGLE-GOOGLE-google.com

# domain
$ ipsearch github.io
lookup host: github.io
23.235.37.133 FASTLY-FASTLY-fastly.com
23.235.33.133 FASTLY-FASTLY-fastly.com

# sub-domain
$ ipsearch api.github.com
lookup host: api.github.com
192.30.253.117 美国-弗吉尼亚州-阿什本
192.30.253.116 美国-弗吉尼亚州-阿什本

# URL
$ ipsearch https://github.com/alastairruhm/ipsearch
lookup host: github.com
192.30.253.112 美国-弗吉尼亚州-阿什本
192.30.253.113 美国-弗吉尼亚州-阿什本

License

ipsearch is released under the MIT License.

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated5y ago
Forks1

Languages

Go

Security Score

75/100

Audited on Sep 3, 2020

No findings