点击(此处)折叠或打开
- apt-get install john
点击(此处)折叠或打开
- unshadow /etc/passwd /etc/shadow > ./file_crack
点击(此处)折叠或打开
- wget http://downloads.skullsecurity.org/passwords/john.txt.bz2
点击(此处)折叠或打开
- root@ubuntu:~/.john# john --wordlist=/usr/share/john/password.lst ./file_crack
- Loaded 2 password hashes with 2 different salts (crypt, generic crypt(3) [?/64])
- Press 'q' or Ctrl-C to abort, almost any other key for status
- 0g 0:00:00:28 100% 0g/s 123.6p/s 247.2c/s 247.2C/s !@#$%..sss
- Session completed
- root@ubuntu:~/.john# john --show ./file_crack
- 0 password hashes cracked, 2 left
- root@ubuntu:~/.john# ^C
- root@ubuntu:~/.john# john --wordlist=john.txt.bz2 file_crack
- Loaded 2 password hashes with 2 different salts (crypt, generic crypt(3) [?/64])
- Press 'q' or Ctrl-C to abort, almost any other key for status
- 0g 0:00:00:00 100% 0g/s 62.12p/s 124.2c/s 124.2C/s BZh91AY&SYU??.错?
- Session completed
- root@ubuntu:~/.john#
- root@ubuntu:~/.john# john --show ./file_crack
- 0 password hashes cracked, 2 left