CompTIA PT0-002 Practice Test 12
Question 1 / 24
A penetration tester developed the following script:
bash
Copy code
for ip in $(seq 1 254);
do echo $(echo '192.168.15.$ip ') $(host 192.168.15.$ip dns.company.com | grep 'domain name pointer')
done | grep 'domain name pointer' | cut -d' ' -f1,6
Which of the following best explains the purpose of this script?