Crack pkzip file password (or .zip files).
https://www.techworm.net/2016/10/crack-password-protected-zip-file-using-kali-linux.html
Using a wordlist
The wordlist MUST BE SORTED: sort(1)
cat /usr/share/wordlists/rockyou.txt | sort > rockyou-sorted.txt
WL=rockyou-sorted.txt
ZIPFILE=file.zip
fcrackzip -u -D -p $WL $ZIPFILE
Using generated password
-u: try to decompress the first file by calling unzip with the guessed password.
This weeds out false positives when not enough files have been given.
-c: lets you select the character set, "1" means password also be numeric.
-p: lets you select an initial string to start brute-force attack.
fcrackzip -u -c <your password character type> -p <total digits> <zip file path>
ZIPFILE=/root/Downloads/file.zip
Lowercase, 6-character passwords
fcrackzip -c a -p aaaaaa $ZIPFILE
lowercase, uppercase, digits, special chars, length 1 to 8 characters
fcrackzip -b -c aA1! -l 1-8 -u $ZIPFILE