wget http://www.openwall.com/john/c/john-1.6.tar.gz wget http://www.openwall.com/john/c/john-1.6.39.tar.gz gzip -d john-1.6.tar.gz tar -xvf john-1.6.tar gzip -d john-1.6.39.tar.gz tar -xvf john-1.6.39.tar cd john-1.6.39 cd src make clean generic cd .. cd run cp ../../john-1.6/run/*.chr ./ |
unshadow /etc/passwd /etc/shadow > mypasswd |
john mypasswd |
john --wordlist=./words-english-big.dic ./mypasswd |
john --wordlist=./words-english-big.dic --rules ./mypasswd |
john --incremental ./mypasswd |
username:password_hash:::: |
for x in `cat /etc/samba/smbpasswd | cut -f 1,3 -d ":"` do echo "$x::::" >> smb.lst done |