如何破解受密码保护的zip的密码?

Jas*_*nth 4 password zip

我已经安装了fcrackzip. 帮助页面fcrackzip

$ fcrackzip --h

fcrackzip version 1.0, a fast/free zip password cracker
written by Marc Lehmann <pcg@goof.com> You can find more info on*emphasized text*
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
Run Code Online (Sandbox Code Playgroud)

如何使用 fcrackzip 或任何其他可用工具破解受密码保护的 zipfile?

Oll*_*lie 5

有几种方法可以做到这一点。

  1. fcrackzip:你可以使用蛮力

     fcrackzip -u -b -v file.zip 
    
    Run Code Online (Sandbox Code Playgroud)

    -u标志清除不正确的密码,-b用于暴力破解,-l用于指定密码长度,例如:4-8。您可以使用带有-D-p标志的密码列表,如下所示:

     fcrackzip -u -b -D -p /home/Desktop/passwordlist.txt file.zip
    
    Run Code Online (Sandbox Code Playgroud)
  2. 破解版

     rarcrack --type zip/7z/rar file.zip 
    
    Run Code Online (Sandbox Code Playgroud)

    我喜欢这个,因为它将破解进度保存到一个名为 的文件中yourfilename.zip.xml,并且会在您下次使用它时从上次中断的地方继续。

  3. 开膛手约翰:首先使用生成哈希

     zip2john file.zip > whateveryouwanttocallit.txt 
    
    Run Code Online (Sandbox Code Playgroud)

    或使用rar2john, 取决于文件,然后:

     john --format=zip whateveryoucallit.txt
    
    Run Code Online (Sandbox Code Playgroud)

    --format=rar

    所有这些都可能需要一段时间,具体取决于密码的长度和字符,但你去了。

    如果未安装这些工具中的任何一个,请安装它们

     sudo apt-get install rarcrack/john/fcrackzip 
    
    Run Code Online (Sandbox Code Playgroud)

    如果这不够,你可以下载一个快速的 Windows zip 破解器,比如 Passper for Zip,然后用 Wine 运行它。