パスワードで保護された 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. ラルクラック:

     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 
    

    もしこれがまだそれでも不十分な場合は、Passper for Zip などの高速 Windows zip クラッカーをダウンロードし、Wine で実行することもできます。

関連情報