home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
PRE412.ZIP
/
NOARCV.MOD
< prev
next >
Wrap
Text File
|
1992-01-29
|
2KB
|
28 lines
------------------------------------------------------------------------------- Keep User's From Arcing you bbs
by <<UNKNOW>>
Fightertown USA --- (714) 773-9476
-------------------------------------------------------------------------------
This mod will keep your users from archiving your bbs. This bug somehow went
unnoticed by Wayne Bell. This mod will fix it for sure and allow for the arc
commands to still function. It's a very easy mod to type in. The bug is in
WWIV 4.06 - 4.07. What happens is when a user adds a file to archive he can
change directories by typing in a serious of codes. These codes allow the
user to arc the most important bbs files. He can the have your user list and
the system password and log back on as the sysop, and do what ever he pleases.
-------------------------------------------------------------------------------
In XFER.C search for 'void add_temp_arc'. Don't include the appostophes.
About 10 line down you wil find a line of code that lookes like this...
if ((s2[i]=='|') || (s2[i] and like that.... go all the way to the end of the
line and look for this
(s2[i]==' '))
now delete the second ) at the end of that line and type this..
|| (s2[i]=='..') || (s2[i]=='/'))
So now the end of that line should look like this
(s2[i]==' ') || (s2[i]=='..') || (s2[i]=='/'))
Now save and compile. You should get one warning but it won't hurt anything.
This will work. So now no body can get your bbs.