下载源码
git clone https://github.com/hashcat/hashcat --depth=1
安装编译所需软件包
pkg install binutils libllvm make
进入源码目录
cd hashcat
修改相关文件
src/affinity.c
174行:
将pthread_setaffinity_np
修改为:sched_setaffinity
deps/unrar/ulinks.cpp
39行:
将lutimes
修改为:utimes
src/Makefile
在324行之后添加一行:
LFLAGS_NATIVE += -liconv
编译
make -j8
安装
make install
后记
欢迎加入我的Termux交流群637654759