home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
HRM110.ZIP
/
HACKMRG.DOC
next >
Wrap
Text File
|
1993-06-21
|
6KB
|
125 lines
HACKMRG V1.10 The HACKxxxx.COL Merger
By:
Mark Lewis
FIDONet 1:3634/12
Copyright (c) 1992, 1993 by Mark Lewis
Why HRM:
--------
Well, it's very simple. I have had a few files uploaded to my system that
have been listed in the HACK Report. It wasn't until either a member of
my system pointed it out to me or I found the time to go thru my file areas
and compare them with the HACK Report. This can be very time consuming and
tedious, especially on a large, active system with a huge file area. I
decided to "fix" this time consuming problem with an easy option. I decided
that my system will NOT accept any files that are listed in the HACK Report.
If a member of my system really wants to send me a legitimate file that is
listed in the HACK Report as being a possible Hacked File, then they could
write me a message and make arrangements to get the file to me at my
discression.
What is HRM:
------------
HACK Report Merger is just that. It is a merge program and a merge program
only! HRM will not search your system and compare it with the files listed
in the HACKxxxx.COL file. HRM's purpose is to help your BBS determine what
files will be uploaded. It reads the lastest HACKxxx.COL file that it can
find and merges it with a text file you specify. The main purpose of this
is to update your BBS's Not-Allowed-Files listing. There are several
different names for this file but most are of the same basic format. HRM
takes the entries in the HACKxxxx.COL file and adds a '.*' to them so that
your system will refuse all attempted uploads of these files with any
extension on them. After HRM merges the two files, it will then sort the
output file alphabetically and remove any duplicate entries that may result
from the merging of the two files. The basic layout of most Not Alowed Files
Listings is a simple text file with one file specification to a line. Like
the sample that follows...
*.ANS
*.ASC
COOLSPOT.*
RAMBO.*
If your system uses a different layout or file format, let me know. I might
be interested in adding it to HRM's functionality. No guarrantees about this,
but it is a possibility.
Command Line:
-------------
HACKMRG -? to display internal help
-B make a .BAK of the output file
-E Use .??? instead of .*
-M<merge to filename>
-O<output filename>
-H<HACKxxxx.COL filename>
The only *required* parameter is the -M<merge to filename>. This tells HRM
what file to merge the HACKxxxx.COL file with. If the -O<output filename>
is not specified, it will be the same as the Merge-To file.
You may specify the name of the HACKxxxx.COL file to merge. If you do not
specify the HACKxxxx.COL file, HRM will find the newest HACKxxxx.COL file
in the CURRENT directory and use it to update your Not-Allowed-Files listing.
HRM will default to overwritting the Merge-To file when it writes the output
file. If you do not want HRM to overwrite the Merge-To file, you may either
specify a different output file or use the -B have HRM make a .BAK file of
the original output file.
You may use full drive:\path names if you like. You cannot tell HRM just the
path to find a file in. It must have the full filename if the file is not to
be found or written to the current directory.
Due to a bug in another program that uses the BADFILES.CTL file, I have added
the -E option to HRM. HRM defaults to adding the '.*' extension to the files
listed in the HACKXXXX.COL file. By using the -E parameter, HRM will put
'.???' instead of '.*'. This bug caused the other program to lockup and until
the author releases a fix, this is the only alternative.
Disclaimer:
-----------
I can only guarrantee that HRM will take up space on your system. It works
as advertised on my system and the systems that it has been tested on. If
it breaks on your system, you own both parts. If you delete HRM from your
system, then it will not take up any space and the above guarrantee is
no longer effective.
HRM, in it's current format, has a limited lifetime. In the future, it will
require almost a complete rewrite due to a future change in the files
contained in the Hack Report. Due to my work load and other projects, I have
no plans to continue work on HRM unless I receive some incentive to tackle
the upcoming task. Once the change in format of the Hack Report files takes
full effect, the current HRM will no longer be of any use.
Donations/Registration:
-----------------------
I am not asking for anything for your use of this program. If you want to
send monetary compensation, I ask that it be in US Dollars and that it be
what you feel the program is worth. I also ask that if you do decide to use
this program, that you let me know. I can be reached by FIDONet NetMail at
my FIDONet address 1:3634/12 or by U.S. Snail Mail at
HACK Report Merge
C/O Mark Lewis
Rt. 1 Box 133
Goldston, NC 27330
If you send monetary compensation by check or money order, please make it
payable to Mark Lewis.
Revisions/Updates:
------------------
v1.00 : initial release
v1.10 6/21/93 : increased available stack space.
increased size of array used to sort file entries.
rewrote the sort routine to use extra available space.
increased file entries limit from 1024 to 4096.