Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

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

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

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

A penetration tester receives the following output when enumerating a local user:

User compromised_user may run the following commands on localhost:

root (NO PASSWD): /bin/vim

The tester suspects that another host on the same subnet is also vulnerable. Which of the following is the best method to validate whether the other host is vulnerable?


A.

ssh compromised_user@victimhost " vim; echo $? "


B.

ssh compromised_user@victimhost " sudo -l "


C.

ssh compromised_user@victimhost " bash -c vim "


D.

ssh compromised_user@victimhost " ls -lah /bin/vim "


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.