shoxf/whois

9 lines
175 B
Bash
Executable File

#!/bin/bash
for fn in $@; do
echo "scanning $fn"
echo "Starting WHOIS $fn" | tee -a "index/$fn.txt"
whois $fn | grep 'Abuse\|NetName\|descr:' | tee -a "index/$fn.txt"
done