🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3122

Re: How to prevent shelling out?

#3122
From: ben ng
Date: Sun, 20 Dec 1992 16:07
19 lines
1195 bytes
fburton@nyx.cs.du.edu (Francis Burton) writes:

> I have a program which I would like to run as a module in a
> self-instruction class.  This particular program allows shelling
> out to DOS by running a second instance of COMMAND.COM (I think).
> Although most students would not abuse this facility, I would feel
> safer if it was not possible to do this.
> 
Use a binary editor and such for the COMSPEC within the file. If it
searches thru COMPSEC for COMMAND.COM then remove it.
OR
If you'd like to present a little message you can setup your own 
environmental variable that leads to a program you replace for 
COMMAND.COM
 
Ben Ng
beng@dorsaid.com
uupsi!dorsaidm!beng
1:278/706
Technical Details
Message-ID: <iB03VB1w165w@dorsai.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!ncr-sd!ncrcae!ncrhub2!ncrgw2!psinntp!dorsai.com!beng
References: <1992Dec18.152918.6805@mnemosyne.cs.du.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!ncr-sd!ncrcae!ncrhub2!ncrgw2!psinntp!dorsai.com!beng
From: beng@dorsai.com (ben ng)
Newsgroups: comp.os.msdos.misc
Subject: Re: How to prevent shelling out?
Message-ID: <iB03VB1w165w@dorsai.com>
Date: 20 Dec 92 16:07:41 GMT
References: <1992Dec18.152918.6805@mnemosyne.cs.du.edu>
Sender: beng@dorsai.com (Ben Ng)
Organization: The Dorsai Embassy, New York's Computer Consulate. +1.718.729.5018
Lines: 19