home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / BBS_UTIL / TUNACP40.ZIP / PROGRAM.ZIP / TUNADCUT.DOC < prev    next >
Text File  |  1994-02-17  |  16KB  |  297 lines

  1. █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  2. █          ╔══════════════════┐                                             █
  3. █          ║  ╔══════┐╔════┐  │  The Underground Network Ad Cut (TUNAdCut)  █
  4. █          ║  ╚─╗ ┌╗ │║ ┌╗ │  │  Public Version 4.0 (Unregistered)          █
  5. █          ║    ║ │║ └╝ │║ │  │  Program & Concept Rights Reserved          █
  6. █          ║    ╚─┘╚────┘╚─┘  │  by BayBeVet 1993,1994                      █
  7. █          ╚──────────────────┘  All Rights Reserved by T■U■N 1993,1994     █
  8. █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  9.  
  10. * This will be the LAST public release of this program. I like to thank The
  11.   Chairman and all the SysOps that helped make this program work as well as
  12.   it does. Further support and versions, and additions of any new AD schemes
  13.   if they should appear will only be available to registered owners of our
  14.   professional version. To register and recieve your copy of the professional
  15.   version contact BayBeVet at The Underground Network
  16.  
  17. Purpose : Search and Destory BBS Ads within ZIP files stored using on any 
  18.           of the following known schemes using standard or random filenames
  19.  
  20.                   a) Textfiles 
  21.                   b) .EXE files
  22.                   c) .COM files
  23.                   d) TheDraw ANSi and .COM Files
  24.                   e) Any Word Processor File Type
  25.                   f) 0 byte files
  26.                   g) High ASCII character Filenames
  27.                   h) VGA loaders
  28.                   i) Compiled .BAT files
  29.                   j) Invalid Filename/Directory Names
  30.                   k) Fully random 11 character filename (Like AFSTDOYN.SUD)
  31.                   l) .ARJ or .ZIP self-extractors
  32.                   m) "-","@","!", and "$" filename ad schemes
  33.                   n) Any of the above in Multi-segmented directories
  34.                      and removal of empty sub-directories created by
  35.                      the removal of a BBS ad
  36.                   o) Support for filenames greater then 11 characters
  37.                   p) Support for filenames with spaces " "
  38.  
  39.  
  40.  Requirements:
  41.             - 386 33Mhz & higher / 486 25Mhz or Higher
  42.                * Running on slower CPU's of course is possible, just
  43.                  takes that much longer to do.
  44.             - ZIP's must be good, or in otherwords, have all ready passed
  45.               a PKUNZIP -T or tested by an BBS upload checker.
  46.             - MS-DOS version 6.0 or higher
  47.  
  48.  
  49.  Installation:
  50.  
  51.  1) Create directory C:\TUNADCUT ( drive not important, but you MUST 
  52.     use \TUNADCUT ) and place program files into there
  53.  
  54.  2) Edit TUNADCUT.CFG file, total of 6 lines
  55.     Line 1) Target Directory where ZIP files to be tested are
  56.             such as C:\TRYOUT   ** Do NOT include the "\" at the end !
  57.     Line 2) Filename and Directory to place generated log, 
  58.             such as C:\TUNADCUT\TUNADCUT.LOG
  59.     Line 3) Maxmium Size of .EXE/.COM files to test ( I.E. 20000 for 20K )
  60.     Line 4) Presently not used. Leave 5000 there.
  61.     Line 5) Maxmium Size of any file for testing against text file sig file.
  62.             Generally, BBS ads compress well, so set this number to the
  63.             number shown under SIZE not LENGTH when you do a PKUNZIP -VR
  64.             to a file
  65.     Line 6) Your BBS name here
  66.  
  67.  3a) Include any additional string lines to TUNADCUT.BAD.. Normally
  68.     BBS Random filename ad files have at least 1 line in them that never
  69.     changes. Normally only one or two lines with the file's upload date 
  70.     changes Select 1 line from the ad and add it to the end of TUNADCUT.BAD
  71.     Make sure the line you choose is within the first 43 lines. You will end 
  72.     up with a file that contains 1 liners from each AD file you noted. 
  73.     Make Sure there are NO blank lines !
  74.  
  75.     Example:
  76.  
  77. The Following is a BBS text file which you have identified in a .ZIP
  78.  
  79.  
  80.  
  81.                         -=  Lamers BBS =-
  82.                 " Where the lamers come to geek ! "
  83.                  (800)555-1234 Node 1 HsT 16.8 Dual
  84.                  (800)555-1235 Node 2 14.4 v.32bis
  85.                SysOps: The Geek, The Stupid Being, Vig
  86.  
  87.  
  88.       Select a line within this ad of your choice, such as the line
  89.  
  90.                  (800)555-1234 Node 1 HsT 16.8 Dual
  91.  
  92.      Now take this line and append it to the end of TUNADCUT.BAD, Now when
  93. TUNAdCut finds this line within ANY text file within a .ZIP, TUNAdCut will
  94. identify it as a BBS ad and delete it from the .ZIP filename, no matter what
  95. the filename may be in future .ZIP files
  96.  
  97.           Other fads lately is fully random filenames ( ACDFGEJD.LAU for
  98.     example ). Once again, TUNADCUT will search and destory them. Some Kiddies
  99.     have even tryed making random, 2 or more depth sub-directorys, and then
  100.     place their ad embedded deep, so when the AD file itself is deleted, a
  101.     ZIP file was left with a BBS AD just in directory names. TUNAdCut will
  102.     now delete empty directories since their normally do NOT exist in the
  103.     normal world
  104.  
  105.          For .EXE files, search and identify a 14 character string from 
  106.     within the random EXE ad files. Attempt to find a string that has all
  107.     characters above ascii 14, and is something unique to it. Normally you
  108.     can find some 14 character string that has like the BBS name, SysOp, Nets,
  109.     or the coder of a VGA loader in it, always try to look towards the end of 
  110.     the .exe file for these, since normally the first half of .EXE files can be
  111.    the same. For TheDraw .COM files, just select any string of 14 characters 
  112.    like from a part that has the BBS's name. Add these strings to TUNADEXE.BAD
  113.    If you do not wish to test for .EXE/COM files set the line in the .CFG file
  114.    to some low number, like 1. Sorry there is no easyer and dependable way to 
  115.    detect .EXE/COM file other then the 14 byte pattern. I stress that you 
  116.    should locate the byte pattern towards the end of the file
  117.  
  118.          For AD file that always use the same name, just add the filename to
  119.    the file TUNADFN.BAD, this works much like the list commonly used in BBS
  120.    programs to delete ad files, make sure you enter the name in capital letters
  121.    TUNAdCut does this better then PKZIP since PKZIP has a bug that doesnt
  122.    accept certain characters in a list, such as ASCII 254
  123.  
  124.     for BBS ads that are in the volume labels, use the file TUNADVOL.BAD
  125.    similar to the list you use for bad filenames ( TUNADFN.BAD ) but using the
  126.    BBS Volume label name instead
  127.  
  128.  
  129.  
  130.   4) Verify PKZIP and PKUNZIP are in your path.
  131.  
  132.  5) Change the file TUNADCUT.BAN to the ZIP comment you wish to have on your
  133.      files when re-zipping..
  134.  
  135.  
  136.    * -AV stamping, BBS ad insertion, -AVExtra.txt stamping and FILE_ID.DIZ
  137.       processing available on registered versions only ( Professional version )
  138.  
  139. '
  140. '
  141. ' Version History
  142. '
  143. '  4.31 Pro -=- Fixed bug in that appeared in Pub 3.30 with spaces in filenames
  144. '  4.00 Pub     which appeared after adding support for filenames greater the
  145. '               11 characters
  146. '           -=- Fixed Bug with 'out of string space' in both professional and
  147. '               public versions. Both versions will now handle as many sigs as
  148. '               you have available lower RAM
  149. '           -=- Added TUNFDCUT routinues to program. Professional versions of
  150. '               TUNADCUT now also with strip FILE_ID.DIZ files of BBS ads,
  151. '               those annoying 1 liners 'couriered by, leech thru, etc' that
  152. '               is being added as well as striping many group logos from the
  153. '               FILE_ID.DIZ files (TUNFDCUT.BAD contains FILE_ID.DIZ sigs)
  154. '           -=- Added TUNADCUT.TMP, a template file used by professional
  155. '               versions for inserted BBS ad file
  156. '
  157. '
  158. '  4.23 Pro  -=- Fixed bug in routinue to trap > 11 character files. Bug 
  159. '  3.30 Pub      appeared with 11 character filenames in sub-directoires
  160. '
  161. '  4.22 Pro  -=- Added detection/support/removal of BBS ad file whos filenames
  162. '  3.20 Pub      are longer the DOS's limitation of 11 characters. Recently
  163. '                BBS ads with filenames like "7TH_HEAVEN.NFO" have been
  164. '                appearing in .ZIP files ( note 10 characters before the .NFO!)
  165. '                TUNAdCut can now handle these files ( versions before this one
  166. '                would get caught up in a endless loop and lock up )
  167. '
  168. '  4.10 Pro  -=- Added Support for BBS Volume Label Ads. TUNAdCut will now read
  169. '  3.10 Pub      the file TUNADVOL.BAD which is a list similar to the one
  170. '                TUNADFN.BAD, but contains BBS volume label filenames
  171. '
  172. '  4.01 Pro  -=- Added filelist support. TUNAdCut will now read the file
  173. '  3.00 Pub      TUNADFN.BAD which is same as a list you use for PKZIP to
  174. '                delete filenames contained within the list from a ZIP. This 
  175. '                overcomes PKZIP's bug with certain ASCII characters ( I.E.
  176. '                ascii code 254 ). Also speeds up deleteing of known BBS ad
  177. '                filenames by deleteing them using the list instead of testing
  178. '                them by SIG
  179. '            -=- On-Screen reporting of total filenames contained in above list
  180. '            -=- Changed order of testing. Testing is now done in the following
  181. '                order: 0 byte files -> Known BBS ad filenames -> .EXE/COM
  182. '                -> Any testfile/file under settings in config testing against
  183. '                textfile sigs                
  184. '
  185. '  4.00 Pro  -=- Code Improvement. Storeing of all SIG's to memory and text
  186. '                file lines as well. Stops from reading disk for each sig and
  187. '                line of a tested file. Reduced runtime by 30-35% depending
  188. '                on type of ZIP files tested
  189. '            -=- On-Screen reporting of total files to do, and file in process
  190. '                Also total amount of textfile sigs and EXE/COM sigs
  191. '            -=- Added Random or standard filename BBS ad insertion for pro
  192. '                (registered) users
  193. '     
  194. '  3.03 Pro  -=- Code clean-up
  195. '            -=- Improved Random Ad scheme ( registered users only )
  196. '
  197. '  3.02 Pro  -=- Changed test file logic. Using compressed size instead of
  198. '  2.00 Pub      actually size since most BBS ads compress well. Increases
  199. '                runtime speed
  200. '            -=- Removed registered pkware requirement (public version only)
  201. '            -=- Greatly increased speed by not continuing to test a file
  202. '                to the end once a SIG has been identified.
  203. '            -=- Added removal of empty directories created by removal of
  204. '                a BBS ad file embedded into deep sub-directories
  205. '            -=- MS-DOS Version 6.2 compatablilty endorsed
  206. '
  207. '  2.05 Pro  -=- By-Passed Bug in PKZIP using exclude file lists. PKZIP has
  208. '                a bug that if a filename starts with certain ASCII Characters
  209. '                (i.e. ASCII 255 ), PKZIP would not delete the file, or any
  210. '                other files below in the list. TUNAdCut will now delete the
  211. '                file instead of adding the filename to an exclude list for
  212. '                PKZIP to use during re-zipping
  213. '            -=- Dropped report file for just insertion of BBS ad into each
  214. '                ZIP file during re-zipping process (registered version only)
  215. '             
  216. '
  217. '  1.11 Pro  -=- Added TUNADCUT.BAN used as a ZIP Comment during rezipping
  218. '  1.00 Pub      of the testing and (-AV processing on registered copies)
  219. '            -=- Added insertion of a 'report' file containing list of files
  220. '                deleted and byte savings. copy of TUNADCUT.BAN will be added
  221. '                to the end of generated report.(registered copies)
  222. '
  223. '  1.10 Pro  -=- Fixed 'Stack Overflow' error caused by TUNRMDIR with LONG
  224. '                segmented directories in work area. Removed TUNRMDIR.EXE 
  225. '                and added tight code to handle cleaning up work areas, files,
  226. '                and sub-directories. Removed TUNADCUT.~~~ which was used 
  227. '                to support TUNRMDIR.EXE
  228. '            -=- RAMDrive compatability endorsed. @3-4mb free recommended after
  229. '                creation of \TUNADCUT directory and coping of TUNADCUT files 
  230. '                onto the ram drive. Be careful to define log file in the .CFG
  231. '                file onto a real hard drive and not the Ram Drive.!
  232. '     
  233. '  1.00 Pro  -=- Full Release (non-Beta)
  234. '            -=- Improved handling of zipfiles with sub-directories and 
  235. '                volume labels
  236. '            -=- Added leech utility TUNRMDIR.EXE for decreased time
  237. '                during deletion of work drive files and directorys
  238. '            -=- Cleaned up screen display during running
  239. '            -=- Lantastic Network compatability endorsed
  240. '
  241. '  3.00 Beta -=- Total re-write and code overhaul
  242. '            -=- Unzipping of ZIP file to work directory, then test files.
  243. '                Increased speed since TUNAdCut no longer would extract
  244. '                questioned files on a one by one basis from the ZIP
  245. '            -=- Added Detection/Removal of illegal directory and filenames
  246. '            -=- Added detection/removal of "-","!","$" and "@" ad schemes
  247. '            -=- Fixed "Unexpected End Of File" bug with textfiles lacking
  248. '                an EOL before EOF
  249. '            -=- Improved Error handling. TUNAdCut will continue to process
  250. '                additional files instead of exiting when encountering
  251. '                file errors during testing. Error reporting of file and
  252. '                the zip file it is in added to log file.
  253. '            -=- Added Full -AV'ing of the ZIP file during re-zipping
  254. '            -=- Added work drive volume label preservation 
  255. '
  256. '
  257. '  2.05 Beta -=- Added Exit on error. Prevents TUNADCUT from freezing
  258. '                when something terminates it with a error
  259. '
  260. '  2.04 Beta -=- Added Word Processor Based AD file scheme detection/removal
  261. '            
  262. '  2.03 Beta -=- Added fully random filename & extension detection/deletion
  263. '            -=- Added High ASCII character filename detection/deletion
  264. '            -=- Added Overall Filesize testing. Will test any file under
  265. '                a SysOp set size ( I.E. 5000 bytes ) and test its contents
  266. '                against the textfile sigs
  267. '
  268. '  2.02 Beta -=- Added Size limitation of .EXE files to test
  269. '            -=- Added Size limitation of text files to test
  270. '            -=- Added 0 byte file detection and removal
  271. '            
  272. '  2.01 Beta -=- Added search and destory of random .EXE ad files
  273. '            -=- Incorporated reading of entire ZIP's File list information
  274. '                such as size, crc, etc ( required for future improvement)
  275. '            -=- Fixed screen position reporting of program progress
  276. '                ( No scrolling of screen while running reporting progress)
  277. '
  278. '  2.0 Beta  -=- Fixed Bug with Embedded Paths / Files in a Path
  279. '            -=- Tighten text file SIG checking
  280. '            -=- Added Alpha Testing of detection of random .EXE BBS ad files
  281. '
  282. ' 1.1 Beta   -=- Included Log File
  283. '            -=- Cleaned up work areas and screens
  284. '
  285. ' 1.0 Beta   -=- Added configuration ( .cfg ) file
  286. '            -=- Tighten String Sig Test Code
  287. '            -=- On-Line and Functional Testing
  288. '
  289. ' 1.1 Alpha  -=- Test Engineering
  290. '            -=- Added AD file removal after detection
  291. '
  292. ' 1.0 Alpha  -=- Concept Prover  
  293. '            -=- Reading of ZIP file contents
  294. '            -=- Testing of questioned text files against a SIG resource file
  295. '            -=- Report of found matches
  296. '
  297.