如何破解受密碼保護的 zip 密碼?

如何破解受密碼保護的 zip 密碼?

我已經安裝了fcrackzip。的幫助頁面fcrackzip

$ fcrackzip --h

fcrackzip version 1.0, a fast/free zip password cracker
written by Marc Lehmann <[email protected]> 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

如何使用 fcrackzip 或任何其他可用工具破解受密碼保護的 zip 檔案?

答案1

有幾種方法可以做到這一點。

  1. 破解壓縮包: 要暴力破解,你可以使用

     fcrackzip -u -b -v file.zip 
    

    -u標誌清除不正確的密碼,-b用於暴力破解,-l用於指定密碼長度,例如:4-8。您可以使用帶有-D和標誌的密碼列表-p,如下所示:

     fcrackzip -u -b -D -p /home/Desktop/passwordlist.txt file.zip
    
  2. Rar破解版:

     rarcrack --type zip/7z/rar file.zip 
    

    我喜歡這個,因為它將破解進度保存到一個名為 的文件中yourfilename.zip.xml,並且當您下次使用它時會從您上次停下的地方繼續。

  3. 開膛手約翰:首先使用生成哈希

     zip2john file.zip > whateveryouwanttocallit.txt 
    

    或使用rar2john,取決於文件​​,然後:

     john --format=zip whateveryoucallit.txt
    

    或者--format=rar

    所有這些都可能需要一段時間,具體取決於密碼的長度和字符,但就這樣了。

    如果未安裝這些工具中的任何一個,請使用下列命令安裝它們

     sudo apt-get install rarcrack/john/fcrackzip 
    

    如果這是仍然還不夠,您可以下載一個快速的 Windows zip 破解程序,例如 Passper for Zip,並使用 Wine 運行它。

相關內容