Skip to content

Program to determine the password of an encrypted ZIP file via dictionary attack.

Notifications You must be signed in to change notification settings

raui100/zip_dict_attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zip-dict-attack

Program to determine the password of an encrypted ZIP file via dictionary attack. Inspired by this article.

Usage

Cargo is used to build the program

Clone the repository and determine the password of example ZIP file.

git clone https://github.com/raui100/zip_dict_attack
cd zip_dict_attack
# Run the program
RUSTFLAGS='-C target-cpu=native' cargo run --release -- examples/dictionary.txt examples/archive.zip
# Compile the program to "target/release/zip_dict_attack(.exe)"
cargo build --release

A proper password dictionary which works on examples/archive.zip can be downloaded here:

wget https://raw.githubusercontent.com/danielmiessler/SecLists/master/Passwords/xato-net-10-million-passwords.txt
Help information
./zip_dict_attack --help
Tries to determine the password of a ZIP file via dictionary attack

Usage: zip_dict_attack [OPTIONS] <DICT> <ZIP>

Arguments:
  <DICT>  Path to the dictionary file
  <ZIP>   Path to the ZIP file

Options:
  -p, --progress  Display a progressbar
  -h, --help      Print help information
  -V, --version   Print version information

About

Program to determine the password of an encrypted ZIP file via dictionary attack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages