分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
普通的john只能跑一个core,有人写了个mpi补丁,能跑满多个核心。
参考 http://hkashfi.blogspot.com/2008/12/how-to-make-johntr-use-all-of-your-cpu.html
其他参考 http://openwall.info/wiki/john/parallelization
john并行计算的集中在 http://download.openwall.net/pub/projects/john/contrib/parallel/
打补丁的指引 http://openwall.info/wiki/john/how-to-extract-tarballs-and-apply-patches
操作如下:
装mpi环境 用epel源
yum install mpich2* -y
wget http://www.bindshell.net/tools/johntheripper//john-1.7.3.1-all-2-mpi8.tar.gz
tar zxf john-1.7.3.1-all-2-mpi8.tar.gz ; cd john* ; cd src
make generic
echo MPD_SECRETWORD=secret > /etc/mpd.conf
chmod 600 /etc/mpd.conf
mpd –daemon
mpirun -np 8 /root/temp/john-1.7.3.1-mpi8/run/john /root/temp/shadow
非MPI的测试结果
[root@156 run]# ./john –test
Benchmarking: Traditional DES [128/128 BS SSE2]… DONE
Many salts: 1974K c/s real, 1974K c/s virtual
Only one salt: 1692K c/s real, 1692K c/s virtual
Benchmarking: BSDI DES (x725) [128/128 BS SSE2]… DONE
Many salts: 64384 c/s real, 63746 c/s virtual
Only one salt: 62720 c/s real, 62720 c/s virtual
Benchmarking: FreeBSD MD5 [32/32]… DONE
Raw: 6397 c/s real, 6397 c/s virtual
Benchmarking: OpenBSD Blowfish (x32) [32/32]… DONE
Raw: 393 c/s real, 393 c/s virtual
Benchmarking: Kerberos AFS DES [48/64 4K MMX]… DONE
Short: 320256 c/s real, 320256 c/s virtual
Long: 983552 c/s real, 983552 c/s virtual
Benchmarking: LM DES [128/128 BS SSE2]… DONE
Raw: 10829K c/s real, 10829K c/s virtual
Benchmarking: NT MD4 [128/128 SSE2 + 32/32]… DONE
Raw: 14093K c/s real, 14093K c/s virtual
Benchmarking: Mac OS X 10.4+ salted SHA-1 [32/32]… DONE
Many salts: 2685K c/s real, 2685K c/s virtual
Only one salt: 2373K c/s real, 2349K c/s virtual
Benchmarking: M$ Cache Hash [Generic 1x]… DONE
Many salts: 12868K c/s real,