summaryrefslogtreecommitdiffstats
path: root/check.sh
diff options
context:
space:
mode:
authortgroman <>2017-06-27 14:30:45 -0700
committertgroman <>2017-06-27 14:30:45 -0700
commita3dadd7907e15c064761bd350838b5dd5db8d13c (patch)
treead64fdcc61323f7c5a991914b69914d346f516a5 /check.sh
parenta12429a3387d205f849f9ca94d3dcb505008b3fc (diff)
downloadchkxpr-a3dadd7907e15c064761bd350838b5dd5db8d13c.tar
chkxpr-a3dadd7907e15c064761bd350838b5dd5db8d13c.tar.gz
chkxpr-a3dadd7907e15c064761bd350838b5dd5db8d13c.tar.lz
chkxpr-a3dadd7907e15c064761bd350838b5dd5db8d13c.tar.xz
chkxpr-a3dadd7907e15c064761bd350838b5dd5db8d13c.zip
added check.sh and domains.lst
Diffstat (limited to 'check.sh')
-rwxr-xr-xcheck.sh3
1 files changed, 3 insertions, 0 deletions
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