centos系统构建安装john导致的编译问题error: size of array element is not a multiple of its alignment
blake2.h:112:5: error: size of array element is not a multiple of its alignment
112 | blake2b_state S[4][1];
| ^~~~~~~~~~~~~
blake2.h:113:5: error: size of array element is not a multiple of its alignment
113 | blake2b_state R[1];
| ^~~~~~~~~~~~~
如果你出现上述原因,说明你是早期下载的或者是在https://www.openwall.com/john/网站上下载的1.9.0-jumbo-1包进行配置构建的,这个包是过时的,我们从官方github john(https://github.com/openwall/john)仓库进行git clone
进行构建就没有问题了。
也可以搜索issue处,有说原因的解决方式。
命令执行步骤:
cd ./john/src目录
./configure && make -s clean && make -sj4
make -s clean && make -sj2
复制请注明出处,在世界中挣扎的灰太狼