Hashcat is a popular command-line tool for password recovery and hash analysis. It supports many hash algorithms, attack modes, hardware backends, and customization options. It can use CPUs and supported GPUs for computation and provides features for benchmarking, session management, result handling, and hash identification.
What You Can Do with Hashcat?
- Identify supported hash algorithms.
- Check information about hash modes.
- Run performance benchmarks.
- Select different attack modes.
- Configure wordlists and rules.
- Customize character sets and masks.
- Save and restore sessions.
- Export recovered results.
- Control output and status information.
- Use CPU or supported GPU backends.
Hashcat Installation Commands
You can install Hashcat using the following commands below. Copy and run each command one by one in your terminal.
First, update and upgrade system packages:
apt update && apt upgrade -y
Install the required packages:
apt install git make clang python rust libiconv sse2neon opencl-vendor-driver libbz2 liblzma libsqlite openssl readline ncurses -y
Clone the Hashcat repository:
git clone https://github.com/hashcat/hashcat.git
Move into the Hashcat directory:
cd hashcat
Build Hashcat:
make
Create a command shortcut:
ln -s $PWD/hashcat $PREFIX/bin/hashcat
Once the build is complete, Hashcat is ready to use from your Termux terminal.
Hashcat Usage Commands
Hashcat provides many command-line options for checking hash information, managing sessions, benchmarking hardware, and configuring different features.
Show the help menu:
hashcat -h
Show the extended help menu with supported hash modes:
hashcat -hh
Show the installed version:
hashcat -V
Show information about supported hash algorithms:
hashcat -H
Show backend information:
hashcat -I
Show available backend devices:
hashcat -d 1 -I
Run a benchmark:
hashcat -b
Run a benchmark for a specific hash mode:
hashcat -b -m 0
Show the keyspace information:
hashcat --keyspace
Display status information during a session:
hashcat --status
Set the status update interval:
hashcat --status --status-timer=1
Create a named session:
hashcat --session=my_session
Show the command needed to restore a session:
hashcat --session=my_session --restore
These commands let you explore Hashcat’s supported algorithms, check available hardware, run benchmarks, and manage its command-line features.
Overview
Hashcat is a powerful tool for working with password hashes and testing different recovery methods. It supports many hash types, attack modes, wordlists, rules, and hardware options, giving you many ways to analyze hashes from the command line.



