Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 446 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 446 Bytes

check_whois.sh

A simple yet powerful bash-script for checking whois for a domain. Uses https://www.whois.com/whois/ and saves its response as an HTML-file in results_dir.

Usage

For one domain:

./whois.sh results_dir domain github.com

For a list of domains (in a .txt file):

./whois.sh results_dir file domains.txt

Notes

Substitutes all '\' and '.' in URLs with '_' to avoid shell interpretation errors.