home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
BBS_UTIL
/
VFY_34A.ZIP
/
4-TRIBBS.ZIP
/
TRISEC.DOC
< prev
next >
Wrap
Text File
|
1993-12-19
|
6KB
|
155 lines
**************************************************************
* *
* TRISEC.EXE v1.4 *
* *
* TRIBBS User Security Level Adjustment Program *
* *
* Copyright (c) 1993 *
* Sagerquist Micro Engineering *
* *
* 1414 W. Kerrick Street *
* Lancaster, Ca. 93534 *
* Data (805) 723-6908 *
* *
**************************************************************
DESCRIPTION
-----------
TRISEC.EXE adjusts a TRIBBS caller's security level in the TRIBBS
user database file USERS.DAT. This action is useful when invoking
BBS Doors such as a Call Back Verification, a Questionnaire or
Opinion Poll, etc., where the caller is to be rewarded with a
security level adjustment upon successful completion.
SYNTAX
------
TRISEC [Directory where TRIBBS.SYS is located] [Security Level]
TRISEC C:\TRIBBS 100
SAMPLE TRAP DOOR BATCH FILE
---------------------------
Note: TRIBBS places the callers logged actions into the file
CALLERS.LOG in the NWORK directory. When the caller hangs
up, all the information is written (appended) to the file
CALLERS.LOG in the MWORK directory. The CALLERS.LOG in
the MWORK directory is the permanent log. If VERIFY!.EXE
is going to log its action in CALLERS.LOG, be sure to
specify the CALLERS.LOG file in the NWORK directory with
the /L: switch.
@ECHO OFF
CLS
ECHO ******* Entering VERIFY! *******>> C:\TRIBBS\NWORK\CALLERS.LOG
C:
CD C:\TRIBBS\VERIFY!
VERIFY! /B:TRIBBS /D:C:\TRIBBS /L:C:\TRIBBS\NWORK\CALLERS.LOG
rem ERRORLEVEL 0 and 1 means caller is verified.
rem ERRORLEVEL 0 == local call
rem ERRORLEVEL 1 == long distance
IF ERRORLEVEL 0 IF NOT ERRORLEVEL 2 goto ADJUST
goto END
:ADJUST
CD C:\TRIBBS\MWORK
rem Adjust caller's security level to 50
TRISEC C:\TRIBBS 50
:END
TECHNICAL
---------
TRISEC.EXE begins by reading the file TRIBBS.SYS, where it learns
the current caller's name and password. Then, TRIBBS's database
file USERS.DAT is searched for the matching name and password. When
it finds the matching name and password, the security level part of
that record is changed to the number from the command line and
written to the file. TRIBBS.SYS and DOOR.SYS are both updated with
the security level defined on the command line.
On exit of TRISEC, ERRORLEVELs are returned. Your batch file can
check the ERRORLEVEL and determine what has happened. The following
is a list of TRISEC's ERRORLEVELs and their meaning:
ERRORLEVEL 0 Normal exit, adjustment successful.
ERRORLEVEL 1 Error exit, either a file cannot be found,
the adjustment cannot be made, the user's
name cannot be found, etc. The actual
reason for the error is written to the
screen.
Review your DOS manual for more information on ERRORLEVELs.
For the purpose of verification, the program CHECK.EXE is included
with this program. CHECK.EXE reads USERS.DAT and displays the names
and security levels of all the registered callers. The names are
displayed in the same order as they are found in the database file.
DISCLAIMER
----------
This program is distributed as is. No warranty, either expressed or
implied is offered and the programmer is not responsible for any
damages or expenses that may occur through the use of this program.
The user shall determine its suitability. Extensive testing has been
performed and every effort has been made to ensure satisfactory
performance prior to release. Please communicate any difficulties
with the programmer through the BBS at (805) 723-6908. Any problems
received will be treated as a top priority.
CREDITS
-------
Thanks to James Mann of Littlerock, CA. for requesting this program,
and testing it online.
Thanks to Robert Massman of Dallas TX. for his assistance and
testing of this program on his TRIBBS system.
Thanks to Rick Bretz of Columbus, OH. for finding the error in
version 1.2. The caller's alias was part of the check, and
apparently the caller's alias is not always included in the file
TRIBBS.SYS. Now, the caller's name and password is compared rather
than the caller's name and alias.
Thanks to John Knopf of Collierville, TN. for his efforts with
TRIBBS v5.01 and TRISEC.EXE.
TRIBBS is copyrighted software by Mark Goodwin, 366 14th St.,
Bangor, ME 04401
PROGRAMMING SERVICES
====================
TRISEC.EXE is a custom program, and performs exactly as requested.
Programming services are provided by Sagerquist Micro Engineering
by request. The point of contact is the S M E Support BBS at
(805) 723-6908, or via mail at the following address:
Sagerquist Micro Engineering
1414 W. Kerrick St.
Lancaster, CA 93534
BBS (805) 723-6908
If you have a need for a program of any kind, please let us know.
HISTORY
-------
12/19/93 v1.4 - Added code to also alter DOOR.SYS to be compatable
with TRIBBS v5.01 and above.
08/18/93 v1.3 - The checking of the caller's alias from TRIBBS.SYS
is removed. Comparison check is now only the
caller's name and password from TRIBBS.SYS to
USERS.DAT.
08/15/93 v1.2 - More thorough checking of the caller against the
database in USERS.DAT.
- Command line suggestion no longer misleading.
07/24/93 v1.1 - In version 1.0, if there were more than 256 callers
in the file USERS.DAT, TRISEC's writing position
would start over at the beginning of the file for
record # 257. This would overwrite someone else's
record, effectively placing two records for that
caller into the file. FIXED!
06/05/93 v1.0 - First release.