Crack a password protected Zip file
Welcome this is a WalkThrough on how to crack a password protected zip for
L33TZone.org writen by AnonymousFigure.
This was completed in Kali Linux. All tools come pre-installed.
First get a password protected zip file.
The pass zip we have has a 4-6 digit passcode
Lets start.
fcrackzip -b -c a -l 4-6 -u (zipfile location)
Other ways
fcrackzip -v -m zip6 -l 4-8 -u secret.zip
To break the command down:
v is for verbose and gives you better output
m specifies the mode to use, in this case zip6
l specifies the minimum password length to maximum password length
u tells the program to test the password with unzip before declaring it correct
Crack with a wordlist.
fcrackzip -v -D -u -p /usr/share/dict/words secret.zip
Here the only difference is the -D to specify a dictionary based attack and -p
which is used to specify the password file. This file should contain one word
per line and on Linux systems there's a nice dictionary included in /usr/share/dict/words.
USAGE: fcrackzip
[-b|--brute-force] use brute force algorithm
[-D|--dictionary] use a dictionary
[-B|--benchmark] execute a small benchmark
[-c|--charset characterset] use characters from charset
[-h|--help] show this message
[--version] show the version of this program
[-V|--validate] sanity-check the algortihm
[-v|--verbose] be more verbose
[-p|--init-password string] use string as initial password/file
[-l|--length min-max] check password with length min to max
[-u|--use-unzip] use unzip to weed out wrong passwords
[-m|--method num] use method number "num" (see below)
[-2|--modulo r/m] only calculcate 1/m of the password
file... the zipfiles to crack
methods compiled in (* = default):
0: cpmask
1: zip1
*2: zip2, USE_MULT_TAB