首页 > 解决方案 > 在 Linux 上恢复破解解压缩 Zip 2.0 (Legacy) 文件并丢失密码

问题描述

我有一个丢失密码的旧 zip 文件。

zipinfo -z告诉我它使用 PKWARE 加密的 Zip 2.0 版本。好消息,因为这显然很弱。

坏消息不是我搜索过的任何东西,并且发现告诉我它是否有可能在不使用蛮力的情况下破解。

PKCrack看起来像是一个选项,但它需要一个我没有的文件的未加密版本。

我用字典尝试了fcrackzip,但似乎我不记得有关密码的任何内容。

有谁知道在不使用蛮力的情况下恢复或解压缩文件或密码或破解 zip 的好方法?

我相信它是在 Windows 上加密的——可能是 XP。我现在使用的是 Ubuntu 18.04 LTS。

这是 zipinfo -v 输出:

offset of local header from start of archive:   10089220 (000000000099F304h) bytes
file system or operating system of origin:      NTFS
version of encoding software:                   2.0
minimum file system compatibility required:     MS-DOS, OS/2 or NT FAT
minimum software version required to extract:   2.0
compression method:                             deflated
compression sub-type (deflation):               normal
file security status:                           encrypted
extended local header:                          no
file last modified on (DOS date/time):          2004 Feb 19 14:13:00
32-bit CRC value (hex):                         498a9daf
compressed size:                                39271 bytes
uncompressed size:                              39855 bytes
length of filename:                             16 characters
length of extra field:                          0 bytes
length of file comment:                         0 characters
disk number on which file begins:               disk 1
apparent file type:                             binary
non-MSDOS external file attributes:             000000 hex
MS-DOS file attributes (20 hex):                arc

感谢您的帮助 - 这些文件对我很重要

标签: zipunzipforgot-passwordrecovercracking

解决方案


尝试fcrackzip使用RockYou.txt密码列表。

fcrackzip -v -u -D -p PATH/rockyou.txt NAME_OF_ZIP.zip 
  • -v: 用于详细模式。
  • -u: 清除错误密码。
  • -D: 使用字典。
  • -p: 用于使用字符串作为密码。

https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt


推荐阅读