centos7.2安裝john-1.8.0


系統環境:CentOS Linux release 7.2.1511

john版本:john-1.8.0

官方網站:http://www.openwall.com/john/


安裝:

wget http://www.openwall.com/john/j/john-1.8.0.tar.gz 
tar -xf john-1.8.0.tar.gz 
cd john-1.8.0/src/

編譯:

yum -y install gcc gcc-c++ make
make
make linux-x86-64

安裝完成:

ls john-1.8.0/run/



簡單使用:

useradd zhangsan
echo 123456 | passwd --stdin zhangsan
cp /etc/passwd /etc/shadow .
./unshadow passwd shadow > mypasswd
./john mypasswd


./john mypasswd 的輸出結果,可以看到zhangsan的密碼已經被破解


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

123456           (zhangsan)



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章