Giter VIP home page Giter VIP logo

python-zip-cracker's Introduction

๐Ÿ’ป Python Zip Cracker

Attempt cracking a proctected zip file using simple brute force.

This is a fun project to learn more about python modules, this project uses three:

  • Tqdm: For the Progress Bar
  • ZipFile: For working with zips
  • PathLib: To check the validity of paths entered
from pathlib import Path
from zipfile import ZipFile
from tqdm import tqdm

File Structure

root
  |--- zips/
    |--- secret.zip
  |--- script.py

Running the script in your terminal

To actually run this script, you need a wordlist which is like a collection of passwords that we're going to cycle through and test against, be sure to place this file in the root directory (or any folder in the root directory) and pass in the correct path to the text file in the terminal otherwise it won't work, you can use this one [133 MB] containing about 14 million commonly used passwords stored in decreasing order of frequency

My Folder Structure

terminal - crack zip - 01

I stored my wordlist text file which is called passwords in the root directory. I also have a zip in the zips/ directory which I called secret.
This command executes the script if you've added python to your PATH VARIABLES

~ python script.py

Cracking the zip file

as you can see, I've cracked the zip file in just under 4 mins. It's an unusual password, but it works

terminal - crack zip - 02

extracting zip

extracted zip

Disclaimer

This project was made to learn more about python libraries and modules, it's not intended to be used in any malicious way. You're responsible for how you chose to use the script.
Made with python and โ˜•

โญ Star this repo if you like this project

python-zip-cracker's People

Contributors

dev-xero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ch355-fch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.