From: mike@gordian.com (Michael A. Thomas)
Subject: Re: VT220 string-sendback feature?
Date: Tue, 20 Oct 1992 00:12:21 GMT [thread overview]
Message-ID: <1992Oct20.001221.5007@gordian.com> (raw)
In-Reply-To: 1992Oct18.213520.29557@decuac.dec.com
In article <1992Oct18.213520.29557@decuac.dec.com>, mjr@hussar.dco.dec.com (Marcus J. "Buddy can you spare a clue?" Ranum) writes:
> >Is there a (non-documented) feature in the VT220, which sends back a string
> >specified in a control-sequence?
> >$ write sys$output "<some_magic_sequence>directory"
> >and the VT220 (not a VMS-process or the terminal-driver!) sends the string
> >"directory" back which is then evaluated by DCL.
>
> This used to be one of my favorite security holes under UNIX.
> You grab the person's terminal type by doing a ps and checking the
> environment, then see if the terminal type has a sendback string.
> Most modern UNIXes default to keeping terminals unwriteable for just
> this reason.
Well, I just looked up in my sources for a vt330 emulator and there
is no way to set the answerback string from the host side. You can
however request the answerback message from the host (^E). You can
also program UDK's from the host, but you can't request them to be
"typed" like the answerback string. I suspect they may have had you
in mind when they didn't implement that feature :-)
> How does VMS address this? I assume it's hard to send escape
> sequences to someone else's terminal without privs of some type?
Actually the broadcast system service even goes to the trouble of
filtering escape sequences out of the supplied text, I think (Yuck).
One of the favorite things we used to do is send people messages which
put their terminal in smooth-scroll-one-line-a-minute mode -- quite
obnoxious. Writing directly to another lusers terminal normally
requires privs though...
--
Michael Thomas (mike@gordian.com)
"I don't think Bambi Eyes will get you that flame thrower..."
-- Hobbes to Calvin
USnail: 20361 Irvine Ave Santa Ana Heights, Ca, 92707-5637
PaBell: (714) 850-0205 (714) 850-0533 (fax)
next prev parent reply other threads:[~1992-10-20 0:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-10-18 20:57 VT220 string-sendback feature? Framstag
1992-10-18 21:35 ` Marcus J. "Buddy can you spare a clue?" Ranum
1992-10-20 0:12 ` Michael A. Thomas [this message]
1992-10-20 11:09 ` Steve McKinty - Sun ICNC
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox