O'Reilly logo

Kali Linux Cookbook - Second Edition by Bob Perciaccante, Corey P. Schultz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

We will now crack a ZIP files password and recover it's contents:

  1. Open a terminal window in Kali by clicking the icon. 
  2. Enter the following commands to create an encrypted ZIP file:
cd mkdir 6.10 cd 6.10touch one two three zip -e numbers.zip one two three
  1. When asked for a password, let's use a simple one such as password.
  2. We will use our rockyou.txt dictionary file from the past recipes along with fcrackzip:
fcrackzip -u -D -p '/usr/share/wordlists/rockyou.txt' numbers.zip
fcrackzip output

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required