Here's a quickie how - to
Code:
[root@testbox root]# useradd bill
[root@testbox root]# passwd bill
Changing password for user bill.
New password: things
BAD PASSWORD: it is based on a dictionary word
Retype new password:
passwd: all authentication tokens updated successfully.
[root@testbox root]# useradd chuck
[root@testbox root]# passwd chuck
Changing password for user chuck.
New password: stuff
BAD PASSWORD: it is too short
Retype new password:
passwd: all authentication tokens updated successfully.
[root@testbox root]# useradd stan
[root@testbox root]# passwd stan
Changing password for user stan.
New password: junk
BAD PASSWORD: it is too short
Retype new password:
passwd: all authentication tokens updated successfully.
[root@testbox root]# tail -n 3 /etc/passwd > passfile
[root@testbox root]# tail -n 3 /etc/shadow > shdwfile
[root@testbox root]# unshadow passfile shdwfile > johnfile
[root@testbox root]# cd /etc
[root@testbox etc]# john /root/johnfile
Loaded 3 passwords with 3 different salts (FreeBSD MD5 [32/32])
stuff (chuck)
junk (stan)
bill (things)
guesses: 3 time: 0:00:08:23 (3) c/s: 1968 trying: things
[root@testbox etc]#
During long runs if you tap enter, john will let you know what he's doing.
On the john website, somewhere there's a big ol' wordfile that you can specify in /etc/john.ini
Bookmarks