Skip to content

benzBrake/whois.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages