Fcrackzip是一款专门破解zip类型压缩文件密码的工具,工具小巧方便、破解速度快,能使用字典和指定字符集破解。
0x01安装
sudo apt-get install fcrackzip
所有参数
fcrackzip -h 1 ⨯
fcrackzip version 1.0, a fast/free zip password cracker
written by Marc Lehmann <pcg@goof.com> You can find more info on
http://www.goof.com/pcg/marc/
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 algorithm
[-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
0x02常见用法
- 使用字典破解密码
fcrackzip -D -p /usr/share/wordlists/rockyou.txt -u respectmydrip.zip
- 使用暴力破解
-c后面字符的意义
a 表示小写字母[a-z]
A 表示大写字母[A-Z]
1 表示阿拉伯数字[0-9]
! 感叹号表示特殊字符[!:$%&/()=?{[]}+*~#]
: 表示包含冒号之后的字符(不能为二进制的空字符),例如 a1:$% 表示 字符集包含小写字母、数字、$字符和%百分号
fcrackzip -b -c 'aA1' -l 1-10 -u respectmydrip.zip