Compare commits

..

2 Commits

Author SHA1 Message Date
Aaron Johnson 1a7a4b5e0b Merge pull request 'updated deprecated egrep command' (#10) from dev into master
4 years ago
Aaron Johnson eeb21f30b8 updated deprecated egrep command
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