“fcrackzip” is a command-line tool in Linux-based systems that allows a user to crack the password of a ZIP archive file. This means that it can be used to recover the password of a password-protected ZIP file if the user has forgotten the password or if the password is not known.
fcrackzip uses a brute-force method to try different password combinations until it finds the correct one. It can also use a dictionary attack, which is a method of trying all the words in a dictionary as passwords. It also supports incremental mode that allows to specify a charset and a minimal and maximal length for the password.
If you encounter the below error while running the command fcrackzip:
fcrackzip: command not found
you may try installing the below package as per your choice of distribution:
Distribution | Command |
---|---|
Debian | apt-get install fcrackzip |
Ubuntu | apt-get install fcrackzip |
Arch Linux | pacman -S fcrackzip |
Kali Linux | apt-get install fcrackzip |
OS X | brew install fcrackzip |
Raspbian | apt-get install fcrackzip |
fcrackzip Command Examples
1. Brute-force a password with a length of 4 to 8 characters, and contains only alphanumeric characters (order matters):
# fcrackzip --brute-force --length 4-8 --charset aA1 archive
2. Brute-force a password in verbose mode with a length of 3 characters that only contains lowercase characters, `$` and `%`:
# fcrackzip -v --brute-force --length 3 --charset a:$% archive
3. Brute-force a password that contains only lowercase and special characters:
# fcrackzip --brute-force --length 4 --charset a! archive
4. Brute-force a password containing only digits, starting from the password `12345`:
# fcrackzip --brute-force --length 5 --charset 1 --init-password 12345 archive
5. Crack a password using a wordlist:
# fcrackzip --use-unzip --dictionary --init-password wordlist archive
6. Benchmark cracking performance:
# fcrackzip --benchmark