ZIPLAB.DOC

6.7 KB e7b839ba7ca9ea37…
                        
                 ZipLab WC - CUSTOM VERSION FOR WILDCAT BBS'
                   (C)Copyright 1991 by Jeffrey S. Morley
                             June 11th, 1991

                   ZIP file tester for Wildcat BBS Systems

                   
ZipLab WC is a alternative/replacement for the normal file testing routine
which is run by Wildcat after a user uploads file(s).  In the past, we have 
all run maybe PKUNZIP -T on each file, and if there were no CRC erorrs, all 
was considered well.  There is a lot more we can do to protect ourselves and 
our users from unwanted files!  ZipLab will do the following:

* Test for CRC errors in the .ZIP file.
* Test for imbedded .ZIP files and if found, CRC check those too.
* Test for imbedded .TD0 (Teledisk) files and if found, test with TDCHECK.
* Virus SCAN imbedded EXE and COM files, using SCAN.EXE from McAffey.
* Remove all .ZIP comments from the file.
* Replace .ZIP comments with your own. (Optional)
* Delete unwanted BBS ads and/or other unwanted ZIP members as you define.
* Test .GIF files for validity if you accept that file format (Optional)
* Reject programs older than a date (year) which you specify.
* Adds most recent .ZIP member date to the description (Optional)

*******************************************************************************
          
 ******** A CHANGE TO YOUR .CFG FILE *IS* REQUIRED FOR THIS RELEASE! *********

REQUIRED:
You must already have the following programs:

PKZIP.EXE   - Phil Katz archive create program (version 1.01)
PKUNZIP.EXE - Phil Katz archive extract program (version 1.01)
TDCHECK.EXE - .TD0 (Teledisk) checker from SyDex (any version)
SCAN.EXE    - McAffey's virus detection program (any version)

There are other small utility programs which I have bundled with this .ZIP.
Those which were not written by me may require registration for continued
use.  PLEASE SUPPORT SHAREWARE AND DO SO!

RECOM.EXE   - Mike Loewen's ZIP file comment remover and date stamper.
TESTGIF.EXE - Dave Navarro's .GIF file tester (part of GIFTST30.ZIP)
DELF.COM    - A version of DEL with no "Are you sure?" prompt written by me.
              (No registration required)


Quick Start ---

* NOTE!  Since Wildcat is SHELLING out to run ZipLab, there is limited
  memory available for PTEST.EXE.  If you are running in a multitasking 
  or other memory constrained situation, PTEST may not work!  You should 
  have at least 210k free memory when shelled out of Wildcat.
  
* Place the PTEST.EXE, SETUP.EXE and DELF.COM files into a directory which is
  in your DOS PATH.
* UnZIP the enclosed supplemental utilities into directories in your DOS PATH.
  Make note of where you put them, you will need this information later.
* Change to your Wildcat NODE directory (C:\WILDCAT\NODEX for many) and run
  SETUP.EXE. The resulting PTEST.CFG must reside in the Wildcat NONE directory.
* Fill in the following information when prompted by SETUP.EXE:

        -  The number of the COMM port for this node.  (1, 2, 3, or 4)
        -  The type of modem HANDSHAKE you desire.  This can be 
           0, 1, 2 or 3.  0=none, 1=XON/XOFF, 2=CTS, 3=CTS & XON/XOFF
           (Use 2 or 3 with an error correcting modem...)
        -  The name of your BBS system.  43 characters maximum.
        -  The DRIVE and PATH to the directory where rejects will be
           placed pending manual sysop inspection.
        -  The date (yyyy) which will be the minimum acepted year.  ZIPs
           containing files older than this will be rejected.
        -  A "Y" if you wish the "recent date" notation added to the file
           descriptions.  A "N" if you do not wish this addition.
        -  The fully qualified filename of the zip comment to add, or
           type "NONE" if you don't want to add a comment.
        -  Full DRIVE:\PATH to PKZIP.EXE.
        -  Full DRIVE:\PATH to PKUNZIP.EXE.    
        -  Full DRIVE:\PATH to TDCHECK.EXE.
        -  Full DRIVE:\PATH to SCAN.EXE.
        -  Full DRIVE:\PATH to RECOM.EXE.
        -  Full DRIVE:\PATH to TESTGIF.EXE (Just lie to it if not using)   
           (I need these spelled out becuase the method I am using 
            to get ERRORLEVELS returned to the program requires it.)
        -  A list, each on one line, of any extensions (.GIF, .TXT etc)
           Which will be passed without normal ZIP testing.  Any 
           extensions other than .ZIP which do not appear in this .CFG
           file will be rejected by the process.  The "." is optional.
NEW!!!     If .GIF appears in this list, TESTGIF will be used to test
           the integrity of the .GIF file.
        -  A list, each on one line, of files which you wish deleted
           from .ZIP's before posting.  This could include the famous
           "READMEOR.DIE", "BBS.AD", or other unwanted advertising.

            Sample PTEST.CFG file:
            
            2           
            The Interconnect BBS
            M:\HOLD
            1990
            Y
            C:\EXE\COMMENT.CMT
            C:\ZIP\PKZIP.EXE
            C:\ZIP\PKUNZIP.EXE
            C:\ZIP\TDCHECK.EXE
            C:\DIAGS\SCAN.EXE
            C:\EXE\RECOM.EXE
NEW!!!      C:\EXE\TESTGIF.EXE
            .ROM
            .GIF
            ANNOYING.BBS
            README.TOO

* Edit your existing batch file which tests ZIP files, and delete the whole
  thing except for two lines:
  
  Sample batch file:
  
  @ECHO OFF
  PTEST %1
   
* That's it... Now when the batch file is run by Wildcat, it will pass 
  command over to PTEST.EXE with the parameter containing the path
  and name of the file to be tested.  PTEST will check out the file,
  placing any rejects in the holding directory you specified in the
  SETUP process above.  

  
* NEW IN THIS VERSION!!! ******************************************************

ZipLab IX(WC) - First version of ZipLab designed to work with Wildcat BBS'
                (Actually, this should work with ANY BBS system which shells
                out and runs a batch file to test uploads.)


This program was written in QuickBasic 4.5, with some help from Hammerly 
Computing's ProBas 4.01.  I have also included a few utilities which PTEST 
will use in the course of testing.  These utilities are the property of the 
authors, and you are strongly requested to register them if you continue to 
use PTEST.EXE.  There is no registration required for PTEST itself, nor for 
any of the little utilities included which were written by me.


Jeffrey S. Morley
The Interconnect BBS
(703)425-2505

* PTEST.EXE, SETUP.EXE, and DELF.COM are my own creations, and no
  registration is required.  They are all:
  (C)Copyright 1989-1991 by Jeffrey S. Morley