Git Product home page Git Product logo

zip-password-cracker's Introduction

ZIP-Password-Cracker

A simple Python script to crack ZIP Passwords

The script uses a mask attack which encompasses both bruteforce and dictionary attacks. While a wordlist is optional, if one is not provided it will default to the bruteforce method which can take a lot longer. You can find an extensive wordlist here

Usage

usage: PyCrack-ZIP.py [-h] [-zip ZIP] [-min MIN] [-max MAX] [-wordlist WORDLIST]

Extract a ZIP file using a brute-force attack.

optional arguments:
  -h, --help          show this help message and exit
  -zip ZIP            The path to the ZIP file.
  -min MIN            The starting length of the password to try.
  -max MAX            The maximum length of the password to try.
  -wordlist WORDLIST  The path to a file containing a list of possible passwords.

Example Usage

for wordlist usage

python PyZIP-Crack.py -zip Example2.zip -wordlist rockyou.txt

for bruteforce only

python PyCrack-ZIP.py -zip Example2.zip

if the -min / -max fields are left empty they are set to a default of 1 and 8, meaning it starts at a length of 1 character passwords, and builds its way up to 8. You can change those fileds with the -min and -max arguments like so.

python PyZIP-Crack.py -zip Example2.zip -min 2 -max 5 -wordlist rockyou.txt

or for bruteforce only

python PyZIP-Crack.py -zip Example2.zip -min 2 -max 5

Both of those commands would run the script with a minimum length of 2 and a maximum length of 5

NOTE!!!

Sometimes wordlists will contain non-valid UTF-8 characters! In order to fix this, I will also provide a script that will scan a wordlist file and will substitute any invalid characters resulting in a perfectly encoded wordlist file.

Note that the error is usually really rare and depends on which wordlist you're using. But I'm providing a fix just in case it ever does show.

You may find the script here

zip-password-cracker's People

Contributors

korozin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zip-password-cracker's Issues

Multithreading Support?

Hiya :3 I was wondering if there was multithreading support for this, since at the moment it only seems to run on one thread.

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.