home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ra / thdpro_6.zip / THDPRO.DOC < prev    next >
Text File  |  1993-05-06  |  34KB  |  575 lines

  1.                         THD ProScan Ver 6.0
  2.  
  3.           First... Thank you for downloading this file.
  4.  
  5.           Credits...
  6.      Thanks to all the sysops who, at various stages, helped in the 
  7. betatesting of this product. Many helped me to find "minor" inconsistencies 
  8. and fix them before you got to see it.
  9.      A VERY special thanks to "Witch Doctor" for his great assistance in 
  10. betatesting the first releases and making valuable suggestions about the 
  11. program.. Many of which were implemented, And of course some which were 
  12. not.. But all of his suggestions and comments were considered.
  13.      A special thanks as well to "Eternal Darkness" for his contribution of 
  14. the "user side ansi screen". He willingly gave me a number of "ansi" drawings
  15. with permission to modify them as was necessary to suit my purpose. The ansi 
  16. your users see is only very slightly modified from the ansi I received and I 
  17. think he did an excellent job.
  18.      A thanks as well to David Luckie who reported the problem which Version 
  19. 4 fixed. Without his inquiries the integrity of this program might have been 
  20. severely compromised.
  21.      To Neil Dempster for his support and constant questioning (not to 
  22. mention the extra drives).
  23.      And to Tim Strike for his assistance in many aspects, including 
  24. relaying David's concerns and replies so that I might be able to fix the 
  25. problem.
  26.      To TurboPower Software for the use of their EXECSWAP program.
  27.  
  28.      Support for this tester can usually be found on  TELENET CANADA.  
  29.      Requests for support on  TELENET  CANADA  should  be directed to 
  30.      David Muir.  Inquiries about this tester can be made in  TELENET 
  31.      TELEGARD or BBS support areas.  In the event that Dave is unable 
  32.      to assist  you  directly,  there are numerous people in  TELENET 
  33.      who are familiar enough with  my program to offer some technical 
  34.      assistance. Advice about configuring YOUR BBS program to run THD 
  35.      ProScan would best be handled  by someone familiar with that BBS
  36.      software. I am only familiar with Telegard and T.A.G. in respect
  37.      to having  sufficient knowledge to offer technical assistance in
  38.      setting them up to run this tester. THD ProScan V 6.0 is however,
  39.      generic and can be run by almost ANY BBS with the correct setup.
  40.      
  41.      THD ProScan is an upload tester for ANY BBS which is capable of sending 
  42. a command line of the following format.
  43.  
  44. "C:\UTILS\THDPRO.EXE D:\NEWFILES\TEST.ZIP"
  45.  
  46. {Where "C:\UTILS\THDPRO.EXE" is the full path and filename to the THD ProScan
  47. executable file and "D:\NEWFILES\TEST.ZIP" is the full path and filename to 
  48. the file to be tested}.
  49.  
  50.     ***************************** WARNING *****************************
  51.     Remote dos redirection must NOT be set to a comport or device other 
  52.     than "CON"  during the running  of this upload  tester.  Failure to
  53.     pay attention "could" ( in some cases ) cause paths to be displayed
  54.     to a remote user.  If necessary, redirect the output on the command
  55.     line by appending " >CON" to the end of the line.  This will not be
  56.     necessary in MOST cases. If you do not see the utilities performing
  57.     their functions, the output is being  redirected to somewhere else.
  58.     ************************* END OF WARNING **************************
  59.  
  60.     
  61.  *******************************  WARNING  *********************************
  62.  **     This  Version of  THD  ProScan  is designed  to  recognize files  **
  63.  **  created by PKZIP 204c, 204e and  204g.  Therefore it  requires that  **
  64.  **  your version of PKZIP be PKZIP 204g.                                 **
  65.  **     The use of any version prior to 204g  WILL result in valid files  **
  66.  **  failing the  CRC  test.  While it  does still  recognize and handle  **
  67.  **  version  1.10  files,  it also  recognizes the  newer file formats.  **
  68.  **  Version 1.10 will  NOT be able to  handle the new  formats and will  **
  69.  **  cause the files to fail testing.                                     **
  70.  **      This, of course, only applies  to those of you who wish to test  **
  71.  **  "ZIP" type files.                                                    **
  72.  **      If you are going to test "ZIP" files with this tester, then you  **
  73.  **  MUST use PKZIP 204g or risk failing files.                           **
  74.  ***************************** END OF WARNING ******************************
  75.  
  76.  
  77. Features..
  78.      - Identifies all archives by their internal signatures.
  79.      - Including self extracting archives.
  80.      - Allows files to be rejected based on the dates of the files
  81.         inside the archives.
  82.      - Can reject files by name using a "hack list" (HACK****.COL file 
  83.         compatible)
  84.      - Supports "heuristic" testing for suspicious code using
  85.        F-PROT.EXE or TBSCAN.EXE.
  86.      - Support for remote ansi or ASCII as determined by auto ansi detect.
  87.      - Suppression of remote output through the use of "comport 0".
  88.      - Suppression of remote output through the use of a user defined
  89.         comport.
  90.      - Option to NOT modify "ZIP" archives which have a valid "AV".
  91.      - Strips comments from all archives before any processing is done
  92.         (to avoid "ansi bombs" in comments). This features will not protect
  93.         the end users if the "internal" archives contain such bombs.
  94.      - Recreates full directory structure "from" the temporary directory, 
  95.          thus allowing all internal archives to be tested regardless
  96.          of how deeply imbedded they may be.
  97.      - Does not allow the "overwrite" option on any of the archive types.
  98.         (stops some forms of "hacking")
  99.      - Add your loaders and/or archive comment to the main archive.
  100.      - Will use one of as many as three drives to test files by
  101.         searching in order to find enough available space on one of them.
  102.      - "Intelligent" installation which will attempt to do as much of
  103.         the installation for you as is possible.
  104.      - The configuration of either of the two previous versions of
  105.         THDPRO.EXE can be used automatically.
  106.      - Full control over the options available and paths to archive utilities.
  107.      - Support for ZIP-GIF-TD0-ARC-ARJ-PAK-HYP-LZH-SQZ file types.
  108.      - Will Virus scan all file types regardless of types configured.
  109.      - Remove unwanted files from the archives tested.
  110.      - Option to hang up on users who upload viruses.
  111.      - Option to reboot after a viral detection.
  112.      - No Known ways to "alter" the operation of your BBS through it's use.
  113.      - Can be run on two or more nodes simultaneously.
  114.      - All operations controlled by a single executable file.
  115.  
  116.      WHAT WILL IT DO.. 
  117.           THD ProScan will ..
  118.          1) Check (and/or reject) files from a user supplied list of files
  119.          2) Strip the file comment
  120.          3) CRC test the file
  121.          4) FIND a drive with enough space to test the file
  122.          5) Create a directory called "THDTEMP.$$?" on that drive
  123.          6) Remove files (if configured) from the archive.
  124.          7) Check dates to reject old files (if selected).
  125.          8) Expand the archive into that directory while recreating
  126.                its internal path structure.
  127.          9) It will then scan each of the files in that directory and
  128.                all subdirectories below it.
  129.         10) It then selectively searches each of the subdirectories created
  130.                for testable archives. If found, it repeats the above process
  131.                until no more archives are found. In this way EVERY imbedded
  132.                archive is tested, regardless of where it is in the directory
  133.                structure or how far imbedded it is. Every directory created 
  134.                by the original archive or any of the embedded archives is 
  135.                tested and scanned by THD ProScan.
  136.         11) Add your loaders to the archive
  137.         12) It maintains a log in your BBS directory of all actions performed.
  138.         13) Add your file comment.
  139.         14) It then proceeds to remove the temporary directory structure.
  140.         15) Reports the appropriate errorlevel to dos.
  141.  
  142.      The actual process is of course much more complex.. But the above 
  143. overview is a decent summary.
  144.  
  145.      Requirements...
  146.           This tester requires 
  147.           PC/XT (or compatible)
  148.           MS-DOS 3.3 (or higher)(other "DOS" systems MAY be acceptable)
  149.           A FOSSIL DRIVER (user output will not be sent if no fossil is found
  150.                            but the testing will still be done)
  151.           McAFEE's VIRUSCAN (the newer the better)
  152.           APPROX 325k FREE memory (**)
  153.  
  154.           **    Memory requirements will vary depending on your version
  155.                 of SCAN.EXE. The actual overhead of this program is 100k.
  156.                 The "add" feature of SQZ.EXE will require significantly
  157.                 more memory than is noted above. Use of SQZ.EXE can require
  158.                 as much as 520k free for the "add loaders" option to operate
  159.                 correctly. This is due to the archiver itself and nothing
  160.                 can be done about it from my end. Lack of memory will not
  161.                 cause those files to fail but will simply not add the files
  162.                 if memory is insufficient. Use of F-Prot for heuristic 
  163.                 testing may also require more memory. A quirk with SQZ.EXE
  164.                 also may affect it's ability to add loaders or comments and
  165.                 these options have been disabled in the circumstances where
  166.                 SQZ could erase the original archive.
  167.                         Compensation for these conditions is attempted though
  168.                 the use of TurboPower Software's EXECSWAP program which will
  169.                 swap approximately 48k out of memory to give these intense 
  170.                 programs more room to run.
  171.  
  172.  
  173.      The following utilities are required depending on which file types you 
  174. wish to test.
  175.           LHA.EXE        for "LZH" files
  176.           ARJ.EXE        for "ARJ" files
  177.           SQZ.EXE        for "SQZ" files
  178.           PKZIP/PKUNZIP  for "ZIP" files (supports vers 1.10 - 2.04g)
  179.           PKARC/PKXARC   for "ARC" files
  180.           PAK.EXE        for "PAK" files
  181.           HYPER.EXE      for "HYP" files
  182.           TDCHECK.EXE    for "TD0" files
  183.           GIFTEST(ver 4) for "GIF" files
  184.           F-PROT.EXE     for Heuristic file testing
  185.           or
  186.           TBSCAN.EXE     for Heuristic file testing
  187.  
  188.  
  189. INSTALLATION...
  190.  
  191.      Included are 11 files.. NEWINV6.TXT,THDPRO-6.ADD,THDDEMO.COM,
  192. THDPRO.DOC,THDPRO.EXE, HISTORY.DOC and THDINSTL.EXE. WARNING.TXT, 
  193. THDSETUP.TXT ANSWERS.TXT and THDTERM3.ZIP.
  194.      THDPRO.EXE is the actual upload tester and controls or performs 
  195. all actions of the "testing" from "File Allocation Table move" to removal 
  196. of the temporary directory.
  197.      THDTERM3.ZIP is an archive containing a simple interface for use of THD 
  198. ProScan without a BBS. Read the documentation included in that archive 
  199. pertaining to its use.
  200.      HISTORY.DOC is a simplified history of THD ProScan.
  201.      NEWINV6.TXT is a listing of the changes and added features between
  202. version 5 and this release. Please see HISTORY.DOC for a list changes to 
  203. the program.
  204.      WARNING.TXT is a text file listing the warning above in regards to
  205. the use of PKZIP204G.
  206.      THDSETUP.TXT is a text file explaining how to set up THD ProScan to run 
  207. on a T.A.G., RA2 gamma1, or TELEGARD BBS. As well it contains a simple batch 
  208. file for processing entire directories of files.
  209.      THDPRO-6.ADD is a sample file comment for use with the tester. It
  210. serves only as an example and is NOT required for proper operation of 
  211. the tester.
  212.      ANSWERS.TXT is a file containing questions and answers that may 
  213. assist you in understanding the program better.
  214.      THDINSTL.EXE is the INSTALL/CONFIGURATION utility. It MUST be run 
  215. in order for the scanner to operate correctly.
  216.      Basically all that is required is that the THDPRO.EXE be in your 
  217. current directory when you run THDINSTL.EXE.
  218.      THDINSTL.EXE will search the executable file for any previously 
  219. configured settings. If none are found it will go through the 
  220. installation step by step. If however it finds that the installation 
  221. has previously been run, it will simply load the previous information 
  222. and take you to the final two option screens. From these two screens 
  223. you may select (by letter) to modify any of the previous configuration 
  224. parameters. 
  225.      The "original" installation process can be defaulted to by running
  226. "THDINSTL.EXE /F". This will cause the install to NOT look for old 
  227. settings and simply start an install as if it were the first time.
  228.      When you run the installation, it will ask you a number of yes/no 
  229. questions and depending on your answers will prompt you for certain things. 
  230. Some things are mandatory.
  231.      Running THDINSTL.EXE followed by the full path and filename to your
  232. version 4 or 5 THDPRO.EXE will cause it to take all the settings from 
  233. that version and place them into version 6.
  234.      THDINSTL.EXE also accepts "/NOMOVE" as a parameter. This option causes 
  235. THDPRO.EXE to suspend all of it's moving and renaming of files. This option 
  236. is recommended ONLY if the BBS program that you use suffers problems when 
  237. unable to locate the file moved or renamed by THD ProScan. This setting is 
  238. reset each time THDINSTL is run and must be used every time in order to
  239. maintain the "No Move" option.
  240.  
  241.         The use of "∙" (alt 249) is forbidden in ALL entries in
  242.         the installation. If used, the string in which it was used will
  243.         be "CUT" down to the character immediately preceding it. This 
  244.         will result in unpredictable results. DO NOT use that character.
  245.  ╔═════════════════════════════════════════════════════════════════════════╗
  246.  ║ A-- BBS name              -- Your BBS Name                              ║
  247.  ║ B-- Comport               -- 2     | Local Comport     -- 3             ║
  248.  ║ C-- Test Drives           -- C: D: E:                                   ║
  249.  ║ D-- Reboot?               -- N                                          ║
  250.  ║ E-- Drop Virus uploader   -- Y                                          ║
  251.  ║ F-- Protect "AV" zip files-- Y                                          ║
  252.  ║ G-- THDPro Log size       -- 50000                                      ║
  253.  ║ H-- BBS directory         -- D:\BBS                                     ║
  254.  ║ I-- Reject Directory      -- D:\BBS\DLS\SYSOP                           ║
  255.  ║ J-- Files to be added     -- D:\MYLOADER.TXT                            ║
  256.  ║ K-- Files to remove       -- README.ROS BBSAD.*                         ║
  257.  ║ L-- Comment File          -- D:\BBS\UTILS\COMMENT.TXT                   ║
  258.  ║ M-- File dates            -- Limited to 15 days.                        ║
  259.  ║If any of the above is incorrect, Enter the corresponding letter         ║
  260.  ║Pressing [enter] will move to the next checking screen                   ║
  261.  ║Press [enter] or letter to correct --->                                  ║
  262.  ╚═════════════════════════════════════════════════════════════════════════╝
  263. "BBS NAME"
  264.                 This of course could be your name or alias if you prefer, 
  265.                 BUT something must be entered.
  266.                 This entry MUST be between 4 and 35 characters in length.
  267.  
  268. "COMPORT - Local Comport"
  269.  
  270.                 This MUST be a valid comport as the tester will output to
  271.                 the comport on every run. (the comport need not be active to
  272.                 run the scanner, but must exist). A comport of "0" may be
  273.                 selected if you wish to suppress all remote output. (useful
  274.                 if you wish to test a file while online to a BBS).
  275.                       Local comport is a comport which you would like THD
  276.                 ProScan to always treat as a local only comport. Useful for
  277.                 sysops who use a node of their BBS strictly for local
  278.                 logons. This option simply tells THDPRO.EXE that if the
  279.                 comport sent is {the local comport} to use comport 0
  280.                 instead.
  281. "TEST DRIVES
  282.                 This is a list of valid drives that THD ProScan can use
  283.                 to test the archives.
  284. "REBOOT"
  285.                 Do you wish THD ProScan to Reboot the computer after
  286.                 finishing it's testing if it finds a virus?
  287. "DROP VIRUS UPLOADER"
  288.                 Do you wish to drop carrier (hang up) on users who
  289.                 upload virus infected files?
  290. "AV PROTECTION"
  291.                 Do you wish to NOT modify "Zip" files with a valid "AV"?
  292. "THD PRO LOGSIZE" 
  293.                 Multiple choice of the maximum size to write to the 
  294.                 log file. After exceeding this size, the next test will 
  295.                 rename that file and create a new THDPRO.LOG file.
  296. "BBS Directory" 
  297.                 This directory need not be your BBS directory. It can be 
  298.                 any existing directory where you would like to keep the 
  299.                 "log" file created by the tester. This is also the 
  300.                 directory you will be in at the completion of a successful 
  301.                 test.
  302. "REJECTED DIRECTORY"
  303.                This is the directory into which you wish files which fail 
  304.                the scan portion or cannot be tested should be "moved".
  305. "FILES TO BE ADDED"
  306.                 Files that you wish to be added to every archive tested.
  307.                 You can enter individual filenames (wildcards supported).
  308.                 OR a single directory with "*.*".(max 40 characters)
  309. "FILES TO REMOVE"
  310.                 A list of files to remove from each archive tested.
  311.                 Wildcards are supported (40 characters max)
  312. "COMMENT FILE"
  313.                 The full path to a file to be used as an archive comment
  314.                 (Will only be inserted in those file types which allow
  315.                 more than a single line comment).
  316. "FILE DATES"
  317.                 Can be limited by "AGE" or by "DATE" or not at all. This 
  318.                 date limitation is based on the files INSIDE the archive.
  319.                 The archive date itself is not considered in this 
  320.                 calculation. Be very care how you use this function.
  321.                 GIF and TD0 files are not subject to date checking.
  322.  ╔═════════════════════════════════════════════════════════════════════════╗
  323.  ║ N-- Scan.exe path         -- D:\SCAN.EXE                                ║
  324.  ║ O-- PkZip.exe Path        -- D:\PKZIP.EXE                               ║
  325.  ║ P-- PkunZip.exe Path      -- D:\PKUNZIP.EXE                             ║
  326.  ║ Q-- Arj.exe Path          -- D:\ARJ.EXE                                 ║
  327.  ║ R-- Lha.exe Path          -- D:\LHA.EXE                                 ║
  328.  ║ S-- Pak.exe Path          -- D:\PAK.EXE                                 ║
  329.  ║ T-- PkArc.com Path        -- D:\PKARC.COM                               ║
  330.  ║ U-- Pkxarc.com Path       -- D:\PKXARC.COM                              ║
  331.  ║ V-- Hyper.exe Path        -- D:\HYPER.EXE                               ║
  332.  ║ W-- Giftest.exe Path      -- D:\GIFTEST.EXE                             ║
  333.  ║ X-- TDcheck.exe Path      -- D:\TDCHECK.EXE                             ║
  334.  ║ Y-- Hacklist Path         -- D:\HACKLIST.TXT                            ║
  335.  ║If any of the above is incorrect, Enter the corresponding letter         ║
  336.  ║Pressing [enter] will complete the installation.                         ║
  337.  ║Pressing "Z" will take you back to the previous option screen.           ║
  338.  ║Press [enter] or letter to correct --->                                  ║
  339.  ╚═════════════════════════════════════════════════════════════════════════╝
  340.  
  341. "????????.??? PATH"
  342.                 All of the above which are configured MUST include full 
  343.                 drive\path\filename in order for the tester to operate 
  344.                 correctly.
  345.                 Of the above... only "SCAN.EXE" is absolutely mandatory.
  346.                 The others should be configured as needed to test the
  347.                 corresponding file types.
  348.                                          
  349. "HACKLIST PATH" 
  350.                 Hacklist Path is the complete path and filename to a file 
  351.                 which contains a list of file "names". This file can not 
  352.                 contain extensions or the "." between the name and extension.
  353.                 The "COL" files contained in the "Hack Report" can be used 
  354.                 "as is" for this purpose.
  355.                 If you wish to create your own list of undesirable files, 
  356.                 you need simply create a file which consists of filenames. 
  357.                 One name per line and all in capital letters. The following 
  358.                 would be acceptable as a hack list.
  359.  
  360.                 PKZ201
  361.                 HACKFILE
  362.                 GARBAGE
  363.  
  364.                 If this were your list then all files with those names 
  365.                 (regardless of their extensions) would be failed.
  366.                 This option can be skipped by pressing "enter" when prompted.
  367.  
  368.         The final screen asks about "Heuristic testing". This screen offers 
  369. the option of heuristic tesing of files through the use of either F-PROT.EXE 
  370. or TBSCAN.EXE. The name of these files must be precisely "TBSCAN.EXE" and 
  371. "F-PROT.EXE" as the tester will only run them if they are identified by 
  372. their proper name. These testers will almost definately give false positive 
  373. readings and I STRONGLY suggest that you read their accompanying documentation 
  374. before deciding to use them.
  375.         THD ProScan will NOT fail files based on the result of these tests
  376. and includes the option for your information only. All test details are kept 
  377. in a logfile called "HEURIST.LOG". Only files which report possible problems 
  378. will result in entries to this log. This log will be in the same directory 
  379. as your THDPRO.LOG file and will NOT be subject to a size limitation. As a 
  380. result, you will need to delete this logfile manually on occassion to avoid 
  381. it becoming too large.
  382.         Pay special attention to the habit of these testers to report false 
  383. positives. Many normal files can do things in a way that might cause these 
  384. testers to warn you of "possible" danger. DO NOT assume that the files are 
  385. bad simply because these testers detect suspicious code. However if you 
  386. have the ability, you will want to treat these files with a little added 
  387. care before assuming they are safe.
  388.         My personal preference of the two testers is ThunderByte's TBSCAN.
  389. It is faster than F-PROT and requires less memory. On the other hand F-Prot 
  390. gives fewer false detections. Keep in mind that F-PROT.EXE may require more 
  391. memory than you have available to you and that it will not test files if 
  392. there is insufficient memory.
  393.         Neither of these two testers is used to detect "known" viruses 
  394. (although they both have the ability) and support in that capacity is 
  395. unlikely to be introduced in the near future. (But you never know)
  396.  
  397. All entries which require a "directory" require that there be no ending "\" 
  398. at the end of the path. All Filename entries require full path and filenames.
  399.      The entries made in the installation MUST NOT exceed 40 characters
  400. per entry. If you enter more than 40 characters the entry will be accepted,
  401. but cut down to the first 40 characters. However, if file paths are cut by 
  402. this process, the results are totally unpredictable. If any of your entries 
  403. wraps on the final two screens of the install.. THEY WILL NOT FUNCTION as 
  404. intended and you will need to use files in a different location than those 
  405. entered.
  406.      Although the program could possibly accept filenames without paths in 
  407. some instances, I STRONGLY suggest you not accept such entries and modify 
  408. them to include a full path.
  409.  
  410. The install will attempt to locate the "SCAN and ARCHIVE" files that you 
  411.      wish to use for testing. As well as the correct number of drives that 
  412.      are available (of which THD ProScan can use a maximum of 3).
  413. If you read the instructions given for each step during the install process 
  414.      and follow them exactly, you should encounter no problems at all with 
  415.      the setup procedure. The install can be exited at any time by pressing 
  416.      "CTRL-BREAK". No information from that session will be saved. (Unless 
  417.      perhaps you manage to press it while the program is in the middle of 
  418.      saving the information you have entered)
  419.  
  420.                               THDPRO.DOC
  421.                           -You're reading it
  422.  
  423.                               THDDEMO.COM
  424.      A simple demonstration of the user side view of what happens while the 
  425. scanner is running. This is included just in case you have never seen this
  426. tester in action before. Your side will display the various utilities 
  427. performing their duties and a short explanation of what the tester is doing.
  428.                               
  429.                               "THE TESTER"
  430.  
  431.      This is my first ever "real" program. It was made to satisfy a number 
  432. of people who saw my "batch program", THDscan, but were unwilling to use it 
  433. based on it's dependency on 4DOS or NDOS.
  434.      The reason that this program uses 100k of memory is due to a very large
  435. "stack" segment which is reserved for the use of "imbedded" archives. By 
  436. reserving such a large stack, the program is able to run recursively for
  437. much longer and thus test imbedded archives far beyond the first level.
  438. I may reconsider the "size" of the reserved portion in later versions. But I
  439. trust that most "shells" from BBS programs can leave enough memory for this
  440. program to run as is.
  441.      This program is just as secure as THDscan and more secure than Ziplab or
  442. PKINSERT. There is no way to change the "way" this scanner operates (without
  443. hacking it) for a good reason. Even some of the most noted upload testers 
  444. make a very serious flaw in the way they handle uploaded archives. By not 
  445. allowing the user to change these settings, I avoid someone opening one of 
  446. those "all too evasive" back doors and hacking into your system. So please 
  447. don't ask me to change the parameters that this program uses. They are that 
  448. way for a reason. (I will of course be happy to change any that prove to be 
  449. incorrect or cause "real" problems).
  450.      This scanner will exit with one of 7 DOS errorlevels.
  451. ERRORLEVEL 0 - All tests were passed satisfactorily.
  452.                - The scanner will also exit with this errorlevel under
  453.                a number of "odd" circumstances which will avoid having
  454.                a file fail due to some unforeseen difficulty.(This includes
  455.                failing to supply a proper path to the file to be tested and
  456.                a number of other small things)
  457. ERRORLEVEL 1 - An imbedded archive failed the CRC test.
  458. ERRORLEVEL 3 - The file has failed due to the date restriction.
  459. ERRORLEVEL 4 - The file was failed for being on the Hack list.
  460. ERRORLEVEL 5 - An imbedded archive failed the CRC test due to a disk read 
  461.                error. (used by some BBS programs to determine if the file
  462.                is to be resumed later.)
  463. ERRORLEVEL 10- A virus was detected during the "scan".
  464. ERRORLEVEL 15- The main archive failed the CRC test.
  465.  
  466.      The reason for having an errorlevel 1 exit, is that this tester 
  467. originally did recognize imbedded archives by name, And as such "could" 
  468. have attempted to unarchive a file with the same extension as a valid archive 
  469. format without that file actually being an archive. This of course would 
  470. cause the file to fail the CRC test. By setting the "errorlevel for success" 
  471. in your BBS program to "1" you could avoid failing these files. However, I 
  472. suggest that the errorlevel be set to "0" as no reputable programmer would 
  473. use the extensions of known archivers to name files of another format. But 
  474. it is, of course, your option.
  475.         This is left over from version 1. And although the reasoning is
  476. no longer accurate. I thought that there may still be some persons out
  477. there that use it. If not.. then there is no loss.
  478.  
  479.         The operation of the scanner could not be simpler. You need simply
  480. run THDPRO.EXE while supplying it with the FULL path and filename of the
  481. file to be tested. I STRONGLY suggest that you also supply the full path
  482. and filename to THDPRO.EXE as well (not necessary but it too can help to
  483. reduce hacking). So the proper syntax would be as follows...
  484.  
  485.         C:\UTILS\THDPRO.EXE D:\NEWUPS\TESTFILE.ZIP
  486.         {Where THDPRO is located in "C:\UTILS" and the file to be tested
  487.         is "TESTFILE.ZIP" which is located in "D:\NEWUPS"}
  488.  
  489.         The tester optionally accepts one other parameter. That second 
  490. parameter can be a single digit between 0 and 8. This parameter is the 
  491. number of the comport to be used for remote output and is only necessary if 
  492. you wish output to a comport other than the one specified during the 
  493. install. Using "0" will not send any remote output. Numbers between 1 and 8 
  494. will send to the comport of the corresponding number. If run without 
  495. parameters, It will simply display the correct syntax. ERRORLEVEL 0 will be 
  496. returned in any event where a file is not tested (to avoid the BBS software 
  497. deleting files due to improper syntax).
  498.         While geared toward the testing of archived files, The tester will
  499. viruscan any file type for which it is not configured. So having your BBS 
  500. use this tester to scan "EXE" and "COM" files is an excellent idea. (The 
  501. addition of "self extracting" testing makes this a good idea as well.) The
  502. passing or failing of such files will be based solely on the result of 
  503. the scan and no other operations will be attempted on the file aside from
  504. the heuristic scan. Any valid filename can be passed if you wish it to be 
  505. "scanned". I suggest that you configure your BBS to "test" all files with 
  506. "executable" extensions as well as any "OVL/OVR" files.
  507.  
  508.  
  509. NOTES-
  510.      If a file fails the scan portion or is for some reason unable to 
  511. be tested, the file will be moved to a directory you specify. Priority 
  512. is given to a "File Allocation Table" move. Thus if the destination drive 
  513. is the same as the source drive, only the "FAT" will be modified (this 
  514. allows a 4 megabyte file to be moved in less than 1 second.) If the source 
  515. and destination differ then the file will be moved by "copying" it to the 
  516. destination and deleting the original (if the copy was successful). If the 
  517. file cannot be moved for whatever reason, it will be renamed with an 
  518. extension of "THD" (if it could not be tested) or "VIR" if it failed the 
  519. viruscan, it will be renamed during the move if it was virus infected 
  520. regardless of success of the move operation).
  521.      This programs creates and removes a directory called "THDTEMP.$$#". 
  522. Where "#" represents a number between 0 and 8. If you have a directory which 
  523. could have the same name as one created by this program... Either rename the 
  524. directory or do not allow that drive to be used for testing. There is no 
  525. recovering from the removal of this directory.
  526.      This program depends on the fossil driver to send messages to the user. 
  527. If no fossil is active, the testing process will still occur, but the user 
  528. side will be blank. The fossil is also used to drop carrier and/or reboot 
  529. the system if you have chosen those options in the installation.
  530.      This program no longer requires the remote user to have "ANSI.SYS". 
  531. If the user does not have this, he/she will see the a "bare bones" 
  532. description of what the tester is doing. There will be no "glitz" on
  533. the ASCII output. 
  534.      I strongly suggest that after the installation is complete and the
  535. executable file is in it's permanent place, that you make it a read-only 
  536. file. This will be yet another deterrent for "wanna-be" hackers who would 
  537. attempt to overwrite this file.
  538.      The only known problem with this tester is that if an unscrupulous 
  539. person attempts to overwrite certain files on your system, the program will 
  540. hang pending "user input". IF YOU EVER see such a prompt on your system 
  541. while this program is running, DO NOT ALLOW the overwrite. This program 
  542. accounts for all "normal" circumstances of overwrite attempts and will hang 
  543. only if the user finds a way to overwrite files outside of this testers 
  544. control. Allowing such overwrites could result in total disaster.
  545.  
  546.            This  program  and  all  of  its  associated names, files,
  547.      logos and makeup are  Copyright 1992, 1993 PainSoft.  Absolutely
  548.      no duplication  in  whole  or  in  part  is  allowed.  With  the
  549.      exception of  duplication of  the entire  archived  set of files
  550.      for  distribution to  those  in need of it's  services.  None of
  551.      the copyrighted  material may be  changed in any way,  except by
  552.      the author.  Changes made by  the author's "original/unmodified"
  553.      installation program will be considered to have been made by the
  554.      author for  the  purpose  of this  copyright.  The files  may be
  555.      rearchived in  ANY fashion which requires them to be restored to
  556.      their original condition before use. (Portions Copyright Borland
  557.      International). The  Author  accepts no  responsibility  for the
  558.      actions of this program.  It is FREEWARE  and  NO  charge may be
  559.      made for it's distribution. It's NOT a commercial product and as 
  560.      such the ONLY acceptable charge for it will be "actual, physical
  561.      cost of duplication". I do not profit from it monetarily and any
  562.      attempt  of other  persons to  do  so  shall  be  considered  an 
  563.      infringement of my copyright.
  564.        Other products mentioned are copyrighted by their respective
  565.      owners and  include their own restrictions for use.  Please be
  566.      sure to  register those products if requested by the copyright
  567.      owners.
  568.  
  569. Thank You for taking the time to read this document. I hope this upload 
  570. tester serves you well and helps to keep your system free of viral infection 
  571. and a little safer from potential hackers.
  572.                  David Muir
  573.                      of
  574.                 ..PainSoft..
  575.