fcrackzip是一款专门破解zip类型压缩文件密码的工具,工具破解速度还是可以的,能用字典和指定字符集破解,适用于Linux、Mac OS 系统。
首先需要安装一个软件 fcrackzip
命令安装
brew install fcrackzip
嗯嗯,很有可能会报错,那是因为你没有安装 homebrew,如下报错信息:
command not found
安装homebrew命令
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装好homebrew之后,在重新运行安装fcrackzip 的命令即可,安装成功如下图
执行fcrackzip -help
cuibaoxis-MacBook-Pro:wifi营销独立后台版 mark1024$ fcrackzip -help
fcrackzip version 1.0, a fast/free zip password cracker
written by Marc Lehmann <[email protected]> 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 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
先cd到zip资源所在文件夹,执行命令
fcrackzip -b -c 'aA1!' -l 1-10 -u test.zip
如果想要使用现有的字典破解的话,你可以写成如下形式
输入命令:fcrackzip -D -p pwd.txt -u test.zip
输出的内容: PASSWORD FOUND!!!!: pw == q13
部分重要参数说明
-b 表示使用暴利破解的方式
-c 'aA1' 表示使用大小写字母和数字混合破解的方式
-l 1-10 表示需要破解的密码长度为1到10位
-u 表示只显示破解出来的密码,其他错误的密码不显示出
-c 指定字符集,字符集 格式只能为 -c 'aA1!:'
a 表示小写字母[a-z]
A 表示大写字母[A-Z]
1 表示阿拉伯数字[0-9]
! 感叹号表示特殊字符[!:$%&/()=?{[]}+*~#]
: 表示包含冒号之后的字符(不能为二进制的空字符),例如 a1:$% 表示 字符集包含小写字母、数字、$字符和%百分号
-D 表示要使用字典破解
-p 表示要使用那个字典破解