Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

CompTIA PenTest+ Exam PT0-003 Question # 73 Topic 8 Discussion

CompTIA PenTest+ Exam PT0-003 Question # 73 Topic 8 Discussion

PT0-003 Exam Topic 8 Question 73 Discussion:
Question #: 73
Topic #: 8

A penetration testing team wants to conduct DNS lookups for a set of targets provided by the client. The team crafts a Bash script for this task. However, they find a minor error in one line of the script:

1 #!/bin/bash

2 for i in $(cat example.txt); do

3 curl $i

4 done

Which of the following changes should the team make to line 3 of the script?


A.

resolvconf $i


B.

rndc $i


C.

systemd-resolve $i


D.

host $i


Get Premium PT0-003 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.