亲测有用,特地备份。

fcrackzip简介

fcrackzip是一款专门破解zip类型压缩文件密码的工具,工具小巧方便、破解速度快,能使用字典和指定字符集破解,适用于linux、mac osx 系统

fcrackzip安装

 

brew install fcrackzip

fcrackzip参数介绍

 

终端输入命令: 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:$%  表示 字符集包含小写字母、数字、$字符和%百分号

实例

有一个文件aaa.zip文件加密,密码为q13的弱密码,我们可使用fcrackzip暴利破解

 

输入命令: fcrackzip  -b -c 'aA1' -l 1-10   -u aaa.zip
PASSWORD FOUND!!!!: pw == q13

参数解释

 

-b 表示使用暴利破解的方式
-c 'aA1' 表示使用大小写字母和数字混合破解的方式
-l 1-10 表示需要破解的密码长度为1到10位
-u 表示只显示破解出来的密码,其他错误的密码不显示出

如果想要使用现有的字典破解的话,你可以写成如下形式

 

输入命令: fcrackzip  -D -p pwd.txt  -u aaa.zip
PASSWORD FOUND!!!!: pw == q13

参数解释:

 

-D 表示要使用字典破解
-p 表示要使用那个字典破解



作者:砺剑锋成
链接:https://www.jianshu.com/p/7345247d73c0
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。