Didier Stevens

Friday 12 May 2017

Quickpost: ZIP Password Cracking With John The Ripper

Filed under: Encryption,Quickpost — Didier Stevens @ 0:00

Here is how to crack a ZIP password with John the Ripper on Windows:

First you generate the hash with zip2john:

Then you run john:

In this example, I use a specific pot file (the cracked password list).


Quickpost info


  1. […] Quickpost: ZIP Password Cracking With John The Ripper […]

    Pingback by Overview of Content Published In May | Didier Stevens — Wednesday 7 June 2017 @ 0:15

  2. do you need to copy the file into the john folder? why is there no file location added to the string ‘test.zip’
    or is this a generic file that is being created regardless of which file ur trying to crack. im confused.

    Comment by N3cubed — Wednesday 30 January 2019 @ 22:56

  3. No, all necessary information is extracted from the zip,file.

    Comment by Didier Stevens — Thursday 31 January 2019 @ 23:08

  4. Where did you get zip2john – I can;t find it any longer in the openwall website

    Comment by Karan — Monday 27 July 2020 @ 21:16

  5. It was just part of the Windows binaries archive, and it still is.

    Comment by Didier Stevens — Monday 27 July 2020 @ 21:26

  6. Thank You!

    Comment by Jalaj — Friday 16 October 2020 @ 15:24

RSS feed for comments on this post. TrackBack URI

Leave a Reply (comments are moderated)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.