home *** CD-ROM | disk | FTP | other *** search
- CHKLHARC (c) copyright 1989 by PAL Software NY, Inc.
- Version 1.1 51 Cedar Lane
- Ossining, NY 10562
- BBS: 914-762-8055
- All rights reserved.
- This program may be freely distributed and used without the requirement
- of any payment to the author so long as the program is not modified in
- any form and no charge is made for its distribution other than normal
- charges for disk distribution or for BBS or other information service usage.
-
- Usage: CHKLHARC <somefile.ext>
-
- Valid extentions are: COM, EXE and CE. Normal wildcards (e.g. *.COM) will
- return the contents of all matches. The "CE" extension will cause CHKLHARC
- to search both COM and EXE files.
-
- This program writes to the standard output, so you can redirect the output to
- a file with the normal DOS usage; e.g. "CHKLHARC *.EXE > CHKFILE" will re-route
- all messages from the program to a file called "CHKFILE".
-
- The purpose of this program is to search COM and EXE files to determine if
- they are self-extracting LHARC files, and, if they are, a determination is
- made whether the file contains an "AUTOLARC.BAT" file, which is potentially
- dangerous if you do not know what it does.
-
- If CHKLHARC does find a file with the auto-executing batch file contained
- therein, then it will create a new LZH file from the COM or EXE file so that
- you can view and manipulate the contents with LHARC.
-
- How can a LHARC file containing an "AUTOLARC.BAT" file be dangerous, you
- ask? A LHARC self-extracting file, once it does its self-extraction, will
- look for such a batch file and then execute it if present. A few "DEL *.COM"
- commands or the likes thereof could do a good bit of mischief.
-
- Version History:
-
- Version 1.1, 4/7/89,
- Added *.CE extension to automatically search both COM & EXE files.
- Added creation of LZH file when an auto-executing file is found
- in the COM or EXE file.
- Other minor bug fixes and improvements.
-
- Version 1.0, 4/6/89
- First version
-
- My thanks to Basil Copeland and John Newlin for their work in analyzing the
- LHARC format.
-