macos\Linux下使用fcrackzip破解zip压缩文件密码

加密解密:http://www.lybbn.cn/data/datas.php?yw=133

1.fcrackzip简介


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


2.fcrackzip安装


1
brew install fcrackzip


3.fcrackzip参数介绍


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
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


部分重要参数说明


1
2
3
4
5
6
-c 指定字符集,字符集 格式只能为 -c 'aA1!:' 
a 表示小写字母[a-z]
A 表示大写字母[A-Z]
1 表示阿拉伯数字[0-9]
! 感叹号表示特殊字符[!:$%&/()=?{[]}+*~#]
: 表示包含冒号之后的字符(不能为二进制的空字符),例如  a1:$%  表示 字符集包含小写字母、数字、$字符和%百分号


具体请参考


1
man fcrackzip

 

4.fcrackzip案例


假如有一个文件123lybbn.zip文件加密,密码为qsb的弱密码,我们可使用fcrackzip暴利破解


1
2
lysmacbookair:Desktop laoyan$ fcrackzip  -b -c 'aA1' -l 1-10   -u 123lybbn.zip
PASSWORD FOUND!!!!: pw == qsb


这里测试只需要几秒钟就破解出来了,速度是不是非常的快


参数解释:


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


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


1
2
lysmacbookair:Desktop laoyan$ fcrackzip  -D -p lybbnpass.txt  -u 123lybbn.zip
PASSWORD FOUND!!!!: pw == qsb


参数解释:


1
2
-D 表示要使用字典破解
-p 表示要使用那个字典破解
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值