centos7 安装hashcat

下载hashcat: --》6.2.6

https://hashcat.net/files/hashcat-6.2.6.7z

安装intel_sdk_for_opencl_applications:

wget http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/16284/intel_sdk_for_opencl_applications_2020.0.270.tar.gz
tar -zxvf intel_sdk_for_opencl_applications_2020.0.270.tar.gz 
cd intel_sdk_for_opencl_applications_2020.0.270/
./install.sh   -s silent.cfg --accept_eula

不再报opencl的问题
在这里插入图片描述
测试:
cap文件转换
https://hashcat.net/cap2hashcat/
4C主机测试:

./hashcat.bin -m 22000 Xiaxxx.hc22000 -a 3 61?d?d?d?d?d?d

在这里插入图片描述

./hashcat.bin --help|grep -i cpu
     --cpu-affinity             | Str  | Locks to CPU devices, separated with commas          | --cpu-affinity=1,2,3
     --spin-damp                | Num  | Use CPU for device synchronization, in percent       | --spin-damp=10


使用参数:--cpu-affinity=1,2,....可以控制cpu使用率
- [ Attack Modes ] -

  # | Mode
 ===+======
  0 | Straight
  1 | Combination
  3 | Brute-force
  6 | Hybrid Wordlist + Mask
  7 | Hybrid Mask + Wordlist
  9 | Association

- [ Built-in Charsets ] -

  ? | Charset
 ===+=========
  l | abcdefghijklmnopqrstuvwxyz [a-z]
  u | ABCDEFGHIJKLMNOPQRSTUVWXYZ [A-Z]
  d | 0123456789                 [0-9]
  h | 0123456789abcdef           [0-9a-f]
  H | 0123456789ABCDEF           [0-9A-F]
  s |  !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
  a | ?l?u?d?s
  b | 0x00 - 0xff

进度保存、恢复

 --session                  | Str  | Define specific session name                         | --session=mysession
 --restore                  |      | Restore session from --session                       |

示例:

./hashcat.bin -O -m 0 -t 32 -a 7 example0.hash ?a?a?a?a example.dict --session test.session
./hashcat.bin --session test.session --restore
  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值