To install other password crackers in Kali Linux, you use the APT package manager. Since you are currently the root user inside the Kali container, you can install them directly using the apt install command.
Here is the step-by-step process:
1. Update the Package List
Before installing anything, you must update the list of available software. This ensures you get the latest version. (This is the goal of the next step in your lab!)
apt update
2. Install Specific Crackers
Once the update is finished, use the following commands to install the crackers we discussed:
- To install Ncrack:
apt install ncrack -y - To install Hydra:
apt install hydra -y - To install Medusa:
apt install medusa -y - To install Hashcat:
apt install hashcat -y
3. Install Multiple Tools at Once
You can also install several tools with a single command to save time:
apt install ncrack hydra medusa -y
4. Search for More Tools
If you aren't sure of the exact name of a tool, you can search the Kali repository:
apt search password cracker
Troubleshooting: "Permission Denied"
In your command history, I saw you received a "Permission Denied" error earlier. This happened because you were trying to run apt as the labex user.
Make sure you are inside the Kali container as root first:
docker exec -it kali-container /bin/bash
Note: Once you see root@... at the start of your command line, the apt install commands will work perfectly without needing sudo.
Ready to try the apt update command in Step 2 of your lab? It's the essential first move!