john the ripper跑多核多cpu

分享一下我老师大神的人工智能教程!零基础,通俗易懂!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,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值