From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,9e7a79c4e93ffe07 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,9e7a79c4e93ffe07 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-10-19 12:10:22 PST Xref: sparky comp.os.vms:16799 comp.sys.dec:5542 Newsgroups: comp.os.vms,comp.sys.dec Path: sparky!uunet!usc!news.service.uci.edu!gordius!gordius!mike From: mike@gordian.com (Michael A. Thomas) Subject: Re: VT220 string-sendback feature? Message-ID: <1992Oct20.001221.5007@gordian.com> Sender: news@gordian.com Organization: Gordian; Costa Mesa, CA References: <1992Oct18.205720.9474@wega.rz.uni-ulm.de> <1992Oct18.213520.29557@decuac.dec.com> Date: Tue, 20 Oct 1992 00:12:21 GMT 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 "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)