home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
BADPASS.MOD
< prev
next >
Wrap
Text File
|
1992-12-01
|
2KB
|
86 lines
My First Mod
~~~~~~~~~~~~
by Randy Hunt, 3@2700
~~~~~~~~~~~~~~~~~~~~~
Big deal you say?? Well, to me it is. Anyway, it's nothing big, so here's
the scoop. Are you SICK of people making illegal logons and you can't tell
when they called or what password they tried?? Well, this little mod will fix
that. It will put something like this in the Sysops Log:
### ILLEGAL LOGON for Randy Hunt #3
Attempted password: PASSWORD
Attempted phone # : 942-6575
At : 12:45:23
neato, eh?? (not really)....
First, the disclaimer......this has not guarantee, express or implied.....if
your computer crashes or you daughter is taken by Iranian airline terrorists
or you son crashes your new Lambourghini, don't come crying to me....it ain't
my fault.
Now, for the good stuff.......
________________________________
[ Key ]
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[ ** MODIFY an existing line ]
[ == Existing line (dont change)]
[ -- Delete this line ]
[ ++ Add this line ]
[________________________________]
In BBSUTL.C . . .
~~~~~~~~
== void_getuser()
== {
** char s[81],s2[81],badpass[81],badphone[81];
== int ok,count,net_only;
== long l;
Further down in BBSUTL.C, still in VOID_GETUSER()......
== topscreen();
== ok=1;
== outstr("PW: ");
== echo=0;
== input(s,8);
++ strcpy(badpass,s);
== if (strcmp(s,thisuser.pw)!=0)
== ok=0;
== if ((syscfg.sysconfig & sysconfig_free_phone)==0) {
== outstr("PH: ###-###-");
== echo=0;
== input(s,4);
++ strcpy(badphone,s);
== if (strcmp(s,&thisuser.phone[8])!=0) {
== ok=0;
Still
further
down (same function and file)..........
== pl("\7ILLEGAL LOGON\7");
== nl();
++ sysoplog("");
== strcpy(s,"### ILLEGAL LOGON for ");
== strcat(s,nam(&thisuser,usernum));
== sl1(0,s);
++ strcpy(s," Attempted Password: ");
++ strcat(s,badpass);
++ sl1(0,s);
++ strcpy(s," Attempted Phone # : ");
++ strcat(s,badphone);
++ sl1(0,s);
++ strcpy(s," At : ");
++ strcat(s,times());
++ sl1(0,s);
== usernum=0;
== }
== } else
---------> END OF MOD <--------