home *** CD-ROM | disk | FTP | other *** search
- *** pass.chk.old Fri May 17 11:09:39 1991
- --- pass.chk Fri May 17 11:07:07 1991
- ***************
- *** 6,12 ****
- #
- # Usage: $0 [options] dictionary
- #
- ! # -P pfile password file
- # -p print found passwords (incompatible with -M)
- # -d check prefix/suffix of digits [0-9]
- # -g check all words in gcos, plan, project, signature files
- --- 6,12 ----
- #
- # Usage: $0 [options] dictionary
- #
- ! # -P pfile password file (not working)
- # -p print found passwords (incompatible with -M)
- # -d check prefix/suffix of digits [0-9]
- # -g check all words in gcos, plan, project, signature files
- ***************
- *** 21,27 ****
- # other cops stuff, and some things that just didn't fit, and added some
- # code to finish the simulation of the old checker. -- dan
- #
- -
- require "pass.cache.pl";
-
- $Passwd = "/etc/passwd";
- --- 21,26 ----
- ***************
- *** 34,48 ****
- $Move = "/bin/mv";
- $Create = "/bin/touch";
-
- ! &Getopts("dgiprsuUvwyo:P:l:b:e:") || do {
- print STDERR "Illegal arguments\n";
- &usage();
- exit(1);
- };
-
- ! sub usage {
- ! print STDERR "usage: pi -firuwyv -p <pwdfile> -l <logfile>\n -o <nday> -b <bname> -e <ename>\n";
- ! }
-
- # sanity checks
- $opt_P = $Passwd unless $opt_P;
- --- 33,45 ----
- $Move = "/bin/mv";
- $Create = "/bin/touch";
-
- ! &Getopts("pdgrsuUv") || do {
- print STDERR "Illegal arguments\n";
- &usage();
- exit(1);
- };
-
- ! sub usage { print STDERR "Usage: $0 -pdgrsuUv\n"; }
-
- # sanity checks
- $opt_P = $Passwd unless $opt_P;
- ***************
- *** 69,75 ****
- if ($try = &dopwd()) {
- $pwd = ($opt_p) ? $try : "";
- # printf "Username: %-8s <password guessed> $pwd\n",$P[0];
- ! printf "Warning! Password Problem: Guessed: %s\t\t$pwd\n",$P[0];
- }
- $ndone++;
- $time = time();
- --- 66,72 ----
- if ($try = &dopwd()) {
- $pwd = ($opt_p) ? $try : "";
- # printf "Username: %-8s <password guessed> $pwd\n",$P[0];
- ! printf "Warning! $uid password Problem: Guessed: %s\t\t$pwd\n",$P[0];
- }
- $ndone++;
- $time = time();
-