macos linux 服务器 fcrackzip 自动化 【Mac 教程系列】如何在 Mac 上破解带有密码的 ZIP 压缩文件 ? - [-V|--validate] sanity-check the algortihm
如何使用 fcrackzip 在 Mac 上破解带有密码的 ZIP 压缩文件? 用 markdown 格式输出答案。
在 Mac 上破解带有密码的 ZIP 压缩文件
使用解压缩软件,如The Unarchiver,将文件解压缩到指定的文件夹。 打开终端,输入 zip -er,其中是您要破解的 ZIP 文件的路径,是解压缩后的文件夹的路径,终端会提示您输入密码。 输入正确的密码,即可成功破解 ZIP 压缩文件。 如果您无法猜出密码,可以使用 fcrackzip 工具破解。在终端中,输入 fcrackzip -u -D -p /usr/share/wordlists/rockyou.txt,其中是您要破解的 ZIP 文件的路径,即可找出 ZIP 压缩文件的密码。
mac 如何安装 fcrackzip ?
使用 Homebrew 安装:在终端中输入 brew install fcrackzip,回车即可安装 fcrackzip 。 从官网下载 .tar.gz 文件:从 fcrackzip 官网下载 .tar.gz 文件,在终端中输入 tar -xzvf,其中是下载的 .tar.gz 文件的文件名,即可解压缩。 编译安装:在终端中输入 make,即可编译 fcrackzip 。
fcrackzip 命令使用说明
在 Mac 上安装 fcrackzip:brew install fcrackzip
使用 fcrackzip 破解密码:fcrackzip -u -D -p
参数说明: -u:使用明文字典,即没有加密的字典文件 -D:遍历字典文件中的所有可能的密码 -p:指定要使用的字典文件:指定要使用的字典文件的路径:指定要破解的压缩文件路径
在终端输入 fcrackzip -h 命令可以查看关于压缩时的详细参数,如下:
> fcrackzip -h
fcrackzip version 1.0, a fast/free zip password cracker
written by Marc LehmannYou can find more info on
http://www.goof.com/pcg/marc/
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