Which of the following would accomplish this task?

A penetration tester wants to launch a graphic console window from a remotely compromised host with IP 10.0.0.20 and display the terminal on the local computer with IP 192.168.1.10. Which of the following would accomplish this task?
A. From the remote computer, run the following commands:
export XHOST 192.168.1.10:0.0
xhost+
Terminal
B. From the local computer, run the following command:
ssh -L4444:127.0.0.1:6000 -X [email protected] xterm
C. From the remote computer, run the following command:
ssh -R6000:127.0.0.1:4444 -p 6000 [email protected] “xhost+; xterm”
D. From the local computer, run the following command:
nc -l -p 6000
Then, from the remote computer, run the following command:
xterm | nc 192.168.1.10 6000

comptia-exams

2 thoughts on “Which of the following would accomplish this task?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.