home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / ARCHIVE / AUTOSN20.ZIP / AUTOSCAN.DOC next >
Encoding:
Text File  |  1991-01-17  |  5.5 KB  |  133 lines

  1.        
  2.  
  3.                               AUTOSCAN V2.0
  4.                               ~~~~~~~~~~~~~
  5.  WHY
  6.  ~~~
  7.  I needed a quick and easy way of checking my Recent Upload Files Area
  8.  for viruses on my BBS. I wasn't happy with the "shells" that were 
  9.  available so I decided to write my own...AUTOSCAN...
  10.  
  11.  AUTOSCAN was written to work with the McAffee SCAN program. 
  12.  (SCAN.EXE is Copyrighted by the McAfee Associates).
  13.  
  14.  HOW
  15.  ~~~ 
  16.  The way it works is real simple, all it does is un-archive any ZIP,ARC
  17.  ICE,LZH or PAK files into a work directory, then uses SCAN.EXE to 
  18.  to scan it. If all goes well and no viruses are found it deletes all 
  19.  the "work" files and then moves onto the next file and repeats the 
  20.  process.
  21.  
  22.  To get going is real simple, copy AUTOSCAN.EXE into a directory off
  23.  the path statement (Like the DOS directory) and then change to the
  24.  directory you wish to scan. All you have to do is type AUTOSCAN. 
  25.  AUTOSCAN will then look through the Current Directory for ZIP, ARC, 
  26.  ICE , PAK, and LZH files, un-archive them and scan them, if all goes
  27.  well it will proceed onto the next file. In order for everything to
  28.  work all the un-archivers should be within reach upon the currect path,
  29.  PKUNPAK.EXE, PKUNZIP.EXE, ICE.EXE, PAK.EXE and most important SCAN.EXE
  30.  If any of the un-archivers are not found that section will not exectute,
  31.  you don't need them all to run AUTOSCAN, however if SCAN.EXE is not
  32.  located the program will halt.
  33.  
  34.  Note: If PKUNPAK.EXE or LHARC.EXE isn't found AUTOSCAN will look for
  35.        PKXARC and ICE respectivly.
  36.  
  37.  AUTOSCAN will keep a detailed log of it's activities in the same
  38.  directory that contains AUTOSCAN.EXE, it will be named AUTOSCAN.LOG, if it
  39.  already exists new information will be appended to it.
  40.  
  41.  WHAT IF
  42.  ~~~~ ~~
  43.  Ok you say, what if there is an archive within an archive ?..NO PROB!
  44.  AUTOSCAN will detect if there are any archives within archives - to any
  45.  level and any combination of archive types, if an error is located in a
  46.  "sub archive" that name is placed in the log along with the "parant archive"
  47.  name and what the error was, Virus or bad archive.
  48.  
  49.  HARD DRIVES and COMMAND LINE OPTIONS
  50.  ~~~~ ~~~~~~ ~~~ ~~~~~~~ ~~~~ ~~~~~~~
  51.  If you wish to have your Hardrive scanned as well put a /S at the
  52.  on the command line:  AUTOSCAN /S
  53.  Drives C: through H: will be scanned if they exist.
  54.   
  55.  When AUTOSCAN finishes it sounds a two tone bell a few times, or in the
  56.  case of a VIRUS, many times! If you wish to run it in the QUIET MODE put
  57.  a /Q on the command line:  AUTOSCAN /S /Q (or /Q /S)
  58.  this will shut it up..
  59.  
  60.  HELP and SCAN.EXE
  61.  ~~~~ ~~~ ~~~~~~~~
  62.  For help on the fly type AUTOSCAN ? and it will display some information
  63.  about itself.
  64.  
  65.  In order for AUTOSCAN to detect all known Virus's you must keep your
  66.  version of SCAN.EXE as current as possible, AUTOSCAN is only as good
  67.  as the Scanner it uses. SCAN.EXE can be found on most good Bulletin 
  68.  Boards in your area. 
  69.  
  70.  *.BAD
  71.  ~~~~~
  72.  If AUTOSCAN comes across a bad Archive or a Virus that file will be
  73.  renamed to "filename".BAD and make a note in the log indicating which
  74.  file is SUSPECT of being bad. If a file is flagged as being bad you 
  75.  might want to examine it manually to see why.
  76.  
  77.  AUTOSCAN.DAT
  78.  ~~~~~~~~~~~~
  79.  Once AUTOSCAN has completed its operations it will update a file called
  80.  AUTOSCAN.DAT, this file contains a list of files that have already been
  81.  scanned. This makes it possible to run AUTOSCAN after each user has 
  82.  logged off my board, if any new files were uploaded they get scanned right
  83.  away and removed from circulation if needed. 
  84.  
  85.  THE NAUGHTY BITS
  86.  ~~~~~~~~~~~~~~~~
  87.  Each time AUTOSCAN starts up it checks it's own size, if it has changed 
  88.  any AUTOSCAN will terminated with a nasty message..AUTOSCAN will also
  89.  check disk space each time it starts up, if the amount of disk space left
  90.  is less than 150% of the archive size AUTOSCAN will exit on a ErrorLevel 1.
  91.  
  92.  ERRORLEVELS
  93.  ~~~~~~~~~~~
  94.  AUTOSCAN will exit on one of 5 DOS ErrorLevels..
  95.  
  96.            ErrorLevel 0 - New Files found and processed.
  97.            ErrorLevel 1 - SCAN.EXE missing / No Disk Space /
  98.                           AUTOSCAN.EXE infected / File Error.
  99.            Errorlevel 2 - No New Files. 
  100.            ErrorLevel 3 - Bad Archive, Renamed to .BAD.
  101.            ErrorLevel 4 - VIRUS, Renamed to .BAD.
  102.  
  103.  WHAT IN
  104.  ~~~~ ~~
  105.  AUTOSCAN is written in Turbo Pascal 6.0 and some routines are from
  106.  the TechnoJock Turbo Toolkit V5.0 (excellent package if your a TP 4/5/6
  107.  programmer)... Oh yea, and AUTOSCAN was written by me Nick Tucker.
  108.  I can be reached at \/elocity - 908-781-1776, FidoNet 1:269/402 case
  109.  you have any questions or comments.
  110.  
  111.  WHAT IF
  112.  ~~~~ ~~
  113.  Ok you say, if AUTOSCAN does report than SCAN.EXE found a Virus, what
  114.  do I do????...Easy Either contact McAfee Associates and they can guide
  115.  you through getting rid of the Virus, or you can run SCAN.EXE manually
  116.  with a /D on the command line..SCAN /D, this will delete any file found
  117.  with a virus. The key to Virus protection is that ugly word called
  118.  BACKUP! Always backup any critical files that you may have.
  119.  
  120.  THE REST  
  121.  ~~~ ~~~~
  122.  This program can and should be distributed freely, no charge should be
  123.  associated with it in anyway. If you run this program you assume all
  124.  liabilities and I shall not be held responsible for any damages that 
  125.  result from its use/missuse...I have strived to make it as error free
  126.  as I can..
  127.  
  128.                          Enjoy it!
  129.                 Nick Tucker....
  130.  
  131.  
  132.                          January 17, 1991
  133.