home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
chkpassp.lzh
/
chekpass.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-07-25
|
573b
|
27 lines
/*
Nukes new users with passwords found in file badpass.txt when they
use CallMe.
*/
"@echo off"
arg pwd
if lines(badpass.flg)<>0 then do
a=stream(badpass.flg,c,"close")
"del badpass.flg"
end
badpwd="false"
j=lines(badpass.txt)
do while (j<>0) & (badpwd<>"true")
a=linein(badpass.txt)
if pwd=a then do
a=lineout(badpass.flg,pwd)
badpwd="true"
end
j=lines(badpass.txt)
end
a=stream(badpass.txt,c,"close")
exit