Merge pull request 'updated deprecated egrep command' (#10) from dev into master

Reviewed-on: http://git.skyfall.tech/skyfall/tab-sorcery/pulls/10
Reviewed-by: AndrewPaglusch <andrew@paglusch.com>
master
Aaron Johnson 4 years ago
commit 1a7a4b5e0b

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