Hashcat is a simple and powerful tool that helps you check how strong a password is. It tries different passwords to match a hidden code called a hash. It shows how easy or hard it is to guess a password and helps you understand password safety.
Installation Commands
Update Termux and install required packages:
pkg update && pkg upgrade && apt install git make clang python rust libiconv sse2neon opencl-vendor-driver libbz2 liblzma libsqlite openssl readline ncurses -yClone the official GitHub repository:
git clone https://github.com/hashcat/hashcat.gitMove into the directory:
cd hashcatBuild Hashcat:
makeRun Hashcat:
./hashcat --helpCreate a global command:
ln -s $PWD/hashcat $PREFIX/bin/hashcatNow you can run from anywhere:
hashcat --helpUsage Commands
Crack a hash using a wordlist:
hashcat -m 0 hash.txt wordlist.txtShow cracked passwords:
hashcat -m 0 hash.txt wordlist.txt --showBrute force attack (simple mask):
hashcat -m 0 hash.txt ?a?a?a?aRun a simple dictionary attack:
hashcat -m 0 -a 0 hash.txt wordlist.txtBenchmark performance:
hashcat -bUse a specific hash type (example: MD5 = 0, SHA1 = 100):
hashcat -m 100 hash.txt wordlist.txtResume a paused session:
hashcat --restore