Skip to content

3JIou-home/rust-ip-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Small tool for get ip information

Install

Needed install rust

git clone https://github.com/3JIou-home/rust-ip-info.git
cd ./rust-ip-info
cargo buld --release
./target/release/rust-ip-info --ip 1.1.1.1

or for buil in docker

./build.sh

Example output

+--------------+-------------------------------------------+
| Name         | Response                                  |
+--------------+-------------------------------------------+
| Request ip   |                                   1.1.1.1 |
+--------------+-------------------------------------------+
| Country      |                                 Australia |
+--------------+-------------------------------------------+
| Region       |                                Queensland |
+--------------+-------------------------------------------+
| City         |                            South Brisbane |
+--------------+-------------------------------------------+
| Provider     |                           Cloudflare, Inc |
+--------------+-------------------------------------------+
| Organization | APNIC and Cloudflare DNS Resolver project |
+--------------+-------------------------------------------+
| AS           |                  AS13335 Cloudflare, Inc. |
+--------------+-------------------------------------------+
| Is mobile    |                                     false |
+--------------+-------------------------------------------+
| Is proxy     |                                     false |
+--------------+-------------------------------------------+
| Is hosting   |                                      true |
+--------------+-------------------------------------------+

About

small tool for get information about ip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published