updated deprecated egrep command #10

Merged
ajohnson merged 1 commits from dev into master 4 years ago

@ -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"

Loading…
Cancel
Save