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

CompTIA PenTest+ Exam PT0-003 Question # 67 Topic 7 Discussion

CompTIA PenTest+ Exam PT0-003 Question # 67 Topic 7 Discussion

PT0-003 Exam Topic 7 Question 67 Discussion:
Question #: 67
Topic #: 7

openssl passwd password

$1$OjxLvZ85$Fdr51vn/Z4zXWsQR/Xrj.

The tester then adds the following line to the world-writable script:

echo 'root2:$1$0jxLvZ85$Fdr51vn/Z4zXWsQR/Xrj .: 1001:1001:,,,:/root:/bin/bash">> /etc/passwd

Which of the following should the penetration tester do to enable this exploit to work correctly?


A.

Use only a single redirect to /etc/password.


B.

Generate the password using md5sum.


C.

Log in to the host using SSH.


D.

Change the 1001 entries to 0.


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.