Anocrack is a lightweight and fast C-based command-line tool designed for dictionary attacks on password-protected ZIP files. Built for use on Kali Linux and other Unix-based systems, it's ideal for ethical hackers, red teamers, and cybersecurity students.
- ✅ Written entirely in C (no dependencies)
- ✅ Supports Hash and ZIP password cracking using a wordlist
- ✅ Can generate custom wordlists
- ✅ Easy to compile and use
- ✅ Perfect for CTFs and training labs
- ✅ Built and tested on Kali Linux
You can get the source code in two ways:
git clone https://github.com/karankohale/anocrack.git
cd anocrackClick the green "Code" button at the top of this page.
Select "Download ZIP".
Extract the downloaded archive.
Open the folder named anocrack-main (or similar).
⚙️ How to Compile Open your terminal in the directory where anocrack.c is located, then run:
gcc anocrack.c -o anocrack -lmThis will generate an executable file named anocrack.
🔧 Requirement: GCC must be installed (already available in Kali Linux by default).
🚀 How to Use Run the tool using the following syntax:
./anocrackYou can use any wordlist, but rockyou.txt is a popular default, located at:
/usr/share/wordlists/rockyou.txt
If not found, install it using:
sudo gzip -d /usr/share/wordlists/rockyou.txt.gz📌 Output If a password match is found, it will display:
Password found: <matched-password>
Otherwise, it will print:
Password not found in the provided wordlist.
🚫 Do NOT use this tool on files, devices, or systems you don’t own or don’t have explicit permission to test.
⭐ Support This Project If you found this tool useful:
Give the repo a ⭐ star