print 'enter salt: '; chomp($salt = ); print 'enter password hash file: '; open(PASSC, ) or die "cannot open password file: $!\n"; $passc = ; print 'enter wordlist: '; open(PASSF, ) or die "cannot open wordlist file: $!\n"; @list = ; for (@list) { $pwdcrypt = crypt $_, $salt; if ($pwdcrypt eq "$passc") {