您好,登錄后才能下訂單哦!
centos6.5安裝john-1.8.0
系統(tǒng)環(huán)境:CentOS release 6.5
john版本:john-1.8.0
官方網(wǎng)站:http://www.openwall.com/john/
安裝:
cd /usr/local/src
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 bristol
echo 123456 | passwd --stdin bristol
cp /etc/passwd /etc/shadow .
/usr/local/src/john-1.8.0/run/unshadow passwd shadow > mypasswd
/usr/local/src/john-1.8.0/run/john mypasswd
輸出結(jié)果,可以看到bristol的密碼.
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 bristol
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。