blumongoos has asked for the wisdom of the Perl Monks concerning the following question:
thanks in advance - blumongoos (blumongo@arbornet.org)print 'enter salt: '; chomp($salt = <STDIN>); print 'enter password hash file: '; open(PASSC, <STDIN>) or die "cannot open password file: $!\n"; $passc = <PASSC>; print 'enter wordlist: '; open(PASSF, <STDIN>) or die "cannot open wordlist file: $!\n"; @list = <PASSF>; for (@list) { $pwdcrypt = crypt $_, $salt; if ($pwdcrypt eq "$passc") {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple wordlist password test
by rev_1318 (Chaplain) on Jun 21, 2005 at 14:12 UTC | |
|
Re: simple wordlist password test
by tlm (Prior) on Jun 21, 2005 at 13:32 UTC | |
|
Re: simple wordlist password test
by NateTut (Deacon) on Jun 21, 2005 at 13:54 UTC | |
by tlm (Prior) on Jun 21, 2005 at 14:31 UTC |