John the Ripper
Cracks hashes and containers (zip, pfx, psafe...).
John the Ripper, an offline hash cracker. It auto-detects the format and attacks by wordlist, rules or brute force. Its *2john script ecosystem (zip2john, ssh2john, pfx2john, keepass2john...) turns almost any protected file into a crackable hash.
Family Cracking & wordlists
Flags --wordlist --format --show
Concepts Hash Cracking, Cracking /etc/shadow, Cracking protected files (.zip, .pfx, .kdbx)
Cheatsheet Hashes
Installation
sudo apt install -y johnUseful commands
When it fails
No password hashes left to crack (see FAQ)It is not that nothing came out: it is that it was already cracked in an earlier run and john does not repeat work. The password lives in~/.john/john.potand comes back withjohn --show <file>. To try again from scratch you have to remove that entry from the.pot.seen in Forest
Appears in
Some machines where its use is documented; not an exhaustive list.
- AccessProving Grounds Practice
- ActiveHackTheBox
- AdministratorHackTheBox
- AlertHackTheBox
- ApexProving Grounds Practice
- BuscaloveDockerLabs
- CertifiedHackTheBox
- ChemistryHackTheBox
- CodifyHackTheBox
- CozyHostingHackTheBox
- DockerlabsDockerLabs
- ExtplorerProving Grounds Practice
- FlightHackTheBox
- ForestHackTheBox
- GreenHornHackTheBox
- HealHackTheBox
- HeistHackTheBox
- HokkaidoProving Grounds Practice
- Infovore 1VulnHub
- KeeperHackTheBox
- MailingHackTheBox
- MentorHackTheBox
- MonitorsThreeHackTheBox
- NagoyaProving Grounds Practice
- NickelProving Grounds Practice
- NorCDockerLabs
- PotatoProving Grounds Play
- QuerierHackTheBox
- ScrutinyProving Grounds Practice
- SeaHackTheBox
- ShoppyHackTheBox
- SightlessHackTheBox
- SPXProving Grounds Practice
- SundayHackTheBox
- Symfonos 1 & 2VulnHub
- TabbyHackTheBox
- TimelapseHackTheBox
- UnderPassHackTheBox
- UsageHackTheBox
- VaultProving Grounds Practice
- Vulnerable Lab (1 · 4 · 5)VulnHub
- WallpaperHubProving Grounds Practice
- WorkaholicProving Grounds Practice
- ZabProving Grounds Practice