当前位置: 代码网 > 服务器>服务器>Linux > linux中ubuntu安装hashcat方法以及使用GPU破解

linux中ubuntu安装hashcat方法以及使用GPU破解

2024年07月28日 Linux 我要评论
查看自己显卡选择对应的版本,根据下面命令无脑安装就行了。

一、linux安装hashcat

# sudo apt install -y build-essential git  # 安装git
git clone https://github.com/hashcat/hashcat.git
# git clone https://kgithub.com/hashcat/hashcat.git # 国内镜像克隆
cd hashcat
make
make install
newgrp  # 刷新

二、安装驱动

cat /etc/issue # 查看linux系统发行版本,如ubuntu、kail等

在这里插入图片描述

sudo apt update & sudo apt upgrade  # 更新一下环境
wget https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux.run
sudo sh cuda_12.2.0_535.54.03_linux.run  
nvidia-smi   # 查看显卡驱动信息

三、测试

hashcat -i  # 查看硬件信息
hashcat -b -m 22000  # 测试是否正常运行以及破解速度

四、其他报错解决

sudo apt-get install gcc make p7zip-full git lsb-core
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_16.1.1_x64_ubuntu_6.4.0.25.tgz
tar -xvf opencl_runtime_16.1.1_x64_ubuntu_6.4.0.25.tgz
cd opencl_runtime_16.1.1_x64_ubuntu_6.4.0.25
sudo ./install.sh
# 会提示6个步骤,根据提示操作就好
nvidia-smi   # 查看现有显卡驱动信息

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

reboot
(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com