简介
Fcrackzip是一款专门破解zip类型压缩文件密码的工具,工具小巧方便、破解速度快,能使用字典和指定字符集破解,适用于linux、mac osx 系统。
FCrackZip 是Free/Fast Zip Crack(免费,快速Zip密码破解)的意思。
安装
MAC安装指令:
brew install fcrackzip
Linux Ubuntu安装指令:
sudo apt-get install fcrackzip
Windows安装包:
http://blog.rubypdf.com/2008/10/15/fcrackzip-10-windows-version-releases/
参数介绍
Kali系统输入
fcrackzip-h
得到工具的使用帮助如下:
lysmacbookair:Desktop laoyan$ fcrackzip -h
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 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
部分重要参数说明
-c 指定字符集,字符集 格式只能为 -c 'aA1!:'
a 表示小写字母[a-z]
A 表示大写字母[A-Z]
1 表示阿拉伯数字[0-9]
! 感叹号表示特殊字符[!:$%&/()=?{[]}+*~#]
: 表示包含冒号之后的字符(不能为二进制的空字符),例如 a1:$% 表示 字符集包含小写字母、数字、$字符和%百分号
具体请参考
man fcrackzip
使用案例
lysmacbookair:Desktop laoyan$ fcrackzip -b -c 'aA1' -l 1-10 -u 123lybbn.zip
PASSWORD FOUND!!!!: pw == qsb
参数解释
- -b 表示使用暴利破解的方式
- · -c 'aA1' 表示使用大小写字母和数字混合破解的方式
- · -l 1-10 表示需要破解的密码长度为1到10位
- · -u 表示只显示破解出来的密码,其他错误的密码不显示出
添加字典
lysmacbookair:Desktop laoyan$ fcrackzip -D -p lybbnpass.txt -u 123lybbn.zip PASSWORD FOUND!!!!: pw == qsb
-D 表示要使用字典破解
-p 表示要使用那个字典破解
注:Kali linux自带了一些字典在/usr/share/wordlists/文件夹下。
参考文章
https://blog.csdn.net/hp910315/article/details/82711872
http://www.lybbn.cn/data/datas.php?yw=133