home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
BBS_UTIL
/
TUNACP40.ZIP
/
PROGRAM.ZIP
/
TUNADCUT.DOC
< prev
next >
Wrap
Text File
|
1994-02-17
|
16KB
|
297 lines
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
█ ╔══════════════════┐ █
█ ║ ╔══════┐╔════┐ │ The Underground Network Ad Cut (TUNAdCut) █
█ ║ ╚─╗ ┌╗ │║ ┌╗ │ │ Public Version 4.0 (Unregistered) █
█ ║ ║ │║ └╝ │║ │ │ Program & Concept Rights Reserved █
█ ║ ╚─┘╚────┘╚─┘ │ by BayBeVet 1993,1994 █
█ ╚──────────────────┘ All Rights Reserved by T■U■N 1993,1994 █
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
* This will be the LAST public release of this program. I like to thank The
Chairman and all the SysOps that helped make this program work as well as
it does. Further support and versions, and additions of any new AD schemes
if they should appear will only be available to registered owners of our
professional version. To register and recieve your copy of the professional
version contact BayBeVet at The Underground Network
Purpose : Search and Destory BBS Ads within ZIP files stored using on any
of the following known schemes using standard or random filenames
a) Textfiles
b) .EXE files
c) .COM files
d) TheDraw ANSi and .COM Files
e) Any Word Processor File Type
f) 0 byte files
g) High ASCII character Filenames
h) VGA loaders
i) Compiled .BAT files
j) Invalid Filename/Directory Names
k) Fully random 11 character filename (Like AFSTDOYN.SUD)
l) .ARJ or .ZIP self-extractors
m) "-","@","!", and "$" filename ad schemes
n) Any of the above in Multi-segmented directories
and removal of empty sub-directories created by
the removal of a BBS ad
o) Support for filenames greater then 11 characters
p) Support for filenames with spaces " "
Requirements:
- 386 33Mhz & higher / 486 25Mhz or Higher
* Running on slower CPU's of course is possible, just
takes that much longer to do.
- ZIP's must be good, or in otherwords, have all ready passed
a PKUNZIP -T or tested by an BBS upload checker.
- MS-DOS version 6.0 or higher
Installation:
1) Create directory C:\TUNADCUT ( drive not important, but you MUST
use \TUNADCUT ) and place program files into there
2) Edit TUNADCUT.CFG file, total of 6 lines
Line 1) Target Directory where ZIP files to be tested are
such as C:\TRYOUT ** Do NOT include the "\" at the end !
Line 2) Filename and Directory to place generated log,
such as C:\TUNADCUT\TUNADCUT.LOG
Line 3) Maxmium Size of .EXE/.COM files to test ( I.E. 20000 for 20K )
Line 4) Presently not used. Leave 5000 there.
Line 5) Maxmium Size of any file for testing against text file sig file.
Generally, BBS ads compress well, so set this number to the
number shown under SIZE not LENGTH when you do a PKUNZIP -VR
to a file
Line 6) Your BBS name here
3a) Include any additional string lines to TUNADCUT.BAD.. Normally
BBS Random filename ad files have at least 1 line in them that never
changes. Normally only one or two lines with the file's upload date
changes Select 1 line from the ad and add it to the end of TUNADCUT.BAD
Make sure the line you choose is within the first 43 lines. You will end
up with a file that contains 1 liners from each AD file you noted.
Make Sure there are NO blank lines !
Example:
The Following is a BBS text file which you have identified in a .ZIP
-= Lamers BBS =-
" Where the lamers come to geek ! "
(800)555-1234 Node 1 HsT 16.8 Dual
(800)555-1235 Node 2 14.4 v.32bis
SysOps: The Geek, The Stupid Being, Vig
Select a line within this ad of your choice, such as the line
(800)555-1234 Node 1 HsT 16.8 Dual
Now take this line and append it to the end of TUNADCUT.BAD, Now when
TUNAdCut finds this line within ANY text file within a .ZIP, TUNAdCut will
identify it as a BBS ad and delete it from the .ZIP filename, no matter what
the filename may be in future .ZIP files
Other fads lately is fully random filenames ( ACDFGEJD.LAU for
example ). Once again, TUNADCUT will search and destory them. Some Kiddies
have even tryed making random, 2 or more depth sub-directorys, and then
place their ad embedded deep, so when the AD file itself is deleted, a
ZIP file was left with a BBS AD just in directory names. TUNAdCut will
now delete empty directories since their normally do NOT exist in the
normal world
For .EXE files, search and identify a 14 character string from
within the random EXE ad files. Attempt to find a string that has all
characters above ascii 14, and is something unique to it. Normally you
can find some 14 character string that has like the BBS name, SysOp, Nets,
or the coder of a VGA loader in it, always try to look towards the end of
the .exe file for these, since normally the first half of .EXE files can be
the same. For TheDraw .COM files, just select any string of 14 characters
like from a part that has the BBS's name. Add these strings to TUNADEXE.BAD
If you do not wish to test for .EXE/COM files set the line in the .CFG file
to some low number, like 1. Sorry there is no easyer and dependable way to
detect .EXE/COM file other then the 14 byte pattern. I stress that you
should locate the byte pattern towards the end of the file
For AD file that always use the same name, just add the filename to
the file TUNADFN.BAD, this works much like the list commonly used in BBS
programs to delete ad files, make sure you enter the name in capital letters
TUNAdCut does this better then PKZIP since PKZIP has a bug that doesnt
accept certain characters in a list, such as ASCII 254
for BBS ads that are in the volume labels, use the file TUNADVOL.BAD
similar to the list you use for bad filenames ( TUNADFN.BAD ) but using the
BBS Volume label name instead
4) Verify PKZIP and PKUNZIP are in your path.
5) Change the file TUNADCUT.BAN to the ZIP comment you wish to have on your
files when re-zipping..
* -AV stamping, BBS ad insertion, -AVExtra.txt stamping and FILE_ID.DIZ
processing available on registered versions only ( Professional version )
'
'
' Version History
'
' 4.31 Pro -=- Fixed bug in that appeared in Pub 3.30 with spaces in filenames
' 4.00 Pub which appeared after adding support for filenames greater the
' 11 characters
' -=- Fixed Bug with 'out of string space' in both professional and
' public versions. Both versions will now handle as many sigs as
' you have available lower RAM
' -=- Added TUNFDCUT routinues to program. Professional versions of
' TUNADCUT now also with strip FILE_ID.DIZ files of BBS ads,
' those annoying 1 liners 'couriered by, leech thru, etc' that
' is being added as well as striping many group logos from the
' FILE_ID.DIZ files (TUNFDCUT.BAD contains FILE_ID.DIZ sigs)
' -=- Added TUNADCUT.TMP, a template file used by professional
' versions for inserted BBS ad file
'
'
' 4.23 Pro -=- Fixed bug in routinue to trap > 11 character files. Bug
' 3.30 Pub appeared with 11 character filenames in sub-directoires
'
' 4.22 Pro -=- Added detection/support/removal of BBS ad file whos filenames
' 3.20 Pub are longer the DOS's limitation of 11 characters. Recently
' BBS ads with filenames like "7TH_HEAVEN.NFO" have been
' appearing in .ZIP files ( note 10 characters before the .NFO!)
' TUNAdCut can now handle these files ( versions before this one
' would get caught up in a endless loop and lock up )
'
' 4.10 Pro -=- Added Support for BBS Volume Label Ads. TUNAdCut will now read
' 3.10 Pub the file TUNADVOL.BAD which is a list similar to the one
' TUNADFN.BAD, but contains BBS volume label filenames
'
' 4.01 Pro -=- Added filelist support. TUNAdCut will now read the file
' 3.00 Pub TUNADFN.BAD which is same as a list you use for PKZIP to
' delete filenames contained within the list from a ZIP. This
' overcomes PKZIP's bug with certain ASCII characters ( I.E.
' ascii code 254 ). Also speeds up deleteing of known BBS ad
' filenames by deleteing them using the list instead of testing
' them by SIG
' -=- On-Screen reporting of total filenames contained in above list
' -=- Changed order of testing. Testing is now done in the following
' order: 0 byte files -> Known BBS ad filenames -> .EXE/COM
' -> Any testfile/file under settings in config testing against
' textfile sigs
'
' 4.00 Pro -=- Code Improvement. Storeing of all SIG's to memory and text
' file lines as well. Stops from reading disk for each sig and
' line of a tested file. Reduced runtime by 30-35% depending
' on type of ZIP files tested
' -=- On-Screen reporting of total files to do, and file in process
' Also total amount of textfile sigs and EXE/COM sigs
' -=- Added Random or standard filename BBS ad insertion for pro
' (registered) users
'
' 3.03 Pro -=- Code clean-up
' -=- Improved Random Ad scheme ( registered users only )
'
' 3.02 Pro -=- Changed test file logic. Using compressed size instead of
' 2.00 Pub actually size since most BBS ads compress well. Increases
' runtime speed
' -=- Removed registered pkware requirement (public version only)
' -=- Greatly increased speed by not continuing to test a file
' to the end once a SIG has been identified.
' -=- Added removal of empty directories created by removal of
' a BBS ad file embedded into deep sub-directories
' -=- MS-DOS Version 6.2 compatablilty endorsed
'
' 2.05 Pro -=- By-Passed Bug in PKZIP using exclude file lists. PKZIP has
' a bug that if a filename starts with certain ASCII Characters
' (i.e. ASCII 255 ), PKZIP would not delete the file, or any
' other files below in the list. TUNAdCut will now delete the
' file instead of adding the filename to an exclude list for
' PKZIP to use during re-zipping
' -=- Dropped report file for just insertion of BBS ad into each
' ZIP file during re-zipping process (registered version only)
'
'
' 1.11 Pro -=- Added TUNADCUT.BAN used as a ZIP Comment during rezipping
' 1.00 Pub of the testing and (-AV processing on registered copies)
' -=- Added insertion of a 'report' file containing list of files
' deleted and byte savings. copy of TUNADCUT.BAN will be added
' to the end of generated report.(registered copies)
'
' 1.10 Pro -=- Fixed 'Stack Overflow' error caused by TUNRMDIR with LONG
' segmented directories in work area. Removed TUNRMDIR.EXE
' and added tight code to handle cleaning up work areas, files,
' and sub-directories. Removed TUNADCUT.~~~ which was used
' to support TUNRMDIR.EXE
' -=- RAMDrive compatability endorsed. @3-4mb free recommended after
' creation of \TUNADCUT directory and coping of TUNADCUT files
' onto the ram drive. Be careful to define log file in the .CFG
' file onto a real hard drive and not the Ram Drive.!
'
' 1.00 Pro -=- Full Release (non-Beta)
' -=- Improved handling of zipfiles with sub-directories and
' volume labels
' -=- Added leech utility TUNRMDIR.EXE for decreased time
' during deletion of work drive files and directorys
' -=- Cleaned up screen display during running
' -=- Lantastic Network compatability endorsed
'
' 3.00 Beta -=- Total re-write and code overhaul
' -=- Unzipping of ZIP file to work directory, then test files.
' Increased speed since TUNAdCut no longer would extract
' questioned files on a one by one basis from the ZIP
' -=- Added Detection/Removal of illegal directory and filenames
' -=- Added detection/removal of "-","!","$" and "@" ad schemes
' -=- Fixed "Unexpected End Of File" bug with textfiles lacking
' an EOL before EOF
' -=- Improved Error handling. TUNAdCut will continue to process
' additional files instead of exiting when encountering
' file errors during testing. Error reporting of file and
' the zip file it is in added to log file.
' -=- Added Full -AV'ing of the ZIP file during re-zipping
' -=- Added work drive volume label preservation
'
'
' 2.05 Beta -=- Added Exit on error. Prevents TUNADCUT from freezing
' when something terminates it with a error
'
' 2.04 Beta -=- Added Word Processor Based AD file scheme detection/removal
'
' 2.03 Beta -=- Added fully random filename & extension detection/deletion
' -=- Added High ASCII character filename detection/deletion
' -=- Added Overall Filesize testing. Will test any file under
' a SysOp set size ( I.E. 5000 bytes ) and test its contents
' against the textfile sigs
'
' 2.02 Beta -=- Added Size limitation of .EXE files to test
' -=- Added Size limitation of text files to test
' -=- Added 0 byte file detection and removal
'
' 2.01 Beta -=- Added search and destory of random .EXE ad files
' -=- Incorporated reading of entire ZIP's File list information
' such as size, crc, etc ( required for future improvement)
' -=- Fixed screen position reporting of program progress
' ( No scrolling of screen while running reporting progress)
'
' 2.0 Beta -=- Fixed Bug with Embedded Paths / Files in a Path
' -=- Tighten text file SIG checking
' -=- Added Alpha Testing of detection of random .EXE BBS ad files
'
' 1.1 Beta -=- Included Log File
' -=- Cleaned up work areas and screens
'
' 1.0 Beta -=- Added configuration ( .cfg ) file
' -=- Tighten String Sig Test Code
' -=- On-Line and Functional Testing
'
' 1.1 Alpha -=- Test Engineering
' -=- Added AD file removal after detection
'
' 1.0 Alpha -=- Concept Prover
' -=- Reading of ZIP file contents
' -=- Testing of questioned text files against a SIG resource file
' -=- Report of found matches
'