A quick bash script to build and install the latest dev version of hashcat on Debian based distros and optionally download a collection of hashcat rules and wordlists, hosted as a GitHub Page for easy access. Made for myself to use on EC2 boxes and to learn some bash.
aptbashsudo
-
Read the script (index.html).
Don't pipe stuff to bash without reading it first! -
curl https://n0kovo.github.io/installhashcat/ | sudo bash -
Profit
- Installs
gitif not already installed - Installs
build-essentialif not already installed - Clones the hashcat repo to
./installhashcat/ - Runs
makeandmake install - If chosen when prompted:
- Clones hashcat-rules-collection
- Checks hashmob.net API for list of latest wordlists
- Asks user to select max 5 wordlists
- Installs
aria2if not already installed - Installs
p7zip-fullif not already installed - Installs
jqif not already installed - Downloads wordlists using
aria2c - Extracts wordlist archives using
7z - Deletes wordlist archives