Category : Files from Magazines
Archive   : VOL9N12.ZIP
Filename : SECURITY.PRG

 
Output of file : SECURITY.PRG contained in archive : VOL9N12.ZIP
DATABASES
Vol. 9, No. 12

*** SECURITY.PRG Brad Stark
CLEAR
SET TALK OFF
title = "SECURITY PROGRAM"
oldword = GETE("PASS")
password = SPACE(6)
newword = ''
point = 1
@ 7,(79-LEN(title))/2 SAY title
@ 10,23 TO 12,54 DOUBLE
@ 11,26 SAY "Enter password: "
SET INTEN OFF
SET COLOR TO N/N
@ 11,COL() GET password
READ
password = TRIM(password)
SET COLOR TO
SET INTEN ON

DO WHILE point <= LEN(password)
char1 = SUBS(password,point,1)
char2 = SUBS(title,point,1)
newword = newword + CHR(ASC(char1)+ASC(char2)-64)
point = point + 1
ENDDO

IF newword=oldword
** Main program code inserted here
ELSE
WAIT "Access denied!"
QUIT
ENDIF





  3 Responses to “Category : Files from Magazines
Archive   : VOL9N12.ZIP
Filename : SECURITY.PRG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/