CompTIA PenTest+ (PT1-002) — Question 105

A penetration tester wants to identify CVEs that can be leveraged to gain execution on a Linux server that has an SSHD running. Which of the following would
BEST support this task?

Answer options

Correct answer: C

Explanation

The correct answer is C because the --script vulners option in nmap specifically targets known vulnerabilities and CVEs, making it ideal for identifying exploitable weaknesses. Options A and B focus on service detection without vulnerability scanning, while option D is for OS detection, none of which directly address CVE identification.