Yes, Hashcat can run on a GPU (Graphics Processing Unit), which significantly speeds up the password cracking process compared to using a CPU (Central Processing Unit). Hashcat is designed to take advantage of the parallel processing capabilities of GPUs.
To use Hashcat with a GPU:
-
Install GPU Drivers: Ensure you have the appropriate drivers installed for your GPU. For NVIDIA GPUs, you need the NVIDIA driver; for AMD GPUs, you need the AMD ROCm or OpenCL drivers.
-
Install Hashcat: Make sure Hashcat is installed on your system. You can install it using:
sudo apt install hashcat -
Check GPU Compatibility: You can check if Hashcat recognizes your GPU by running:
hashcat -IThis command will list the available devices and their capabilities.
-
Run Hashcat: When you run Hashcat, it will automatically use the GPU if available. You can specify the device to use with the
-doption if you have multiple GPUs.
Example Command:
hashcat -m 0 -a 0 -d 1 hashes.txt rockyou.txt
In this example, -d 1 specifies the second device (if you have multiple GPUs).
Note:
- Ensure that your GPU has enough memory to handle the hashes and wordlists you are using.
- Hashcat supports various attack modes and hash types, so refer to the Hashcat documentation for more details on optimizing your setup.
If you have further questions or need assistance with specific configurations, feel free to ask!
