Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7z命令有隐藏参数 #586

Open
Whichbfj28 opened this issue Jun 28, 2024 · 1 comment
Open

7z命令有隐藏参数 #586

Whichbfj28 opened this issue Jun 28, 2024 · 1 comment

Comments

@Whichbfj28
Copy link

Whichbfj28 commented Jun 28, 2024

以下是我找到的7z的更多的参数:

-mem: AesMode 指定加密算法的类型
aes128
aes192
aes256
ZipCrypto 没听说过这个,所以就搜了搜, 结果第一个就是加密Zip包(Deflate + ZipCrypto)攻击小结
-mtc: WriteNtfsTimeExtra 依我看,这是这个开关可以使得7z在压缩文件中写入NTFS系统中一些特殊的变量
-mcl: ForceLocal 这个应该是强制使用本地编码.至于本地编码是从那个环境中获取的,我也不太知道.
-mcu: ForceUtf8 看起来是强制使用Utf8编码,mcu这个缩写,稍微有一点熟悉.
-mcp:
=: 指定编码页
-mrsfx: removeSfxBlock 因为7z有一个生成自解压文件的开关-sfx,会内嵌一份小的(嵌入式 xp)7z在生成的压缩包内.所以这个开关用来移除内嵌的Sfx块,然后将自解压包当作普通压缩包来解压.

其中 -mcp=936 解决中文名乱码非常有用

@jaywcjlove
Copy link
Owner

@Whichbfj28 感谢提醒,欢迎 提交 PR修改内容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants