CompTIA PenTest+ Certification Exam PT0-002 Question # 6 Topic 1 Discussion

CompTIA PenTest+ Certification Exam PT0-002 Question # 6 Topic 1 Discussion

PT0-002 Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

A penetration tester wrote the following Bash script to brute force a local service password:

..ting as expected. Which of the following changes should the penetration tester make to get the script to work?


A.

..e

cho "The correct password is $p" && break)

ho "The correct password is $p" I| break


B.

.e

cho "The correct password is $p" && break)

o "The correct password is $p" I break


C.

e

cho "The correct password is Sp" && break)

echo "The correct password is $p" && break)


D.

.

{ echo "The correct password is $p" && break )

With


E.

( echo "The correct password is $p" && break )


Get Premium PT0-002 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.