文章目录
john弱口令检测步骤
1.安装john,及c++环境
2.make linux-x86-64 编译
3.破解弱口令密码
./john /etc/passwd /etc/shadow
john弱口令检测
1.上传john-1.80.ta 到/opt
2.压缩包解压到/opt
[root@lpf lpf]# tar zxvf john-1.8.0.tar.gz -C /opt
[root@lpf lpf]# cd /opt
[root@lpf opt]# ll
总用量 0
drwxr-xr-x. 5 root root 53 7月 1 16:13 john-1.8.0
drwxr-xr-x. 3 root root 16 6月 10 09:09 opt
drwxr-xr-x. 2 root root 6 10月 31 2018 rh
[root@lpf opt]# cd john-1.8.0/
[root@lpf john-1.8.0]# ll
总用量 4
drwxr-xr-x. 2 root root 208 7月 1 16:13 doc
lrwxrwxrwx. 1 root root 10 5月 30 2013 README -> doc/README
drwxr-xr-x. 2 root root 143 7月 1 16:13 run
drwxr-xr-x. 2 root root 4096 7月 1 16:13 src
3.安装gcc和gcc-c++
[root@lpf john-1.8.0]# yum install -y gcc gcc-c+