Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.83 KB

Readme.md

File metadata and controls

42 lines (35 loc) · 1.83 KB

A light weight whois tools written by shell.

Features

Get whois server from iana automatic.

Custom whois server support, only support domain whois currently.

IP Whois support

Web whois support. If a TLD only can whois on website, for example, tt, whois.sh will checkout TLD.sh in api folder, if exist, call TLD.sh to get whois info.

Usage

Install

yum install git curl -y # CentOS/RHEL
apt install git curl -y # Debian/Ubuntu/WSL
cd ~
git clone https://github.com/benzBrake/whois.sh.git .whois.sh
chmod +x ~/.whois.sh/*.sh ~/.whois.sh/*/*.sh
echo '. ~/.whois.sh/whois.sh.env' >> ~/.bash_profile
exec $SHELL

How to whois

whois.sh domain
whois.sh ip

or

whois.sh -H whois.doufu.ru doufu.ru

Custom whois method

Put your TLD.sh in folder api.

License

Anti-996 License