ExamGecko
Home / CompTIA / PT0-002 / Practice Test 12
Ask Question

CompTIA PT0-002 Practice Test 12

00:00:00
Show Answer
Report Issue   Restart test

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?

Become a Premium Member for full access
  Unlock Premium Member