bash Excel xlsx 密码 - 删除还是破解?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22218528/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 09:48:35  来源:igfitidea点击:

Excel xlsx password - remove or crack?

excelbash

提问by Hymano058

I have a excel file and set a password by 'bashing' at they keyboard..

我有一个 excel 文件,并通过在键盘上“猛击”来设置密码。

I was basically testing it and pressed everything.. Got me thinking, Is they a way to crack/remove the password?

我基本上是在测试它并按下所有东西..让我想,他们是一种破解/删除密码的方法吗?

I'm not on about just a sheet, I mean the actual file..

我不只是在一张纸上,我的意思是实际文件..

When I click to open the xlsx file a pop up box comes up asking for the password.. Easy way around it?

当我单击打开 xlsx 文件时,会出现一个要求输入密码的弹出框.. 简单的方法吗?

回答by Bathsheba

No there isn't. An xlsx(which is essentially a zipfile) uses a far superior encryption model than earlier Excel formats (e.g. xls). In short, the wholefile is encrypted as opposed to a password hash being embedded in an otherwise readable file.

不,没有。An xlsx(本质上是一个zip文件)使用比早期 Excel 格式(例如xls)优越得多的加密模型。简而言之,整个文件是加密的,而不是嵌入在其他可读文件中的密码哈希。

Your only hope is to write a brute force cracker that mimics the bashing behaviour you describe. (e.g. unlikely that you have mixed case etc.).

您唯一的希望是编写一个模仿您描述的攻击行为的蛮力破解程序。(例如,您不太可能有大小写混合等)。