Password cracking is an important activity of the Pentesting or Red teaming process that allows the pentester/attacker to recover the passwords for protected files that might be of interest. In this section, we have covered the challenges that deal with cracking passwords of encrypted ZIP and PDF files using different Python libraries.


What will you learn?

  • Cracking password of encrypted ZIP file using zipfile Python library
  • Recovering password for encrypted PDF file using pypdf2 Python library

References:

  1. zipfile documentation  (https://docs.python.org/3/library/zipfile.html)

  2. Pypdf2 documentation (https://pythonhosted.org/PyPDF2/)


Labs Covered:


  • Protected Zip File Cracking

    In this lab, you will learn to crack the password of an encrypted ZIP file using the zipfile Python library.


  • Cracking ZIP archives II

    In this lab, you will learn to crack the password of an encrypted ZIP file using the zipfile Python library. This one is a practice lab after completing the previous one.


  • Cracking PDF Password

    In this lab,  you will learn to crack the password of an encrypted PDF file using the pypdf2 Python library.

User Avatar

Protected Zip File Cracking

FREE LAB
User Avatar

Crack ZIP Archives II

User Avatar

Crack PDF Password