From a3dadd7907e15c064761bd350838b5dd5db8d13c Mon Sep 17 00:00:00 2001 From: tgroman <> Date: Tue, 27 Jun 2017 14:30:45 -0700 Subject: added check.sh and domains.lst --- check.sh | 3 +++ domains.lst | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100755 check.sh create mode 100755 domains.lst diff --git a/check.sh b/check.sh new file mode 100755 index 0000000..852c4a8 --- /dev/null +++ b/check.sh @@ -0,0 +1,3 @@ +cat domains.lst | sort | uniq | while IFS= read -r ip ; do + whois "$ip" | grep 'Domain\ Name:\|Expir' | grep -v Registrar | grep '\s\s' +done diff --git a/domains.lst b/domains.lst new file mode 100755 index 0000000..b76724f --- /dev/null +++ b/domains.lst @@ -0,0 +1,11 @@ +#Domains to be checked for expirary dates +#should go in here. +#Please appened a "." to the end of each +#domain to avoid checking subdomains. +#below is an example entry + +example.com. +amazon.com. +somesite.com +someothersite.com + -- cgit v1.2.3