zip - 在 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
感谢您的帮助 - 这些文件对我很重要
解决方案
尝试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
推荐阅读
- python - 有没有办法将json中的值从字符串替换为字符串列表
- url - 重定向到另一台服务器时,IIS URL 重写不起作用
- javascript - 选择具有数据名称的所有标签 - 获取值 - 设置类
- c# - Assert.Empty(msgs) 和 Assert.False(msgs.Any()) 有什么区别?
- excel - 如何在 Excel for Mac 上返回活动工作簿路径?
- sparql - 如何查找 SPARQL 查询的关系/属性
- amazon-web-services - 将白标名称服务器从一个 Amazon Web Services 帐户转移到另一个帐户
- javascript - 图像光滑块的高度为 0px,直到窗口调整大小
- c# - 如何修复 Microsoft Media Foundation 中的“拓扑中的源流节点没有源”错误?
- javascript - 为什么命名导出导致“未找到导出默认值”..错误