home *** CD-ROM | disk | FTP | other *** search
/ TopWare Tools / TOOLS.iso / tools / top1461 / gepackt.exe / CHKLHARC.DOC < prev    next >
Encoding:
Text File  |  1991-10-05  |  2.1 KB  |  49 lines

  1. CHKLHARC (c) copyright 1989 by PAL Software NY, Inc.
  2. Version 1.1                    51 Cedar Lane
  3.                                Ossining, NY  10562
  4.                                BBS:  914-762-8055
  5.    All rights reserved.
  6.    This program may be freely distributed and used without the requirement
  7. of any payment to the author so long as the program is not modified in
  8. any form and no charge is made for its distribution other than normal
  9. charges for disk distribution or for BBS or other information service usage.
  10.  
  11. Usage:  CHKLHARC <somefile.ext>
  12.  
  13. Valid extentions are: COM, EXE and CE.  Normal wildcards (e.g. *.COM) will
  14. return the contents of all matches.  The "CE" extension will cause CHKLHARC
  15. to search both COM and EXE files.
  16.  
  17. This program writes to the standard output, so you can redirect the output to
  18. a file with the normal DOS usage; e.g. "CHKLHARC *.EXE > CHKFILE" will re-route
  19. all messages from the program to a file called "CHKFILE".
  20.  
  21. The purpose of this program is to search COM and EXE files to determine if
  22. they are self-extracting LHARC files, and, if they are, a determination is
  23. made whether the file contains an "AUTOLARC.BAT" file, which is potentially
  24. dangerous if you do not know what it does.
  25.  
  26. If CHKLHARC does find a file with the auto-executing batch file contained
  27. therein, then it will create a new LZH file from the COM or EXE file so that
  28. you can view and manipulate the contents with LHARC.
  29.  
  30. How can a LHARC file containing an "AUTOLARC.BAT" file be dangerous, you
  31. ask?  A LHARC self-extracting file, once it does its self-extraction, will
  32. look for such a batch file and then execute it if present.  A few "DEL *.COM"
  33. commands or the likes thereof could do a good bit of mischief.
  34.  
  35. Version History:
  36.  
  37.    Version 1.1, 4/7/89,
  38.            Added *.CE extension to automatically search both COM & EXE files.
  39.            Added creation of LZH file when an auto-executing file is found
  40.                  in the COM or EXE file.
  41.            Other minor bug fixes and improvements.
  42.  
  43.    Version 1.0, 4/6/89
  44.            First version
  45.  
  46. My thanks to Basil Copeland and John Newlin for their work in analyzing the
  47. LHARC format.
  48.  
  49.