🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #6448

Re: shelling to Dos

#6448
From: James Van Artsdalen
Date: Wed, 26 Dec 1990 04:46
16 lines
1296 bytes
In <1990Dec24.012958.9228@magnus.ircc.ohio-state.edu>,
	salter@magnus.ircc.ohio-state.edu (John E Salter) wrote:

> How does one prevent an application from shelling to DOS?
> Particuarly applications running on a novell network
> which is started from a menu system.  Thank you.

You could intercept the INT21 EXEC function call.

Be careful not to gratuitously inhibit all COMMAND.COM execs.  Various
programs will legitimately use a shell() type function in order to run
programs without regard to whether they are binary or batch files.
Try to detect the cases you want based on the arguments to COMMAND.COM.
-- 
James R. Van Artsdalen          james@bigtex.cactus.org   "Live Free or Die"
Dell Computer Co    9505 Arboretum Blvd Austin TX 78759         512-338-8789
Technical Details
Message-ID: <51774@bigtex.cactus.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helps!bigtex!james
References: <1990Dec24.012958.9228@magnus.ircc.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helps!bigtex!james
From: james@bigtex.cactus.org (James Van Artsdalen)
Newsgroups: comp.sys.ibm.pc.misc,comp.sys.novell
Subject: Re: shelling to Dos
Message-ID: <51774@bigtex.cactus.org>
Date: 26 Dec 90 04:46:24 GMT
References: <1990Dec24.012958.9228@magnus.ircc.ohio-state.edu>
Reply-To: james@bigtex.cactus.org (James Van Artsdalen)
Followup-To: comp.sys.ibm.pc.misc
Organization: Institute of Applied Cosmology, Austin TX
Lines: 16