diff --git a/tab-sorcery.sh b/tab-sorcery.sh index 10c21d4..9e244b8 100644 --- a/tab-sorcery.sh +++ b/tab-sorcery.sh @@ -39,7 +39,7 @@ get_hostip () { # return 1 #fi -zone_xfer=`{dig $scan_domain @$scan_ns +time=$dns_time +tries=$dns_tries AXFR || echo $dns_fail_text >&2} | egrep -v 'SOA|NS|MX|DiG' | grep $scan_domain | awk '{print $1,$4,$5}'` +zone_xfer=`{dig $scan_domain @$scan_ns +time=$dns_time +tries=$dns_tries AXFR || echo $dns_fail_text >&2} | grep -Ev 'SOA|NS|MX|DiG' | grep $scan_domain | awk '{print $1,$4,$5}'` while read host <&3; do user_name=$3 connect_cmd="ssh -t"