mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-30 02:18:33 +00:00

Remove existing tuningdb entries due to salsa_r() core refactor. Update tuningdb engine to prefer file entries, when available, over automatic discovery. Improve memory-free detection per device, default --backend-device-keepfree is now set to 0. Old brute-force OpenCL behavior can be restored using --backend-device-keepfree 100.
28 lines
2.0 KiB
Plaintext
28 lines
2.0 KiB
Plaintext
|
|
# Find the right -n value for your GPU:
|
|
# =====================================
|
|
#
|
|
# 1. For example, to find the value for 8900, first create a valid hash for 8900 as follows:
|
|
#
|
|
# $ ./hashcat --example-hashes -m 8900 | grep Example.Hash | grep -v Format | cut -b 25- > tmp.hash.8900
|
|
#
|
|
# 2. Now let it iterate through all -n values to a certain point. In this case, I'm using 200, but in general it's a value that is at least twice that of the multiprocessor. If you don't mind you can just leave it as it is, it just runs a little longer.
|
|
#
|
|
# $ export i=1; while [ $i -ne 201 ]; do echo $i; ./hashcat --quiet tmp.hash.8900 --keep-guessing --self-test-disable --markov-disable --restore-disable --outfile-autohex-disable --wordlist-autohex-disable --potfile-disable --logfile-disable --hwmon-disable --status --status-timer 1 --runtime 28 --machine-readable --optimized-kernel-enable --workload-profile 3 --hash-type 8900 --attack-mode 3 ?b?b?b?b?b?b?b --backend-devices 1 --force -n $i; i=$(($i+1)); done | tee x
|
|
#
|
|
# 3. Determine the highest measured H/s speed. But don't just use the highest value. Instead, use the number that seems most stable, usually at the beginning.
|
|
#
|
|
# $ grep "$(printf 'STATUS\t3')" x | cut -f4 -d$'\t' | sort -n | tail
|
|
#
|
|
# 4. To match the speed you have chosen to the correct value in the 'x' file, simply search for it in it. Then go up a little on the block where you found him. The value -n is the single value that begins before the block start. If you have multiple blocks at the same speed, choose the lowest value for -n
|
|
|
|
#Device Attack Hash Vector Kernel Kernel
|
|
#Name Mode Type Width Accel Loops
|
|
|
|
# Intentionally left blank.
|
|
# This is a generic KDF, and its tuning depends largely on the hash parameters.
|
|
# It's better to derive the tuning based on the hash information (handled by the hash-mode plugin).
|
|
# The tunings from the hash-mode plugin may be slightly off, so if you have better values, you can hardcode them here.
|
|
|
|
|