CompTIA PenTest+ (PT0-003) — Question 9

A penetration tester established an initial compromise on a host. The tester wants to pivot to other targets and set up an appropriate relay. The tester needs to enumerate through the compromised host as a relay from the tester's machine. Which of the following commands should the tester use to do this task from the tester's host?

Answer options

Correct answer: D

Explanation

The correct answer is D because using proxychains allows the tester to route their nmap scan through the compromised host, effectively using it as a relay. The other options either do not facilitate the pivoting correctly or involve incorrect command sequences that would not achieve the desired result.