CompTIA PenTest+ (PT0-001) — Question 42

Which of the following commands would allow a penetration tester to access a private network from the Internet in Metasploit?

Answer options

Correct answer: A

Explanation

The command 'set rhost 192.168.1.10' specifies the target host that the penetration tester is attempting to access, which is essential for establishing a connection. The other options either relate to network scanning, routing setup, or SOCKS proxy server usage, but do not directly enable access to a private network from the Internet.