Giter VIP home page Giter VIP logo

zip-password-finder's People

Contributors

agourlay avatar dependabot[bot] avatar lucky2307 avatar mathstuf avatar mergify[bot] avatar orhun avatar yesterday17 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zip-password-finder's Issues

Fix publishing to crates.io

Publishing to crates.io on release is not working anymore since 0.6.0.

The zip crate is in maintenance mode and will not accept any new feature.

This is why the changes required to achieve a performance improvement were made into a fork

To reproduce the issue

cargo publish --dry-run --allow-dirty

yields

error[E0599]: no method named `get_aes_key_and_salt` found for struct `ZipArchive` in the current scope
  --> src/zip_utils.rs:32:28
   |
32 |     let aes_data = archive.get_aes_key_and_salt(0);
   |    

During the publishing process, the mainline for the zip crate is used instead of the fork.

If it is not possible to publish a crate depending on a fork, we might have to extract all the necessary zip features into zip-passord-finder itself.

Ran into an issue: "Invalid zip file error - the archive is not encrypted"

Hi, I have a file whose contents are definitely encrypted - this much I know.

The issue happens with version:

$ zip-password-finder --version
zip-password-finder 0.5.1

which is the current version on crates.io.

file on Ubuntu 22.04 reports:

Zip archive data, at least v2.0 to extract, compression method=store

unzip as packaged with Ubuntu - version reports as 6.00 (or Ubuntu package as 6.0-26ubuntu3.1) - reports for each of the contained files:

need PK compat. v5.1 (can do v4.6)

The file names don't seem to be encrypted.

7-Zip (pkg: 16.02+dfsg-8) appears to be able to handle the file format, but the password is obviously deemed wrong.

Any idea what I could try, or is this simply not supported, yet? Thanks.

PS: zipdump.py by Didier Stevens also claims ZIP file is not password protected
PPS: there is currently not support for zip64 is claimed by zip-rs which you use, so this could already be the issue. I also noticed that the version installable via crates.io lags behind, so going to install from a local checkout ...

Release on crates.io

Hey!

Have you considered publishing zip-password-finder on crates.io? I think it would be nice to install via cargo install zip-password-finder.

I can submit a PR to update the release workflow if you find this applicable. LMK! ๐Ÿป

Rework charset params

The current interface with easy, medium and hard is not flexible enough.

We can use something similar to Hashcat:

  l | abcdefghijklmnopqrstuvwxyz [a-z]
  u | ABCDEFGHIJKLMNOPQRSTUVWXYZ [A-Z]
  d | 0123456789                 [0-9]
  h | 0123456789abcdef           [0-9a-f]
  H | 0123456789ABCDEF           [0-9A-F]
  s |  !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

and then being able to combine charsets which is not currently possible

./zip-password-finder -c hs

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.