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
YEP!! B 1000% sure...here is a link where the use the EXACT command from B!!! EASY MONEY!!
https://explainshell.com/explain?cmd=ssh+-L4444%3A127.0.0.1%3A6000+-X+user%4010.0.0.20+xterm
Another example for B:
https://www.howtogeek.com/168145/how-to-use-ssh-tunneling/
https://explainshell.com/explain?cmd=ssh+-L4444%3A127.0.0.1%3A6000+-X+user%4010.0.0.20+xterm
Commands from A seem incomplete:
https://www.lifewire.com/linux-command-xhost-4093456
According to ssh man pages:
-L [bind_address:]port:host:hostport : Specifies that connections to the given TCP port or Unix socket on the local (client) host are to be forwarded to the given host and port, or Unix socket, on the remote side.
-X : Enables X11 forwarding
Which Linux distro did you guys test the commands from B? I used the latest Kali but could not make it work. I got connection refused even though I had enabled SSH.
I don't think A. serveral tests and I think it is B or D
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.PT0-001 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
xxdxx
Highly Voted 5 years, 2 months agowho__cares123456789___
4 years, 2 months agomr_robot
Highly Voted 4 years, 10 months agokloug
Most Recent 2 years, 2 months agobromings
2 years, 6 months agomiabe
2 years, 9 months agoCybeSecN
3 years, 9 months agoversun
3 years, 10 months agoYanos_kv
3 years, 10 months agolmao
4 years, 1 month agoEZPASS
4 years, 4 months agoJustcallmeb
4 years, 4 months agoTestBanger
4 years, 5 months agosomeguy1393
4 years, 4 months agoharej8
4 years, 5 months agokhuno
4 years, 10 months agokhuno
4 years, 9 months agokhuno
4 years, 9 months agoD1960
4 years, 12 months agomr_robot
5 years agoGOKU1984
5 years, 1 month agojon34thna
5 years, 2 months ago